Confused, flashing a kernel vs a ROM?

Tex_Norseman

Well-known member
Feb 23, 2011
246
0
0
Visit site
I just flashed Cloudy G3 for my Verizon LG G2, and mostly am happy with the ROM. I noticed in some threads people talking about flashing different kernels. What does this do? How is it done, and can it be done through TWRP? Thanks for answering these newb questions!
 

acejavelin

Well-known member
Jun 13, 2012
1,935
27
0
Visit site
The kernel is the heart of Android, kind of like the gateway between hardware and software, and it controls all the hardware stuff directly such as the processor(s) and memory and the Tap2Wake feature.

Unless you have a specific need to switch, I generally recommend staying on the kernel included in the ROM. Some experienced flashers will stick with a specific kernel for all ROMs for a special feature or personal preference. On the G2 I haven't found any real reason or advantage to switch.

Remember kernels come in various "flavors", AOSP and CM based ROMs use a different kernel, also the G2 is kind of unique as we have 2 different display panels and it is possible to actually damage the screen with an improper kernel, I'm not going to really get into that but if you jump over to XDA there is lots talk on it and a tool to tell which display panel you have.

Flashing a kernel is simple, get the ZIP, start TWRP, flash, reboot... No wiping or formatting of anything is required (kernel does not directly use cache or dalvik), the device will either boot or not. If you flash a lot of kernels or test multiple ones, always go back to the ROMs original kernel first.

You will also need an app to set the kernel options you want, some kernels have there own app, some use generic "kernel tweaker" apps from the Play Store, read the kernel thread to see which the Dev recommends.
 

mumfoau

Trusted Member
Oct 29, 2010
1,503
28
48
Visit site
The kernel is the heart of Android, kind of like the gateway between hardware and software, and it controls all the hardware stuff directly such as the processor(s) and memory and the Tap2Wake feature.

Unless you have a specific need to switch, I generally recommend staying on the kernel included in the ROM. Some experienced flashers will stick with a specific kernel for all ROMs for a special feature or personal preference. On the G2 I haven't found any real reason or advantage to switch.

Remember kernels come in various "flavors", AOSP and CM based ROMs use a different kernel, also the G2 is kind of unique as we have 2 different display panels and it is possible to actually damage the screen with an improper kernel, I'm not going to really get into that but if you jump over to XDA there is lots talk on it and a tool to tell which display panel you have.

Flashing a kernel is simple, get the ZIP, start TWRP, flash, reboot... No wiping or formatting of anything is required (kernel does not directly use cache or dalvik), the device will either boot or not. If you flash a lot of kernels or test multiple ones, always go back to the ROMs original kernel first.

You will also need an app to set the kernel options you want, some kernels have there own app, some use generic "kernel tweaker" apps from the Play Store, read the kernel thread to see which the Dev recommends.

+1

If you're using Cloudy already then you should be good to go. I switched back to Cloudy a couple days ago but before I was using OptimusG3 and I switched the kernel to the cloudy kernel because it offered knock code with the screen off. Had I not been concerned about knock code there's no reason to switch kernels. With Cloudy, that works "out of the box" so you're good to go.