1. Download the #1 Android News App:   EarlyBird - News for Android
    Dismiss Notice

How to revert to stock kernel ?

Last Updated:

  1. thornev

    thornev Well-Known Member

    If I play with some overclocking kernels and I want to go back to stock (my ROM is stock ICS Global), is it a simple matter of extracting the boot_signed.img file from the stock ROM and using Fastboot as in:

    fastboot flash boot boot_signed.img

    ? I am S-Off. I probably should also wipe boot, cache and Dalvik-cache before flashing.

  2. scotty85

    scotty85 Guides Guide

    yup. that should work just fine :)
    thornev likes this.
  3. thornev

    thornev Well-Known Member

    Let me revisit... Since I'm wiping from recovery, I'd like to create my own .zip file to be installed from recovery. Can I simply take the zip file from the custom kernel and replace the boot.img in it with the boot.img from a stock kernel? I don't know what the other files in the zip file do.
  4. scotty85

    scotty85 Guides Guide

    The other files just tell recovery where to put the boot image,should not be anything specific to the image itself. Replacing the custom boot image withthe stock one should work fine. Definately report back how it works out for you :)
    thornev likes this.
  5. thornev

    thornev Well-Known Member

    Yup, that worked (replacing boot.img in zip file). One just has to be smarter than me the 1st time I tried. I had simply copied the stock .img file into the zip file using Windows explorer. No no no ! One must UNZIP the 2 zip files, THEN copy the stock .img file, and then reZIP the file containing the stock .img file. =:)

    (for some reason, WiFi won't turn on. Gets stuck "Turning on WiFi...")
  6. thornev

    thornev Well-Known Member

    I'm nervous about installing my homemade stock kernel because these files in the overclocking kernel are not in the stock kernel. Does anyone recognize them and can anyone comment on if it's OK to omit them in a stock kernel I install? I'm wondering if not being able to turn on WiFi has to do with having these files in what is supposed to be a stock kernel.


  7. scotty85

    scotty85 Guides Guide

    Ahhh you have a kernel/ module missmatch. You may need to find stock modules to reflash the the stock kernel.

    Do you have a backup you can restore?

    You can prolly flash one of your custom kernels to make WiFi work. Or you can "dirty flash" a stock rom overtop of your current setup.
  8. thornev

    thornev Well-Known Member

    Crap, I think I bricked my phone. I flashed a homemade kernel and now VOL DN + POWER on gets stuck on the white htc screen. Same thing happens when I "adb reboot bootloader." Anyone got any ideas? Maybe an "adb push boot"?

    Thanks goodness ! "adb reboot recovery" worked !

    What?!?! I wiped cache, dalvik-cache and boot, and installed a working kernel and still I'm stuck on the htc white screen. Time for a Nand restore.

    OK, I can get into recovery, fastboot and hboot. Is there any way I can rename a zip file on my SD card so I can make it installable (as a PH98IMG.ZIP file)? Yes there is ! AmonRa has an option to mount the SD card as a hard drive which I did and renamed my ICS ROM as PH98IMG.zip. Then I got into HBOOT which processed the PH98IMG file. Phew.
  9. thornev

    thornev Well-Known Member

    That's weird, you're right. I got into HBOOT and whereas the radio was before, now it's I'm perplexed as to from where that came.
  10. scotty85

    scotty85 Guides Guide

    yeah that does not make sense... a zip in recovery should not be able to change any part of the baseband. sorry your stock kernel install snowballed into having to run an ruu :(

    did you try reflashing a custom kernel to make the wifi work?

    we maybe could pull wifi modules out of a stock rom to create the stock kernel zip.
    thornev likes this.
  11. thornev

    thornev Well-Known Member

    Yes, I tried reflashing the custom kernel a few times. Didn't work. After I flashed my homemade kernel, things just went awry, couldn't boot the phone to a working state.

    Thanks for the offer to pull wifi modules. I'm running now with the stock configuration, no custom kernel. And I think I found a stock ICS Global ROM with the kernel. Forget from where I got it and can't find it online anywhere anymore, but it's named 4.03.605.2_ROM_signed.zip. Contains boot.img and then all the /system files. Wish I had thought to try flashing it before I wiped my phone. Live and learn !

    Thanks again for your help, Scotty.
  12. scotty85

    scotty85 Guides Guide

    well at least we have learned a valuable lesson(that modules are included in a kernel zip) ;)

    i am currently downloading this one: [rom][8-15-12] stock rooted deodexed 4.03.605.02 - xda-developers

    could have prolly just wiped cache and dalvik and flshed that,or the one that you have and gotten a stock kernel and matching modules without destroying your setup.

Share This Page