Lots of work being done on the kernel-side of things, nice! Anyway, for those that don't want to lose their current setup, there is another way of flashing the regular CM7 kernel. I just did these steps on my Legend and it works fine.
0.a Set-up the Android SDK and fastboot drivers.
0.b Download a working CM7 ROM and extract it. Copy boot.img and the contents of system/lib/modules to the platform-tools folder of your Android SDK
1. Reboot into recovery.
2. Make a Nandroid back-up of your current ROM.
3. Wipe /cache and the Dalvik cache.
4. Power off the phone.
5. Reboot into HBOOT, select Fastboot.
6. Connect your phone to your computer and start a terminal session / command line.
7. Type in
to make sure your phone is communicating fine with your computer.
8. Now, let's flash the kernel itself:
9. Power off your phone.
Don't try to start your phone yet! We now need to copy the files we copied from system/lib/modules into the ROM. To do this, follow these steps:
10. Reboot into HBOOT, select Recovery.
10.a If you get a red exclamation mark, press 'volume up + power' and select 'flash update.zip'
11. In the recovery, mount /system
12. Let's use adb to delete the old kernel files that we are going to replace. To do this, get back to your terminal/command line and start an adb shell:
13. Navigate to /system/lib/modules/
14. Either delete the three files, either change their extension (I've changed their extension so I have back-ups, use the rm command to remove)
To make sure that the files were correctly renamed/removed, type in the following command:
To exit the shell, type in
15. Now all that's left is to copy the new files in the same location. To do this, issue these commands:
16. If you want to check if you've done it correctly, type in the following:
17. Reboot (your first try might fail, pull out the battery and try again), wait for the Dalvik cache to rebuild, and you're done.
0.a Set-up the Android SDK and fastboot drivers.
0.b Download a working CM7 ROM and extract it. Copy boot.img and the contents of system/lib/modules to the platform-tools folder of your Android SDK
1. Reboot into recovery.
2. Make a Nandroid back-up of your current ROM.
3. Wipe /cache and the Dalvik cache.
4. Power off the phone.
5. Reboot into HBOOT, select Fastboot.
6. Connect your phone to your computer and start a terminal session / command line.
7. Type in
Code:
fastboot devices
8. Now, let's flash the kernel itself:
Code:
fastboot flash boot boot.img
Don't try to start your phone yet! We now need to copy the files we copied from system/lib/modules into the ROM. To do this, follow these steps:
10. Reboot into HBOOT, select Recovery.
10.a If you get a red exclamation mark, press 'volume up + power' and select 'flash update.zip'
11. In the recovery, mount /system
12. Let's use adb to delete the old kernel files that we are going to replace. To do this, get back to your terminal/command line and start an adb shell:
Code:
adb shell
Code:
cd /system/lib/modules/
Code:
mv sdio.ko sdio.ko.bak
Code:
mv tiap_drv.ko tiap_drv.ko.bak
Code:
mv tiwlan_drv.ko tiwlan_drv.ko.bak
Code:
ls
Code:
exit
Code:
adb push sdio.ko /system/lib/modules/
Code:
adb push tiap_drv.ko /system/lib/modules/
Code:
adb push tiwlan_drv.ko /system/lib/modules/
Code:
adb shell
cd /system/lib/modules/
ls
Last edited: