Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Ignorant Kernel Questions

OP michaellasalle

23rd June 2014, 09:25 PM   |  #1  
OP Junior Member
Flag New Hampton, IA
Thanks Meter: 0
 
4 posts
Join Date:Joined: Nov 2012
More
So I've tried a bunch of different ROMs (CleanROM, Alliance, Beans, CM, OMNI, "Stock", probably more), but I've never really understood kernels. It seems some custom ROMs have a kernel built in (or several to choose from via Aroma), while others do not. Right now I'm running AOKP (4.4.2) with the kernel from OMNI (3.0.64-OMNI-g5f47648), presumably because that was the previous ROM I flashed with a kernel. I'm not too concerned with customization, more with stability.

I've been having a few minor bugs and crashes and I'd like to try perhaps the stock kernel to see if that might help, but I have some questions:

1) Does it matter when flashing a kernel whether the ROM is TW or AOSP?
2) Are there multiple versions of kernels that correspond with the Android version of the ROM?
3) What's the best/easiest way to flash a kernel, presumably through the custom recovery like a ROM?
4) Where can I find the stock kernel? I found this thread (http://forum.xda-developers.com/show....php?t=2610870) with the stock MJ9 kernel, but going back to my first two questions I'm not sure if it would work with my current ROM.

Thanks ahead of time for any insight anyone can provide.
23rd June 2014, 10:30 PM   |  #2  
lacoursiere18's Avatar
Recognized Themer
Flag LbTs
Thanks Meter: 5,239
 
3,608 posts
Join Date:Joined: Jan 2013
Donate to Me
More
Quote:
Originally Posted by michaellasalle

So I've tried a bunch of different ROMs (CleanROM, Alliance, Beans, CM, OMNI, "Stock", probably more), but I've never really understood kernels. It seems some custom ROMs have a kernel built in (or several to choose from via Aroma), while others do not. Right now I'm running AOKP (4.4.2) with the kernel from OMNI (3.0.64-OMNI-g5f47648), presumably because that was the previous ROM I flashed with a kernel. I'm not too concerned with customization, more with stability.

I've been having a few minor bugs and crashes and I'd like to try perhaps the stock kernel to see if that might help, but I have some questions:

1) Does it matter when flashing a kernel whether the ROM is TW or AOSP?
2) Are there multiple versions of kernels that correspond with the Android version of the ROM?
3) What's the best/easiest way to flash a kernel, presumably through the custom recovery like a ROM?
4) Where can I find the stock kernel? I found this thread (http://forum.xda-developers.com/show....php?t=2610870) with the stock MJ9 kernel, but going back to my first two questions I'm not sure if it would work with my current ROM.

Thanks ahead of time for any insight anyone can provide.

1) Does it matter when flashing a kernel whether the ROM is TW or AOSP?
Yes. TW and AOSP kernels are different.. The only one, that I believe, that can be used with both is Devil kernel for Dual Booting

2) Are there multiple versions of kernels that correspond with the Android version of the ROM?
Yes. Usually every version of android that gets updated.. the kernel does as well

3) What's the best/easiest way to flash a kernel, presumably through the custom recovery like a ROM?
Yes you can flash kernels through a custom recovery. Most of the time they are included with the Rom that you flash. A lot of the custom ones out have flashable zip for you to flash them through a recovery.

4) Where can I find the stock kernel? I found this thread (http://forum.xda-developers.com/show....php?t=2610870) with the stock MJ9 kernel, but going back to my first two questions I'm not sure if it would work with my current ROM.
No this will NOT work with a AOSP rom.. The kernel will be specific to that ROM and every other TW 4.3 ROM, but NOT AOSP
The Following 2 Users Say Thank You to lacoursiere18 For This Useful Post: [ View ]
23rd June 2014, 11:06 PM   |  #3  
OP Junior Member
Flag New Hampton, IA
Thanks Meter: 0
 
4 posts
Join Date:Joined: Nov 2012
More
Quote:
Originally Posted by lacoursiere18

1) Does it matter when flashing a kernel whether the ROM is TW or AOSP?
Yes. TW and AOSP kernels are different.. The only one, that I believe, that can be used with both is Devil kernel for Dual Booting

Thanks for the explanations, that helps tremendously. I'm confused now, however, because several people on the AOKP thread (http://forum.xda-developers.com/show....php?t=2453566) claim to be on "stock kernel". Is there a stock kernel for AOSP that I'm missing?
23rd June 2014, 11:14 PM   |  #4  
lacoursiere18's Avatar
Recognized Themer
Flag LbTs
Thanks Meter: 5,239
 
3,608 posts
Join Date:Joined: Jan 2013
Donate to Me
More
Quote:
Originally Posted by michaellasalle

Thanks for the explanations, that helps tremendously. I'm confused now, however, because several people on the AOKP thread (http://forum.xda-developers.com/show....php?t=2453566) claim to be on "stock kernel". Is there a stock kernel for AOSP that I'm missing?

Yea the one that flashes with AOKP.. loll
23rd June 2014, 11:24 PM   |  #5  
OP Junior Member
Flag New Hampton, IA
Thanks Meter: 0
 
4 posts
Join Date:Joined: Nov 2012
More
Quote:
Originally Posted by lacoursiere18

Yea the one that flashes with AOKP.. loll

Well that's what I thought, but why then would I be using an OMNI kernel (3.0.64-OMNI-g5f47648) when I have flashed the last three AOKP nightly ROMs that have come out? Or am I missing something here?
23rd June 2014, 11:32 PM   |  #6  
lacoursiere18's Avatar
Recognized Themer
Flag LbTs
Thanks Meter: 5,239
 
3,608 posts
Join Date:Joined: Jan 2013
Donate to Me
More
Quote:
Originally Posted by michaellasalle

Well that's what I thought, but why then would I be using an OMNI kernel (3.0.64-OMNI-g5f47648) when I have flashed the last three AOKP nightly ROMs that have come out? Or am I missing something here?

Maybe he uses that kernel.. AOSP kernels, I believe are pretty similar.. I may be wrong, I am by NO MEANS a kernel guru..I would open you zip of your ROM (AOKP) and take a peak.. if there is a boot.img than it flashes a kernel.. and if your says OMNI then thats the kernel the dev has used..
24th June 2014, 09:57 PM   |  #7  
Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Dec 2010
Stock
If I'm on the stock rom and want to go back to the original kernel can I just restore the boot img in recovery?
25th June 2014, 01:25 AM   |  #8  
lacoursiere18's Avatar
Recognized Themer
Flag LbTs
Thanks Meter: 5,239
 
3,608 posts
Join Date:Joined: Jan 2013
Donate to Me
More
Quote:
Originally Posted by nealman

If I'm on the stock rom and want to go back to the original kernel can I just restore the boot img in recovery?

Should be able to if you back it up previously.. but make sure it is same rom.. TouchWiz for TouchWiz.. AOSP for AOSP
25th June 2014, 01:53 AM   |  #9  
Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Dec 2010
Quote:
Originally Posted by lacoursiere18

Should be able to if you back it up previously.. but make sure it is same rom.. TouchWiz for TouchWiz.. AOSP for AOSP

Thank you sir. It worked just fine.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes