[Q] Switching ROM and Kernel precaustions - Nexus 4 Q&A, Help & Troubleshooting

If you flash a brand new ROM to your phone does the kernel (and RAMDISK changes) go away?
I'm asking because I have another Kernel and ROM running on my phone and I'm thinking of flashing a new (completley different) kernel and ROM as well, a lot of kernel developers require you flash a stock kernel before switching to another kernel, then flash the kernel of choice.
I'm scared to brick my phone...
So what would be the steps I need to take to change kernels and update my current ROM?

mastrgamr said:
If you flash a brand new ROM to your phone does the kernel (and RAMDISK changes) go away?
I'm asking because I have another Kernel and ROM running on my phone and I'm thinking of flashing a new (completley different) kernel and ROM as well, a lot of kernel developers require you flash a stock kernel before switching to another kernel, then flash the kernel of choice.
I'm scared to brick my phone...
So what would be the steps I need to take to change kernels and update my current ROM?
Click to expand...
Click to collapse
Which kernel are you planning to switch to?
When you need to flash the stock kernel first in order to flash their kernel, they will tell you in the OP. You can flash the stock kernel every time you flash a new kernel if you like.

I'm swittching from Motley to franco, I'm staying on the same ROM (xylon)

mastrgamr said:
I'm swittching from Motley to franco, I'm staying on the same ROM (xylon)
Click to expand...
Click to collapse
Just flash Franco's kernel as is. No need to do anything else.
Sent from my Nexus 4 using Tapatalk 2

Related

Stock Kernel

I'm about to flash a kernel and was wondering what I have to do to go back to the stock one. I didn't find a stock flashable kernel in the dev forum but it must be around...
Edit: I'm looking for the stock 2.3.3
joshthewaster said:
I'm about to flash a kernel and was wondering what I have to do to go back to the stock one. I didn't find a stock flashable kernel in the dev forum but it must be around...
Edit: I'm looking for the stock 2.3.3
Click to expand...
Click to collapse
easiest newbie method is to just reflash the stock rom
Does a stock kernel just not exist? I don't want to have to change roms to change kernels, if possible.
joshthewaster said:
Does a stock kernel just not exist? I don't want to have to change roms to change kernels, if possible.
Click to expand...
Click to collapse
nandroid backup... or flash CM7, flashing CM7 flashes the stock kernel but it overrides your ROM

Question about franco kernel ????

Hi everyone!!! Everytime when booting my phone, it's stuck on Google Logo, I have to to fastboot it with franco r14 kernel in order to get it booting done. Is there any way so I dont have to fastboot everytime I restart my phone, flash to stock kernel or franco r15 ???
I tried to flash faux123 kernel but it just did not work, stuck on Google logo...
If I recall correctly, franco kernel uses a different ramdisk so before you switch to another kernel you have to return to stock (kernel)
I suggest return to stock kernel, then flash franco r15.
http://faux.androidro.ms/mako/mako_421_reset_kernel.zip
This is what faux suggest to use to reset to stock kernel, for stock ROM only.
KyraOfFire said:
If I recall correctly, franco kernel uses a different ramdisk so before you switch to another kernel you have to return to stock (kernel)
I suggest return to stock kernel, then flash franco r15.
http://faux.androidro.ms/mako/mako_421_reset_kernel.zip
This is what faux suggest to use to reset to stock kernel, for stock ROM only.
Click to expand...
Click to collapse
thks for ur help. please forgive for my limited knowledge, u mean if I want to flash faux or franco kernel,I have to flash stock kernel first ??? I currently using stock rom right now with CM
ptt1404 said:
thks for ur help. please forgive for my limited knowledge, u mean if I want to flash faux or franco kernel,I have to flash stock kernel first ??? I currently using stock rom right now with CM
Click to expand...
Click to collapse
If you're in franco, before you switch to another kernel you have to return to stock kernel.
I don't know why you're stuck with Google logo in the first place with franco, but if you're just switching between kernels, especially when there is franco kernel involved, return to stock kernel will likely solve the problem.

Custom kernel is gone after flashing a rom

Why is it that I have to reflash a custom kernel every time I flash the newest build of a rom?
Any time you flash a custom ROM, it will always include some kernel along with it. Hence, when you flash the newest build of a rom, you're also re-flashing the original kernel that it came with.
btse said:
Any time you flash a custom ROM, it will always include some kernel along with it. Hence, when you flash the newest build of a rom, you're also re-flashing the original kernel that it came with.
Click to expand...
Click to collapse
I see. Thanks! So I pretty much gotta flash my own custom kernel every time then?
As far as I know yes. There could possible be some way of flashing without the kernel, but I think it's much safer to just flash the whole custom ROM and then re-flashing your own custom kernel.
Yeah the easiest thing to do is just install the ROM with its kernel then just flash your kernel of choice.
Sent from my Nexus 4 using Tapatalk 2

Flashing a Custom Kernel

Hi, I have some question about flashing a custom kernel (+Franco kernel):
1. Let's say I have Franco Kernel and a new version comes out, do I need to flash it again or I can use the app to flash it? Also, do I need to wipe something before I flash?
2. If I switch to another kernel from Franco, what exactly do I have to do? Just wipe cache+dalvik and re-flash my rom?
3. Will I have to re-flash the kernel after each rom update?
Thanks!
Hi I'm not sure about #1 because I don't use Franco's app, but 2) Sometimes you can just flash a new kernel over the old one. Personally I prefer to dirty flash my ROM, then flash my choice of kernel. 3) You'll need to flash the kernel after a ROM update. The ROM is compiled with it's own kernel.
chrisbo4 said:
Hi I'm not sure about #1 because I don't use Franco's app, but 2) Sometimes you can just flash a new kernel over the old one. Personally I prefer to dirty flash my ROM, then flash my choice of kernel. 3) You'll need to flash the kernel after a ROM update. The ROM is compiled with it's own kernel.
Click to expand...
Click to collapse
So I need to dirty flash my ROM (=wipe cache+dalvik & flash) then install a new kernel? Thanks.
Still need an answer to Q1 though
I use CM 10.1 and just flash the new Franco kernel ZIP over the old one and it's been fine...
[email protected] said:
Hi, I have some question about flashing a custom kernel (+Franco kernel):
1. Let's say I have Franco Kernel and a new version comes out, do I need to flash it again or I can use the app to flash it? Also, do I need to wipe something before I flash?
2. If I switch to another kernel from Franco, what exactly do I have to do? Just wipe cache+dalvik and re-flash my rom?
3. Will I have to re-flash the kernel after each rom update?
Thanks!
Click to expand...
Click to collapse
1. When a new version comes out all you have to do is flash the new version on top of the old one. You can simply download it from the app and let it do a auto-flash. No need to wipe anything.
2. It depends. Some kernels will need you to flash the stock kernel first then flash the custom kernel you want to you. Ex. Faux kernel. Don't forget to read the first post of every thread to look for installation instructions.
3. Yes, you will need to reflash the kernel after a rom is flashed. Make sure to flash the kernel last.
Sent from my SGH-T999 using Tapatalk 2
scream4cheese said:
1. When a new version comes out all you have to do is flash the new version on top of the old one. You can simply download it from the app and let it do a auto-flash. No need to wipe anything.
2. It depends. Some kernels will need you to flash the stock kernel first then flash the custom kernel you want to you. Ex. Faux kernel. Don't forget to read the first post of every thread to look for installation instructions.
3. Yes, you will need to reflash the kernel after a rom is flashed. Make sure to flash the kernel last.
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
1. Does the app need a special recovery to work? I have a TWRP recovery..
2. What do you mean by stock kernel? And is it correct that Franco is the only kernel that I need to re-flash my ROM to switch to another kernel because it changes something in the ramdisk? If so, do I just need to do a dirty flash?
Thanks.
[email protected] said:
1. Does the app need a special recovery to work? I have a TWRP recovery..
2. What do you mean by stock kernel? And is it correct that Franco is the only kernel that I need to re-flash my ROM to switch to another kernel because it changes something in the ramdisk? If so, do I just need to do a dirty flash?
Thanks.
Click to expand...
Click to collapse
1. No special recovery needed. I too use TWRP.
2. Nothing special need be done to flash to Franco. Going from Franco to another kernel it is easiest to reflash your ROM. You are correct about the ramdisk.
grubbster said:
1. No special recovery needed. I too use TWRP.
2. Nothing special need be done to flash to Franco. Going from Franco to another kernel it is easiest to reflash your ROM. You are correct about the ramdisk.
Click to expand...
Click to collapse
2. So going from Franco to another kernel - just dirty flash without a factory reset?
Thank you very much.
[email protected] said:
1. Does the app need a special recovery to work? I have a TWRP recovery..
2. What do you mean by stock kernel? And is it correct that Franco is the only kernel that I need to re-flash my ROM to switch to another kernel because it changes something in the ramdisk? If so, do I just need to do a dirty flash?
Thanks.
Click to expand...
Click to collapse
1. Having a recovery is good. When you download a new kernel there is an option to let it do a auto-flash and it'll flash it you. The phone will reboot itself when it's done.
2. Some custom kernels need to flash the stock kernel, (the original factory kernel that it's shipped in) if you're going to switch to another custom kernel like Faux's kernel. So when the next time you want to make a switch to another kernel, please make sure to read the first post of the thread to look for instructions to install the kernel. If you're updating to a new rom or switching to a new rom, you will need to flash whichever custom kernel you were using on top of the updated/new rom. When you flash a new rom, it is recommended to do a full wipe to avoid issues. After every rom flash you need to flash the kernel.
http://forum.xda-developers.com/showthread.php?t=2008222
---------- Post added at 10:20 AM ---------- Previous post was at 10:19 AM ----------
[email protected] said:
2. So going from Franco to another kernel - just dirty flash without a factory reset?
Thank you very much.
Click to expand...
Click to collapse
No. no. You don't need to do a factory reset. I don't know how many times I'm going to say this but read my answers to all of your questions again. (Don't mean to sound like a jerk or anything)
scream4cheese said:
1. Having a recovery is good. When you download a new kernel there is an option to let it do a auto-flash and it'll flash it you. The phone will reboot itself when it's done.
2. Some custom kernels need to flash the stock kernel, (the original factory kernel that it's shipped in) if you're going to switch to another custom kernel like Faux's kernel. So when the next time you want to make a switch to another kernel, please make sure to read the first post of the thread to look for instructions to install the kernel. If you're updating to a new rom or switching to a new rom, you will need to flash whichever custom kernel you were using on top of the updated/new rom. When you flash a new rom, it is recommended to do a full wipe to avoid issues. After every rom flash you need to flash the kernel.
http://forum.xda-developers.com/showthread.php?t=2008222
---------- Post added at 10:20 AM ---------- Previous post was at 10:19 AM ----------
No. no. You don't need to do a factory reset. I don't know how many times I'm going to say this but read my answers to all of your questions again. (Don't mean to sound like a jerk or anything)
Click to expand...
Click to collapse
I think that's what he was saying/asking... That's correct, no need to factory reset.

Lost my Original kernel - Nexus 4

Hello XDA-Developers,
I lost my stock/original kernel from my Nexus 4 Device..
I have now, Franco Kernel 3.4.0-franco.Kernel.nightly.
But, now I wanna try Faux123, how can I get my stock Android Kernel back?
Thanks..
Nexus 4
Build-number: JWR66Y
reflash your stock rom, or flash the stock kernel. a quick search on xda or google will find them for you. btw, you didnt "lose" your stock kernel, you willingly and by your choice gave it up by replacing it with a custom kernel.
whick logslin
simms22 said:
reflash your stock rom, or flash the stock kernel. a quick search on xda or google will find them for you. btw, you didnt "lose" your stock kernel, you willingly and by your choice gave it up by replacing it with a custom kernel.
Click to expand...
Click to collapse
Now is my baby Nexus 4, crashed.. My wife will kill me..
I see an black screen, after auto-flash update to 191 nightly Franco Kernel..
flash the last good kernel or another kernel, or reflash your rom.
OP, this is why you make a backup before you flash. Always.
Also, You're*

Categories

Resources