Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
gypsy214
Old
#1  
Senior Member - OP
Thanks Meter 188
Posts: 1,356
Join Date: Jan 2011
Location: Dallas, Tx
Default kernels..

hey guys.. i guess im kinda new with androids but all i have is a question... now the i learned how to flash a rom.. its very cool but why do we need kernels what does it mean? just flashing a rom thats not all there are kernels and other stuff but i dont know what they are and what for
The Following User Says Thank You to gypsy214 For This Useful Post: [ Click to Expand ]
 
player911
Old
(Last edited by player911; 15th May 2011 at 07:34 AM.)
#2  
player911's Avatar
Recognized Developer
Thanks Meter 511
Posts: 5,195
Join Date: Sep 2006
Location: Cincinnati

 
DONATE TO ME
Kernels are the core system. Sort of like drivers. Custom Kernels affect stuff like Overclocking for speed, Undervolting the processor to save battery, GPS locks, WiFi range, etc.

They can increase stability, speed, and battery.

The big thing, I think, that most people sought after is the Overclocking/Undervolting (OC/UV). This overclocks the processor while lowering the power usage of the chip at the same time. So you get a faster phone while saving battery. Brilliant. It is my understanding that custom kernels come with normal settings by default. They only ALLOW overclocking abilities using programs like SetCPU and the likes. I think the voltage is lowered on all speeds though, so flashing an UV rom will save you battery even if running 1ghz stock speed. I've seen people go up to 1.4ghz.

It is best to test a rom first for a few days. Figure out what bugs you encounter, if any. Get a feel for the rom so when you flash a new kernel you can see if it will work for you. If you do too much at once and you encounter bugs it will be hard to pinpoint.

I've flashed custom kernels but don't do it often. I know CM roms have their own custom kernels that I believe are flashed back when flashing the rom. This is why CM7 differs from stock in a lot of ways. One example is stock G2x won't work with Wii remotes. The bluetooth stack in the kernel is a custom LG one and doesn't work. CM uses a more common bluetooth stack so you not only gain this functionality but also others.

The list goes on and on. I think most of the custom kernels are BASED off CM7 and are only compatible with CM7. I think a custom kernel on top of a stock LG rom will cause bootloops. So the kernel and rom have to work together.

I am not an expert but I think I've touched the bases. Someone correct me if anything is untrue or misinformative. Technicalities aside, this is the gist of it.
Galaxy Nexus - Jelly Bean 4.2.1 [Xenon]
Nexus 7: Jelly Bean 4.2.1 [Paranoid Android]
HTC Touch Pro►HTC Touch Diamond 2►Nexus One►LG G2x►HTC RezoundGalaxy Nexus!
iPad►iPad2►Asus TransformerGalaxy Tab 7 [CM10]Nook►Nook TabletNexus 7!

[Site Owner] MiiWiiChat.com - Free Chat for your Wii
[Site Owner] SnapSite Admins.com - Free Custom Website

Like what I do? - Donations welcome or hit the Thanks button!

"That's the old one"
The Following 3 Users Say Thank You to player911 For This Useful Post: [ Click to Expand ]
 
dagaetch
Old
#3  
Senior Member
Thanks Meter 61
Posts: 207
Join Date: Apr 2010
Quote:
Originally Posted by player911 View Post
Kernels are the core system. Sort of like drivers. Custom Kernels affect stuff like Overclocking for speed, Undervolting the processor to save battery, GPS locks, WiFi range, etc.
...<snip>
excellent explanation, i've kinda been wondering about all this myself. Thanks!
 
schmit
Old
#4  
schmit's Avatar
Senior Member
Thanks Meter 73
Posts: 535
Join Date: Apr 2011
Location: Temporarily on Earth
Quote:
Originally Posted by player911 View Post
Kernels are the core system. Sort of like drivers. Custom Kernels affect stuff like Overclocking for speed, Undervolting the processor to save battery, GPS locks, WiFi range, etc.

They can increase stability, speed, and battery.

The big thing, I think, that most people sought after is the Overclocking/Undervolting (OC/UV). This overclocks the processor while lowering the power usage of the chip at the same time. So you get a faster phone while saving battery. Brilliant. It is my understanding that custom kernels come with normal settings by default. They only ALLOW overclocking abilities using programs like SetCPU and the likes. I think the voltage is lowered on all speeds though, so flashing an UV rom will save you battery even if running 1ghz stock speed. I've seen people go up to 1.4ghz.

It is best to test a rom first for a few days. Figure out what bugs you encounter, if any. Get a feel for the rom so when you flash a new kernel you can see if it will work for you. If you do too much at once and you encounter bugs it will be hard to pinpoint.

I've flashed custom kernels but don't do it often. I know CM roms have their own custom kernels that I believe are flashed back when flashing the rom. This is why CM7 differs from stock in a lot of ways. One example is stock G2x won't work with Wii remotes. The bluetooth stack in the kernel is a custom LG one and doesn't work. CM uses a more common bluetooth stack so you not only gain this functionality but also others.

The list goes on and on. I think most of the custom kernels are BASED off CM7 and are only compatible with CM7. I think a custom kernel on top of a stock LG rom will cause bootloops. So the kernel and rom have to work together.

I am not an expert but I think I've touched the bases. Someone correct me if anything is untrue or misinformative. Technicalities aside, this is the gist of it.
Ya, thanks for putting the time into explaining. I was wondering the same thing..
 
gypsy214
Old
#5  
Senior Member - OP
Thanks Meter 188
Posts: 1,356
Join Date: Jan 2011
Location: Dallas, Tx
Wow that was briliant thank you...

Sent from my LG-P999 using XDA Premium App
IF I HELP YOU AND IF YOU LIKE MY WORK DONT FORGET TO CLICK THE LIKE BUTTON
<===============
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...