Stock kernel - Nexus 5 Q&A, Help & Troubleshooting

Hi guys, I was wondering If I was to revert to stock google kernel from a custom kernel on stock rom, would I just need to flash it? Or do I need to factory reset etc? thanks in advance

zubsz said:
Hi guys, I was wondering If I was to revert to stock google kernel from a custom kernel on stock rom, would I just need to flash it? Or do I need to factory reset etc? thanks in advance
Click to expand...
Click to collapse
Only flashing the stock kernel is ok but it is preferable to also flash the system.img as the custom kernel might have left some codes in it but no need to factory reset it.

Related

[Q] Flashing 2 kernels?

CAn you flash more than one kernel and run them both? How do get rid of one kernel? Does kernel mess with ROM?
pranker98 said:
CAn you flash more than one kernel and run them both? How do get rid of one kernel? Does kernel mess with ROM?
Click to expand...
Click to collapse
Hi,
You can only flash one kernel at a time.
But you can flash as many as you want until you find one that works well for you.
Make a nandroid backup,
wipe cache and dalvik,
flash new kernel like a ROM,
reboot.

[Q] Back to stock from custom kernel?

I'm confused about revert back from custom kernel. If I flash some custom kernel that changing the ramdisk or other binaries how do I reset kernel partition before moving back to stock or another kernel without issues?
micens said:
I'm confused about revert back from custom kernel. If I flash some custom kernel that changing the ramdisk or other binaries how do I reset kernel partition before moving back to stock or another kernel without issues?
Click to expand...
Click to collapse
for stock, just flash the stock kernel(zipped or boot.img) or reflash the rom without wiping. for going to another custom kernel, just flash the other kernel over without wiping anything. or you can reflash your rom, then the new kernel, without wiping anything.
Hi,
Just in case for a stock kernel flashable zip: http://forum.xda-developers.com/showthread.php?t=2518816.
Thank you
So, if I flash the stock kernel from recovery it returns everything was changed by custom kernel?
That`s good, and so easy
micens said:
Thank you
So, if I flash the stock kernel from recovery it returns everything was changed by custom kernel?
That`s good, and so easy
Click to expand...
Click to collapse
everything within the kernels range, yes. but a few kernels include system files, it wont change those files. reflashing your rom(without wiping) will get those files back. most kernels dont touch system files, but a very few kernels do.
Ok. Thank`s again :good:
One question more
When I did Full Wipe, everything about custom kernel will gone? Because I don`t understand about changed ramdisk and this staff
micens said:
One question more
When I did Full Wipe, everything about custom kernel will gone? Because I don`t understand about changed ramdisk and this staff
Click to expand...
Click to collapse
no. only your user data will go. kernel/rom stays.
Thank`s,
But, with Full Wipe thing I mean Factory reset + Wipe Cache + Wipe Dalvik Cache + Manual Format /system. Do I need doing "fastboot erase boot" or something like this to full Wipe custom kernel?
micens said:
Thank`s,
But, with Full Wipe thing I mean Factory reset + Wipe Cache + Wipe Dalvik Cache + Manual Format /system. Do I need doing "fastboot erase boot" or something like this to full Wipe custom kernel?
Click to expand...
Click to collapse
all that does is wipe data.
you cant just wipe a kernel away. you need to replace it. you phone can not boot or operate in any way without a kernel. a kernel connects the os to the processor to the battery to the rest of the hardware. if you erase your kernel, you will have a non functional electronic device. you will either have to flash a different kernel, or reflash your rom.
if you erase your kernel, you will have a non functional electronic device. you will either have to flash a different kernel, or reflash your rom.
Click to expand...
Click to collapse
Yes I know this... When erase kernel with "fastboot erase boot" and then flash another kernel that`s it? No data from other kernel like changed ramdisk leave somewhere? That part of this I do not understand about changed ramdisk and other binaries from some kind of custom kernel.
micens said:
Yes I know this... When erase kernel with "fastboot erase boot" and then flash another kernel that`s it? No data from other kernel like changed ramdisk leave somewhere? That part of this I do not understand about changed ramdisk and other binaries from some kind of custom kernel.
Click to expand...
Click to collapse
Just flash another kernel. You can flash kernels over each other with no problem.
Sent from my Nexus 5
micens said:
Yes I know this... When erase kernel with "fastboot erase boot" and then flash another kernel that`s it? No data from other kernel like changed ramdisk leave somewhere? That part of this I do not understand about changed ramdisk and other binaries from some kind of custom kernel.
Click to expand...
Click to collapse
you can do that if you like.
anyways, if a kernel has its own ramdisk, and not an anykernel, then the ramdisk will get replaced every time you flash a kernel. if you are flashing an anykernel, then its best to either reflash your rom first or the roms kernel(stock kernel if stock rom). you can do it your way too, erase than flash
That` s what interested me
Thank you very much

[Q] Restore stock rom without wiping?

Is there any way to restore stock rom without wiping? I currently have stock rom with mods and franco kernel.
Someone told me to flash a .zip of the stock rom on one of the threads on here to achieve that.
I wanted to go back to stock after trying Franco. Then I tried elementalx and my battery life went up so much I don't want to go back.
Sent from my Nexus 5 using xda app-developers app
overkillZ said:
Is there any way to restore stock rom without wiping? I currently have stock rom with mods and franco kernel.
Click to expand...
Click to collapse
Flash the system.img and boot.img files (found in the factory image) using fastboot.
If you backed up your phone or made a nandroid before messing around with your phone, that's usually your best option.
I'd personally advise against just flashing without wiping, because the part of the point would be to remove the garbage files, which wouldn't really happen.
overkillZ said:
Is there any way to restore stock rom without wiping? I currently have stock rom with mods and franco kernel.
Click to expand...
Click to collapse
You can flash stock ROM and kernel (system.img and boot.img) from the factory image without wiping. While it's okay to go from a custom kernel back to stock kernel, I wouldn't go from a custom ROM back to stock ROM without completely reflashing.
BirchBarlow said:
You can flash stock ROM and kernel (system.img and boot.img) from the factory image without wiping. While it's okay to go from a custom kernel back to stock kernel, I wouldn't go from a custom ROM back to stock ROM without completely reflashing.
Click to expand...
Click to collapse
I have stock rom but but with small mods like dalvik optimizing and xposed etc

[Q] Flashable Boost Stock Rom

Hey guys, is there a way to just Flash a stock Boost ROM instead of having to flash the stock firmware using PC?
ishred11 said:
Hey guys, is there a way to just Flash a stock Boost ROM instead of having to flash the stock firmware using PC?
Click to expand...
Click to collapse
From what I've found, this is the only flashable stock ROM:
http://androidforums.com/cdma-moto-...k-4-4-2-deodexed-unmodified-boost-mobile.html
I haven't tried flashing it, myself - when I need to go stock, I just flash the stock firmware via PC.
:good:
Thanks, will there be problems going from 4.4.4 to 4.4.2?
ishred11 said:
Thanks, will there be problems going from 4.4.4 to 4.4.2?
Click to expand...
Click to collapse
I couldn't tell you, to be honest.
Make a Nandroid, and if the flash fails, or you encounter issues, restore your backup.
Ok thanks, the last time I made a backup and did a wipe for the phone, my backup also go deleted. Does it only do that on TWP?
ishred11 said:
Ok thanks, the last time I made a backup and did a wipe for the phone, my backup also go deleted. Does it only do that on TWP?
Click to expand...
Click to collapse
I use this recovery:
http://forum.xda-developers.com/showthread.php?t=2639583
I haven't used TWRP on this device, so I couldn't tell you with complete certainty. PhilZ's recovery has an option to clean your device for flashing a new ROM (wipes data, system, dalvik, & cache). SD contents will remain untouched.
OK thanks very much

Flashing Back to KK?

Hey Guys, so if i want to flasj back too KK from custom lillipop Rom, should I flash factory Images, then the Rom or flash the Rom directly.
and does flashing back affect anything (ie. loosing IMEI, or Radio issues)
nabil alami said:
Hey Guys, so if i want to flasj back too KK from custom lillipop Rom, should I flash factory Images, then the Rom or flash the Rom directly.
and does flashing back affect anything (ie. loosing IMEI, or Radio issues)
Click to expand...
Click to collapse
1. Yes, factory first.
2. No.
nabil alami said:
Hey Guys, so if i want to flasj back too KK from custom lillipop Rom, should I flash factory Images, then the Rom or flash the Rom directly.
and does flashing back affect anything (ie. loosing IMEI, or Radio issues)
Click to expand...
Click to collapse
Here is tutorial for you it is really helpful>>>http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701
Credits goes to @abaaaabbbb63 for writing such easy to understand tut

Categories

Resources