[Q] HELP! Stuck in a boot loop :( - Nexus 4 Q&A, Help & Troubleshooting

*RESOLVED*
I tried to update to 4.2.2 manually and got stuck in a bootloop. The first time, I got an error message (attached) and rebooted, so I went into Voodoo Root protector and deleted my backup of SU thinking that could be the problem. I tried again, got the same error, and now I'm in a bootloop. I am on stock Android 4.2.1 and using Franco Kernel r72. Please help me.
Thanks.

wipe data then reflash your rom

benblb said:
I tried to update to 4.2.2 manually and got stuck in a bootloop. The first time, I got an error message (attached) and rebooted, so I went into Voodoo Root protector and deleted my backup of SU thinking that could be the problem. I tried again, got the same error, and now I'm in a bootloop. I am on stock Android 4.2.1 and using Franco Kernel r72. Please help me.
Thanks.
Click to expand...
Click to collapse
If you have unlocked bootloader, download Nexus 4 image from here, unzip it to get the various factory images and then flash using fastboot. If you have locked bootloader, you will have to unlock it using
Code:
fastboot oem unlock
.
CAUTION: This will wipe all data.
Follow this guide to re-root and install CWM.

simms22 said:
wipe data then reflash your rom
Click to expand...
Click to collapse
Is there any way for me to keep my data? How do I cleanly do it? If I do need to wipe data, what do I do? Do I just go into CWM and tell it to wipe the data and then flash the operating system? I saw some instructions that had me flashing all sorts of stuff (i.e. radios etc). Sorry for all the questions.

rhoadster91 said:
If you have unlocked bootloader, download Nexus 4 image from here, unzip it to get the various factory images and then flash using fastboot. If you have locked bootloader, you will have to unlock it using
Code:
fastboot oem unlock
.
CAUTION: This will wipe all data.
Click to expand...
Click to collapse
My bootloader is unlocked. What exactly do I flash from the 4.2.2 image? Do I need to wipe my data first or is my data just wiped in the process?

benblb said:
Is there any way for me to keep my data? How do I cleanly do it? If I do need to wipe data, what do I do? Do I just go into CWM and tell it to wipe the data and then flash the operating system? I saw some instructions that had me flashing all sorts of stuff (i.e. radios etc). Sorry for all the questions.
Click to expand...
Click to collapse
yes, in cwm. wipe data then flash the rom. you can try just reflashing your rom first, without wiping data. if it still bootloops, then wipe data and reflash. flashing the system img via fastboit will wipe everything.

benblb said:
I tried to update to 4.2.2 manually and got stuck in a bootloop. The first time, I got an error message (attached) and rebooted, so I went into Voodoo Root protector and deleted my backup of SU thinking that could be the problem. I tried again, got the same error, and now I'm in a bootloop. I am on stock Android 4.2.1 and using Franco Kernel r72. Please help me.
Thanks.
Click to expand...
Click to collapse
Since you aren't running the stock kernel, one of the kernel modules failed an md5sum check for a patch and the install stopped before attempting to patch a file that wasn't equal to what it was expecting.

a wipe data/factory reset in Recovery Mode can solve this bootloop, especially after you have just flashed a ROM.

benblb said:
My bootloader is unlocked. What exactly do I flash from the 4.2.2 image? Do I need to wipe my data first or is my data just wiped in the process?
Click to expand...
Click to collapse
Flashing from fastboot will automatically clear all data. There should be a system.img file. Flash it using
Code:
fastboot flash system system.img
But to make a clean install, I would recommend you flash all the factory images. Refer this for more detail.

JaiaV said:
Since you aren't running the stock kernel, one of the kernel modules failed an md5sum check for a patch and the install stopped before attempting to patch a file that wasn't equal to what it was expecting.
Click to expand...
Click to collapse
So I can just re-flash my kernel and be fine? I can't get the kernel to flash though.

benblb said:
So I can just re-flash my kernel and be fine? I can't get the kernel to flash though.
Click to expand...
Click to collapse
reflash the rom. franco kernel isnt flashable in recovery, you need to flash it via fastboot(.img file not a .zip).

simms22 said:
reflash the rom. franco kernel isnt flashable in recovery, you need to flash it via fastboot(.img file not a .zip).
Click to expand...
Click to collapse
I'm on stock. What file do I flash? Thanks for all your help.

benblb said:
I'm on stock. What file do I flash? Thanks for all your help.
Click to expand...
Click to collapse
look in the development section, there are a few rooted stock roms available.

simms22 said:
look in the development section, there are a few rooted stock roms available.
Click to expand...
Click to collapse
I just flashed stock. I followed these instructions: http://forum.xda-developers.com/showthread.php?t=2010312
Do I also need to flash a kernel? If so, where do I get the download for stock?

benblb said:
I just flashed stock. I followed these instructions: http://forum.xda-developers.com/showthread.php?t=2010312
Do I also need to flash a kernel? If so, where do I get the download for stock?
Click to expand...
Click to collapse
Flashing the factory images will have restored the stock kernel.

If you are going to flash a factory image or anything like that, watch this: http://forum.xda-developers.com/showthread.php?t=2039162
after you flash that ROM, if your phone stucks in a bootloop, then go to Recovery, wipe cache and reset factory will solve the problem.

benblb said:
I just flashed stock. I followed these instructions: http://forum.xda-developers.com/showthread.php?t=2010312
Do I also need to flash a kernel? If so, where do I get the download for stock?
Click to expand...
Click to collapse
na, the kernel is always included in the rom. you flash a kernel if you want to use a different kernel(trinity is great with stock).

Hi everyone,
Thanks for your help. I have flashed stock 4.2.2 to my phone and have finished setting everything up. I really appreciate the quick responses and dedication to my issue. It means a lot to me that you guys helped me in my time of need. Thanks again.
Cheers,
Ben

Related

4.2.2 Update / TWRP problem

Hello. I just received my OTA notification, but when I clicked it, it rebooted and landed my on the TWRP recovery screen. Not knowing what to do, I just told it to reboot to the system.
Once rebooted, I was still on 4.2.1, and there was no update.
Any ideas why it booted to TWRP?
The OTA update requires stock recovery in order to be flashed. I recommend you just flash the update manually using fastboot, and you won't lose data.
MacHackz said:
The OTA update requires stock recovery in order to be flashed. I recommend you just flash the update manually using fastboot, and you won't lose data.
Click to expand...
Click to collapse
Maybe before you even answer, I'm sure I'll find a link on here to show me how?
One issue I have though, is that when I manually updated to 4.2.1 on my Nexus 7, I still got an OTA update a few days later, that actually ran.
I don't ever plan on flashing roms to any of my devices. Do I need to keep a custom recovery on my Nexus 4 or 7? If not, how to I revert back to the stock recovery?
If you saved the offical stock 4.2.1 images, to revert back to stock recovery, just use the 'fastboot flash recovery recovery.**************.img' command. If you haven't, you might have to flash the whole 4.2.2 rom which you can find on the google dev website. After this, if you only want to root then you don't need to flash a custom recovery, just use the 'boot' command instead of the 'flash' one.
MacHackz said:
The OTA update requires stock recovery in order to be flashed. I recommend you just flash the update manually using fastboot, and you won't lose data.
Click to expand...
Click to collapse
I flashed the OTA sideload file through TWRP and it installed succesfully.
jvbferrer said:
I flashed the OTA sideload file through TWRP and it installed succesfully.
Click to expand...
Click to collapse
How did you do that? Did you sideload wrinkle's file from this thread: http://forum.xda-developers.com/showthread.php?t=2145848?
I should let you know, that while I'm not afraid to install via the custom recovery, it doesn't mean I've done it via commands. I've always used toolkits, or one click methods of rooting and installing custom recoveries.
Well, this is crazy (weird?). I tried to flash it via TWRP by downloading the zip file in the thread referenced above, and it failed. By flashing, I mean, I chose 'Install' and pointed to the zip after moving it to my phone. After failing, I wiped the Dalvik cache and rebooted, and it's telling me 'Android is upgrading'. If it means it updated, so be it. But can anyone explain? Feeling a little confused here.
Edit: Ok, so it said it was upgrading, but it's still 4.2.1.
wvcadle said:
Well, this is crazy (weird?). I tried to flash it via TWRP by downloading the zip file in the thread referenced above, and it failed. By flashing, I mean, I chose 'Install' and pointed to the zip after moving it to my phone. After failing, I wiped the Dalvik cache and rebooted, and it's telling me 'Android is upgrading'. If it means it updated, so be it. But can anyone explain? Feeling a little confused here.
Edit: Ok, so it said it was upgrading, but it's still 4.2.1.
Click to expand...
Click to collapse
It 'upgrades' when you wipe the cache. It just means it's rebuilding the cache. Are you running an unmodified stock rom? Custom kernel?
MacHackz said:
It 'upgrades' when you wipe the cache. It just means it's rebuilding the cache. Are you running an unmodified stock rom? Custom kernel?
Click to expand...
Click to collapse
Yes, stock rom, rooted and unlocked. I did install Beats today. Could this be the problem? If so, I found a revert zip that I'm assuming is supposed to revert me back to stock audio codecs.
I don't think added files matter, but I'm guessing the Beats mod has overwritten something in system, so flash the revert zip, then try again.
MacHackz said:
I don't think added files matter, but I'm guessing the Beats mod has overwritten something in system, so flash the revert zip, then try again.
Click to expand...
Click to collapse
Flashing the revert zip failed. I'm starting to think that flashing anything with TWRP will fail.
How about this. I made a backup of all system data + apps with Titanium earlier today. Could I just reset my phone back to factory defaults, restore my apps + some system data, then re-root (*without a custom recovery*) and wait for the update again? Or will it come again?
Also, I've used Wugfresh's Nexus Toolkit. I don't remember checking the custom recovery button, but ended up with TWRP anyway. What's the easiest way to root without installing a custom recovery?
You could try that, and the update will come straiht away. You can root without flashing a custom recovery, just use the 'boot recovery' instead of 'flash recovery'
MacHackz said:
flash cwm and see if there's any difference
Click to expand...
Click to collapse
How do I do that with TWRP? Can I do it with Wug's Nexus toolkit?
wvcadle said:
How do I do that with TWRP? Can I do it with Wug's Nexus toolkit?
Click to expand...
Click to collapse
I'm not familiar with any toolkits, I would recommend flashing cwm using fast boot
MacHackz said:
I'm not familiar with any toolkits, I would recommend flashing cwm using fast boot
Click to expand...
Click to collapse
Ok, I'm surely not afraid to use the command prompt. Any tutorials you can point me to? I probably already have all of the drivers I need, as the toolkit had to download install them.
wvcadle said:
Ok, I'm surely not afraid to use the command prompt. Any tutorials you can point me to? I probably already have all of the drivers I need, as the toolkit had to download install them.
Click to expand...
Click to collapse
Check out this thread. Use flash to flash and overwrite TWRP, or boot just to test. http://forum.xda-developers.com/showthread.php?t=1995440
MacHackz said:
Check out this thread. Use flash to flash and overwrite TWRP, or boot just to test. http://forum.xda-developers.com/showthread.php?t=1995440
Click to expand...
Click to collapse
Where in that thread does it show me how to flash the stock recovery back onto my device?
wvcadle said:
Hello. I just received my OTA notification, but when I clicked it, it rebooted and landed my on the TWRP recovery screen. Not knowing what to do, I just told it to reboot to the system.
Once rebooted, I was still on 4.2.1, and there was no update.
Any ideas why it booted to TWRP?
Click to expand...
Click to collapse
The same thing happened to me. I was rooted running stock ROM with TWRP recovery (used wugfresh toolkit). The problem was I forgot I was using a modified kernel (for color correction) by molesarecoming. I flashed the stock kernel back, downloaded and flashed the OTA file from the help desk thread (http://forum.xda-developers.com/showthread.php?t=2145848&highlight=beats), and it worked. Oh, and I flashed the Superuser file immediately after the OTA did it's thing (while still in TWRP) to regain root. I didn't really like how after the initial failed install of the OTA, it took my into TWRP with no error message showing or anything.
I don't think TWRP is your problem -- I think beats is your problem. It may have modified something. Try searching the above-linked thread for answers. Honestly, there's no rush to get 4.2.2, so take your time finding the answer. It's better than wiping the phone just to install a small android update and having to redo everything on your phone again.
Ok, it must have been the Beats audio drivers. I restored a Nandroid backup from right before installing the beats audio drivers, then flashed the zip and it worked. Now running 4.2.2.
I would like to know, however, how to use fastboot via commands, so that I can learn how to flash TWRP, CWM, Stock recovery, etc.
wvcadle said:
Ok, it must have been the Beats audio drivers. I restored a Nandroid backup from right before installing the beats audio drivers, then flashed the zip and it worked. Now running 4.2.2.
I would like to know, however, how to use fastboot via commands, so that I can learn how to flash TWRP, CWM, Stock recovery, etc.
Click to expand...
Click to collapse
I need some help here - I have nexus 7 with 3G and Google (takju) with 4.2.1 installed.
I had it 'rooted" and installed TWRP .
AT the time I followed instructions to chand extension of some file to .bak - to prevent 'unrooting"
I do not remember which file I unfortunately changed.
Now I cannot install the 4.2.2 upgrade - the OTA fails because it boots into TWRP and after that I rrid several selections from TWRP screen (flash, reboot, etc) - but all attempts failed.
I have the upgrade files (bot .tar and .zip) on /sdcard directory but have no idea how to update to 4.2.2.
Tried manual flashing using adb command - all fails.
I do not have beats drivers installed
Can someone tell me how to uninstall TWRP? If the CWM recovery works with this upgrade, I would like to change from TWRP to CWM.
Or any other suggestion wold be appreciated.
I am really struggling with Android operating system the way it configured on Nexus 7 by Google - any simplest is a major pain!
Hope I can get out of this and operate the device instead of continuously meddling with operating system.
Thanks in advance
[email protected]

[Q] I9505 do not boot

I have a big problem with my new I9505.
Today I flashed new CWM 6.0.3.6 and 4.3 GE Jamal Rom. After I flashed some mods for testing.
Then I wanted to install a clean rom, I formated in CWM every point (system, data, cache, sdcard, dalvik and dont know what else).
After I flashed again 4.3, now it do not boot. Stuck at Google boot animation.
I thought it will be fixed if I flash the stock rom via Odin (only PDA with I9505XXUBMGA_I9505OXABMGA_I9505XXUBMGA_HOME.tar.md5).
But now I stuck at Samsung Boot animation.
It is possible to boot into Recovery and Download mode.
Whats happening?
I hope somebody can help me.
Big thanks.
keynex said:
I have a big problem with my new I9505.
Today I flashed new CWM 6.0.3.6 and 4.3 GE Jamal Rom. After I flashed some mods for testing.
Then I wanted to install a clean rom, I formated in CWM every point (system, data, cache, sdcard, dalvik and dont know what else).
After I flashed again 4.3, now it do not boot. Stuck at Google boot animation.
I thought it will be fixed if I flash the stock rom via Odin (only PDA with I9505XXUBMGA_I9505OXABMGA_I9505XXUBMGA_HOME.tar.md5).
But now I stuck at Samsung Boot animation.
Whats happening?
I hope somebody can help me.
Big thanks.
Click to expand...
Click to collapse
Try to get into recovery and wipe both caches and reboot. If that doesn`t work also do a data factory reset. Don`t you have a nandroid backup to fall on back too?
My nand backup is corrupt :/
keynex said:
My nand backup is corrupt :/
Click to expand...
Click to collapse
Just reflash the rom again with a full wipe and after the flash wipe both caches and reboot.
Okay I figure out my nand backup is not corrupt..
If I select backup in cwm it restore system but it cant mount data.
I think the mistake is here.. /data do not exist?
gee2012 said:
Just reflash the rom again with a full wipe and after the flash wipe both caches and reboot.
Click to expand...
Click to collapse
Flashed again with wipe.. same problem..
keynex said:
Flashed again with wipe.. same problem..
Click to expand...
Click to collapse
I would return to stock to get the phone running again. so:
1. Go to recovery and wipe the caches and do a data factory reset and format system.
2. Pull the battery and go into downloadmode
3. Flash a stock rom with Odin 3.04
4. Reboot, setup the phone and reroot.
gee2012 said:
I would return to stock to get the phone running again. so:
1. Go to recovery and wipe the caches and do a data factory reset and format system.
2. Pull the battery and go into downloadmode
3. Flash a stock rom with Odin 3.04
4. Reboot, setup the phone and reroot.
Click to expand...
Click to collapse
Have done again exactly like you said, still same problem (
keynex said:
Have done again exactly like you said, still same problem (
Click to expand...
Click to collapse
Did you factory reset after the flash of the stock rom and also wipe the cache in stock recovery?
gee2012 said:
Did you factory reset after the flash of the stock rom and wipe the cache in stock recovery?
Click to expand...
Click to collapse
Thank god, thats it. My S4 is alive.
You are my hero, thanks :laugh:
keynex said:
Thank god, thats it. My S4 is alive.
You are my hero, thanks :laugh:
Click to expand...
Click to collapse
Glad it worked out after all You don`t have to say thanks, just press thanks bro
I had exactly the same issue,except whilst i was reflashing my nandroid the phone shut down, formatted everything as one normally would using philz recovery, tried again and it failed.
Now i cannot even gain access to recovery it stays on "loading recovery" only option i suppose is to reflash stock via odin.
me too
Davies_90 said:
I had exactly the same issue,except whilst i was reflashing my nandroid the phone shut down, formatted everything as one normally would using philz recovery, tried again and it failed.
Now i cannot even gain access to recovery it stays on "loading recovery" only option i suppose is to reflash stock via odin.
Click to expand...
Click to collapse
I've also experienced this on my gpe and it seems going back to stock is the best solution for doing the factory reset. I've tried doing the factory reset with both team win recovery and cwm.
Please help! I'm freaking out, thank you in advance!
gee2012 said:
I would return to stock to get the phone running again. so:
1. Go to recovery and wipe the caches and do a data factory reset and format system.
2. Pull the battery and go into downloadmode
3. Flash a stock rom with Odin 3.04
4. Reboot, setup the phone and reroot.
Click to expand...
Click to collapse
Hi, I ran into the exact same problem doing exactly the same thing, but I cannot get into recovery to factory reset and wide cache. Do you know how to fix this problem? I get stuck at samsung boot animation screen as well while trying to flash back to stock.:crying:
Please Help!
---------- Post added at 12:20 PM ---------- Previous post was at 12:08 PM ----------
THC122 said:
Hi, I ran into the exact same problem doing exactly the same thing, but I cannot get into recovery to factory reset and wide cache. Do you know how to fix this problem? I get stuck at samsung boot animation screen as well while trying to flash back to stock.:crying:
Please Help!
Click to expand...
Click to collapse
UPDATE
I actually was able to get into the recovery at like the 10th attempt. Thank you so much for your directions! Imma hit thanks!

[Q] Recovery not Booting

Hey, I seem to have gotten myself into a pickle. Here's what happened: I wanted to do an update to Cyanogenmod 10.2, so I downloaded the ROM and gapps. I wiped dalvik, cache, and system and flashed the ROM. When I tried to flash the gapps Clockwork Mod said it was corrupt. No problem, turned the phone off, pulled micro usb card and put the gapps on that. The only problem is now I can't boot into recovery at all, with the Power+down option and ROM Manager crashes when I try to open it. So the problem is that I can't boot into recovery and I can't reinstall ROM Manager because I don't have gapps. Titanium Backup is also having problems and can't get root access. Does anyone have any ideas on what the problem is or how to fix it? Thanks in advance.
I'd Odin back to stock and start over.
jd1639 said:
I'd Odin back to stock and start over.
Click to expand...
Click to collapse
How do I do that? Will I be able to since I had CyanogenMod 10.1 on before I tried to update?
Also, It would be better if I could just reflash a custom recovery, is there any way to do that?
AwesomeDerek said:
Also, It would be better if I could just reflash a custom recovery, is there any way to do that?
Click to expand...
Click to collapse
See if you can find an odin flashable recovery. There's probably one in the development forum. Flash that.
jd1639 said:
See if you can find an odin flashable recovery. There's probably one in the development forum. Flash that.
Click to expand...
Click to collapse
Do you think this tool would work? http://forum.xda-developers.com/showthread.php?t=2297033&highlight=odin+recovery
AwesomeDerek said:
Do you think this tool would work? http://forum.xda-developers.com/showthread.php?t=2297033&highlight=odin+recovery
Click to expand...
Click to collapse
It's worth a try. If it doesn't work you could go the Odin to stock method.
hungape special
Ding! Got into recovery, now I'm gonna wipe everything. Thanks for your help
AwesomeDerek said:
Ding! Got into recovery, now I'm gonna wipe everything. Thanks for your help
Click to expand...
Click to collapse
Np

Roms won't work

I have RAZR with locked boot loader. I am rooted and have safetrap installed. I wipe cache and dalvik and it fails when I try to wipe data. Then I install stock ROM deoxidized and it only boots to boot loader and I have to restore phone with rsd lite. Whats is the proper procedure and why doesn't data wipe?
Sent from my XT907 using XDA Premium 4 mobile app
D.A.N. said:
I have RAZR with locked boot loader. I am rooted and have safetrap installed. I wipe cache and dalvik and it fails when I try to wipe data. Then I install stock ROM deoxidized and it only boots to boot loader and I have to restore phone with rsd lite. Whats is the proper procedure and why doesn't data wipe?
Sent from my XT907 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Follow these steps even if you are on SS the steps are the same.
http://forum.xda-developers.com/showthread.php?p=45541392#post45541392
Failed to had check for boot:0x56 Boot failure
aviwdoowks said:
Follow these steps even if you are on SS the steps are the same.
http://forum.xda-developers.com/showthread.php?p=45541392#post45541392
Click to expand...
Click to collapse
I wipes cache and dalvik, rebooted, checked the box and mounted, installed rom, rebooted and i get this error.
Failed to had check for boot:0x56
I have never had problems flashing on htc phones, i am confused here.
Any help. thanks.
D.A.N. said:
I wipes cache and dalvik, rebooted, checked the box and mounted, installed rom, rebooted and i get this error.
Failed to had check for boot:0x56
I have never had problems flashing on htc phones, i am confused here.
Any help. thanks.
Click to expand...
Click to collapse
Did you reboot ss between the wipes & mount sys?
Wipe & reboot recovery
Mount sys & install
rom failure
aviwdoowks said:
Did you reboot ss between the wipes & mount sys?
Wipe & reboot recovery
Mount sys & install
Click to expand...
Click to collapse
Hello, yes, I wipe cache and dalvik, then i rebooted back into recovery, hit mount button, checked box to mount, installed rom and rebooted and it goes to a failed bootloader. If I didnt have RSD i guess i would be bricked. I just dont want to lose this phone.
Thanks.
Are you making a slot and flashing there, or trying to flash over the stock slot? You won't be able to flash over stock, and this might be why it's failing. I also noticed that Avi crossed out the Safe Strap instructions in his thread, so maybe this won't actually work for SS.
rom slot needed?
RikRong said:
Are you making a slot and flashing there, or trying to flash over the stock slot? You won't be able to flash over stock, and this might be why it's failing. I also noticed that Avi crossed out the Safe Strap instructions in his thread, so maybe this won't actually work for SS.
Click to expand...
Click to collapse
I was just reading that I needed to make up a slot, maybe this is the issue. I don't see any instructions about that with installing these roms so i know that I am missing something.
D.A.N. said:
I was just reading that I needed to make up a slot, maybe this is the issue. I don't see any instructions about that with installing these roms so i know that I am missing something.
Click to expand...
Click to collapse
http://blog.hash-of-codes.com/how-to-safestrap/
D.A.N. said:
Hello, yes, I wipe cache and dalvik, then i rebooted back into recovery, hit mount button, checked box to mount, installed rom and rebooted and it goes to a failed bootloader. If I didnt have RSD i guess i would be bricked. I just dont want to lose this phone.
Thanks.
Click to expand...
Click to collapse
I was never up on SS. I apologize for misleading you. I am Up on it now. My Rom Is Now Truly SS ready? Watch for the SS version & stock slot loading instructions (2-3 hrs). The sd swap works even better on SS because SS does not mess with it.
D.A.N. said:
.
Click to expand...
Click to collapse
SS version is up!
people say you shouldnt flash over the stock slot, but ive done it with no problems
Motorola phones tend to be temperamental...
dragonhart6505 said:
people say you shouldnt flash over the stock slot, but ive done it with no problems
Motorola phones tend to be temperamental...
Click to expand...
Click to collapse
If your bootloader is unlocked, you can flash over the stock slot. If you're using SS on a locked bootloader, you can only restore over the stock slot. It's not about being temperamental, it's about having a locked BL.
RikRong said:
If your bootloader is unlocked, you can flash over the stock slot. If you're using SS on a locked bootloader, you can only restore over the stock slot. It's not about being temperamental, it's about having a locked BL.
Click to expand...
Click to collapse
I did have a locked bootloader at the time. This was on a RAZR M with latest update, so bl couldn't be unlocked. Dunno how i happened upon it, but it worked

Installing a Kernel - Revert back to stock?

Hey XDA,
I'm tempted to install a kernel on my Nexus 4. This is the first time doing a Kernel (already have the nexus 5 rom) but what I was wondering is:
How will I get the stock kernel (3.1.0 if im right?) back on the phone when I want to undo things?
Is it as simple as doing a stock recovery or something else. From what I think recovery is only for the OS and not kernel?
You just dirty flash your current rom. (flash it, then wipe cache and dalvik)
Chromium_ said:
You just dirty flash your current rom. (flash it, then wipe cache and dalvik)
Click to expand...
Click to collapse
its pointless wiping dalvik and cache, as they get wiped when you flash the rom. also, if just flashing a kernel, wiping dalvik and cache have nothing to do with it, so no need to wipe.
Chromium_ said:
You just dirty flash your current rom. (flash it, then wipe cache and dalvik)
Click to expand...
Click to collapse
Same process that I did before installing the Nexus 5 port rom? Trough clockwork etc? If yes then I know what you mean!
Can I install Franko kernel trough clockwork ? or..
ZyreHD said:
Same process that I did before installing the Nexus 5 port rom? Trough clockwork etc? If yes then I know what you mean!
Can I install Franko kernel trough clockwork ? or..
Click to expand...
Click to collapse
Yes. Go into recovery (clockworkmod), and simply flash the rom. Like simms22 said, wiping cache and dalvik isnt necessary, but it wont hurt anyone
Franco packages his kernel as a boot.img (which is installed using fastboot) and as a zip (which is flashable via recovery). Pick the one that you want and install it using the appropriate method.
Chromium_ said:
Yes. Go into recovery (clockworkmod), and simply flash the rom. Like simms22 said, wiping cache and dalvik isnt necessary, but it wont hurt anyone
Franco packages his kernel as a boot.img (which is installed using fastboot) and as a zip (which is flashable via recovery). Pick the one that you want and install it using the appropriate method.
Click to expand...
Click to collapse
Alright and when I want to remove everything and go back to stock via clockwork then it will also remove the custom kernel?
:fingers-crossed:
Mind telling me which link I need? I have this rom installed:
http://forum.xda-developers.com/showthread.php?t=2507021
Only see a 4.2.2 only link at:
http://forum.xda-developers.com/showthread.php?t=2002782
ZyreHD said:
Alright and when I want to remove everything and go back to stock via clockwork then it will also remove the custom kernel?
:fingers-crossed:
Click to expand...
Click to collapse
whenever you flash any rom, it removes the custom kernel, replaces it with the one from the rom(until you flash it again).
simms22 said:
whenever you flash any rom, it removes the custom kernel, replaces it with the one from the rom(until you flash it again).
Click to expand...
Click to collapse
Added some more information. If you mind taking a look.
So just to make sure I understand. When I go into clockwork and whip the phone etc etc it will also whip the custom ROM AND custom Kernel.
So when it boots back into stock android again it also has the original kernel that the nexus 4 was running on?
ZyreHD said:
Added some more information. If you mind taking a look.
So just to make sure I understand. When I go into clockwork and whip the phone etc etc it will also whip the custom ROM AND custom Kernel.
So when it boots back into stock android again it also has the original kernel that the nexus 4 was running on?
Click to expand...
Click to collapse
ytes, if you flash the stock rom again, itll include the stock kernel.
---------- Post added at 02:07 PM ---------- Previous post was at 02:05 PM ----------
ZyreHD said:
Alright and when I want to remove everything and go back to stock via clockwork then it will also remove the custom kernel?
:fingers-crossed:
Mind telling me which link I need? I have this rom installed:
http://forum.xda-developers.com/showthread.php?t=2507021
Only see a 4.2.2 only link at:
http://forum.xda-developers.com/showthread.php?t=2002782
Click to expand...
Click to collapse
from what i understand, most 4.3 kernels will boot on the hybrid 4.4 roms that are out right now, including the port. now ive heard that jwr kernels arent smooth on the 4.4 hybrid roms/ports, but jss kernels run great.
simms22 said:
ytes, if you flash the stock rom again, itll include the stock kernel.
Click to expand...
Click to collapse
Cool then I understand :laugh:
Last thing before I attempt it, do you know which link or file I need?
http://forum.xda-developers.com/showthread.php?t=2002782
Seeing I'm running on the Nexus 5 port for the Nexus 4.
Which is this one: http://forum.xda-developers.com/showthread.php?t=2507021
ZyreHD said:
Cool then I understand :laugh:
Last thing before I attempt it, do you know which link or file I need?
http://forum.xda-developers.com/showthread.php?t=2002782
Seeing I'm running on the Nexus 5 port for the Nexus 4.
Which is this one: http://forum.xda-developers.com/showthread.php?t=2507021
Click to expand...
Click to collapse
flash franciscos jss/jls kernel for the nexus 5 port
simms22 said:
flash franciscos jss/jls kernel for the nexus 5 port
Click to expand...
Click to collapse
Alright I downloaded the lastest JSS file which is a img but when I'm in clockwork and have the file on my phone it doesn't see it?
I went to zip from sdcard.
Or do I need to package the img into a zip file? OR is it something that has to be done trough the cmd? Hope not as clockwork is faster.
ZyreHD said:
Alright I downloaded the lastest JSS file which is a img but when I'm in clockwork and have the file on my phone it doesn't see it?
I went to zip from sdcard.
Or do I need to package the img into a zip file? OR is it something that has to be done trough the cmd? Hope not as clockwork is faster.
Click to expand...
Click to collapse
img files get flashed via fastboot and your desktop.
simms22 said:
img files get flashed via fastboot and your desktop.
Click to expand...
Click to collapse
I got it flashed but now I have a never ending boot animation?
I fastbooted into the bootloader and then flashed it via the cmd. Then I booted with me now sitting here with a never ending animation.
Maybe power it down and then on?
Powering it down and on again isn't working
reflash your rom. the kernel might not be working on the rom then, trinity kernel does http://goo.gl/QtuabY
ZyreHD said:
I got it flashed but now I have a never ending boot animation?
I fastbooted into the bootloader and then flashed it via the cmd. Then I booted with me now sitting here with a never ending animation.
Maybe power it down and then on?
Powering it down and on again isn't working
Click to expand...
Click to collapse
simms22 said:
reflash your rom. the kernel might not be working on the rom then, trinity kernel does http://goo.gl/QtuabY
Click to expand...
Click to collapse
Problem now is that the phone is in USB debugging so my PC won't see the phone. When USB debugging is disabled it does.
Meaning now I can't put the zip on the phone?
How do I get the stock kernel again? Do I need to reinstall the Nexus 5 port or?
ZyreHD said:
Problem now is that the phone is in USB debugging so my PC won't see the phone. When USB debugging is disabled it does.
Meaning now I can't put the zip on the phone?
How do I get the stock kernel again? Do I need to reinstall the Nexus 5 port or?
Click to expand...
Click to collapse
yes, reflash the port, dont wipe anything.
simms22 said:
yes, reflash the port, dont wipe anything.
Click to expand...
Click to collapse
It worked. It booted now! I didnt even know the apps would still be there
ZyreHD said:
It worked. It booted now! I didnt even know the apps would still be there
Click to expand...
Click to collapse
thats why we say to dirty flash. if you flash without wiping anything, your apps and data remain. if you wipe data before flashing, you lose your apps and data.
simms22 said:
thats why we say to dirty flash. if you flash without wiping anything, your apps and data remain. if you wipe data before flashing, you lose your apps and data.
Click to expand...
Click to collapse
I see.
Alright I have had a blast with the kernels and roms but now is my biggest hurtle. How do I remove clockwork and revert back to stock? If you mind explain in detail.
One where you also remove clockwork and one where clockwork just stays on the phone but have stock again.
I can't get it to work :/ get errors etc

Categories

Resources