Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,780,028 Members 38,122 Now Online
XDA Developers Android and Mobile Development Forum

Difference between ROM and Kernel?

Tip us?
 
Svarto
Old
#1  
Junior Member - OP
Thanks Meter 1
Posts: 8
Join Date: Aug 2009
Default Difference between ROM and Kernel?

Hello,

Sorry for this very basic question, I am just wondering what is the difference between a Kernel and a ROM? I see in the development forum there are lots of new Kernels, what are these actually optimizing except underclocking or undervolting (understand that terminology). I am also wondering if the Kernels are specific for the original Nexus One 2.1 Android or can you install for example Modaco or Cyan ROM and then a different random Kernel?

Thanks!
The Following User Says Thank You to Svarto For This Useful Post: [ Click to Expand ]
 
halorin
Old
#2  
Senior Member
Thanks Meter 31
Posts: 977
Join Date: Aug 2007
To my understanding, a kernel is what directly interacts with the hardware. Every OS has this, but it's more customizable on our phones since it's based on Linux. The Rom contains the OS itself, and the software and file structure therein. The kernel even can tell the OS how fast the processor goes and how much juice to use from the battery.

Hope that makes sense, as I'm no expert. You can mix and match the two as far as I know. I've mixed them, anyway.
The Following 7 Users Say Thank You to halorin For This Useful Post: [ Click to Expand ]
 
tomasitoc
Old
#3  
tomasitoc's Avatar
Senior Member
Thanks Meter 49
Posts: 867
Join Date: Aug 2008
Location: California
Halorin,
Based on what you said, with my stock vibrant ROM 2.1 JI6 update, it is possible to change the kernel or install another kernel (like the CM kernel)?
The Following User Says Thank You to tomasitoc For This Useful Post: [ Click to Expand ]
 
codesplice
Old
#4  
codesplice's Avatar
Senior Member
Thanks Meter 957
Posts: 2,665
Join Date: Jun 2008
Location: Huntsville, AL, USA
Quote:
Originally Posted by tomasitoc View Post
Halorin,
Based on what you said, with my stock vibrant ROM 2.1 JI6 update, it is possible to change the kernel or install another kernel (like the CM kernel)?
That is really a question better suited to the rom 's development thread, but in general yes you can flash a different kernel. Some kernel/rom combinations work better than others, but you really wont know until you try. Get comfortable with nandroid backups and start trying out different kernel combinations until you find one you like.
 
ChongoDroid
Old
#5  
ChongoDroid's Avatar
Senior Member
Thanks Meter 2,288
Posts: 4,907
Join Date: Jul 2010
Location: Vancouver
Usually most custom roms will include a kernel but they usually have tweaks like coding for 720p, oc, and audio tweaks and what not. Alsways do a nandroid back up and start exploring. When flashing kernels always wipe, I think their are exceptions but its best to wipe just in case. Browse XDA, download a kernel from your phone browser, rom manager install from SD, should be in your downloads folder, backup and wipe, repeat until your phone does what you want.

Sent from my Nexus One using XDA App

XDA's D4RK KN1GHT

I'm Not Wearing Hockey Pads

SlothRoms
Android Techy
"Chongo for forum President- Because he's the hero xda deserves, but not the one it needs right now." - _MetalHead_
The Following User Says Thank You to ChongoDroid For This Useful Post: [ Click to Expand ]
 
Seshu9899
Old
#6  
Member
Thanks Meter 2
Posts: 72
Join Date: May 2011
Location: Kakinada
Default which is the better to install???

Thank you your post..

but i can't understand clearly.
so.,

which one is better to install NewRom / Kernal. for android phones.
 
Dude Random21
Old
#7  
Dude Random21's Avatar
Senior Member
Thanks Meter 40
Posts: 286
Join Date: Dec 2010
Neither one is better it just depends on what you want to do.

If you want to totally change over your phone to look and function differently then you need to flash a ROM if you just want to keep the same look but want to enable lets say overclocking then flash an overclocked kernel. If it has to do with the hardware mostly then it's probably something that the kernel can change. Although like mentioned above if you flash a ROM most of the time it will come with a custom kernel.
The Following 3 Users Say Thank You to Dude Random21 For This Useful Post: [ Click to Expand ]
 
codesplice
Old
#8  
codesplice's Avatar
Senior Member
Thanks Meter 957
Posts: 2,665
Join Date: Jun 2008
Location: Huntsville, AL, USA
Quote:
Originally Posted by Dude Random21 View Post
Neither one is better it just depends on what you want to do.

If you want to totally change over your phone to look and function differently then you need to flash a ROM if you just want to keep the same look but want to enable lets say overclocking then flash an overclocked kernel. If it has to do with the hardware mostly then it's probably something that the kernel can change. Although like mentioned above if you flash a ROM most of the time it will come with a custom kernel.

What he said.

ROMs and kernels are two separate things that have two separate functions. Neither is better than the other, but they do complement each other.
 
bassmadrigal
Old
#9  
Senior Member
Thanks Meter 515
Posts: 1,294
Join Date: Jun 2010
Location: Newport News, Virginia
Quote:
Originally Posted by Seshu9899 View Post
Thank you your post..

but i can't understand clearly.
so.,

which one is better to install NewRom / Kernal. for android phones.
I know both Dude Random21 and codesplice have gone into this, but to try and give a bit more info...

The kernel is kinda like the nervous system of the body. It directly interacts with the hardware (which is how it is able to adjust CPU speed) and it is what allows the ROM to function.

The ROM is the rest of the body. Every other aspect of the phone. In fact, most ROMs include custom kernels. Various ROMs give you various features/enhancements/bugfixes. You will probably notice the biggest change in your phone if you load a custom ROM. Most people load the custom kernels to help with battery life as a lot of them allow you to lower the phones minimum processing speed from 245Mhz to 128MHz.

The ROM can change so many different aspects of how the phone works. There is CyanogenMod which is based off of stock Android with a lot of tweaks, bugfixes, and new features added. There is also MIUI, which is similar to the iOS style (not the same, but much closer than stock Android), and then there are a ton others out there.
The Following 5 Users Say Thank You to bassmadrigal For This Useful Post: [ Click to Expand ]
 
Seshu9899
Old
#10  
Member
Thanks Meter 2
Posts: 72
Join Date: May 2011
Location: Kakinada
Default Then which Rom is best for my samsung galaxy s???

so i am using froyo.jpjpg on my galaxys.
i want to flash new Rom with upgaraded to gingerbread.

can i flash only rom../ kernal also.

which is best Rom for samsung galaxys.
cynogenmod, miui, .?????

battery drain is very fast now ian running rom/kernal.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes