[Q] Help! Nexus 4 stuck in bootloop after 4.4 update. - Nexus 4 Q&A, Help & Troubleshooting

Hi guys,
I tried to update my Nexus 4 to 4.4 when Google pushed the update out for it yesterday, I forgot I had unlocked the phone (I don't have any custom ROMs on it, just SuperSU.)
Every time I try and power it on, the loading screen is endless, although I can hold power and volume down to enter recovery mode, nothing seems to be working.
I am a bit of a novice so any help or suggestions would be really appreciated!
Thanks.

The first few pages of the forum is littered with posts like this, i was in the same situation.
What i did was download the 4.3 rom from google, and flash /boot and /system onto the phone. I suspect the 4.4 rom would also work.
This got the phone booting without harming (most of) my data, but much of the UI was mangled and didnt work properly. I tried to backup my images over USB but it didnt work, you might have a better result. I also wanted to backup my SMS but they had all vanished.
I rebooted the phone to recovery (TWRP) and used adb to backup the sdcard (adb pull /sdcard sdcard) then did a full flash using the 4.4 rom downloaded from google and that got it working again. Then i reflashed the latest version of TWRP recovery and SuperSU.
Hope that helps.

That's really helpful, thanks! Is there ANY chance of a step-by-step? I'm a complete 'noob' probably a mistake to root in the first place :crying:
If you're busy don't worry, just don't want to **** things up more than I have haha.
Thanks, appreciate it.

GeorgeAmodio said:
That's really helpful, thanks! Is there ANY chance of a step-by-step? I'm a complete 'noob' probably a mistake to root in the first place :crying:
If you're busy don't worry, just don't want to **** things up more than I have haha.
Thanks, appreciate it.
Click to expand...
Click to collapse
Look here http://forum.xda-developers.com/showthread.php?t=2010312 for flashing a factory image guide.

gee2012 said:
Look here http://forum.xda-developers.com/showthread.php?t=2010312 for flashing a factory image guide.
Click to expand...
Click to collapse
Got stuck in google screen, tried to flash factory images but my pc won't detect the phone anymore. Any advice?
Edit: Solved.

arffrhn said:
Got stuck in google screen, tried to flash factory images but my pc won't detect the phone anymore. Any advice?
Edit: Solved.
Click to expand...
Click to collapse
Cheers guys, a lot more helpful than the bloke from Google. Will try it in the morning!

This will surely help
If somebody is facing boot loop after kitkat update on nexus 4 and no data backup can try to go to safe mode and backup their data. To goto safe mode on boot screen just keep pressing up and down volume button for some time phone will get into safe mode and can be backed up.

Hi,
It also happened to me, dont know if it is related to having ROOT or not, but i had to manually flash factory image (4.4) and it worked. I flashed everything except userimage.img but on first boot it took like 15 minutes to reboot and then all my personal data (photo, music...) was gone....
So just be cautious before upgrading!

Hi,
It also happened to me, dont know if it is related to having ROOT or not, but i had to manually flash factory image (4.4) and it worked. I flashed everything except userimage.img but on first boot it took like 15 minutes to reboot and then all my personal data (photo, music...) was gone....
So just be cautious before upgrading!

gee2012 said:
Look here http://forum.xda-developers.com/showthread.php?t=2010312 for flashing a factory image guide.
Click to expand...
Click to collapse
Yeah that is pretty much what I did to fix mine except that I did not flash the userdata (step 10 in chapter D) so that I would't loose my data.

arffrhn said:
Got stuck in google screen, tried to flash factory images but my pc won't detect the phone anymore. Any advice?
Edit: Solved.
Click to expand...
Click to collapse
What did you end up doing for your PC to detect your phone?

iamj00 said:
What did you end up doing for your PC to detect your phone?
Click to expand...
Click to collapse
I had sideloaded a rom in recovery so that it will replace the lost system.img on my phone. Then, it booted up and I flashed back factory images the usual way. Everything is running smoothly again.

arffrhn said:
I had sideloaded a rom in recovery so that it will replace the lost system.img on my phone. Then, it booted up and I flashed back factory images the usual way. Everything is running smoothly again.
Click to expand...
Click to collapse
I don't know what any of that means or how to do it...

iamj00 said:
I don't know what any of that means or how to do it...
Click to expand...
Click to collapse
This is sideload guide. And the is the rom I used to sideload before: Purity. After I had successfully booted into the system. I flashed 4.4 factory images using this awesome noob friendly guide for a clean kitkat update.

arffrhn said:
I had sideloaded a rom in recovery so that it will replace the lost system.img on my phone. Then, it booted up and I flashed back factory images the usual way. Everything is running smoothly again.
Click to expand...
Click to collapse
iamj00 said:
What did you end up doing for your PC to detect your phone?
Click to expand...
Click to collapse
Installing the driver. Refer to this thread http://forum.xda-developers.com/showthread.php?t=1992345
Boot to bootloader and connect to your PC, usually Windows will find the driver automatically

Related

[Q] Help! Phone bricked itself trying to update. Factory Reset isn't helping!

Last night my phone wanted to update to 4.4.4 because it's been wanting to for a while, but I know it wouldn't work because my phone is rooted. It had tried this at least 3 times before and everything was fine; download update, tries to install, fails, boots right back up. I wanted to get rid of the Update notification in the top bar, so I just ran it again thinking it'd be okay. Well, this time it bricked my phone, leaving me at a neverending loop at the boot animation. I first tried to wipe the cache and dalvik cache, which did nothing. Then I tried a factory restore, which also did nothing. Then I reinstalled the stock 4.4.3 rom I had been using, which did nothing. Then I wiped the SD card completely and reinstalled a stock 4.4.4 rom through sideload, which has done nothing. My phone just sits at the boot animation and taunts me. Worse yet, I have a 16-hour drive tomorrow and my phone was going to be the majority of my sanity during that time.
What should I do?? Is there anything I can do? Normally I would just contact Google to get a replacement (I've done this before when the 4.2 update was causing a lot of bricks,I think it was 4.2 anyway, I forgot) but I'd like to have a working phone for my 16 hour trip..... if possible. Any help would be greatly appreciated! Thank you.
Well, I never had heard of any devices that still stuck in the bootanimation after flashing the factory image. There is something really wrong.
Did you already tried flashing a custom rom? Can you boot into recovery?
CCody said:
Well, I never had heard of any devices that still stuck in the bootanimation after flashing the factory image. There is something really wrong.
Did you already tried flashing a custom rom? Can you boot into recovery?
Click to expand...
Click to collapse
I had a Vanir 4.4.3 rom on my phone that I tried to flash as well, but for some reason it went right into "Optimizing Apps" after the first boot, something I hadn't seen before. Then it got stuck at "Starting Apps...", then after a restart, it too was stuck at the boot animation.
I can boot into recovery luckily, but that's all I can do. I have CWMR v6.0.3.5. I've tried just about everything I can think of. [edit] I was able to contact Google for some live chat support and am now #2 in the queue. Hopefully they can either help me or get a replacement going. Either way, I'd still love any help you guys can give me, I'd really like to get it fixed rather than waiting for a replacement.
Okay, try this: Wipe everything via recovery and with everything i mean really everything! Cache, dalvik, storage, your whole system. There must be nothing left on your phone. Then flash a rom of your choice. Wipe cache and dalvik afterwards and see if it works
CCody said:
Okay, try this: Wipe everything via recovery and with everything i mean really everything! Cache, dalvik, storage, your whole system. There must be nothing left on your phone. Then flash a rom of your choice. Wipe cache and dalvik afterwards and see if it works
Click to expand...
Click to collapse
I've done that already, Factory Reset + wipe cache + wipe dalvik cache + format system/data/cache/sdcard/data/media. The phone was completely bare and that's when I sideloaded the stock 4.4.4 rom (otherwise it's stuck at the Google boot screen). I'll try it again, though.
Okay right now I'm using the Nexus Toolkit to flash the stock 4.4.4 .tgz image directly from google and unroot my phone (checking the option that the phone is Soft-bricked/Bootloop.
....Okay that finished and I'm still stuck at the boot animation and now I don't have CWMR. ****. [EDIT] But I can still boot into a custom recovery through the toolkit, which is good.
RawrNate said:
Okay right now I'm using the Nexus Toolkit to flash the stock 4.4.4 .tgz image directly from google and unroot my phone (checking the option that the phone is Soft-bricked/Bootloop.
....Okay that finished and I'm still stuck at the boot animation and now I don't have CWMR. ****. [EDIT] But I can still boot into a custom recovery through the toolkit, which is good.
Click to expand...
Click to collapse
Damn, I really am stumped right now. That's really strange. Normally everything should be fine after a factory reset...
I've search several threads with bootloop problems, but none of them have this persistent bootloop. I believe you have damage your storage somehow, so that the system can't read the files and boot up properly. Maybe because of this 4.4.4 OTA update. Man, that's kinda sucks right now...
CCody said:
Damn, I really am stumped right now. That's really strange. Normally everything should be fine after a factory reset...
I've search several threads with bootloop problems, but none of them have this persistent bootloop. I believe you have damage your storage somehow, so that the system can't read the files and boot up properly. Maybe because of this 4.4.4 OTA update. Man, that's kinda sucks right now...
Click to expand...
Click to collapse
Yeah haha, it's really really strange. I appreciate you trying to help me, though! Lucky for me I'm getting a "One-time exception replacement" since my warranty is expired but they must be super stumped with the issue as well xD
I forgot something! Did you also flashed the 4.4.4 binaries?
https://developers.google.com/android/nexus/drivers#makoktu84p
I also read somewhere, that the LG Fashtool may help.
Try this out!
CCody said:
I forgot something! Did you also flashed the 4.4.4 binaries?
https://developers.google.com/android/nexus/drivers#makoktu84p
I also read somewhere, that the LG Fashtool may help.
Try this out!
Click to expand...
Click to collapse
Hm, I didn't think I'd need to with the factory image, but I'll try that. I tried the 4.4.3 factory image as well but that didn't work either. I also can't find anything about the LG Flashtool that's Nexus 4 specific, but I'll try to look more into it.
Wait, how do I flash the binaries since they're .tgz files?
RawrNate said:
Hm, I didn't think I'd need to with the factory image, but I'll try that. I tried the 4.4.3 factory image as well but that didn't work either. I also can't find anything about the LG Flashtool that's Nexus 4 specific, but I'll try to look more into it.
Click to expand...
Click to collapse
This is really strange man. Flashing stock ROM is the last resort but even that seems to be failing for you.
Have you tried downloading the stockRom again (just to make sure it isn't corrupted). Also, maybe you can try using TWRP instead of CWM this time.
Good luck.
RawrNate said:
Wait, how do I flash the binaries since they're .tgz files?
Click to expand...
Click to collapse
No need to flash them, since you are on a factory image, sry.
Woah now, I've made progress! Maybe.... Anyway, in TWRP, I "fixed permissions" and mounted "system" but now I'm at the "Android is Upgrading, Optimizing Apps - Starting Apps" screen again (it only had to optimize 23 apps?). I was at this issue before when I was flashing roms last night trying to fix it, but going back to here is better than not getting it to boot at all. What else should I try next?
Note: I'm on the 4.4.4 factory image now and TWRP is just temporary through the Nexus Root Toolkit.
RawrNate said:
Woah now, I've made progress! Maybe.... Anyway, in TWRP, I "fixed permissions" and mounted "system" but now I'm at the "Android is Upgrading, Optimizing Apps - Starting Apps" screen again (it only had to optimize 23 apps?). I was at this issue before when I was flashing roms last night trying to fix it, but going back to here is better than not getting it to boot at all. What else should I try next?
Note: I'm on the 4.4.4 factory image now and TWRP is just temporary through the Nexus Root Toolkit.
Click to expand...
Click to collapse
And? Did it boot up or just stuck in 'optimizing apps'? I would suggest to try another android version, like 4.3 or 4.4.2 at least.
CCody said:
And? Did it boot up or just stuck in 'optimizing apps'? I would suggest to try another android version, like 4.3 or 4.4.2 at least.
Click to expand...
Click to collapse
30 minutes later and it's still at "Starting apps..."
I tried factory images of 4.4.3 and 4.3, still nothing.
RawrNate said:
30 minutes later and it's still at "Starting apps..."
I tried factory images of 4.4.3 and 4.3, still nothing.
Click to expand...
Click to collapse
Jesus!
What about custom ROM? Cyanogenmod maybe? Make sure to downlaod the M7-Release.
Hm, alright, I'll give that a shot.
On a side note, is there a way to lock the bootloader again while in either recovery or bootloader? I fear that if it's unlocked, I won't get the $250 refund for the replacement.
RawrNate said:
Hm, alright, I'll give that a shot.
On a side note, is there a way to lock the bootloader again while in either recovery or bootloader? I fear that if it's unlocked, I won't get the $250 refund for the replacement.
Click to expand...
Click to collapse
https://www.youtube.com/watch?v=tZbvuikfnks
CCody said:
https://www.youtube.com/watch?v=tZbvuikfnks
Click to expand...
Click to collapse
Oh good that was easier than I thought xD

PLZ HELP!! Nexus 6p keeps booting into TWRP menu

Today and after deciding to simply restart my Nexus 6P, it booted into TWRP menu, I tried to reboot again, but no luck. can someone please help?
is there a way to get off the TWRP menu and boot my phone normally?
Note: The root used to simply work fine for about a month now.
Did you take an update? Rom details? You basically said you stuck a fork in a microwave and it sparked.
Gytole said:
Did you take an update? Rom details? You basically said you stuck a fork in a microwave and it sparked.
Click to expand...
Click to collapse
Rooted my phone, and it was working fine for about a month, I done nothing unusual, All i did is restart my phone and it went to the TWRP menu, thats all. Im stuck there now.
I don't recall doing an update or whatever. Im using "BETA-SuperSU-v2.67-20160121175247.zip"
Any Idea how to get off the TWRP menu and boot my phone normally? Please help
MahmoudEMH said:
Any Idea how to get off the TWRP menu and boot my phone normally? Please help
Click to expand...
Click to collapse
Have you tried wiping the caches and/or data? Have you tried reflashing whatever ROM you're using? Have you tried flashing the factory images with fastboot?
Heisenberg said:
Have you tried wiping the caches and/or data? Have you tried reflashing whatever ROM you're using? Have you tried flashing the factory images with fastboot?
Click to expand...
Click to collapse
Yes to each one of those questions.
MahmoudEMH said:
Yes to each one of those questions.
Click to expand...
Click to collapse
I will have to call you out here buddy. If you have indeed tried to flash all factory images, you won't even have TWRP in the first place.
Go to this wonderful guide by the wonderful @Heisenberg, and scroll down to "10. How To Flash The Factory Images (And Return To Stock)". You will find very clear instruction on how to return your phone to its factory stock state. This will most likely get rid of the problems you're facing.
MahmoudEMH said:
Yes to each one of those questions.
Click to expand...
Click to collapse
If you had flashed the full factory images I don't see how it's possible at all to be in your current situation. Explain how you flashed them, and exactly what you flashed please.

HELP!! I am stuck inside of TWRP and cannot boot into the system

Hey everyone, I have a really frustrating problem, I am currently able to boot into TWRP via hardware method and ADB can see my device as well. However I have tried to install a stock system image through TWRP and I have also tried to install another TWRP backup that a user had posted in the Q&A forum. At one time I was able to successfully boot into the system but my device said encryption unsuccessful. After wiping the system partition and trying to install these images through TWRP I am still unable to boot into the system. Whenever I install them my phone will reboot into TWRP. I am at a loss as to what to do. If anyone has any ideas or suggestions I would appreciate it.
crazyc78 said:
Hey everyone, I have a really frustrating problem, I am currently able to boot into TWRP via hardware method and ADB can see my device as well. However I have tried to install a stock system image through TWRP and I have also tried to install another TWRP backup that a user had posted in the Q&A forum. At one time I was able to successfully boot into the system but my device said encryption unsuccessful. After wiping the system partition and trying to install these images through TWRP I am still unable to boot into the system. Whenever I install them my phone will reboot into TWRP. I am at a loss as to what to do. If anyone has any ideas or suggestions I would appreciate it.
Click to expand...
Click to collapse
I saw your other post in the other thread, but couldn't reply for some reason.. did you wipe the internal storage before restore?
Yes I did wipe the internal storage, I actually wiped everything the first time I tried to get everything in order and that was my original problem by wiping the system. I didn't realize that wiping internal storage would cause issues but that could have been one of the culprits. I think what finally solved my issue is I installed a deodexed rom and then powered down my device instead of rebooting and it booted up the rom. I had to flash SuperSU from a zip because for some reason the one that was preinstalled with that rom didn't install properly. So I installed the SuperSU zip and I am now officially rooted. Lesson learned DON'T WIPE SYSTEM OR INTERNAL STORAGE lol. I should have known better I have been rooting for awhile now, I just wasn't paying attention it happens to the best of us sometimes. Thanks for your help.
crazyc78 said:
Yes I did wipe the internal storage, I actually wiped everything the first time I tried to get everything in order and that was my original problem by wiping the system. I didn't realize that wiping internal storage would cause issues but that could have been one of the culprits. I think what finally solved my issue is I installed a deodexed rom and then powered down my device instead of rebooting and it booted up the rom. I had to flash SuperSU from a zip because for some reason the one that was preinstalled with that rom didn't install properly. So I installed the SuperSU zip and I am now officially rooted. Lesson learned DON'T WIPE SYSTEM OR INTERNAL STORAGE lol. I should have known better I have been rooting for awhile now, I just wasn't paying attention it happens to the best of us sometimes. Thanks for your help.
Click to expand...
Click to collapse
I've been rooting for a while myself but messed up I'm stuck in twrp and don't know how to get it the phone back on! your help would be glady appreciated .
ricosuave88 said:
I've been rooting for a while myself but messed up I'm stuck in twrp and don't know how to get it the phone back on! your help would be glady appreciated .
Click to expand...
Click to collapse
I used the deodexed ROM that is in the development forum. If I can upload it here I will if not just download it put it on your SD card and flash it. It may take a couple tries though I would suggest powering down your phone instead of rebooting it. Then turn it on and it should boot into the new rom. It's basically the same stock rom that our phone comes with. You may have to flash Chainfires SUPERSU zip that's in one of the threads. These steps should get you up and running again. Also if you can see your internal storage you're not encrypted. Hopefully that works for you. Let me know how it goes.
I wasnt able to upload the file from my phone. Just download it from here.
http://forum.xda-developers.com/v20/development/h918-stock-deodex-debloat-t3499423/page5
crazyc78 said:
I wasnt able to upload the file from my phone. Just download it from here.
http://forum.xda-developers.com/v20/development/h918-stock-deodex-debloat-t3499423/page5
Click to expand...
Click to collapse
Thanks for responding back. Man I'm still stuck in twrp I'm losing all hope at this point been at all day and can't figure out what Im doing wrong . I know you was stuck in the same situation did flashing that twrp back up help you out?
ricosuave88 said:
Thanks for responding back. Man I'm still stuck in twrp I'm losing all hope at this point been at all day and can't figure out what Im doing wrong . I know you was stuck in the same situation did flashing that twrp back up help you out?
Click to expand...
Click to collapse
Flashing the rom helped me out. It's a system image file. It's basically the stock rom for our device just deodexed. What exactly happened what did you wipe after your phone booted into
TWRP? If you still have TWRP you're not bricked. If you can flash that image from the thread I copied above then you should be good. You may have to flash SUPERSU to get root back. Also after you flash make sure you're not encrypted if you can see your internal storage partition then you're not encrypted.
crazyc78 said:
Flashing the rom helped me out. It's a system image file. It's basically the stock rom for our device just deodexed. What exactly happened what did you wipe after your phone booted into
TWRP? If you still have TWRP you're not bricked. If you can flash that image from the thread I copied above then you should be good. You may have to flash SUPERSU to get root back. Also after you flash make sure you're not encrypted if you can see your internal storage partition then you're not encrypted.
Click to expand...
Click to collapse
when I flashed the rom from your link above it just booted me into twrp again . I don't know what exactly I'm suppose to wipe. I can see internal storage tho so I guess that's a good sign but what's not good is that I can't use my phone :/ I've been rooting for years and can't seem to figure this one out.
ricosuave88 said:
when I flashed the rom from your link above it just booted me into twrp again . I don't know what exactly I'm suppose to wipe. I can see internal storage tho so I guess that's a good sign but what's not good is that I can't use my phone :/ I've been rooting for years and can't seem to figure this one out.
Click to expand...
Click to collapse
When you flashed the rom did you power the phone down and then try to boot into the rom? That's what I did and it worked for me. So don't select reboot into system, I'm not sure why it doesn't work that way. I had to power my device down and then boot into the room. Also if you can see your internal partition in TWRP then you should be good and encryption is not enabled. I know how frustrating this is. Just keep trying eventually that rom should stick.
crazyc78 said:
When you flashed the rom did you power the phone down and then try to boot into the rom? That's what I did and it worked for me. So don't select reboot into system, I'm not sure why it doesn't work that way. I had to power my device down and then boot into the room. Also if you can see your internal partition in TWRP then you should be good and encryption is not enabled. I know how frustrating this is. Just keep trying eventually that rom should stick.
Click to expand...
Click to collapse
Man, I have tried everything as well and I can't seem to get pass TWRP. Has anyone found a way around this problem? I have been looking around for an answer for 2 days and nothing has worked so far, any help will be greatly appriciated.
Thank you
kaiser10 said:
Man, I have tried everything as well and I can't seem to get pass TWRP. Has anyone found a way around this problem? I have been looking around for an answer for 2 days and nothing has worked so far, any help will be greatly appriciated.
Thank you
Click to expand...
Click to collapse
There a stock rom that I posted a link to a few posts back when I trying to help someone else. Download it put it on your SD card and install it. You don't need to wipe anything it will format things for you. After it installs don't reboot, power down the device and then turn it back on it should boot into the rom. That's what worked for me. I believe there was another way then what I just described it's in the same thread that I linked a few posts back. Good luck!!
crazyc78 said:
There a stock rom that I posted a link to a few posts back when I trying to help someone else. Download it put it on your SD card and install it. You don't need to wipe anything it will format things for you. After it installs don't reboot, power down the device and then turn it back on it should boot into the rom. That's what worked for me. I believe there was another way then what I just described it's in the same thread that I linked a few posts back. Good luck!!
Click to expand...
Click to collapse
Thanks for the help brother. However, it did not work for me. I flash the stock system, boot, turn device off and turn back on but I am still stock on TWRP. I will continue reading and hopefully I will find the answer soon.
thank you,:crying:
kaiser10 said:
Thanks for the help brother. However, it did not work for me. I flash the stock system, boot, turn device off and turn back on but I am still stock on TWRP. I will continue reading and hopefully I will find the answer soon.
thank you,:crying:
Click to expand...
Click to collapse
Np don't give up, I almost lost hope and then it worked for me.
Like I said there was another method that was discussed that worked for someone else. Try this thread, I know someone had the same issue that you and I had and they finally got it working.
http://forum.xda-developers.com/v20/development/h918-stock-deodex-debloat-t3499423
I'm here to the rescue! Follow this to the T! It worked for me! Let me know. http://forum.xda-developers.com/showthread.php?p=69685809
Sent by using the battery of my LG V20
im on the same boat as you. I am stuck in TWRP
tried all the methods i found so far and still stuck in twrp. i would greatly appreciate if someone can get me out of this bootloop!
hslayer said:
tried all the methods i found so far and still stuck in twrp. i would greatly appreciate if someone can get me out of this bootloop!
Click to expand...
Click to collapse
Same. Though I am on US996. Not sure what I did, was exploring some behind the scenes stuff using 'hidden codes' but didn't change any values as I didn't know what they meant in most cases. I rebooted my phone and it went straight to TWRP (3.0.2-1) and it will not boot past TWRP. Occasionally after I've flashed something, it will boot into TWRP and the screen will be unresponsive to touch so I have to pull the battery, but then it will be fine again.
I was in your position not to long ago, I'm currently working on getting a .kdz recovery file for the H918. My progress will continue on it later when finals are over.
netgar post 134
Restore H918 to 100% Stock (!!REQUIRES TWRP!!)

No Root after factory reset

Root just disappeared.
This is not a huge problem but when I go to TWRP to reinstall SuperSU, I can't get to the files so I can't install SuperSU.
I have now a MegaPixel ROM with EX kernel and I want to go back to stock. With no root, kernel and recovery... Just don't know how to.
Step by step here;
https://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928/page567
HeroPlane said:
Root just disappeared.
This is not a huge problem but when I go to TWRP to reinstall SuperSU, I can't get to the files so I can't install SuperSU.
I have now a MegaPixel ROM with EX kernel and I want to go back to stock. With no root, kernel and recovery... Just don't know how to.
Click to expand...
Click to collapse
Follow the guidelines on this page and download the factory image from Google server to return 100% stock.
https://developers.google.com/android/images
RoyJ said:
Step by step here;
https://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928/page567
Click to expand...
Click to collapse
therock3181 said:
Follow the guidelines on this page and download the factory image from Google server to return 100% stock.
https://developers.google.com/android/images
Click to expand...
Click to collapse
I tried to reinstall SuperSU but now its stuck on boot animation. How can I fix this?
I don't think you can do a factory reset if you are on a custom Rom. Power down your phone by holding down the power button until the phone shuts down. Go into bootloader mode by pressing power and volume down buttons at the same time. Flash complete factory image from Google site using flash-all.bat command. If you don't know how to do that follow the XDA/Heisenberg guide only to the point where it shows you how to flash. Do not flash all the pieces individually like in the guide. Just use flash-all.bat command like Google suggests.
HeroPlane said:
I tried to reinstall SuperSU but now its stuck on boot animation. How can I fix this?
Click to expand...
Click to collapse
Use the link I posted above. Read it and follow the return to stock section. Like I mentioned earlier, that's a step by step guide to all things 6P. How to root, how to return to stock and everything in between. It has (or at least links you to) all the tools you need. It's a lot more thorough than I am, quite frankly. Just do your best to follow the return to stock section of the guide and if you run into any issues quote me again and let me know where you're stuck and I'll see if I can help. But you're asking for a step by step on how to recover and I've already provided you with a link with those exact steps. Good luck. Specifically steps 10 or 11 depending on if you want to keep your data intact.
RoyJ said:
Use the link I posted above. Read it and follow the return to stock section. Like I mentioned earlier, that's a step by step guide to all things 6P. How to root, how to return to stock and everything in between. It has (or at least links you to) all the tools you need. It's a lot more thorough than I am, quite frankly. Just do your best to follow the return to stock section of the guide and if you run into any issues quote me again and let me know where you're stuck and I'll see if I can help. But you're asking for a step by step on how to recover and I've already provided you with a link with those exact steps. Good luck. Specifically steps 10 or 11 depending on if you want to keep your data intact.
Click to expand...
Click to collapse
I flashed back to stock like the guide told me. Now its bootlooping with the normal Nexus animation. It means that now I have stock ROM but still bootloop...
HeroPlane said:
I flashed back to stock like the guide told me. Now its bootlooping with the normal Nexus animation. It means that now I have stock ROM but still bootloop...
Click to expand...
Click to collapse
What were the exact steps you took? Also, how long has it been boot looping? First boot on a factory image flash can take a while. I've waited like 10 full minutes before boot.
RoyJ said:
What were the exact steps you took? Also, how long has it been boot looping? First boot on a factory image flash can take a while. I've waited like 10 full minutes before boot.
Click to expand...
Click to collapse
I did all the steps in part 10 with angler 7.1.2
It was bootlooping for 5 minute or so. I turned the phone off (While it was bootlooping) and now when I try to boot I get a "No Command" with a opened Android screen. What should I do now?
Maybe I can still flash TWRP and do stuff there?
HeroPlane said:
I did all the steps in part 10 with angler 7.1.2
It was bootlooping for 5 minute or so. I turned the phone off (While it was bootlooping) and now when I try to boot I get a "No Command" with a opened Android screen. What should I do now?
Maybe I can still flash TWRP and do stuff there?
Click to expand...
Click to collapse
The no command screen with an Android on its back is stock recovery. When you see that, hold volume up and while holding volume up, press the power button. That'll get you inside stock recovery. From there you can factory reset. This will likely wipe your internal storage. I'm not exactly sure on that, but assume it does. If that's not an issue, do it and try booting again, but wait longer this time. Leave in on the charger and wait 10 minutes or so. If it still won't boot, try again with 7.1.1 factory images. Also if you're using the flash all .bat file try manually flashing each partition using fastboot.
Edit: If you didn't already, don't lock the bootloader. You won't be able to use fastboot or flash TWRP (if that's what you want to do) with it locked.
RoyJ said:
The no command screen with an Android on its back is stock recovery. When you see that, hold volume up and while holding volume up, press the power button. That'll get you inside stock recovery. From there you can factory reset. This will likely wipe your internal storage. I'm not exactly sure on that, but assume it does. If that's not an issue, do it and try booting again, but wait longer this time. Leave in on the charger and wait 10 minutes or so. If it still won't boot, try again with 7.1.1 factory images. Also if you're using the flash all .bat file try manually flashing each partition using fastboot.
Edit: If you didn't already, don't lock the bootloader. You won't be able to use fastboot or flash TWRP (if that's what you want to do) with it locked.
Click to expand...
Click to collapse
Can't get to the recovery. Forgot to mention that the "No command" screen is flashing. Like, I can see it for less that a second, it turns black, and comes back again for less than a second. Is it looping too?
double
HeroPlane said:
Can't get to the recovery. Forgot to mention that the "No command" screen is flashing. Like, I can see it for less that a second, it turns black, and comes back again for less than a second. Is it looping too?
Click to expand...
Click to collapse
Sounds like it. That's not good, it sounds​ like a real issue here. How did this end up happening in the first place? You factory reset from TWRP and all this happened? That should have not made you boot loop. You should have been fine and booted and had to sign in again, etc.
Did you lock the bootloader?
RoyJ said:
Sounds like it. That's not good, it sounds​ like a real issue here. How did this end up happening in the first place? You factory reset from TWRP and all this happened? That should have not made you boot loop. You should have been fine and booted and had to sign in again, etc.
Did you lock the bootloader?
Click to expand...
Click to collapse
Didn't lock bootloader
I did the factory reset from system.
I hope it's not a big issue cause I just paid 150$ to fix the screen. I just wanted to give it to my mom fresh (with no root, custom ROM etc...)
HeroPlane said:
Didn't lock bootloader
I did the factory reset from system.
I hope it's not a big issue cause I just paid 150$ to fix the screen. I just wanted to give it to my mom fresh (with no root, custom ROM etc...)
Click to expand...
Click to collapse
Yeah if you're not on stock, don't factory reset from the system. Use TWRP. Try to fastboot flash TWRP back on the phone and see if you can boot to that.
RoyJ said:
Yeah if you're not on stock, don't factory reset from the system. Use TWRP. Try to fastboot flash TWRP back on the phone and see if you can boot to that.
Click to expand...
Click to collapse
TWRP works! OK that's a good sign (I think so...)
I wiped EVERYTHING (Dalvik/ART cache, cache, system, Data and internal storage)
I will probably try to flash stock now.
HeroPlane said:
TWRP works! OK that's a good sign (I think so...)
I wiped EVERYTHING (Dalvik/ART cache, cache, system, Data and internal storage)
I will probably try to flash stock now.
Click to expand...
Click to collapse
Flash stock minus recovery, leave TWRP. See if you can get it to boot. Try 7.1.1 if possible this time, though.
RoyJ said:
Flash stock minus recovery, leave TWRP. See if you can get it to boot. Try 7.1.1 if possible this time, though.
Click to expand...
Click to collapse
I think I know why 7.1.2 didn't boot
I have a EX kernel updated to march security. I should download a stock with march security or lower.
RoyJ said:
Flash stock minus recovery, leave TWRP. See if you can get it to boot. Try 7.1.1 if possible this time, though.
Click to expand...
Click to collapse
Wow man, thank you so much!
The phone is working after I flashed 7.1.1 march
You are the best!!! :victory:
HeroPlane said:
Wow man, thank you so much!
The phone is working after I flashed 7.1.1 march
You are the best!!! :victory:
Click to expand...
Click to collapse
Glad you got it sorted out!

[! HELP NEEDED !] encrypted J510FN only boots to recovery after flashing / wiping

!!! I apologize if this is the wrong thread to ask for help and kindly request that a moderator move it, because I don't know where it's supposed to go and my brain is in panic mode right now, thank you. !!!
So, here goes:
DEVICE INFO: SM-J510FN, TWRP, stock ROM, encrypted data partition
ISSUE: Phone does not boot. Powering it on makes it boot to recovery. Selecting "Reboot to system" from inside the recovery, also boots back to recovery. Cannot mount data partition as it is encrypted (but it doesn't at least ask for PIN or anything, just cannot select /data in mount).
HOW IT HAPPENED:
1. I encrypted the phone while it still wasn't rooted.
2. I flashed TWRP (via Odin) and SuperSU (via TWRP)
3. Phone booted to system normally, everything OK. Root access, all good.
4. Reboot to TWRP, flashed some blacked out Google Apps (Team Blackout .zip files). I got no error message, just "cannot mount data" at some points.
5. I selected "wipe cache and dalvik cache"
6. Reboot to system
Reboot to system doesn't work. It boots back into TWRP!
Now I don't know if the flashing of the .zip apps or if the wiping bricked the phone as I don't have that deep of an understanding of how it works. If you can enlighten me , I'd really appreciate it.
FEAR: That the phone is bricked forever and that I won't be able to format the data partition as I cannot even mount it and TWRP needs it mounted in order to wipe it (as far as I know). In short, phone ruined forever because of my stupidity.
HOPE: That someone will tell me a way to re-flash the stock firmware or any ROM so that I get the phone to boot up normally.
I really really need help ASAP because this phone does not even belong to me. My employer gave it to me as a gift, provided I use it for work. That's the reason it's encrypted, he wanted it encrypted in case it gets stolen. Now you're probably thinking "why would you root a company phone??" Well it's not a company phone, it is my main phone, my daily driver. It was given to me by my employer, who said I can do whatever I want with it, as long as it remains functional (at work I use it simply for phone calls, WhatsApp, Skype, mail etc)
I assume that I won't sleep much tonight, will try everything to get the phone to boot. But first I'm going to wait for any piece of advice!
Thank you in advance for any feedback...
Can you get into download mode?
If so, you should flash your stock firmware.
Yes if you boot into download mode you can flash stock rom and all will be good
capsLock1337 said:
Can you get into download mode?
If so, you should flash your stock firmware.
Click to expand...
Click to collapse
pando504 said:
Yes if you boot into download mode you can flash stock rom and all will be good
Click to expand...
Click to collapse
Hello, thanks for the replies.
Yes, download mode works. I will download the stock firmware and flash it via Odin then, yes?
But what happens with the encryption then? Will it remain in place and I will just have to enter my pin to boot as usual?
Can you please explain to me why it does not boot now..? As far as I understand, the boot partition couldn't have been damaged. Aka, stock ROM still in place, only difference is it's rooted.
bi11ie said:
Hello, thanks for the replies.
Yes, download mode works. I will download the stock firmware and flash it via Odin then, yes?
But what happens with the encryption then? Will it remain in place and I will just have to enter my pin to boot as usual?
Can you please explain to me why it does not boot now..? As far as I understand, the boot partition couldn't have been damaged. Aka, stock ROM still in place, only difference is it's rooted.
Click to expand...
Click to collapse
Not sure bout the encryption, if you lose it, you can set it up again.
Something went wrong when you tried to flash the blacked out google apps, I honestly don't have a clue.
Good luck
capsLock1337 said:
Not sure bout the encryption, if you lose it, you can set it up again.
Something went wrong when you tried to flash the blacked out google apps, I honestly don't have a clue.
Good luck
Click to expand...
Click to collapse
Haha I really don't care about the encryption at all! I'm just afraid it is going to interfere somehow but hopefully not.
I'm waiting for the stock firmware to get downloaded from sammobile. I know, I know, I should have done that first before anything else, but I was in such a hurry and I thought "OK, this is routine by now, nothing can go wrong", somehow completely forgetting about the encryption. Oops. In any case, I will post the results here later and will be VERY VERY prepared and organized in the future :'(
bi11ie said:
Haha I really don't care about the encryption at all! I'm just afraid it is going to interfere somehow but hopefully not.
I'm waiting for the stock firmware to get downloaded from sammobile. I know, I know, I should have done that first before anything else, but I was in such a hurry and I thought "OK, this is routine by now, nothing can go wrong", somehow completely forgetting about the encryption. Oops. In any case, I will post the results here later and will be VERY VERY prepared and organized in the future :'(
Click to expand...
Click to collapse
How did it go?
capsLock1337 said:
How did it go?
Click to expand...
Click to collapse
I'm flashing right now Let's see if it boots...
*fingers crossed*
Case solved
bi11ie said:
I'm flashing right now Let's see if it boots...
*fingers crossed*
Click to expand...
Click to collapse
Ahh turns out I almost freaked out for nothing! All good! So, for documentation purposes:
1. I flashed stock firmware through Odin
2. Boot up started normally ("firmware update") - got asked for encryption pin!
3. Decryption took a long time, system booted normally - ALL DATA INTACT
4. No root and No recovery (not even stock recovery)
5. I flashed TWRP through Odin and SuperSU.zip
6. Phone booted normally, TWRP there, SuperSU app there.
The only change is that the bloatware I removed is back
I'm so glad it was nothing after all! I was honestly SO scared that I bricked it ^^;
Thanks and sorry!
bi11ie said:
Ahh turns out I almost freaked out for nothing! All good! So, for documentation purposes:
1. I flashed stock firmware through Odin
2. Boot up started normally ("firmware update") - got asked for encryption pin!
3. Decryption took a long time, system booted normally - ALL DATA INTACT
4. No root and No recovery (not even stock recovery)
5. I flashed TWRP through Odin and SuperSU.zip
6. Phone booted normally, TWRP there, SuperSU app there.
The only change is that the bloatware I removed is back
I'm so glad it was nothing after all! I was honestly SO scared that I bricked it ^^;
Thanks and sorry!
Click to expand...
Click to collapse
No need to apoligize, we all do stupid mistakes sometimes
Glad that it worked!

Categories

Resources