1. Download our Official Android App: Forums for Android!

Root Trying to get custom kernel

Discussion in 'Android Devices' started by thenilo, Jul 29, 2011.

  1. thenilo

    thenilo Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Jul 29, 2011

    Jul 29, 2011
    1
    0
    5
    Hi there

    I'm trying to get a custom kernel on my HTC Desire GSM. I've already searched several forums and found several How-To's on flashing a custom kernel into the phone. (i.e HOWTO: Unpack, Edit, and Repack Boot Images - xda-developers). Always quite the same. Going into recovery mode, connect to USB, dump boot image, unpack boot image, repack boot image (mkbootimg binary) with custom kernel, flash image. But every time I reboot, the phone stucks on the HTC splash screen. This also happens when I just unpacked and repacked the original boot image with the original kernel (no changes).

    So what am I doing wrong?

    Thanks for answers.
     

    Advertisement

  2. AndyOpie150

    AndyOpie150 <strong> <a href="http://androidforums.com/optimus
    Rank:
    None
    Points:
    343
    Posts:
    5,625
    Joined:
    May 13, 2011

    May 13, 2011
    5,625
    1,532
    343
    Laborer (all the dirty nasty work nobody else want
    Florida
    Have you asked these questions in the sub-forum specifically for your phone. Any advice given here might not be whats best for your phone....Did you make a backup of your system in recovery before you did anything to your phone. If you did, you might want to restore your backed up system.This Tutorial^^ is designed for use with the LG Optimus "V". Please direct any questions you have here
    Desire - All Things Root - Android Forums
     
  3. SUroot

    SUroot Android Expert
    Rank:
    None
    Points:
    1,123
    Posts:
    23,925
    Joined:
    May 25, 2010

    May 25, 2010
    23,925
    5,307
    1,123
    UK Technical Lead; Desktop Support
    Riddlesden, West Yorkshire, UK
  4. rebound821

    rebound821 Lurker
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Jul 31, 2011

    Jul 31, 2011
    1
    0
    5
    I don't know the HTC Desire, but I had exactly the same problem with my asus tf101.
    I have solved changing this line:
    Code (Text):
    1. mkbootimg  --cmdline 'no_console_suspend=1 console=null' --kernel your-kernel-file  --ramdisk newramdisk.cpio.gz -o mynewimage.img
    with this:
    Code (Text):
    1. mkbootimg --kernel your-kernel-file --ramdisk newramdisk.cpio.gz -o mynewimage.img
    Hope this help.
     
Tags:

Share This Page

Loading...