Nexus 4 lag after kernel restore - Nexus 4 Q&A, Help & Troubleshooting

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.

Related

[Q] Reverting back to stock from franco.kernel

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

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.

Failing Update

Hi everyone, there is a 1.8mb update for android 4.3. Mine always fails. At first I had CWM and IN HERE I switched to TWRP and it's not working again! Please help
Rooted, Stock rom, TWRP recovery
You need stock recovery also
Sent from my Nexus 4 using Tapatalk 4
Zehlek said:
You need stock recovery also
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
Why the stock recovery? And how I do that?
alipashang77 said:
Why the stock recovery? And how I do that?
Click to expand...
Click to collapse
you have made alterations to your phone so its not longer stock. the file you are flashing is for a stock rom and to be flashed in a stock recovery. to flash the update simply re-flash a stock recovery and allow the update to go through. you can also simply wait and flash an updated custom stock rom.
Edit: link deleted....may confuse you
Edit2: Using the toolkits you should be able to find the stock recovery image and flash it back
playya said:
you have made alterations to your phone so its not longer stock. the file you are flashing is for a stock rom and to be flashed in a stock recovery. to flash the update simply re-flash a stock recovery and allow the update to go through. you can also simply wait and flash an updated custom stock rom.
Edit: link deleted....may confuse you
Click to expand...
Click to collapse
I got the idea, ho do I re-flash the stock recovery? any easy way?
alipashang77 said:
I got the idea, ho do I re-flash the stock recovery? any easy way?
Click to expand...
Click to collapse
Try the toolkits you would need the stockrecovery image

[Q] [HELP] I flashed wrong kernel file and now my device don`t boot

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.

if I reset etc

If I reset the phone etc will it all revert back to the stock kernel?
arknailed7754 said:
If I reset the phone etc will it all revert back to the stock kernel?
Click to expand...
Click to collapse
No.
You need to flash the stock boot image to get the stock kernel.
You need to flash the stock ROM to get back to a stock OS.
Ahh ok. Still got oxygen but I flashed Franco was all.
arknailed7754 said:
Ahh ok. Still got oxygen but I flashed Franco was all.
Click to expand...
Click to collapse
If you want to get rid of the Franco kernel just flash the stock boot image.
You will then have the stock kernel.

Categories

Resources