Jump to content

Welcome to CyanogenMod

Welcome to our forum. Like most online communities you must register to post, but don't worry this is a simple free process that requires minimal information for you to signup. Be a part of the CyanogenMod Forum by signing in or creating an account. You can even sign in with your Facebook or Twitter account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get automatic updates
  • Get your own profile and make new friends
  • Download files attached to the forum.
  • Customize your experience here
  • Share your CyanogenMod experience!
Guest Message by DevFuse
 

Kernel Building - cm-7.2.0-RC0-Desire-KANG


  • Please log in to reply
1 reply to this topic

#1 Dazby

Dazby
  • Members
  • 4 posts
  • Device Model:HTC Desire
  • MOD Version:Stock
  • Recovery Image:ClockworkMod

Posted 17 February 2012 - 10:25 AM

Hi,

I've built  cm-7.2.0-RC0-Desire-KANG for the Desire GSM from CM sources, and it's great. I'd like to do some tweaking, and want to build the kernel, as it ships in the prebuilt part of that repo.

I've got the cm-kernel from github, and built wuth the bravo config, but would really like to push that into my update build.

Any pointers - how do I built the kernel (or even kernel modules) for the 2.6.37.6-cyanogenmod-ga8ef72c kernel that is in the head og gingerbread at CM?

Cheers

#2 deyv

deyv
  • Members
  • 1 posts
  • Device Model:HTC Desire GSM
  • MOD Version:7.1.0rc1
  • Recovery Image:Cyanogen

Posted 23 February 2012 - 11:47 AM

You say that you already have built the kernel yourself, so if you need to push it, you can use either fastboot or build an update.zip.

With fastboot you can try your kernel before flashing it, and you can of course flash it.
http://forum.xda-dev...d.php?p=7351290
This will flash zImage only, and you need to put separately modules with adb to /system/lib/modules/
My phone is s-off, I'm not sure /system can be modified if you are not s-off.

To make an update.zip, there is a guide on CM-wiki,
http://forum.xda-dev...ad.php?t=748106
https://github.com/koush/AnyKernel
option 1 in http://wiki.cyanogen...d_a_Kernel_Port
I tried once with no success (I restored my backup)

It would be nice if a Guru could make a nice CM-wiki page about that.