[Q] Reverting back to stock from franco.kernel - Nexus 7 Q&A, Help & Troubleshooting

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

Related

[Q] Going back to original kernal.

I'm thinking of flashing Trinity kernel on my Nexus 7. If I have troubles after flashing the Trinity kernel and want to revert back to my present kernel do I restore a nandroid backup or is there something else I have to do to get present kernel back? Am currently running CM 10.1 jb 4.2.1 on my Nexus 7. Any input would be greatly appreciated. Thanks.
Just do a dirty flash (flash CM10.1 again without factory reset, just wipe cache and dalvik). Your kernel will be overwritten.
kevk60 said:
I'm thinking of flashing Trinity kernel on my Nexus 7. If I have troubles after flashing the Trinity kernel and want to revert back to my present kernel do I restore a nandroid backup or is there something else I have to do to get present kernel back? Am currently running CM 10.1 jb 4.2.1 on my Nexus 7. Any input would be greatly appreciated. Thanks.
Click to expand...
Click to collapse
davisac said:
Just do a dirty flash (flash CM10.1 again without factory reset, just wipe cache and dalvik). Your kernel will be overwritten.
Click to expand...
Click to collapse
yup, thats the easiest way. but you dont have to wipe anything, not even dalvik or cache. you can always extract the boot.img from the cm rom and flash it via fastboot too.
Thanks simms. I'm still trying to figure everything out just got my Nexus for Christmas.
davisac said:
Just do a dirty flash (flash CM10.1 again without factory reset, just wipe cache and dalvik). Your kernel will be overwritten.
Click to expand...
Click to collapse
Thanks for all your info. Appreciate it. Have a good one!
How about if Im using stock rom and I want to flash a different kernel, what should I do?
Leonhan said:
How about if Im using stock rom and I want to flash a different kernel, what should I do?
Click to expand...
Click to collapse
Flash the kernel? Lol !
Wilks3y said:
Flash the kernel? Lol !
Click to expand...
Click to collapse
Ive read that franco has a ramdisk of his own, how do I apply a new kernel without problems if I will try a different one (say motley kernel)?
Trinity kernel working great.
kevk60 said:
Thanks for all your info. Appreciate it. Have a good one!
Click to expand...
Click to collapse
Flashed Trinity kernel on my Nexus 7 and it is great. Am running CM 10.1 JB 4.2.1 latest nightly and so far everything is working awesome. Thanks for everyones input. Thanks to morfic for a wonderful kernel. Boom! Freak out now.

Nexus 4 lag after kernel restore

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.

How to go from a custom rom back to stock without a backup?

So, my stock nandroid backup has failed me. I am on Slimbean right now and I like it, but I would like to flash back to stock until all the kinks are worked out. How can I get back to stock touchwiz? I'm not exactly sure what a deodexed ROM is, but it is my understanding that Wallet does not work on one so I would like to be on a ROM that allows wallet.
Floppy454 said:
So, my stock nandroid backup has failed me. I am on Slimbean right now and I like it, but I would like to flash back to stock until all the kinks are worked out. How can I get back to stock touchwiz? I'm not exactly sure what a deodexed ROM is, but it is my understanding that Wallet does not work on one so I would like to be on a ROM that allows wallet.
Click to expand...
Click to collapse
You could either use Odin to flash the stock rom and be back at square 1, unrooted. Or you could flash crawrj's odexed rooted rom, and Google wallet works on that. Just read up on disabling SEAndroid so you don't get the nag.
Sent from my SPH-L900 using Tapatalk 2
k2buckley said:
You could either use Odin to flash the stock room and be back at square 1, unrooted. Or you could flash Crawrj's odexed rooted rom, and Google wallet works on that. Just read up on disabling SEAndroid so you don't get the nag.
Sent from my SPH-L900 using Tapatalk 2
Click to expand...
Click to collapse
That is just what I was reading now. I'm probably going to flash that. I do understand it doesn't come with a kernal, so if I'm on Slimbean can I just wipe and flash the odexed rom over that kernal? If not, how do I get the stock kernal back to flash over?
Floppy454 said:
That is just what I was reading now. I'm probably going to flash that. I do understand it doesn't come with a kernal, so if I'm on Slimbean can I just wipe and flash the odexed rom over that kernal? If not, how do I get the stock kernal back to flash over?
Click to expand...
Click to collapse
Good point. Flash Shabbys custom kernel, it's linked in that same thread (crawjr's). So wipe, flash odexed rooted rom, flash kernel. You will need to freeze that SEAndroid app though, don't forget about that.
Sent from my SPH-L720 using Tapatalk 2
k2buckley said:
Good point. Flash Shabbys custom kernel, it's linked in that same thread (crawjr's). So wipe, flash odexed rooted rom, flash kernel. You will need to freeze that SEAndroid app though, don't forget about that.
Sent from my SPH-L720 using Tapatalk 2
Click to expand...
Click to collapse
Alright, so I can flash both at the same time? Also, how do I freeze the app? Just disable it in the settings?
Floppy454 said:
Alright, so I can flash both at the same time? Also, how do I freeze the app? Just disable it in the settings?
Click to expand...
Click to collapse
I used titanium backup to freeze it. You need the pro version to do that though
EDIT: Someone just informed me that the app is in the system/app directory, and is called KNOXAgent.apk. So I supposed you could try deleting/renaming that to disable it without using Titanium backup.
http://forum.xda-developers.com/showpost.php?p=41344748&postcount=134
And yes, flash the rom and then kernel in the same recovery session. You currently have an aosp kernel, so I'd doubt it boots if you tried to boot before flashing the kernel.
Sent from my SPH-L720 using Tapatalk 2
Did you have any success?
Sent from my SPH-L720 using Tapatalk 2

Backing Up Stock Kernel

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.

Does NANDROID backup/restore kernel?

I want to try another kernel.
Can I then restore the stock one using nandroid, or will I have to flash the stock rom again?
GrihanOs said:
I want to try another kernel.
Can I then restore the stock one using nandroid, or will I have to flash the stock rom again?
Click to expand...
Click to collapse
I think it will restore the stock kernel as it gets the device into its previous state completely.
Sent from my XT1562 using Tapatalk
GrihanOs said:
I want to try another kernel.
Can I then restore the stock one using nandroid, or will I have to flash the stock rom again?
Click to expand...
Click to collapse
yes it does, while taking backup a section calles 'BOOT' is there . that is your kernel.
Yes, ir will. Just remeber to backup the "boot" partition.
GrihanOs said:
I want to try another kernel.
Can I then restore the stock one using nandroid, or will I have to flash the stock rom again?
Click to expand...
Click to collapse
Use flashify app to backup your stock kernel. I just found it.
Sent from my XT1562 using Tapatalk

Categories

Resources