What should I be aware of after flashing a Kernel? - Moto G 2015 Q&A, Help & Troubleshooting

I've been researching about this for 30 minutes and still couldn't find anything that answered my question, I apologize in advance if the answers are obvious.
So the question is as the title states, what should I be aware of after flashing a Kernel on CM12.1? Will I have any issues when updating to another nightly? Or when flashing a stock-ROM ? Thanks in advance!

if you update your rom, your kernel will be replaced with one if the rom.
so you have to reflash your custom kernel

HelpMeruth said:
if you update your rom, your kernel will be replaced with one if the rom.
so you have to reflash your custom kernel
Click to expand...
Click to collapse
Thank you for the answer, but despites that is there anything I should be aware of when using a custom kernel? Xposed, going back to stock, etc

Nothing i know of, xposed doesnt give any problems to me when i flash a kernel so you should be good.
so its pretty save to flash a kernel

HelpMeruth said:
Nothing i know of, xposed doesnt give any problems to me when i flash a kernel so you should be good.
so its pretty save to flash a kernel
Click to expand...
Click to collapse
One more question if you don't mind, how can I custom my kernel settings? Currently on Squid Kernel (Moto g 2015), CM12.1

Install kernel adiutur from the playstore. With that app you change all your settings

Related

[Q] Faux123 stock ov kernal & paul's patch

hey everyone,
does anybody know if these two are compatible to work together or is it something where it's either or? i've been looking through the threads but haven't manage to find any answer for it. i appreciate any answers.
THANKS!
All reports say there is no reason for Pauls patch on custom roms.
oh alright. thanks for responding
jcbofkc said:
All reports say there is no reason for Pauls patch on custom roms.
Click to expand...
Click to collapse
Faux kernel is not a ROM. He is using it on that ROM - so the question was not specifically answered.
I had Paul's patch on stock kernel when I first flashed faux kernel, but don't know for sure if it is needed (ie - is the patch of the kernel or something else?).
gaww said:
Faux kernel is not a ROM. He is using it on that ROM - so the question was not specifically answered.
I had Paul's patch on stock kernel when I first flashed faux kernel, but don't know for sure if it is needed (ie - is the patch of the kernel or something else?).
Click to expand...
Click to collapse
Let me be more specific in case the OP did not get it. No, you do not need Pauls patch for custom kernels or roms. It is strictly designed for the stock rom to fix a mistake by LG.
jcbofkc said:
Let me be more specific in case the OP did not get it. No, you do not need Pauls patch for custom kernels or roms. It is strictly designed for the stock rom to fix a mistake by LG.
Click to expand...
Click to collapse
The patch was an updated services.jar messed up by lg in the stock ROM. Do kernels also include a services.jar?
If so, then no need when kernels are flashed either, as it would be overwritten. This would be the clarification he (and I) was looking for. If not ??
Note - when I look in a whole ROM zip file - I can find it. Cannot when I open a kernel zip file.
gaww said:
Faux kernel is not a ROM. He is using it on that ROM
Click to expand...
Click to collapse
What does that mean.so is the kernel baked into the rom: when we install faux's rom, we automatically get the kernel .
Sent from my LG-P999 using XDA App
ashman3000 said:
What does that mean.so is the kernel baked into the rom: when we install faux's rom, we automatically get the kernel .
Sent from my LG-P999 using XDA App
Click to expand...
Click to collapse
Yes - if you flash faux ROM - you get his kernel as part of it.
But the OP was about using faux (with) stock kernel on the stock froyo ROM. The stock ROM had some messed-up up stuff by LG in the (I have read) services.jar file in the stock ROM.
He asked if he could (should) use the paul patch with this combination. Since the services.jar is (I also believe) not changed by the kernel only, it appears that it should be flashed on top of the stock ROM once (unless you wipe and it is then gone), and then flash the kernel (I did that).
For ALL CM ROMs - different services.jar - no problem. But for EB and other stock based froyp ROM's - I am not sure. If the Dev's built paul's fix into the services.jar -then they are OK. If not, they might be able to use the fix also.
Would REALLY like to hear from one of the Dev's on this. Been all over the forums, and with respect to the kernel only and other than stock froyo ROM's - it has not been clearly spelled out.
its for STOCK roms not custom kernels dont matter in this pauls patch fixes a problem with lg stock rom all custom roms should have this fixed

[Q] changing kernels?

I've looked into many threads, but have still not been able to find a definitive answer: when changing kernels (going for example from ElementalX to Franco or Purify) should I do a dirty re-flash of the rom and then flash the new kernel or will just a flash of the new kernel be enough?
I know it's been asked before, but I can't seem to find a clear answer.
Thanks
Alex
alexm231 said:
I've looked into many threads, but have still not been able to find a definitive answer: when changing kernels (going for example from ElementalX to Franco or Purify) should I do a dirty re-flash of the rom and then flash the new kernel or will just a flash of the new kernel be enough?
I know it's been asked before, but I can't seem to find a clear answer.
Thanks
Alex
Click to expand...
Click to collapse
1st option
Primokorn said:
1st option
Click to expand...
Click to collapse
Thanks for the reply.
So (just to make sure I have it correct) right now I am running Purity + Purify. If I want to switch to a Purity + Franco setup, I need to dirty flash Purity rom (in which case it brings the kernel back to the standard Purity kernel) and then Franco kernel after that, right?
Do I need to wipe cache or anything else?
Thanks again for all the help
Alex
alexm231 said:
Thanks for the reply.
So (just to make sure I have it correct) right now I am running Purity + Purify. If I want to switch to a Purity + Franco setup, I need to dirty flash Purity rom (in which case it brings the kernel back to the standard Purity kernel) and then Franco kernel after that, right?
Do I need to wipe cache or anything else?
Thanks again for all the help
Alex
Click to expand...
Click to collapse
You're right. To prevent any issue it's better to follow this rule regardless of the custom kernel. We need to dirty flash our current rom due to modifications done by the kernel on the ramdisk.
You never need to wipe before flashing a kernel.
Primokorn said:
You're right. To prevent any issue it's better to follow this rule regardless of the custom kernel. We need to dirty flash our current rom due to modifications done by the kernel on the ramdisk.
You never need to wipe before flashing a kernel.
Click to expand...
Click to collapse
Great. Thanks so much for the detailed answer, it clears up my confusion!
Now off to try Franco's kernel
Alex
Primokorn said:
You're right. To prevent any issue it's better to follow this rule regardless of the custom kernel. We need to dirty flash our current rom due to modifications done by the kernel on the ramdisk.
You never need to wipe before flashing a kernel.
Click to expand...
Click to collapse
I actually have an additional question: do we need the same process even if we're talking about the newer version of the same kernel? Like going from an older version of Franco's to the newest
Alex
No only when you change kernel you need to do it.
Sent from my Nexus 5 using Tapatalk
kufikugel said:
No only when you change kernel you need to do it.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Thank you, I promise I will (try) not (to) ask any more silly questions
Alex
alexm231 said:
Thank you, I promise I will (try) not (to) ask any more silly questions
Alex
Click to expand...
Click to collapse
Its better to ask "Silly" questions and understand what you're doing than it is to brick your phone then ask for help.
We'll answer your questions, dont worry. Just ensure you read all the sticky threads in Q&A and General.
rootSU said:
Its better to ask "Silly" questions and understand what you're doing than it is to brick your phone then ask for help.
We'll answer your questions, dont worry. Just ensure you read all the sticky threads in Q&A and General.
Click to expand...
Click to collapse
Yes, I consider your guideline (on your signature) very good advice indeed.
Thanks again to all
Alex
Just wanted to add to this...
If I'm on the stock ROM. I decide to flash elementalx. Then, want to switch to Franco or something, would I need to flash the stock img? Or can i just flash the stock kernel?
Sent from my Nexus 5 using Tapatalk
justinisloco said:
Just wanted to add to this...
If I'm on the stock ROM. I decide to flash elementalx. Then, want to switch to Franco or something, would I need to flash the stock img? Or can i just flash the stock kernel?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Wondering the same thing. If I am currently on stock rom with franco kernel, in order to switch over to elemental do I have to flash the stock rom zip from the thread here on XDA and then install the elemental kernel?
matts290 said:
Wondering the same thing. If I am currently on stock rom with franco kernel, in order to switch over to elemental do I have to flash the stock rom zip from the thread here on XDA and then install the elemental kernel?
Click to expand...
Click to collapse
I know I had to do that when I flashed elemental. Otherwise some apps won't open. But now I want to find out was the the full correct way? Or was it the lazy way
Sent from my Nexus 5 using Tapatalk
justinisloco said:
Just wanted to add to this...
If I'm on the stock ROM. I decide to flash elementalx. Then, want to switch to Franco or something, would I need to flash the stock img? Or can i just flash the stock kernel?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
matts290 said:
Wondering the same thing. If I am currently on stock rom with franco kernel, in order to switch over to elemental do I have to flash the stock rom zip from the thread here on XDA and then install the elemental kernel?
Click to expand...
Click to collapse
Flash the stock boot.img and system.img and then flash the kernel you want to change to..
I have also tried just flashing the stock boot.img and then the custom kernel.. Sometimes it works, sometimes it doesn't. So I would reccomend flashing both! (boot and system)
also check to see if the original kernel left any init.d files, some kernels do. you would want to delete them, as those could, probably would, not play well with your next kernel.
simms22 said:
also check to see if the original kernel left any init.d files, some kernels do. you would want to delete them, as those could, probably would, not play well with your next kernel.
Click to expand...
Click to collapse
another noob question,
does your advice still applies if someone flashed both stock system.img and stock boot.img?
if it is where that file will be located?
thanks.
akmsr said:
another noob question,
does your advice still applies if someone flashed both stock system.img and stock boot.img?
if it is where that file will be located?
thanks.
Click to expand...
Click to collapse
yes. they arent located in either of those locations, so my advice applies, and is the only reason why i posted this. they are located in /etc/init.d/. you either dont have that location (best option), have it but an empty folder, or have an init.d folder with files in it. if there are files there, delete them.
Flashing a system.img will overwrite init.d scripts. /etc is a symbolic link to /system/etc so when you replace /system/etc with whatever is in a ROM.zip or a system.img, these changes apply to /etc too.
If you look in any ROM.zip or kernel.zip, they all flash their scripts to /system/etc/init.d
Sent from my Nexus 5 using Tapatalk

[Q] Mahdi rom

Does the Mahdi Rom work with Franco Kernel R4? I have this kernel on my stock 1+1 64gb international version. Reading on the developer forums some say yes and some say no that it causes reboot issues. I am just trying to get some clarification on this issue. Thanks
elrey311 said:
Does the Mahdi Rom work with Franco Kernel R4? I have this kernel on my stock 1+1 64gb international version. Reading on the developer forums some say yes and some say no that it causes reboot issues. I am just trying to get some clarification on this issue. Thanks
Click to expand...
Click to collapse
Yes it works with it, but only the version posted in the mahdi rom thread
Few users have reboots, many don't
Mahdi Rom
Do I need to add the kernel off the op page or just use the one I already have in twrp, it is the Franco kernel r4. It is the same one that is on op page I think. I see some people talking about dr87 twrp. I just have the stock 2.7.1.0 twrp installed. Do I need the dr87 twrp? Sorry for the noob questions just trying to it get right. Thanks
elrey311 said:
Do I need to add the kernel off the op page or just use the one I already have in twrp, it is the Franco kernel r4. It is the same one that is on op page I think. I see some people talking about dr87 twrp. I just have the stock 2.7.1.0 twrp installed. Do I need the dr87 twrp? Sorry for the noob questions just trying to it get right. Thanks
Click to expand...
Click to collapse
Use dr87 twrp and dr87 franco kernel r4.
I'm using both on MAHDI and it works perfectly.
MAHDI ROM
zephiK said:
Use dr87 twrp and dr87 franco kernel r4.
I'm using both on MAHDI and it works perfectly.
Click to expand...
Click to collapse
Just one more question. Do you flash the dr87 twrp right over the stock twrp or do you have to remove the stock twrp? Thanks for the quick reply and all the help.
elrey311 said:
Just one more question. Do you flash the dr87 twrp right over the stock twrp or do you have to remove the stock twrp? Thanks for the quick reply and all the help.
Click to expand...
Click to collapse
It doesn't matter what recovery you have prior to flashing, flashing dr87 twrp will override whatever recovery you were using before. Fastboot flash it or use the flashable zip to flash it. Up to you.
MAHDI ROM
zephiK said:
It doesn't matter what recovery you have prior to flashing, flashing dr87 twrp will override whatever recovery you were using before. Fastboot flash it or use the flashable zip to flash it. Up to you.
Click to expand...
Click to collapse
Perfect! Thanks for all the help.
elrey311 said:
Perfect! Thanks for all the help.
Click to expand...
Click to collapse
Anytime help is always just around the corner. Enjoy MAHDI, I certainly do
MAHDI ROM
I flashed the dr87 Franco kernel today and never got past the one+ screen on boot up. I was just wondering if I needed to flash Mahdi rom first and then flash the dr87 Franco kernel? I did get the dr87 twrp installed and all is well with that. I re- flashed the Franco kernel r4 and I'm still on the stock cm rom and everything is good. After reading the MAHDI ROM forum it seems they are having problems with this.
elrey311 said:
I flashed the dr87 Franco kernel today and never got past the one+ screen on boot up. I was just wondering if I needed to flash Mahdi rom first and then flash the dr87 Franco kernel? I did get the dr87 twrp installed and all is well with that. I re- flashed the Franco kernel r4 and I'm still on the stock cm rom and everything is good. After reading the MAHDI ROM forum it seems they are having problems with this.
Click to expand...
Click to collapse
Simply follow the steps in the MAHDI OP post.
Its pretty much.
1. Factory Wipe
2. Flash MAHDI then gapps or kernel (doesnt matter if u flash gapps or kernel first).
MAHDI ROM
zephiK said:
Simply follow the steps in the MAHDI OP post.
Its pretty much.
1. Factory Wipe
2. Flash MAHDI then gapps or kernel (doesnt matter if u flash gapps or kernel first).
Click to expand...
Click to collapse
Sounds good my friend. Thanks for the help.
elrey311 said:
Sounds good my friend. Thanks for the help.
Click to expand...
Click to collapse
Let me know how it goes
edit: seems like the new version of mahdi just released doesnt work with the franco r4 that was posted in op post. works with the version prior to that though.
MAHDI ROM
zephiK said:
Let me know how it goes
edit: seems like the new version of mahdi just released doesnt work with the franco r4 that was posted in op post. works with the version prior to that though.
Click to expand...
Click to collapse
Are they getting all the bugs worked out of this and is it ready to roll? I kinda have been waiting a little while to see how everything is going to play out. It seems like it is getting better and better. Let me know how you feel about it. Thanks
elrey311 said:
Are they getting all the bugs worked out of this and is it ready to roll? I kinda have been waiting a little while to see how everything is going to play out. It seems like it is getting better and better. Let me know how you feel about it. Thanks
Click to expand...
Click to collapse
What do you mean by bugs? Check the third post in Mahdi, theres a working bootable Franco kernel again
MAHDI ROM
zephiK said:
What do you mean by bugs? Check the third post in Mahdi, theres a working bootable Franco kernel again
Click to expand...
Click to collapse
I saw that. It seems like it is working pretty smooth and everybody is is happy with the performance.
elrey311 said:
I saw that. It seems like it is working pretty smooth and everybody is is happy with the performance.
Click to expand...
Click to collapse
Yeah its good.
So does it mean if I have this phone, I can put "[ROM] [4.4.4] [HAMMERHEAD] Mahdi-Rom 2.7 [07/19]" on it ?
benzso63 said:
So does it mean if I have this phone, I can put "[ROM] [4.4.4] [HAMMERHEAD] Mahdi-Rom 2.7 [07/19]" on it ?
Click to expand...
Click to collapse
That's for Nexus 5, go to One Android development and get it from there.

Custom kernel flashing

Hi guys!
I'm using the lastest MIUI 7 Rom and i was wondering if I flash a custom kernel like Sensei, will the rom still work?
Also, if I flash CM13 with that kernel and then I want to go back to MIUI, will I have to flash the stock kernel?
Thanks!
plamen97 said:
Hi guys!
I'm using the lastest MIUI 7 Rom and i was wondering if I flash a custom kernel like Sensei, will the rom still work?
Also, if I flash CM13 with that kernel and then I want to go back to MIUI, will I have to flash the stock kernel?
Thanks!
Click to expand...
Click to collapse
My kernel works only with Miui6 as reported by @davtse as the're significant improvements on the partitions of Miui7... You don't have to flash back stock, just use MiFlash and it will handle all the fuzz of flashing back Miui.
Hope this answers your question.
haikalizz said:
My kernel works only with Miui6 as reported by @davtse as the're significant improvements on the partitions of Miui7... You don't have to flash back stock, just use MiFlash and it will handle all the fuzz of flashing back Miui.
Hope this answers your question.
Click to expand...
Click to collapse
I am on CM13 + Sensei.
If I want to update CM13 (dirty flash?), I don't have to flash stock kernel before doing that, right?
mandarin91 said:
I am on CM13 + Sensei.
If I want to update CM13 (dirty flash?), I don't have to flash stock kernel before doing that, right?
Click to expand...
Click to collapse
No but you have to reflash back my kernel since the rom flashes back stock...
haikalizz said:
No but you have to reflash back my kernel since the rom flashes back stock...
Click to expand...
Click to collapse
Wifi doesn ´t work on miuiv6 with patch
Kernel sensei

About incorrect kernel flashing and camera bug

I have this question about kernel flashing, i tried google but no luck so xda is my last resort, anyway i want to flash a overclocked kernel of another rom, if i do so will it hard brick my device, as i cant try it not until i know that i can boot back into recovery even with incorrect kernel, i really hope someone can answer this. And oh yes i need to ask another question about camera not focusing correctly,i mean it focuses correctly then again becomes blur to take a shot, but when i do video calling in whatsapp, it works kinda ok that what my partner said but idk i have Grand 2 ms013g. Thnx
max gokue said:
I have this question about kernel flashing, i tried google but no luck so xda is my last resort, anyway i want to flash a overclocked kernel of another rom, if i do so will it hard brick my device, as i cant try it not until i know that i can boot back into recovery even with incorrect kernel, i really hope someone can answer this. And oh yes i need to ask another question about camera not focusing correctly,i mean it focuses correctly then again becomes blur to take a shot, but when i do video calling in whatsapp, it works kinda ok that what my partner said but idk i have Grand 2 ms013g. Thnx
Click to expand...
Click to collapse
It is impossible to answer that if we don't know what kernel you're trying to flash and what specific device model number you're trying to flash it on or what ROM you're using(i.e. custom ROM or Stock ROM, if custom ROM, what ROM?)
If the kernel was not made for your device, you can't use it. If it was made for your device, then it is a question of whether the kernel is compatible with the ROM you're using.
Sent from my SM-S767VL using Tapatalk
Ummm
This is the first time that someone replied to my post on xda i m lucky ig, and thnx a lot for the precious reply, so i have aokp 7.1.2 custom rom, and i think it has stock kernel, i want to flash deds kernel, infected kernel, and some others i need to check, which are compatible with my device but not this rom, it say touchwiz, 5.x, 6.x. and my device is Samsung Grand 2 G7102 with msm8226 i want to install overclock kernel as i m more into gamings even tho i still have some good gaming but not that good those kernel support overclocking upto 1.6ghz, if u need more info i m willing to give it to u.
Droidriven said:
It is impossible to answer that if we don't know what kernel you're trying to flash and what specific device model number you're trying to flash it on or what ROM you're using(i.e. custom ROM or Stock ROM, if custom ROM, what ROM?)
If the kernel was not made for your device, you can't use it. If it was made for your device, then it is a question of whether the kernel is compatible with the ROM you're using.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
I mistakenly replied to this thread/post other than replying to ur comment, sorry i m newbie
max gokue said:
I mistakenly replied to this thread/post other than replying to ur comment, sorry i m newbie
Click to expand...
Click to collapse
TouchWIz stuff is stock only, you can't mix TouchWiz stuff with custom ROMs such as AOSP, AOKP, LOS, etc.
Touchwiz can use modified stock kernels that have overclock support built in but you can't use stock kernel or modified stock kernels with custom ROMs.
Likewise, you can't use stock with custom kernels either, stock can only use stock and modified stock kernel.
Sent from my SM-S767VL using Tapatalk
Droidriven said:
TouchWIz stuff is stock only, you can't mix TouchWiz stuff with custom ROMs such as AOSP, AOKP, LOS, etc.
Touchwiz can use modified stock kernels that have overclock support built in but you can't use stock kernel or modified stock kernels with custom ROMs.
Likewise, you can't use stock with custom kernels either, stock can only use stock and modified stock kernel.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
Ok so if i do flash one custom kernel what could happen if its not supported? Hard brick? Will i still be able to go to recovery?

Categories

Resources