[Q] (Q) Rooting, flashing custom rom and kernel - General Questions and Answers

Hi,
Quick question I am still having trouble wrapping my head around the concept about kernels. I am planning to root my nexus 4 and flash a custom rom (purity rom) but am i required to also flash a kernel?
If so, which kernel would be idea?
Thanks!

Next123 said:
Hi,
Quick question I am still having trouble wrapping my head around the concept about kernels. I am planning to root my nexus 4 and flash a custom rom (purity rom) but am i required to also flash a kernel?
If so, which kernel would be idea?
Thanks!
Click to expand...
Click to collapse
Think about kernels as a car's engine. The device is the car, the ROM is the interior, and the kernel is the engine. Kernels do under the hood modifications, often things like improving battery life, or built in overclocking.
That being said, you are generally not required to flash a custom kernel to a ROM, if you are, the instructions will tell you to.

Lionex1 said:
Think about kernels as a car's engine. The device is the car, the ROM is the interior, and the kernel is the engine. Kernels do under the hood modifications, often things like improving battery life, or built in overclocking.
That being said, you are generally not required to flash a custom kernel to a ROM, if you are, the instructions will tell you to.
Click to expand...
Click to collapse
Thanks for your help!!!

Related

[Q] noobish question here: What is a Kernel?

i had read a couple of posts here and there on how good faux kernel is, on "how smooth it runs or that it gets good battery life" but my question is, what is a kernel? is it only to over/under clock or is it something more that i am missing? what do i need to run it, (requirements you may say) ? i am on weapon g2x 3.0
In a nutshell (from the way i've always understood it) a kernel is basically the bridge of communication between your applications and the phone's hardware. There are no "requirements" to run it on your phone because it's already on there. Without it, you're smartphone would not be functional. These other kernels you hear about are custom made kernels. Kernels can be replaced by flashing one on top of the other (just like a ROM).
For more reading: Kernel
Even more basic understanding. Software for your hardware. If you are a car guy...ECU?
matrix0886 said:
In a nutshell (from the way i've always understood it) a kernel is basically the bridge of communication between your applications and the phone's hardware. There are no "requirements" to run it on your phone because it's already on there. Without it, you're smartphone would not be functional. These other kernels you hear about are custom made kernels. Kernels can be replaced by flashing one on top of the other (just like a ROM).
For more reading: Kernel
Click to expand...
Click to collapse
fortunejr said:
Even more basic understanding. Software for your hardware. If you are a car guy...ECU?
Click to expand...
Click to collapse
Thanks for the answer guys
So, can you mix kernels with custom roms or do they work as a package? If someone comes out with a kernel with a particular feature or fix, can I flash that on my phone to enhance or will it not be compatible with my rom?
thanks
shanipaqman said:
So, can you mix kernels with custom roms or do they work as a package? If someone comes out with a kernel with a particular feature or fix, can I flash that on my phone to enhance or will it not be compatible with my rom?
thanks
Click to expand...
Click to collapse
There are kernels designed for certain ROMs. We have kernels for CM7 & AOSP Based ROMs, and kernels for 2.3.3/2.2.2 based ROMs.
IMO Fauxs kernels are the best
Sent from my LG-P999 using XDA App
shanipaqman said:
So, can you mix kernels with custom roms or do they work as a package? If someone comes out with a kernel with a particular feature or fix, can I flash that on my phone to enhance or will it not be compatible with my rom?
thanks
Click to expand...
Click to collapse
Yes you can. The kernel is sort of like the engine of your car. There's certain kernels that only work with CM7, or stock, but they'll usually say in the description.

What is Voodoo/ Voodoo Kernel?

Hi all
I am really a newbie to this Android world, I recently bought a Google Nexus S (I9020T), and I have been looking for some ways to maximise its ability, and I came across something called Voodoo Kernel.
What is it exactly? What is the benefit of using it on my phone please?
Thanks
It's an optional feature of a kernel which provides a much better driver and config for the sound equipment in the nexuses.
Voodoo colours allows you to change the white balance of amoled displays (all nexus s besides i9023).
Harbb said:
It's an optional feature of a kernel which provides a much better driver and config for the sound equipment in the nexuses.
Voodoo colours allows you to change the white balance of amoled displays (all nexus s besides i9023).
Click to expand...
Click to collapse
Thank you very much for your quick reply.
So voodoo kernel is basically a kernel contain Voodoo colours? That's all?
(btw, how is kernel different to a ROM?)
So in order to get this feature, do I have flash a completely new ROM please? or I can just download it and install on my phone?
Thanks
luckyvictor said:
Thank you very much for your quick reply.
So voodoo kernel is basically a kernel contain Voodoo colours? That's all?
(btw, how is kernel different to a ROM?)
So in order to get this feature, do I have flash a completely new ROM please? or I can just download it and install on my phone?
Thanks
Click to expand...
Click to collapse
A ROM is the Operating System.
A kernel is the interface between the ROM and the hardware of the phone.
You can install a ROM with its own kernel,and after this,flash a new kernel,leaving the rom intact.
Inviato dal mio Nexus S usando Tapatalk
luckyvictor said:
Thank you very much for your quick reply.
So voodoo kernel is basically a kernel contain Voodoo colours? That's all?
(btw, how is kernel different to a ROM?)
So in order to get this feature, do I have flash a completely new ROM please? or I can just download it and install on my phone?
Thanks
Click to expand...
Click to collapse
No, it's not just colours. As Harbb said, it contains a better audio driver too...you will feel the difference if you often listen to music on your nexus.
Don't think that you will need another ROM. Just flash a kernel that supports Voodoo and get the Voodoo Control App from the market. Given this app, you can change different voodoo settings.
I think I may get it now.
ROM is the operating system, like windows 7
Kernel is similar to the drivers in windows.
so all I need is http://forum.xda-developers.com/showthread.php?t=876132 ??
and installing/flashing a kernel will not wipe out my data, is it correct please?
luckyvictor said:
I think I may get it now.
ROM is the operating system, like windows 7
Kernel is similar to the drivers in windows.
so all I need is http://forum.xda-developers.com/showthread.php?t=876132 ??
and installing/flashing a kernel will not wipe out my data, is it correct please?
Click to expand...
Click to collapse
Almost . Kernel is like the engine of your ROM. Flashing a new kernel will not wipe your data. Just boot into recovery then wipe cache and wipe dalvik-cache. After that, choose zip file of the kernel, install and reboot.
The link you posted is not the only kernel which supports voodoo. A lot of kernels have this feature like Matrix, ICUP, Glados,....
A ROM is the full OS with both kernel and apps, like a installed copy of Windows 7. The kernel is the part of the OS that manages many things from talking to the hardware, managing tasks/apps executing concurrently, managing memory, etc. I don't know if the kernel in Windows 7 can be easily replaced, but it's very simple for Linux based OS such as Android.
If you want Voodoo, there are two ways to get it. You can root your phone, then download Voodoo Control Plus (I think it's still on special price right now), it will load the Voodoo Sound driver for you. You don't need to flash a custom kernel. But this will only give you Voodoo Sound, not Voodoo Colour. For Voodoo Colour, you must flash a kernel with Voodoo built-in. Depending the ROM you are using, you must pick a kernel suitable for your ROM. Ie. ICS ROM must use a kernel built for ICS, the same goes for GB.
stimulus_pi said:
Almost . Kernel is like the engine of your ROM. Flashing a new kernel will not wipe your data. Just boot into recovery then wipe cache and wipe dalvik-cache. After that, choose zip file of the kernel, install and reboot.
The link you posted is not the only kernel which supports voodoo. A lot of kernels have this feature like Matrix, ICUP, Glados,....
Click to expand...
Click to collapse
Thank you for your reply.
I have looked around in this forum, there are a lot of kernels I can see.
As I know very little, can you recommend me one that is good for Android 2.3.6 in terms of the performance and battery life?
(I know it may sound a bit too much, but I just want to have a guide.)
Thanks
luckyvictor said:
Thank you for your reply.
I have looked around in this forum, there are a lot of kernels I can see.
As I know very little, can you recommend me one that is good for Android 2.3.6 in terms of the performance and battery life?
(I know it may sound a bit too much, but I just want to have a guide.)
Thanks
Click to expand...
Click to collapse
Seems, as if Si_NZ is far more expert than me. I didn't know that Voodoo Sound works without a proper kernel .
Regarding a good kernel for GB, I like the Matrix kernel. It's a good combination of performance, battery life and stability. (http://forum.xda-developers.com/showthread.php?t=1100448&highlight=matrix, try the cfs version) But take into account that this is just a personal opinion and that there are a lot of good kernels out there. Have to go to sleep now...
stimulus_pi said:
Seems, as if Si_NZ is far more expert than me. I didn't know that Voodoo Sound works without a proper kernel .
Regarding a good kernel for GB, I like the Matrix kernel. It's a good combination of performance, battery life and stability. (You have to look for the Matrix Gingerbread version!!) But take into account that this is just a personal opinion and that there are a lot of good kernels out there.
Click to expand...
Click to collapse
Thanks for sharing your opinion to me!!
This one looks like is for GB, can you confirm me please?
http://forum.xda-developers.com/showthread.php?t=1100448
does it matter whether my Android is 2.3.6 or 2.3.5 please?
By the way, why would you choose Matrix please? GLaDOS seems quite good as well (lots of features), also Netarchy seems good as well.
(Just wanna gather information and learn from other experts!!)
luckyvictor said:
Thanks for sharing your opinion to me!!
This one looks like is for GB, can you confirm me please?
http://forum.xda-developers.com/showthread.php?t=1100448
does it matter whether my Android is 2.3.6 or 2.3.5 please?
By the way, why would you choose Matrix please? GLaDOS seems quite good as well (lots of features), also Netarchy seems good as well.
(Just wanna gather information and learn from other experts!!)
Click to expand...
Click to collapse
Yeah, that's the right one. And no, I don't think that it makes a difference if you have 2.3.5 or 2.3.6.
Of course, Glados and Netarchy are decent kernels too. I chose matrix because it gave me a really good battery life (lost only 3 percent during a whole night) and it's overclockable to 1,46Ghz and I think it has all the mods from glados builtin too. but just try the others too...
Thank you so much, I will find a time to flash a kernel today, may report back my experience.
luckyvictor said:
Thank you so much, I will find a time to flash a kernel today, may report back my experience.
Click to expand...
Click to collapse
Good luck . Don't forget to make a backup in recovery before you flash a kernel.
stimulus_pi said:
Good luck . Don't forget to make a backup in recovery before you flash a kernel.
Click to expand...
Click to collapse
Thank you, To backup, do you mean using something like ROM manager please?
luckyvictor said:
Thank you, To backup, do you mean using something like ROM manager please?
Click to expand...
Click to collapse
I'm not sure if it works with ROM Manager, cause I've never used this. I've always used Clockwork RecoveryMod to flash ROMs and kernels.
Are you rooted and have ClockworkRecovery installed? If not, go to the Nexus S General Forum and there you will find Step-to-Step Guides how to do this.
If you are already rooted, boot into recovery and you'll find a backup option in the menu. When it's finished, just follow the steps I described a few posts earlier (wipe cache, wipe dalvik_cache, install kernel).
Thank you again!!
I just love this forum, people are so willing to share and teach!!

[Q] Best kernel to go with Android Revolution HD 3.2.1?

I'm not terribly good with kernels, and the only thing I understand is that if I have a custom one, I can overclock on SetCPU and do a few other things. I have ARHD 3.2.1 right now, but I don't know how kernels really work.
Sorry if this is a bit of a nooby question, but I am a noob C:
Thank You.
Try TastyMeh (in my signature)
Or Guevors test kernel (dev forum)
Both are similar, have awesome fixes, and oc to 1.7Ghz
You just got to try them out. Every unit is different so what may work for me might not work for you. +1 for guevors. 11b tends to still work best for most people.
Sorry for abusing this thread for a noobish question.
I was on stock ICS, rooted and installed guevor's test13 kernel for a while. Then switched to test15.
Yesterday I downloaded Full Wipe Script and Revolution ROM from dev thread, and used them:
1. Full Wipe
2. Install Revolution
My questions are ...
* Which kernel do I have now?
* Did the ROM installation change the kernel to the one that is included with the ROM?
* Maybe the ROM doesn't include a kernel, so I am still on test15?
BTW, I already checked on system info but I wasn't able to extract any useful info from that. I think that now I am using whatever kernel Revolution includes, but I am not sure.
Thanks in advance.
CalvinH said:
My questions are ...
* Which kernel do I have now?
* Did the ROM installation change the kernel to the one that is included with the ROM?
* Maybe the ROM doesn't include a kernel, so I am still on test15?
Click to expand...
Click to collapse
It will be the stock kernel that comes with the rom. Flash the test kernel again if you want it.
kokopopz said:
It will be the stock kernel that comes with the rom. Flash the test kernel again if you want it.
Click to expand...
Click to collapse
Thank you very much. I'll keep the stock Revolution kernel for a while.

[Q] change from CM11 to FRANCO KERNEL

Hello community,
I am a rookie in the subject of kernels/roms and I would love to have some precious help from any1 that knows even the smallest of information. I recently installed CM kernel and CM nightly 0422. The thing is, I read in many forums (in here as well) that there is a kernel that can boost battery life to its max, Franco Kernel. But I also read that it is somehow incompatible with CM 10+ and causes bootloop if you install it with CM already in phone. What I can't understand is why can't I just simply replace CM kernel (like stock kernel was replaced by CM kernel) by Franco Kernel? What is the fact that I am missing?
ALL (and I mean ALL) help will be highly appreaciated, thanks for your time
T.
f33d_me_plz said:
Hello community,
I am a rookie in the subject of kernels/roms and I would love to have some precious help from any1 that knows even the smallest of information. I recently installed CM kernel and CM nightly 0422. The thing is, I read in many forums (in here as well) that there is a kernel that can boost battery life to its max, Franco Kernel. But I also read that it is somehow incompatible with CM 10+ and causes bootloop if you install it with CM already in phone. What I can't understand is why can't I just simply replace CM kernel (like stock kernel was replaced by CM kernel) by Franco Kernel? What is the fact that I am missing?
ALL (and I mean ALL) help will be highly appreaciated, thanks for your time
T.
Click to expand...
Click to collapse
first off.. there is no magic pill to give your phone for battery life. battery life mostly depends on your personal usage, your personal setup, your apps used, and most importantly the quality of your phone/data connection. everything else is minor for battery life, including kernels.
cm uses CAF as its base now, they went away from aosp(like most kernels here). so everything that is aosp based is not compatible with cm anymore. franco kernel is aosp based(most kernels are). there are a few kernels that are CAF based built just for cm and cm based roms.
simms22 said:
first off.. there is no magic pill to give your phone for battery life. battery life mostly depends on your personal usage, your personal setup, your apps used, and most importantly the quality of your phone/data connection. everything else is minor for battery life, including kernels.
cm uses CAF as its base now, they went away from aosp(like most kernels here). so everything that is aosp based is not compatible with cm anymore. franco kernel is aosp based(most kernels are). there are a few kernels that are CAF based built just for cm and cm based roms.
Click to expand...
Click to collapse
Thanks for your time and your answer
First of all, I know for myself that there is no magic pill about battery life, I just read in too many threads that FK added a good portion of battery life (with same use of phone like when it had CM) ! Moreover it allows you to overclock (my) Nexus5 beyond 2.2GHz, something that CM doesn't allow you too (I know that overclocking kills battery, I just want to test something). What I don't understand is how can FK mess up with CM when both are different kernels and by installing FK over CM means that FK replaces CM. There is no CM in the end, only FK. Or not...? What have I understood wrong?
Thanks again
f33d_me_plz said:
Thanks for your time and your answer
First of all, I know for myself that there is no magic pill about battery life, I just read in too many threads that FK added a good portion of battery life (with same use of phone like when it had CM) ! Moreover it allows you to overclock (my) Nexus5 beyond 2.2GHz, something that CM doesn't allow you too (I know that overclocking kills battery, I just want to test something). What I don't understand is how can FK mess up with CM when both are different kernels and by installing FK over CM means that FK replaces CM. There is no CM in the end, only FK. Or not...? What have I understood wrong?
Thanks again
Click to expand...
Click to collapse
yes, franco would replace cm kernel if all worked right. but what you are doing is replacing cm kernel with franco kernel, but cm rom stays on your phone. franco kernel is incompatible with cm rom. since franco is aosp and cm is caf, your phone would never boot up all the way.
simms22 said:
yes, franco would replace cm kernel if all worked right. but what you are doing is replacing cm kernel with franco kernel, but cm rom stays on your phone. franco kernel is incompatible with cm rom. since franco is aosp and cm is caf, your phone would never boot up all the way.
Click to expand...
Click to collapse
So, if I am getting your point right, since one is aosp and the other is caf THAT is the reason why CM doesn't uninstall and will exist together with franco? Is there a way to permanently delete CM in order to install franco? Maybe to go back to stock kernel then install FK?
f33d_me_plz said:
So, if I am getting your point right, since one is aosp and the other is caf THAT is the reason why CM doesn't uninstall and will exist together with franco? Is there a way to permanently delete CM in order to install franco? Maybe to go back to stock kernel then install FK?
Click to expand...
Click to collapse
its not about the kernel, its about the rom. they are different things. when you flash a kernel(any), it replaces the kernel thats on your phone(kernels come with roms, cm kernel with cm rom). cm rom includes cm kernel, both are built from caf source. franco kernel is aosp, it is not compatible with cm rom. it has nothing to do with cm kernel, it replaces cm kernel when flashed. but you will never boot up your phone because it isnt compatible with cm rom.
simms22 said:
its not about the kernel, its about the rom. they are different things. when you flash a kernel(any), it replaces the kernel thats on your phone(kernels come with roms, cm kernel with cm rom). cm rom includes cm kernel, both are built from caf source. franco kernel is aosp, it is not compatible with cm rom. it has nothing to do with cm kernel, it replaces cm kernel when flashed. but you will never boot up your phone because it isnt compatible with cm rom.
Click to expand...
Click to collapse
ok, finally I got it, thanks to you Last question... is there a way to get FK now or am I just locked to caf due to CM "for life"? which way (if there is any at all) in your opinion is the best way to go from CM to FK? maybe go back to stock rom/kernel then flash FK? Will this work?
f33d_me_plz said:
ok, finally I got it, thanks to you Last question... is there a way to get FK now or am I just locked to caf due to CM "for life"? which way (if there is any at all) in your opinion is the best way to go from CM to FK? maybe go back to stock rom/kernel then flash FK? Will this work?
Click to expand...
Click to collapse
no, they arent compatible at all. you can not use franco kernel with any cm based roms. you can change roms and use franco kernel with it, any aosp rom or even the stock rom. but cm isnt compatible at all with franko kernel.
simms22 said:
no, they arent compatible at all. you can not use franco kernel with any cm based roms. you can change roms and use franco kernel with it, any aosp rom or even the stock rom. but cm isnt compatible at all with franko kernel.
Click to expand...
Click to collapse
Thanks man !!
f33d_me_plz said:
Thanks man !!
Click to expand...
Click to collapse
If your looking for a good CAF kernel to run with a PAC or CM based ROM. I'd recommend the ElementalX CAF kernel. It's very stable, rich features, great performance and great battery life. Make sure to read the OP for directions and if you decide to try it out download the ElementalX R38 version with the aromma installer (not the express version) As with running any new kernel run it for a few days minimum to allow for it by on settle in.
There is another option for you to explore too - http://forum.xda-developers.com/google-nexus-5/development/cm11-users-heres-how-aospnon-caf-t2626961
This allows you to run a script that will basically De-CAF your rom and allow you to run a AOSP kernel on CM11ROMs.. Be sure to read the OP. It works with many CM11 and CM based ROMs, but not on all the newest versions. Definitely worth checking out.
xdrc45 said:
If your looking for a good CAF kernel to run with a PAC or CM based ROM. I'd recommend the ElementalX CAF kernel. It's very stable, rich features, great performance and great battery life. Make sure to read the OP for directions and if you decide to try it out download the ElementalX R38 version with the aromma installer (not the express version) As with running any new kernel run it for a few days minimum to allow for it by on settle in.
There is another option for you to explore too - http://forum.xda-developers.com/google-nexus-5/development/cm11-users-heres-how-aospnon-caf-t2626961
This allows you to run a script that will basically De-CAF your rom and allow you to run a AOSP kernel on CM11ROMs.. Be sure to read the OP. It works with many CM11 and CM based ROMs, but not on all the newest versions. Definitely worth checking out.
Click to expand...
Click to collapse
Thanks for your interest and time! I will sure check both your ROM and the De-CAF script soon and post my opinion/experience ! For newbies like me that are reading this post, here is a quite enbrightening thread about CAF and qualcomm processors (although it's Reddit, it's quite explanatory).
Peace!
T.
f33d_me_plz said:
Thanks for your interest and time! I will sure check both your ROM and the De-CAF script soon and post my opinion/experience ! For newbies like me that are reading this post, here is a quite enbrightening thread about CAF and qualcomm processors (although it's Reddit, it's quite explanatory).
Peace!
T.
Click to expand...
Click to collapse
Sorry, I forgot to paste the link cheers ! http://www.reddit.com/r/Android/comments/1rt9md/eli5_what_is_caf_why_is_cm_going_caf_affects_the/

Kernels, must have a ROM ?

So, do you need a specific ROM for specific kernels? Or can you download kernels without a ROM?
Sent from my SM-G900T using XDA Premium 4 mobile app
If possible to download kernels, can someone link me to a list of them if that's how it works.
Sent from my SM-G900T using XDA Premium 4 mobile app
I know I am sounding like a total noob right now, I've flashed ROMs many times but don't know much about kernels
@jongonzalez716705
Of course you can flash a kernel without a rom.
Make sure that the kernel is compatible with your current rom.
Profits about a kernel;
+ Some kernels let your overlock your processors
+ faster boot time
+ some kernels have some other advantages.
Which phone do you have?
Hit the thanks button if you think this post is usefull .
Sent From A Samsung Galaxy S2 With AOSB Project ROM .
DanielBink said:
@jongonzalez716705
Of course you can flash a kernel without a rom.
Make sure that the kernel is compatible with your current rom.
Profits about a kernel;
+ Some kernels let your overlock your processors
+ faster boot time
+ some kernels have some other advantages.
Which phone do you have?
Hit the thanks button if you think this post is usefull .
Sent From A Samsung Galaxy S2 With AOSB Project ROM .
Click to expand...
Click to collapse
I currently have a Samsung Galaxy S 5 SM-G900T. I'm currently running XtreStolite ROM but currently running through some issues like wallpaper picker keeps force closing when I choose one, Setup for Fingerprint says to restart, I do, and still nothing, and tried downloading MyFiles but when ever I do an action, it force closes.
jongonzalez716705 said:
I currently have a Samsung Galaxy S 5 SM-G900T. I'm currently running XtreStolite ROM but currently running through some issues like wallpaper picker keeps force closing when I choose one, Setup for Fingerprint says to restart, I do, and still nothing, and another issue that I can't remember at this moment.
Click to expand...
Click to collapse
A new kernel will not fix that problems bro ... you should take another rom @jongonzalez716705
DanielBink said:
A new kernel will not fix that problems bro ... you should take another rom @jongonzalez716705
Click to expand...
Click to collapse
I know but I've downloaded a ROM before that had its own custom kernel. Had fun overclocking but spent more time underclocking. Is there somewhere where I can download certain kernels?
Yes,you can flash Kernels.
Why are custom kernels android useful?
Ans:Kernels are the brain of your Android device and communicate between software and hardware. Therefore, they are responsible for managing things like CPU / GPU clocking speed, screen sensitivity / colors or voltage. By using a custom kernel you can not only improve battery life, but also increase system performance.
Many custom ROMs already come with their own kernels. This is done to implement software communication of the custom ROM with the hardware of the device and also to ensure a better performance. Nevertheless, you are often also able to flash custom kernels to custom ROMs. If you decided to stick to a rooted version of stock Android, flashing a new kernel can offer you additional performance with the convenience of a stock OS.
Always make sure to check compatibility of the kernel with your ROM and device, because flashing a wrong kernel can brick your phone!
You can use this apk called as Franco.kernel. The app is available in playstore.
Yeah I was wondering this too....
Is it possible to take my original rom kernel (built for mediatek 6582) and use it on say cyanogen ?
biatche said:
Yeah I was wondering this too....
Is it possible to take my original rom kernel (built for mediatek 6582) and use it on say cyanogen ?
Click to expand...
Click to collapse
⬇⬇My reply is in the next page .⬇⬇
??????????????
biatche said:
Yeah I was wondering this too....
Is it possible to take my original rom kernel (built for mediatek 6582) and use it on say cyanogen ?
Click to expand...
Click to collapse
It depends upon the device,Features,ROM etc.
Sent from my Nexus 7 using XDA Free mobile app

Categories

Resources