[MOD] [CM7] Use Custom Kernel's with latest CM7 Nightlies

jason600

Senior Member
Nov 26, 2009
195
157
0
Back in February, there were some updates to CM7 that broke using custom kernels. The last nightly that worked with custom kernels was #58. After some digging around, I found out that it is the graphics lib's that cause the problem.

This mod replaces the graphics driver lib's in your CM7 rom with an older version that is compatible with custom kernels such as Nova.

WARNING: DO NOT use this mod with Huexx's new 4.1 kernel or with a new stock cm7 kernel.

Tested and working fine on Temasek #62 with Nova 11c.

To Install:
1. Flash CM7 rom
2. Flash P970-CM7-UseCustomKernel-MOD
3. Flash custom kernel
4. Power off, wait 5 seconds, power on (if you choose reboot from cwm, occasionally it will lock at the LG logo. If this happens, pull the battery then power on again. Powering off avoids this bug).

Enjoy.

Update: This seems only to be working with Nova 11c at the moment. Use that one until I can find a workaround for the others.

Update2: I just got Nova v7 working using Apold's Kernel Injector, so the problem was obviously with the ramdisk. This process is a bit more complicated, so I'm going to mod Nova v7 and Huexx's v4 kernels, then post modded working versions of those. If anyone wants one of the other versions, please let me know.

The process to do it yourself is:
1. Unzip kernel
2. Use Racer Kitchen v2 to separate the ramdisk and kernal http://android.modaco.com/topic/340710-tool-edit-bootimg/
3. Use kernel injector from Nova 11c and mod the installation script as necessary, including the older graphics lib's.

Update 3: Uploaded a modified Nova v7 CFS to work with the latest CM7 nightlies. This should also work with cwm touch (confirmation required). To Install:
1. Flash any CM7 rom
2. Flash P970-CM7_NovaKernel_v07_CFS-Modded_for_latest_CM7.zip
3. Reboot (If it locks at the LG logo, pull the battery, it should work fine second time).

Please note that I cannot fix bugs in this kernel, there is no source. Use it as it is, or don't use it. Thanks to Knzo for this brilliant kernel, thanks to Apold for his fantastic kernel injector.

For more info on the Nova Kernel, please check the original thread: http://forum.xda-developers.com/showthread.php?t=1276645

Update 4: Uploaded a modified Huexx v4 kernel to work with the latest CM7 nightlies. This should also work with cwm touch (confirmation required). To Install:
1. Flash any CM7 rom
2. Flash P970-CM7_HuexxxKernel_V4-Modded_for_latest_CM7.zip
3. Reboot (If it locks at the LG logo, pull the battery, it should work fine second time).

Please note that I cannot fix bugs in this kernel. Use it as it is, or don't use it. Thanks to Huexx for this brilliant kernel, thanks to Apold for his fantastic kernel injector. Huexx said a few days ago that if he has time, he'll port his Diana Kernel to CM7. Three cheers for Huexx!

For more info on the Huexx Kernel, please check the original thread: http://forum.xda-developers.com/showthread.php?t=1332311

Update 5: For modded Nova v11c kernel, please use re4lsk's in the Nova Kernel thread: http://forum.xda-developers.com/showpost.php?p=24074871&postcount=1100 Thanks re4lsk.

Update 6: WARNING:

This mod is for use with old kernels only, such as Nova v7, Nova v11c or Huexx's v4, using it with a new kernel with brick it, requiring flashing through smartflash.

DO NOT use this mod with Huexx's new 4.1 kernel or with a new stock cm7 kernel.
 

Attachments

Last edited:

re4lsk

Senior Member
Dec 16, 2011
870
447
0
Hermosillo
www.twitter.com
Moded nova kernel

Compatible to cm, now I'm in RC1, but yeah that will make it available for all cm based roms, and ssince Nova is not my work, if it works I'll publish it inside Nova thread.

Well. I've made it, now i need someone to test this :D

@brave tester: standard procedure to flash of kernel

NO WIPE but make sure you make a nandroid.

MOD HERE
 

Attachments

Last edited:

jason600

Senior Member
Nov 26, 2009
195
157
0
I have the Temasek # 62, download P970-CM7-UseCustomKernel-MOD, but say you install the custom kernel, what is that?
Custom kernels offer better performance/battery/stability than the stock CM7 kernel. They offer lots of mods/tweaks to make things better. Stock CM7 kernel is more a general kernel, designed to run on multipy devices with minimum changes.

There are two custom kernels for CM7 on our Optimus Black:
Nova Kernel : http://forum.xda-developers.com/showthread.php?t=1276645
Huexx's Kernel: http://forum.xda-developers.com/showthread.php?t=1332311

Check the corresponding threads for more info.
 
  • Like
Reactions: hemo-ali and Bab0

jason600

Senior Member
Nov 26, 2009
195
157
0
What I need to install? the mod and after the NovaV11c?
No. It looks like he has added my mod into the nova kernal installation script. If it works, then you need to flash CM7, then the modded nova.

This is not really necessary, the whole point of this mod is to easily allow flashing any custom kernel on any CM7 rom. Combining this mod and nova will save you a couple of seconds flashing time in cwm, nothing more.
 

Bab0

Member
Jan 28, 2012
44
7
0
Guadalajara
Custom kernels offer better performance/battery/stability than the stock CM7 kernel. They offer lots of mods/tweaks to make things better. Stock CM7 kernel is more a general kernel, designed to run on multipy devices with minimum changes.

There are two custom kernels for CM7 on our Optimus Black:
Nova Kernel : http://forum.xda-developers.com/showthread.php?t=1276645
Huexx's Kernel: http://forum.xda-developers.com/showthread.php?t=1332311

Check the corresponding threads for more info.

Well! then look, I have the ROM TEMASEK # 62, just install the kernel step P970-CM7-UseCustomKernel-MOD and the HUEXXX to SD .. INSTALL 1° P970-CM7-UseCustomKernel-MOD 2 ° INSTALL HUEXXX Kernel (huexxx111104-V4.zip) 3 ° Restart and hope ... these are the steps?
 

re4lsk

Senior Member
Dec 16, 2011
870
447
0
Hermosillo
www.twitter.com
Well! then look, I have the ROM TEMASEK # 62, just install the kernel step P970-CM7-UseCustomKernel-MOD and the HUEXXX to SD .. INSTALL 1° P970-CM7-UseCustomKernel-MOD 2 ° INSTALL HUEXXX Kernel (huexxx111104-V4.zip) 3 ° Restart and hope ... these are the steps?
yep you can do that or test my mod of nova 11con post number 8

traduccion

si esos son los pasos para hacerlo, pero tambien puedes probar mi mod del kernel NOVA que esta en el post numero 8
 

jason600

Senior Member
Nov 26, 2009
195
157
0
Well! then look, I have the ROM TEMASEK # 62, just install the kernel step P970-CM7-UseCustomKernel-MOD and the HUEXXX to SD .. INSTALL 1° P970-CM7-UseCustomKernel-MOD 2 ° INSTALL HUEXXX Kernel (huexxx111104-V4.zip) 3 ° Restart and hope ... these are the steps?
Probably not. I've just tried with Nova v7 and it sticks at the LG logo. Hueuxx's v4 will probably do the same.

Use Nova v11c for now, I'll try and get the other working later. I think that Nova 11c is working because of Apold's Kernel injector.