Jump to content

How to flash a new kernel?


Recommended Posts

Guest Judge584
Posted

Hi,

I have a branded Desire which have been first unbranded (goldcard), OTA updated to latest Htc froyo update, and then Unrevoked 3.21+S-off 1.5 by alpharev.

Now, i want to make my own kernel from htc sources.

I know linux (using Gentoo for years), but process to flash a new kernel on an android device is not clear for me.

I have done some search: please confirm this procedure to be safe to flash a modified kernel:

1°)Make an Nandroid Backup

2°)Since my Desire is rooted and S-OFFed it does not need any-more signed files, so for me I just have to put my new wifi kernel module (bcm4329.ko) to /system/lib/modules/bcm4329.ko (via adb push)

3°And then flash the new kernel zImage in fastboot using this command:

fastboot flash zimage zImage

4°)Once done: I will have to power off my Desire.

5°)Then, Power it on again in bootloader mode, wait for 3 seconds and then go to fastboot: the zImage should now start flashing automaticaly.

6°)Once done: reboot to test my new kernel.

7°)In case something goes wrong, all I will have to do is to restore boot via my Nandroid backup and all will be fine.

If someone can confirm this procedure to be right and safe, thank you.

Best Regards.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.