New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
njdevi11
Old
#1  
Junior Member - OP
Thanks Meter 1
Posts: 22
Join Date: Dec 2011
Location: New York
Default [Q] Xoom Loading Custome Kernel

I have a xoom wifi with android 3.2 on it. Kernel 2.6.36.3-00042-g3c1a41ea7301c@il93lnxdroid47 #1

I'm rooted and my bootloader is unlocked. I downloaded the Timate kernel (Tiamat-Kernel-2.0.0-Katana-stockgpu.zip) and loaded it with clockwork recovery. I saw anykernel run when I applied the zip. But after I reboot the xoom still has the same kernel version on it.

Did I miss a step somewhere? How does it keep loading the stock kernel after I load the new one? The only thing I can think of is that there is a failsafe mode that loads the "last good" kernel if the current one fails.
 
Mjamocha
Old
#2  
Mjamocha's Avatar
Senior Member
Thanks Meter 706
Posts: 1,163
Join Date: Jul 2010

 
DONATE TO ME
Quote:
Originally Posted by njdevi11 View Post
I have a xoom wifi with android 3.2 on it. Kernel 2.6.36.3-00042-g3c1a41ea7301c@il93lnxdroid47 #1

I'm rooted and my bootloader is unlocked. I downloaded the Timate kernel (Tiamat-Kernel-2.0.0-Katana-stockgpu.zip) and loaded it with clockwork recovery. I saw anykernel run when I applied the zip. But after I reboot the xoom still has the same kernel version on it.

Did I miss a step somewhere? How does it keep loading the stock kernel after I load the new one? The only thing I can think of is that there is a failsafe mode that loads the "last good" kernel if the current one fails.
Do a manual Flash from recovery. or - Upgrade to ICS with -Download the EOS ICS 1.0.0 (good stable ROM/kernel)

http://forum.xda-developers.com/show....php?t=1484770
Tablet: 4G XOOM 32gb +64gb microSD
Kernel :Custom Mjamocha Dirty_pWnR - Eos 4.2 hybrid
-ROM-:Custom Mjamocha Themed: EOS-JB (Black Penny)
Recov: Custom Themed TWRP 2.5.0.0 (TWRP Themes)
Extras 1: (Custom BT5 Xoom 4G Pawn Shoppe)
Extras 2: (Custom RED Jelly Gapps)
Extras 3: (Custom MJamocha Inverted Browser)
Coffee: Buy me a Cup'O Coffee? Hit the Donate!
++++++++++++++++++++++++++++++++++++++
 
njdevi11
Old
#3  
Junior Member - OP
Thanks Meter 1
Posts: 22
Join Date: Dec 2011
Location: New York
Default SOLVED:

So for whatever reason I absolutely CAN NOT get an anykernel zip to work for me and i've tried it on a few devices (xoom, nexus s, atrix, nook off the top of my head). Here is what I had to do to get my own kernel on the xoom:

(1) make a backup with CWM, and copy the boot.img to my computer.
(2) extract boot.img with unpack-bootimg.pl
(3) this gives me the boot-img-ramdisk.cpio.gz file and boot.img-kernel.gz
If you want to recpio because you changed the ramdisk/added ko's run:
cd boot.img-ramdisk/
find . | cpio -o -H newc | gzip > ../bootimg-ramdisk.cpio.gz
cd ..
(4) use command:
mkbootimg --cmdline 'androidboot.carrier=wifi-only product_type=w' --kernel zImage --ramdisk boot.img-ramdisk.cpio.gz -o boot-new.img --base 0x30000000 --pagesize 4096
adb reboot bootloader
fastboot flash boot boot-new.img
 
njdevi11
Old
#4  
Junior Member - OP
Thanks Meter 1
Posts: 22
Join Date: Dec 2011
Location: New York
Default Adendium:

I figured out what the command= should be by opening a working boot-img in a hex/text editor (vi) and just copied what should be in there. That seems to do that trick for the last few devices i've tried compiling kernels for. All the "tutorials" on the internet I've seen get really sketchy when it comes to actually repacking a kernel and there is a lot of bad or just lazy information that's outdated or copied about one device for another that doesn't actually work like that.