• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Custom Kernel for Stock ROM

db2u

Well-Known Member
I found some older kernels by searching, but can anyone direct me to a custom Kernel that will work with the 2.2.2 stock rom?
 
Well, kernels are baked into the boot.img of a ROm, so to get a kernel, you would have to decompile the boot.img, transfer the zImage to the stock ROM boot.img, and recompile it. I will ask the StormDroid team if i can borrow the StormDroid kernel to make one for you.
 
J2cool that's awsome. This is why I miss the ally community, every ones so helpfull. Not a lot of drama or "trolls". Are any of our devs working on newer devices? I miss u guys and ur work.
 
I still stop in. I got my upgrade a few weeks ago so my ally is just a backup phone/ tinker toy lol. So far there's been a ton of drama with development on the new one. I don't like that kinda stuff. I miss the way things are here
 
Cool, I really didn't know it was that involved doing something like this! I may try later today if I have time, to see if it hoses the wifi on mine as well. I appreciate the effort, I cant believe all the time you devs put into stuff for other people.
 
Yeah J2cool, it does just say "Error" for wifi. anything I can do to assist? I have used ADB once before so if you need a log or something I can probably help if there is some instruction.
 
Hm... the kernel may have some things not compatible with the stock boot.img. I'll keep working on it once i get my new phone and my ally becomes a dev phone.
 
I fixed the wireless!

Needed the wireless module from stormdroid to work. Hope that is ok that I pulled the wireless.ko, if not let me know.

Here is how I got it to work:

pulled wireless.ko out of the stormdroid zip (/system/lib/modules) saved it to my H drive, then ran:

H:\>adb push wireless.ko /sdcard/wireless.ko
2296 KB/s (2425329 bytes in 1.031s)

H:\>adb shell
$ su
su
# mount -o remount, rw /system
# mv /system/lib/modules/wireless.ko /system/lib/modules/wireless.bak
mv /system/lib/modules/wireless.ko /system/lib/modules/wireless.bak
# cat /sdcard/wireless.ko > /system/lib/modules/wireless.ko
cat /sdcard/wireless.ko > /system/lib/modules/wireless.ko
#

Then reboot

*******EDIT - Forgot to add you have to mount the system RW
 
Hmm except I appear to have broken USB mass storage mode...
When I try to turn it on it says I am safe to remove the card.
 
well thanks, I wouldnt go that far to say I am epic, just dug around a bunch and saw on a CM wiki that the modules are tied to the kernel and have to be recompiled. I don't know how to do that so I just used the one that was already compiled for the kernel you gave me. Glad to have helped with SD though!
 
Back
Top Bottom