Probably a stupid question but can I install any kernel in any Android rom?
I want to use a stock rom with a different kernel.
In simple words: no.
You always have to install a kernel, that is compatible with your ROM and Firmware base. In case of HTC there are Kernel that can only be used with Sense ROMs and those that can be used on AOSP/GPE ROMs.
Thus you could read through the Kernel threads and look if those are compatible to your Firmware as well as the ROM. In case you aren't sure just ask in the respective thread. Doing so remember to always name your current Software/Firmware status and ROM. The Firmware information needed you'll obtain in fastboot mode, using the command "fastboot getvar all".
Send by the swarm intelligence of my coffee machine (AKA HTC One M9).
No is correct.
The only time I've ever hard bricked was from flashing an S3 kernel that wasn't specifically for my version. Not a cheap lesson after sending it back to Sammy for repairs. (Root was discovered and my warranty was void)
eskimosound said:
Probably a stupid question but can I install any kernel in any Android rom?
Click to expand...
Click to collapse
Kernel has to support the ROM type (Sense, GPE, AOSP) as well as software version. As others have simply put, it has to support the ROM.
And it may be obvious, but both the kernel and the ROM have to be for the specific device (M8). I've actually seen folks ask if they can flash any ROM (like an M9 ROM) to the device. Similar goes for dual SIM, Verizon and Sprint M8, the ROM and kernel need to support your specific device.
Related
Hey, I am new to the forum and this is my first post so the first thing I want to say is HI! I hope to become very active here in the future.
Firstly, I'm pretty new to android and I need someone to clear something for me, Currently I want to install the PAC rom to my T-Mobile galaxy s4, the model number shows up SGH-M919.
I was looking around and I came across this thread: http://forum.xda-developers.com/showthread.php?t=2295673
Further scrolling down, I came across this download link: http://d-h.st/mrL
I downloaded this file but I'm not sure if this is compatible with my phone. T-Mobile SGH-M919, I'd rather not brick my phone.
Can someone please aid me in the process of making sure that this rom is compatible with my device?
Thanks in advance for any help.
Regards, Lelouch.
Lelouch Vi Britannia said:
Hey, I am new to the forum and this is my first post so the first thing I want to say is HI! I hope to become very active here in the future.
Firstly, I'm pretty new to android and I need someone to clear something for me, Currently I want to install the PAC rom to my T-Mobile galaxy s4, the model number shows up SGH-M919.
I was looking around and I came across this thread: http://forum.xda-developers.com/showthread.php?t=2295673
Further scrolling down, I came across this download link: http://d-h.st/mrL
I downloaded this file but I'm not sure if this is compatible with my phone. T-Mobile SGH-M919, I'd rather not brick my phone.
Can someone please aid me in the process of making sure that this rom is compatible with my device?
Thanks in advance for any help.
Regards, Lelouch.
Click to expand...
Click to collapse
You COULD use that as long as you download the correct kernel from here. Or, if you want to skip trying to find the right kernel, you could use this ROM, which is the exact same thing, just built specifically for the m919. The biggest thing to remember is to not flash anything meant for the i9500 (the octa-core version of the S4). Other carrier's S4 ROMs though, just use a T-Mobile M919 kernel and you're good to go. If you don't feel like adventuring outside of the (mostly) absolute safe ROMs, just don't click outside of the current section you're in.
lordcheeto03 said:
You COULD use that as long as you download the correct kernel from here. Or, if you want to skip trying to find the right kernel, you could use this ROM, which is the exact same thing, just built specifically for the m919. The biggest thing to remember is to not flash anything meant for the i9500 (the octa-core version of the S4). Other carrier's S4 ROMs though, just use a T-Mobile M919 kernel and you're good to go. If you don't feel like adventuring outside of the (mostly) absolute safe ROMs, just don't click outside of the current section you're in.
Click to expand...
Click to collapse
I will use the new link with the one designed for the M919 for safety.
Also, I have a question about kernels.
Can you just flash them the same way you do with roms through CWM recovery?
Are kernels and ROMS interchangeable? EX: Kernel A comes with ROM A and kernel B comes with ROM B, Kernel X is stock. Will kernel B And X work with ROM A?
Lelouch Vi Britannia said:
I will use the new link with the one designed for the M919 for safety.
Also, I have a question about kernels.
1Can you just flash them the same way you do with roms through CWM recovery?
2Are kernels and ROMS interchangeable? EX: Kernel A comes with ROM A and kernel B comes with ROM B, Kernel X is stock. Will kernel B And X work with ROM A?
Click to expand...
Click to collapse
1: Yes.
2: Kinda. As I said, you can flash any S4 ROM (minus the i9500 octa-core); just be sure to use the T-Mobile kernel. The only place you will find kernels (on XDA anyway) for the T-Mobile S4 is at that link I provided. To expand, you have to realize that each ROM is either going to be TouchWiz (stock) based or AOSP (CM, ParanoidAndroid, etc) based. The ROM's OP should tell you which they are based upon. Most of the kernels at that link are for either TouchWiz 4.2 (which would be stock TouchWiz or Google Edition 4.2.2), TouchWiz 4.3 (which would be the Google Edition 4.3), AOSP 4.2.2 (which would be CM-10.1 based), or AOSP 4.3 (which would be CM-10.2 based). As long as you match the correct kernel for the correct version of whatever ROM you want to use you will be good.
One comforting fact is that if you happen to forget to flash a TMO kernel (or flash the wrong TMO S4 kernel) after flashing, say, a ROM from the AT&T forum, you're not going to do any sort of permanent damage. You will just be unable to boot. Just go back into recovery, wipe everything, and start over; no harm done.
lordcheeto03 said:
1: Yes.
2: Kinda. As I said, you can flash any S4 ROM (minus the i9500 octa-core); just be sure to use the T-Mobile kernel. The only place you will find kernels (on XDA anyway) for the T-Mobile S4 is at that link I provided. To expand, you have to realize that each ROM is either going to be TouchWiz (stock) based or AOSP (CM, ParanoidAndroid, etc) based. The ROM's OP should tell you which they are based upon. Most of the kernels at that link are for either TouchWiz 4.2 (which would be stock TouchWiz or Google Edition 4.2.2), TouchWiz 4.3 (which would be the Google Edition 4.3), AOSP 4.2.2 (which would be CM-10.1 based), or AOSP 4.3 (which would be CM-10.2 based). As long as you match the correct kernel for the correct version of whatever ROM you want to use you will be good.
One comforting fact is that if you happen to forget to flash a TMO kernel (or flash the wrong TMO S4 kernel) after flashing, say, a ROM from the AT&T forum, you're not going to do any sort of permanent damage. You will just be unable to boot. Just go back into recovery, wipe everything, and start over; no harm done.
Click to expand...
Click to collapse
Thank you very much for your help.
I think I have a better understanding of kernels now, before I only knew how they worked and the way they communicated between hardware and software, etc.
Have a nice night!
The title says it all. Can this be done?
re: random rom
androidiphonehacker said:
The title says it all. Can this be done?
Click to expand...
Click to collapse
There is no such thing as a "random aosp rom".
If you really need help, please include as much specific information as you can as to what you want to achieve.
Good luck!
Well, I have a ROM on my m919 Samsung Galaxy s4 called "Google edition s4". Here's the link to the ROM development:
http://forum.xda-developers.com/showthread.php?t=2341026
So, when I installed the ROM, it also installed an i9505 kernal and replaced it from the "SGH-M919" kernal.
What I want to do, (because of a number of reasons) is install the Cyanogenmod 10--i9505 kernal onto my Phone, (NOT THE ROM!) just the kernal from it (Through ODIN).
Can this be possible, or would this potentially mess up my phone, by installing a different ROM's kernal onto another ROM?
androidiphonehacker said:
Well, I have a ROM on my m919 Samsung Galaxy s4 called "Google edition s4". Here's the link to the ROM development:
http://forum.xda-developers.com/showthread.php?t=2341026
So, when I installed the ROM, it also installed an i9505 kernal and replaced it from the "SGH-M919" kernal.
What I want to do, (because of a number of reasons) is install the Cyanogenmod 10--i9505 kernal onto my Phone, (NOT THE ROM!) just the kernal from it (Through ODIN).
Can this be possible, or would this potentially mess up my phone, by installing a different ROM's kernal onto another ROM?
Click to expand...
Click to collapse
A Google Edition ROM in looks like pure AOSP, but in fact it's kernel is touchwiz, if you flash a as you refer "CM10 kernel" by what I assume you mean AOSP kernel, then you'd probably either brick or soft brick your phone. so...be careful!
NinoBrown1911 said:
A Google Edition ROM in looks like pure AOSP, but in fact it's kernel is touchwiz, if you flash a as you refer "CM10 kernel" by what I assume you mean AOSP kernel, then you'd probably either brick or soft brick your phone. so...be careful!
Click to expand...
Click to collapse
Yeah, the first time I flashed a GPe ROM I mistakenly flashed an AOSP custom kernel. It'll just hang the phone on the SGS4 until a TW kernel is flashed.
Toleraen said:
Yeah, the first time I flashed a GPe ROM I mistakenly flashed an AOSP custom kernel. It'll just hang the phone on the SGS4 until a TW kernel is flashed.
Click to expand...
Click to collapse
So then, I should install my TW kernal.
More specifically on what I am doing...
I want to edit the drivers on (apparently a TW kernal) to where I can connect a Wireless adapter to use with Ubuntu chroot to do (what's in the picture). How do I edit the driver configuration on this kernal? (LINK)
https://docs.google.com/file/d/0B1rJR1viXH_BaUdaUGVUMEUzY1E/edit?usp=docslist_api
Hey guys, im new to HTC , been a user of sony phones for 2 years.
Now a user of the htc one m8.
i have unlocked my bl, s-off, rooted and also running a custom kernel (ElementalX).
I see that there are different versions of the phone (i mean, GPE and normal).
I have the normal version (sense based), i would like to flash the faux kernel. Can i know the latest available version for the faux kernel that can be flashed to this stock rom i have now?(updated to 1.56.720.6 software number) (Im from India and i can use any sim here)
Will flashing the "GPE" tagged kernels from faux kernel thread brick this phone? (soft-brick?)
Thanks to anyone in advance who would be kind enough to help me out coz this is my first HTC device.
Ashray_Vk said:
Will flashing the "GPE" tagged kernels from faux kernel thread brick this phone? (soft-brick?)
Click to expand...
Click to collapse
A Sense 6 ROM requires a kernel designed for Sense 6. The GPE kernels won't work.
Thank you for the reply!
I apologize if this is explained elsewhere, did a search but not coming up with much:
I'm somewhat new to Android rooting. I have a Verizon M8 that was on 4.4.4. I installed Sunshine 3.02, got root no problem, TWRP installed with no issues, SU installed fine. I tried to run a few of the Lollipop ROMs but they would not run, I jut got returned to TWRP. (Some, like ViperOneM8 run fine). According to a post in another thread, I also need to update the kernel to get it to work with these newer ROMs.
My question is: what now? There's a section on XDA for Kernels but they all appear to be custom kernels, the ROM I want to use (Android Revolution) says that using the stock kernel is best. How do I find these kernels and how do I figure out which one to use?
Anyone willing to give me the short version of when I would need a new kernel and why?
Thanks for any help!
You need to update to Lollipop firmware.
You should also make sure you stick to ROMs that specifically support the Verizon variant (if you are not doing so already) as its a CDMA variant, which is different hardware from most other (GSM) versions.
Sorry to be that guy but is there a thread somewhere that has some kind of list as to which phone these roms work on.
I flashed my phone about a year ago and it seemed like it was very model specific. Maybe thats not the case anymore but it seems like it would be very helpful to have a thread dedicated to it.
Thanks
I have a tmobile version btw.
I'm not sure what you're talking about. Except for Maximus HD all custom roms I know supported and still support all variants of the M9.
Some 3.x firmwares required you to either flash a custom kernel or the stock boot.img alongside a custom rom. Nonetheless, they were usable on every variant (except for Maximus HD).