[Q] Kernel List

CNexus

Senior Member
May 17, 2012
9,009
13,993
263
~/android
no I don't think so, I just looked at what folders/files a zip contains that only flashes a kernel.
So what I've done before is copy that folder from the ROM zip to get me back to the kernel the ROM came with. This is what I was suggesting to them
Interesting. I couldve sworn I read somewhere that the kernel is part of the boot.img but I'll definitely be checking this out
 

-EViL-KoNCEPTz-

Senior Member
Nov 9, 2011
6,259
3,471
0
Tampa Bay area
Interesting. I couldve sworn I read somewhere that the kernel is part of the boot.img but I'll definitely be checking this out
The kernel is part of the boot.img. When you want to pull the kernel from a rom to reflash if you don't like a custom kernel you just pull the entire boot.img and replace the one in a kernel zip. Depending on the device, we'll use Samsung as an example cuz I'm more up to date on it, inside the boot.img are several files such as zImage(actual kernel is packed in here), intramfs, ramdisk, etc. But if you're just looking to reflash the roms stock kernel over a custom kernel to revert you just reflash the boot.img and it resets the kernel and all of it's associated files to the original that came with the rom.

☆SoA: Son's of Android™☆

I like to break stuff! :D
 

CNexus

Senior Member
May 17, 2012
9,009
13,993
263
~/android
The kernel is part of the boot.img. When you want to pull the kernel from a rom to reflash if you don't like a custom kernel you just pull the entire boot.img and replace the one in a kernel zip. Depending on the device, we'll use Samsung as an example cuz I'm more up to date on it, inside the boot.img are several files such as zImage(actual kernel is packed in here), intramfs, ramdisk, etc. But if you're just looking to reflash the roms stock kernel over a custom kernel to revert you just reflash the boot.img and it resets the kernel and all of it's associated files to the original that came with the rom.

☆SoA: Son's of Android™☆

I like to break stuff! :D
Ok, thats what I thought because I've split a boot image before and all kernel compiling guides I've read spit out a zImage that gets made into a boot.img
And even the older phones (like my shift and evo 4g) have the ramdisk, init.rc and most of those things packed into the boot.img as well
 

-EViL-KoNCEPTz-

Senior Member
Nov 9, 2011
6,259
3,471
0
Tampa Bay area
Ok, thats what I thought because I've split a boot image before and all kernel compiling guides I've read spit out a zImage that gets made into a boot.img
And even the older phones (like my shift and evo 4g) have the ramdisk, init.rc and most of those things packed into the boot.img as well
Yeah basically boot.img is just a compiled and packed kernel. The kernel alone without being packaged as a boot.img won't do any good since it will be missing essential files to boot the kernel. So for anyone other than a developer, ie an end user, the boot.img is the kernel. That's what you want to pull and flash to flash a kernel.

☆SoA: Son's of Android™☆

I like to break stuff! :D