[Q] How to go back to stock kernel on final Lollipop? - Nexus 5 Q&A, Help & Troubleshooting

So I have installed franco Kernel on final lollipop on my Nexus 5 and I want to flash another Kernel but it says I have to do a clean flash with stock kernel. I didnt find a .zip stock kernel for stock LRX210 and I want to know how to go back to kernel. I can flash .img but if its going to erase my data I would prefer a .zip to flash in recovery, thanks!

Flash stock ROM.zip

i need flashable stock kernel zip too..

amir7777 said:
So I have installed franco Kernel on final lollipop on my Nexus 5 and I want to flash another Kernel but it says I have to do a clean flash with stock kernel. I didnt find a .zip stock kernel for stock LRX210 and I want to know how to go back to kernel. I can flash .img but if its going to erase my data I would prefer a .zip to flash in recovery, thanks!
Click to expand...
Click to collapse
get wugfresh's root toolkit , specify what OS you are running, got advaced utilities on the bottom left click launch, then under retore stock kernel click stock kernel .. and voila
get wugfreshes rootkit here http://www.wugfresh.com/nrt/
rootSU said:
Flash stock ROM.zip
Click to expand...
Click to collapse
but thats gonna wipe all his data yeah ?

Related

custom recovery problem

i have nexus s 4.0.4 im already root it but when install custom recovery drom rom manager its work but after reboot its gone how can i dix that
i use this guid to root it
http://forum.xda-developers.com/showthread.php?t=1088494
and i have a question can i install a rom with a stock recovery
You'll need a custom recovery to install a ROM. Follow these instructions and you'll be good to go:
Harbb said:
Delete or rename /system/etc/install-recovery.sh and flash CWM one last time. It'll stick. Each boot, stock ROMs reflash the stock recovery unless you delete/rename that file.
Click to expand...
Click to collapse
med-united said:
i have nexus s 4.0.4 im already root it but when install custom recovery drom rom manager its work but after reboot its gone how can i dix that
i use this guid to root it
http://forum.xda-developers.com/showthread.php?t=1088494
and i have a question can i install a rom with a stock recovery
Click to expand...
Click to collapse
If you flash a custom rom it will just stick but if you stay on stock...
Try this
http://forum.xda-developers.com/show...36&postcount=8
there is also a zip you can use
http://forum.xda-developers.com/show...13&postcount=2

[Q] Changing Stock kernels

Hi,
I have managed to put on a kernel that's not working. Is there a way to revert back to the original kernel? I do have a nandroid backup, but re-installing that didn't put on the old kernel.
I am using Liquidsmooth ROM. Any help would be appreciated.
Thanks.
if you can boot into the rom use flashimagegui, if not do the normal fastboot the boot.img then do it again with flashimagegui to get the modules.
what kernel did you try to flash? the only kernel that will work with new liquidsmooth is cm10.1_vz-oc-linaro.3.zip. it contains modules, if you aren't s-off then you need to flash boot.img in fastboot then flash again in recovery for the modules.
DvineLord said:
if you can boot into the rom use flashimagegui, if not do the normal fastboot the boot.img then do it again with flashimagegui to get the modules.
what kernel did you try to flash? the only kernel that will work with new liquidsmooth is cm10.1_vz-oc-linaro.3.zip. it contains modules, if you aren't s-off then you need to flash boot.img in fastboot then flash again in recovery for the modules.
Click to expand...
Click to collapse
I did exactly that, presuming that it was working... But I have been facing issues. The phone restarts every once in a while and I have managed to get to this condition after multiple wipes and restoring a backup. Anyways I don't know what the issue is I was just wondering how to revert back to the original kernel.
im running Liquid-JB-v2.1-RC2-evita.zip and cm10.1_vz-oc-linaro.3.zip. there seem to be some general issues with the rom that present as basically glitching and gets worse overtime atleast for me. im pretty sure it isnt related to the kernel. but to revert kernel just load the liquidsmooth zip into flashimagegui and itll pull the needed files, let it wipe cache and dalvik then reboot.
DvineLord said:
im running Liquid-JB-v2.1-RC2-evita.zip and cm10.1_vz-oc-linaro.3.zip. there seem to be some general issues with the rom that present as basically glitching and gets worse overtime atleast for me. im pretty sure it isnt related to the kernel. but to revert kernel just load the liquidsmooth zip into flashimagegui and itll pull the needed files, let it wipe cache and dalvik then reboot.
Click to expand...
Click to collapse
I do not have s-off does the flashimagegui works even without it?
strommer666 said:
I do not have s-off does the flashimagegui works even without it?
Click to expand...
Click to collapse
yes, Flash Image GUI
you should also s-off your phone it will make life ALOT easier and the process is simple take like 2 minutes.
DvineLord said:
yes, Flash Image GUI
you should also s-off your phone it will make life ALOT easier and the process is simple take like 2 minutes.
Click to expand...
Click to collapse
Thanks I'll make sure I do that..
also new stable build of liquidsmooth just got released. you should flash it. imma flash it with a clean full wipe. but you should s-off first so you dont have to flash boot.img separately every rom.
DvineLord said:
also new stable build of liquidsmooth just got released. you should flash it. imma flash it with a clean full wipe. but you should s-off first so you dont have to flash boot.img separately every rom.
Click to expand...
Click to collapse
Ya, I saw the new version wanted to try that which is why I wanted to got to the old kernel version. I had tried installing it with the linaro kernel but it gets stuck on the boot screen.
Update: - I installed the flash gui image, then extracted and installed the kernel , factory reset the phone, then installed the latest liquid smooth build. But it is still not going ahead of the boot animation.
Update 3 :- Got the old kernel back. Did a restore. Working fine now . But still for some reason I cannot install the new ROM yet.
strommer666 said:
Ya, I saw the new version wanted to try that which is why I wanted to got to the old kernel version. I had tried installing it with the linaro kernel but it gets stuck on the boot screen.
Update: - I installed the flash gui image, then extracted and installed the kernel , factory reset the phone, then installed the latest liquid smooth build. But it is still not going ahead of the boot animation.
Update 3 :- Got the old kernel back. Did a restore. Working fine now . But still for some reason I cannot install the new ROM yet.
Click to expand...
Click to collapse
you need everything. you don't need to extract the kernel. just load the whole zip file.
DvineLord said:
you need everything. you don't need to extract the kernel. just load the whole zip file.
Click to expand...
Click to collapse
I did load the full file and the flash gui image extracted the kernel. The thing is I have the kernel now, but still I can't seem to be able to install the new version of the LiquidSmooth build. I am doing a nandroid backup of this thing and try installing it again.
well new liquidsmooth is nice, im using cwm now as recovery since ive had tons of issues with twrp since version 2.2.2.0

[Q] switch between custom kernels

Hi. ATM I use elemental x and I've read to switch to another kernel I have to reflash the whole ROM. what's the problem with just flashing the boot.img to get back to stock kernel and then flash another custom kernel?
maroc84 said:
Hi. ATM I use elemental x and I've read to switch to another kernel I have to reflash the whole ROM. what's the problem with just flashing the boot.img to get back to stock kernel and then flash another custom kernel?
Click to expand...
Click to collapse
nothing, it should work fine
Sent from my Nexus 5 using XDA Free mobile app
maroc84 said:
Hi. ATM I use elemental x and I've read to switch to another kernel I have to reflash the whole ROM. what's the problem with just flashing the boot.img to get back to stock kernel and then flash another custom kernel?
Click to expand...
Click to collapse
As jd1639 said... Yes, flashing the stock boot.img should be just fine.
Probably easier though, you can also just dirty flash the ROM that your currently running on your N5 without wiping anything and then while still in recovery, just flash the custom kernel that you want to switch too and done.
maroc84 said:
Hi. ATM I use elemental x and I've read to switch to another kernel I have to reflash the whole ROM. what's the problem with just flashing the boot.img to get back to stock kernel and then flash another custom kernel?
Click to expand...
Click to collapse
As far as I know, just flashing the stock boot.img is usually fine, but if you take a look at franco's thread, the process to uninstall includes flashing system.img as well, since a couple of system files are modified. I don't think elementalx does though, so what you suggested will work ok.
simonarturo said:
As far as I know, just flashing the stock boot.img is usually fine, but if you take a look at franco's thread, the process to uninstall includes flashing system.img as well, since a couple of system files are modified. I don't think elementalx does though, so what you suggested will work ok.
Click to expand...
Click to collapse
Very true... Some kernels do modify the system and that's why I find it easier to just dirty flash the ROM that I'm currently using, since it wipes the system partition and then you don't run into issues.
Thank you.
So I'll better dirty flash to avoid unnecessary problems with a new kernel.
All user data should be save with a dirty flash, am I right?
maroc84 said:
Thank you.
So I'll better dirty flash to avoid unnecessary problems with a new kernel.
All user data should be save with a dirty flash, am I right?
Click to expand...
Click to collapse
Yeap.. Nothing will be erased.
What about if I am on stock? Should flashing the flash-base.sh (from factory image) have the same effect like a dirty flash of a custom recovery with a zip of a custom Rom? So all use data be save.
maroc84 said:
What about if I am on stock? Should flashing the flash-base.sh (from factory image) have the same effect like a dirty flash of a custom recovery with a zip of a custom Rom? So all use data be save.
Click to expand...
Click to collapse
If you mean the flash-all.bat, it will erase all data! Just flash the /system and /boot images and then flash the custom kernel..
Or, you can dirty flash the stock 4.4.4 rom and then flash the custom kernel.
Edit: no. I mean the batch as I named it. It's not flash-all. But I think it only flashes radio and bootloader.
Side fact: *.bat = Windows DOS and *.sh = Linux shell
maroc84 said:
Edit: no. I mean the batch as I named it. It's not flash-all. But I think it only flashes radio and bootloader.
Side fact: *.bat = Windows DOS and *.sh = Linux shell
Click to expand...
Click to collapse
No need to flash radio as well. Flashing boot.img and system.img will do the job is you're on stock and you're guaranteed to not lose your data. I think that will only happen if you flash userdata.img
Just flash the rooted stock zip ROM.
Sent from my Nexus 5 using Tapatalk

[Q] Flashing over a custom kernel.

I'm currently on Cataclysm Rom + Franco Kernel. Wanna flash ElementalX kernel without losing data. How can i do it?
Vyshy92 said:
I'm currently on Cataclysm Rom + Franco Kernel. Wanna flash ElementalX kernel without losing data. How can i do it?
Click to expand...
Click to collapse
Just flash it. Don't do any wipes. You never lose data flashing a kernel.
Sent from my Nexus 9 using XDA Free mobile app
Am fairly sure that in the flash instructions of your chosen kernel it says to "dirty flash ROM" before flashing g kernel. Dirty flash won't or rather shouldn't wipe data. I've done it in past with no problems. Follow OP instructions and you'll be just fine and keep all your data.
Is it okay to flash a custom kernel on stock?
Im running stock 5.1 R3 with TWRP.
MushyMan said:
Is it okay to flash a custom kernel on stock?
Im running stock 5.1 R3 with TWRP.
Click to expand...
Click to collapse
So long as its a compatible one yes its fine. Look in the dev. Sections and look at op of some kernels. Will tell you what they work on and how to flash. As your on stock ROM remember to make a backup and find and download stock kernel as if you want to change between kernels you'll need to flash the stock version before you flash new kernel.
Good luck.

Stock Kernel

Anyone know where I can locate the stock kernel? Im running Elemental X kernel and want to go back.
If you want the stock kernel, then fastboot flash the stock boot.img to both slots...you will lose twrp but that can always be installed again
BakedTator said:
If you want the stock kernel, then fastboot flash the stock boot.img to both slots...you will lose twrp but that can always be installed again
Click to expand...
Click to collapse
Thanks! I may do just that as the new update with Double Tap to wake isn't working and I'm assuming its due to Elemental X kernel that has that feature which I didn't enable during flash. I'll likely hold tight for a bit and see if someone posts a flashable via TWRP stock kernel so i dont need to go through the hassle of reinstalling TWRP (even though its not that time consuming).

Categories

Resources