I have now Nexus 4 out of the box.
Now i want to back up the stock kernel before i flash to Franco Kernel. Is there a way to backup the stock one without rooting the device?
I guess you don't need a backup, you can easily extract it from the stock rom and the flash it back
Sent from my Nexus 4 running Android 4.2.2
and nztrao
No need to backup before flashing to Franco Kernel? If so how i extract the stock one later if I'll need it?
Hellsigh said:
No need to backup before flashing to Franco Kernel? If so how i extract the stock one later if I'll need it?
Click to expand...
Click to collapse
You download the stock rom zip from Google's site where the images are stored. Then you extract the zip and as far as I know there's the stock boot.img inside. Then you can simply flash it
Sent from my Nexus 4 running Android 4.2.2
Alright thanks!
I already installed Franco Kernel now
Hellsigh said:
I have now Nexus 4 out of the box.
Now i want to back up the stock kernel before i flash to Franco Kernel. Is there a way to backup the stock one without rooting the device?
Click to expand...
Click to collapse
Franco kernel updater application from Play Store lets you backup kernels
...
FaeLLe said:
Franco kernel updater application from Play Store lets you backup kernels
Click to expand...
Click to collapse
^ still need to be rooted.
Anyway i already rooted my phone. Thanks.
Related
Basically I've never flashed a custom kernel before so I'm trying to do some research so if someone could give me some incite or point me in the right direction I'd really appreciate it.
The only thing I'm not sure of is if I flash a custom kernel will it prevent me from receiving any future ota updates? If so, any ideas where to find a flashable stock kernel? I couldn't find one. I really want to stay with the stock rom. Had my fill of custom roms on my phone.
Sent from my Nexus 7
Y u not like roms?!
nick2418 said:
Basically I've never flashed a custom kernel before so I'm trying to do some research so if someone could give me some incite or point me in the right direction I'd really appreciate it.
The only thing I'm not sure of is if I flash a custom kernel will it prevent me from receiving any future ota updates? If so, any ideas where to find a flashable stock kernel? I couldn't find one. I really want to stay with the stock rom. Had my fill of custom roms on my phone.
Sent from my Nexus 7
Click to expand...
Click to collapse
Let's see. AFAIK yes, non-stock kernels will prevent you from getting those long-awaited OTAs (not sure though as the first thing I did after getting my N7 was to flash PA ).
If you really like the stock experience but still want a custom kernel, you must flash a custom recovery to flash kernels. The latest TWRP touch is what you need.
After you've flashed the recovery, just download the kernel zip, reboot to recovery, flash, profit.
As for a kernel, you can go with M-Kernel, DerKernel, franco.Kernel, Faux and so on and so forth. I love M-Kernel personally. You can tweak it with TricksterMOD for a smokin' good overclock as well as purty good battery life
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Also, just asking, what do you mean by a "a flashable stock kernel"? If you already have the stock kernel, why flash the same over it?
AFAIK updates to stock kernel are provided by OTAs.
I guess I was looking for a way to return to the stock kernel if need be. I have my recovery and understand that part. Just trying to make sure I understand kernels better before I brick my n7. Thanks for the help!
Sent from my Nexus 7
i also need a stock flashable kernel..just in cased i wan to revert back...
Sent from both my sexy galaxy nexus and nexus 7 X)
nick2418 said:
I guess I was looking for a way to return to the stock kernel if need be. I have my recovery and understand that part. Just trying to make sure I understand kernels better before I brick my n7. Thanks for the help!
Sent from my Nexus 7
Click to expand...
Click to collapse
Oh, ok. If you flash the stock ROM, it flashes the kernel as well (but it's a lot of work reflashing a ROM just for the kernel )
What you can do is this: extract the stock ROM zip and flash the boot.img you get.
Here's a link to the stock ROM: https://dl.google.com/dl/android/aosp/nakasig-jop40d-factory-efcec044.tgz
Edit: I figured I'd explain the rest as well...
After you download that file, untar it: nakasig-jop40d-factory-efcec044.tgz will untar to a folder probably named:nakasig-jop40d-factory-efcec044
Open that folder. You will find a zip (probably image-nakasig-jop40d.zip or something like that), unzip it.
You'll find four files. boot.img is the one you need. Flash it to your device with fastboot.
If you wan a flashable zip, unzip any custom kernel, replace the awesome custom boot.img with the boring stock one and rezip. You should be able to flash it from TWRP or CWM.
Note that the stock kernel nukes CWM on first boot. I assume you don't have root. Do this:
1. Connect the N7 to your PC. [you should have debugging enabled in dev options]
2. Open an adb shell and type this: mv /system/recovery-from-boot.p /system/recovery-from/boot.p.bak
3. ???
4. Profit
[If you do have root, open a file manager, remount /system as read/write and rename /system/recovery-from-boot.p to something.]
Click thanks if I helped!
That's why I was hoping to find the JOP40D stock kernel as a flashable zip. But I'll give the boot. I'm a shot. Thanks again!
Sent from my Nexus 7
nick2418 said:
That's why I was hoping to find the JOP40D stock kernel as a flashable zip. But I'll give the boot. I'm a shot. Thanks again!
Sent from my Nexus 7
Click to expand...
Click to collapse
I added some stuff, see if it helps.
It would be nice if you clicked "thanks" below my post
stock flashable 4.1.2 kernel for grouper(put up by faux as a "reset" kernel) http://faux.androidro.ms/grouper-faux123-reset-kernel-4.1.2.zip (should be fine on 4.2.1)
flashable in twrp or cwm recovery. no hoops to jump through flashing or after flashing this. it doesnt nuke your recovery.
simms22 said:
stock flashable 4.1.2 kernel for grouper(put up by faux as a "reset" kernel) http://faux.androidro.ms/grouper-faux123-reset-kernel-4.1.2.zip
flashable in twrp or cwm recovery. no hoops to jump through flashing or after flashing this. it doesnt nuke your recovery.
Click to expand...
Click to collapse
Will that work with OP's 4.2.1?
Awesoham said:
Will that work with OP's 4.2.1?
Click to expand...
Click to collapse
yea. i occasionally run a 4.1.2 trinity kernel on my 4.2.1 rasbean jelly rom
I have a quick question.
I flashed the franco kernel using franco's app, and also made a backup of my stock kernel using the same app before flashing.
If i decide to revert back to stock kernel, all i'll have to do is flash the stock kernel backup, right? It won't mess anything up?
v9s said:
I have a quick question.
I flashed the franco kernel using franco's app, and also made a backup of my stock kernel using the same app before flashing.
If i decide to revert back to stock kernel, all i'll have to do is flash the stock kernel backup, right? It won't mess anything up?
Click to expand...
Click to collapse
Yes this should work :good:
mihahn said:
Yes this should work :good:
Click to expand...
Click to collapse
what happens if I did not make a backup of the stock kernel?
sensei22 said:
what happens if I did not make a backup of the stock kernel?
Click to expand...
Click to collapse
Dirty flash your rom is what i did .
Sent from my Nexus 7
jlg19753 said:
Dirty flash your rom is what i did .
Sent from my Nexus 7
Click to expand...
Click to collapse
I'm actually getting ready to flash Franco's Rom now, I figured since the kernel is in the boot image, and if I make a backup with TWRP (doing full since I want to keep my latest changes). Then if I don't like it I can just restore only the boot image portion of it assuming everything else remains the same.
jlg19753 said:
Dirty flash your rom is what i did .
Sent from my Nexus 7
Click to expand...
Click to collapse
I'm sorry but I don't know what you mean by dirty flash
sensei22 said:
I'm sorry but I don't know what you mean by dirty flash
Click to expand...
Click to collapse
Flash ROM and gapps don't wipe anything = dirty flash
Sent from my Nexus 4
Hi Everyone,
I have stock rom with franco kernel. Yesterday I reverted back to stock kernel and noticed that it lags now when I wake it from the unlock screen. I did a factory reset, but the lag is still there. This was never there when I had it from the begining. Should I flash the factory image?? Can the backup stock kernel get corrupted?
delf0s said:
Hi Everyone,
I have stock rom with franco kernel. Yesterday I reverted back to stock kernel and noticed that it lags now when I wake it from the unlock screen. I did a factory reset, but the lag is still there. This was never there when I had it from the begining. Should I flash the factory image?? Can the backup stock kernel get corrupted?
Click to expand...
Click to collapse
Try _motley's reset kernel, it restores other files that may have been changed too
http://forum.xda-developers.com/attachment.php?attachmentid=1737875&d=1361118181
Edit.. Note the link is the 4.2.2 version, check his thread if you need 4.2.1 reset.
delf0s said:
Hi Everyone,
I have stock rom with franco kernel. Yesterday I reverted back to stock kernel and noticed that it lags now when I wake it from the unlock screen. I did a factory reset, but the lag is still there. This was never there when I had it from the begining. Should I flash the factory image?? Can the backup stock kernel get corrupted?
Click to expand...
Click to collapse
after using franco kernel, you have to reflash your rom then kernel. franco kernel hides tweaks inits ramdisk. flashing another kernel on top will not change this ramdisk, so you have to flash your rom first(no wiping anything).
As I stated above...can I just fastboot then flash the factory image??
delf0s said:
As I stated above...can I just fastboot then flash the factory image??
Click to expand...
Click to collapse
absolutely. then youll need to reroot. its MUCH easier to flash a rooted stock(thats what im guessing you are using) rom though.
simms22 said:
absolutely. then youll need to reroot. its MUCH easier to flash a rooted stock(thats what im guessing you are using) rom though.
Click to expand...
Click to collapse
I would have to flash a custom recovery...then download a CWM stock rom and flash, huh? I currently have stock recovery
delf0s said:
I would have to flash a custom recovery...then download a CWM stock rom and flash, huh? I currently have stock recovery
Click to expand...
Click to collapse
You can fastboot flash the OEM boot.img; I'm guessing you fastbooted Franco's kernel?
http://forum.xda-developers.com/attachment.php?attachmentid=&d=1361814949
Flash this reset kernel which has the INITFRAMS.
all will be ok.
You don't have to reflash the whole phone.
Cheers
Sent from my Nexus 4 using xda premium
CMNein said:
You can fastboot flash the OEM boot.img; I'm guessing you fastbooted Franco's kernel?
Click to expand...
Click to collapse
No...I flashed the Franco kernel using the updater app.
mariosraptor said:
http://forum.xda-developers.com/attachment.php?attachmentid=&d=1361814949
Flash this reset kernel which has the INITFRAMS.
all will be ok.
You don't have to reflash the whole phone.
Cheers
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Link is broken
delf0s said:
No...I flashed the Franco kernel using the updater app.
Click to expand...
Click to collapse
Either way, you can just flash the stock boot.img via fastboot and you're good to go.
CMNein said:
Either way, you can just flash the stock boot.img via fastboot and you're good to go.
Click to expand...
Click to collapse
I suppose I can...however....I currently have a chromebook (ARM)...dunno if I can use fastboot with it. I wanted a solution I could do straight on my phone, like, flashing CWM recovery, then downloading the stock (rooted, CWM flashable) ROM...and flashing it.
Get it from here http://forum.xda-developers.com/showthread.php?t=2101488
First post at attachments
Sent from my Nexus 4 using xda premium
---------- Post added at 11:50 PM ---------- Previous post was at 11:49 PM ----------
delf0s said:
I suppose I can...however....I currently have a chromebook (ARM)...dunno if I can use fastboot with it. I wanted a solution I could do straight on my phone, like, flashing CWM recovery, then downloading the stock (rooted, CWM flashable) ROM...and flashing it.
Click to expand...
Click to collapse
Just cause i am curious, why did you changed from Franco's?
Sent from my Nexus 4 using xda premium
simms22 said:
absolutely. then youll need to reroot. its MUCH easier to flash a rooted stock(thats what im guessing you are using) rom though.
Click to expand...
Click to collapse
Could you clarify this for me, If in the future I need to do it? So, after leaving franco kernel, i.e. If I'm using franco kernel and wanna go back to completely stock again; before flashing stock I'll need to re-flash the current rom that I'm using, to re-flash the rom's kernel and this way replace the ramdisk to the stock from rom? If I'm wrong, please correct me; you guys are awesome!
vjales said:
Could you clarify this for me, If in the future I need to do it? So, after leaving franco kernel, i.e. If I'm using franco kernel and wanna go back to completely stock again; before flashing stock I'll need to re-flash the current rom that I'm using, to re-flash the rom's kernel and this way replace the ramdisk to the stock from rom? If I'm wrong, please correct me; you guys are awesome!
Click to expand...
Click to collapse
yes, kinda. reflashing your rom will replace francos ramdisk. all the other kernels use anykernel, so dont have ramdisk included. generally, its only after using franco kernel do you want to do this, the other kernels you can flash right over each other. anykernel kernels grab the available ramdisk. theres plenty of stock/aosp rooted roms here on xda, any of them should work for you.
So, i was in a hurry and i downloaded the wrong kernel. I wanted to download the linaro franco kernel for android 4.4, but instead i downloaded this one "franco.Kernel-nightly-r14-linaro.zip". this is an old version.
So now, my device does not boot and i cant install the correct kernel file.
What should I do?
Use a toolkit like wug and install through it the stock or any custom kernel you want.
Unleashed by my Nexus 4
But...
But, there is a way to only replace the kernel or i have to re-install the ROM?
Re-install only the kernel may affected something?
Thanks a lot.
Marcelo Diniz said:
But, there is a way to only replace the kernel or i have to re-install the ROM?
Re-install only the kernel may affected something?
Thanks a lot.
Click to expand...
Click to collapse
Didn't make a nandroid before you flashed it?
Start fresh... In the future make a nandroid and make dam sure you have correct files before you flash
Sent from my Nexus 4 using XDA Premium HD app
fastboot flash boot kernel.img
OK
I flashed the stok room again using WugFresh toolkit.
Totaly woks.
Thaks for help.
Hello everyone so I installed lean kernel on my SM-N900W8 Note 3 and of course I didn't backup the original kernel. So I was wondering if anyone could provide my with a download of the stock SM-N900W8 kernel as I want to go back to it. Thanks in advance!
All of the Samsung stock ROMs are at sammobile.com.
audit13 said:
All of the Samsung stock ROMs are at sammobile.com.
Click to expand...
Click to collapse
But I want to try to avoid wiping the device totally, or will I be able to install the ROM without fully wiping my device?
You can extract the kernel from the stock rom.
I think it is a good idea to have a copy of the stock rom in case there is a need to flash back to a stock rom.
audit13 said:
You can extract the kernel from the stock rom.
I think it is a good idea to have a copy of the stock rom in case there is a need to flash back to a stock rom.
Click to expand...
Click to collapse
Would you be able to tell me how to extract it? I already have a copy of the rom.
Edit - Never mind I got it, Thanks for the help!
If lean kernel has aroma installer then there should be a feature of going back to stock kernel If not then:-
Try pekaka kernel where you've feature of aroma installer and there's a step to revert back to stock kernel.
I usually uses same method to revert back to stock. After that keep backup of your kernel
Sent from my SM-N900 using Tapatalk
A kernel that has an aroma installer ?
Well that's new.