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
 

Trouble Using Custom Kernel


This topic has been archived. This means that you cannot reply to this topic.
No replies to this topic

#1 cendres

cendres
  • Members
  • 5 posts

Posted 02 August 2012 - 06:15 AM

Hello.

I have an HTC Desire HD (Ace), running Cyanogenmod 7.2.0. I tried to compile my own kernel, with swap, jffs2, nfs, some extra crypto, and -O2 optimization (disable compile for size). I followed:
http://wiki.cyanogen...nel_from_source
and
http://android-dls.c...ack_Boot_Images

I downloaded:
https://github.com/C...-kernel-msm7x30

I compiled the kernel natively on the phone itself, inside a Debian chroot. I used the split_bootimg.pl script to break up the file copied from /dev/block/mmcblk0p22, and then I used mkbootimg to add my kernel to the stock ramdisk.

I then did:

cat /dev/zero > /dev/block/mmcblk0p22
flash_image boot /sdcard/boot-new.img
and rebooted.

The phone hung on the HTC display, during boot.

My questions are, am I using the right kernel source for my phone? am I missing something?

Edited by cendres, 02 August 2012 - 06:16 AM.