[Q] Nexus 5 suddenly refuses to boot, factory reset does not help, TWRP shows error - Nexus 5 Q&A, Help & Troubleshooting

Hey,
I've been running several Lollipop ROMs on my Nexus 5 in the past few months.
Today my Nova Launcher suddenly stopped working and froze instantly on restart, so I rebooted the phone.
It got stuck shortly before ending the boot, after several seconds of those colored dots whizzing around the screen they froze.
This issue was reproducible, so I first cleared the Cache and Dalvik Cache and rebooted, same problem. I then tried to Fix Permissions to no avail.
I then erased System, Data, Cache and Dalvik Cache and reflashed my current L-ROM of choice, OptiPop.
The device still doesn't boot, same problem.
Now TWRP is showing an error in red font whenever I try to wipe or flash.
The error I'm getting is:
Code:
unable to stat '/data/data/com.google.android.feedback/cache/com.android.opengl.shaders_cache'
Does anyone have an idea on how to fix this?

Try reflashing TWRP and then wiping. If it still doesn't work flash the factory images from fastboot using either the script or ( optimally ) by hand one by one.
Your filesystem might have gotten corrupted well enough for TWRP not to make heads or tails of it.
If that still doesn't work search the forum for how to format the needed partitions - and triple check what you are formatting.

Related

[Q] Stuck on boot animation..Please Help!!

I have this in development but though it shoudl be here.
Please help
I had issues loading AOKP| Build 4
These issues were caused I think by me. Before reloading I wiped Cache and Dalvic Cache, I then did a Format/Factory reset. While on this it stayed on formatting cache for about 20 mins. Since it locked up on formatting cache I held the power and vol down to get back in to CWM. I tried to install zip from ext sd Build-4. When it started it gave me a 4-5 lines saying E: Can't mount /cache/recovery/log and others relating to that. I proceeded anyway with loading build-4, sometime through the installation it rebooted itself. After that the unicorn would come up for a few secs then reboot, then keep doing it in a boot loop. I again went in to CWM and tried again with the cache, dalvic and factory reset, same thing happened where it got stuck at cache but it restarted by itself this time. I then downloaded the stock rom from http://forum.xda-developers.com/show....php?t=1722745. After loading stock from Odin I was able to get ride of the cache errors and cache lock up problems.
The issue now is reguardless of Build-4 or stock it is stuck at either the unicorn or the samsung logo. I have also tried CM10, so stuck at boot now on stock, CM10 and AOKP-Build-4 Any help would be GREAT. Thanks
Do a factory reset in the stock recovery.
You are my hero!!! Several days of doing all kinds of things and that was the one I would have never thought about. Yup and going. No problems now.
Sent from my SPH-D710 using xda premium

[Q] [P6210]Boot Looping and Corrupt Data Partition

Been running CM10 and CWM 6.0.1.9 for ages with no issues and loving it. Yesterday morning (while on vacation) picked up the tab from charging and it was boot looping. Tried formatting cache and Dalvik cache as 1st attempt to fix and it reboots when trying to format Dalvik cache, regular Cache deletes just fine. Next reflashed CM10, but still boot loops. Started manually formatting partitions and when I get to Data it reboots.
So this sounds like Brick Bug, but shouldn't be since I'm on CM10/CWM6.0.1.9 and wasn't wiping when it occurred.
So questions for the braintrust...
1) Is there anything I can do to fix this while on vacation when the only PC I can access is Windows RT? Basically it needs to be something I can flash with CMW.
2) Assuming #1 isn't possible, my next step was to try flashing a stock rom when I get back home. Make sense or other thoughts?
Thanks,
Todd
try removing your ext sd card and boot it up. See if that helps. If not, I'd Odin the stock ROM
I have experienced this too. My fix was to delete data after reflashing CM10. I tried just clearing cache and dalvik like you did but it continued to boot loop. So I flashed CM10 because I was at school and it was all I have but it was still stuck and so I cleared data at CWM(Didn't flash CM10 again anymore). And yeah, it pretty much deleted everything, but I had a backup at home. It was fixed.
Graffiti Exploit said:
I have experienced this too. My fix was to delete data after reflashing CM10. I tried just clearing cache and dalvik like you did but it continued to boot loop. So I flashed CM10 because I was at school and it was all I have but it was still stuck and so I cleared data at CWM(Didn't flash CM10 again anymore). And yeah, it pretty much deleted everything, but I had a backup at home. It was fixed.
Click to expand...
Click to collapse
Thanks. Formatting data causes a reboot, so I think I'm stuck until I get back home and can use Odin.
Sent from my SCH-I535 using Tapatalk 2
[SOLVED] [Q] [P6210]Boot Looping and Corrupt Data Partition
For the sake of the archives...reflashing stock Honeycome fixed the partition problem and allowed me to re-install CM10.

Undo Format Data?

I am a relatively new android user but do enjoy flashing roms, kernels etc
My problems began when i was trying to flash a new rom on my Nexus 5
I was trying to flash this rom http://forum.xda-developers.com/showthread.php?t=2655722 but despite doing a factory reset and wiping the dalvik cache and cache it refused to boot in to the new rom
I tried to flash the rom multiple times but without success, eventually when trying to boot into recovery to try again i was greeted with an unthemed TWRP recovery asking for a password despite the fact that i had a custom theme and multirom installed I tried to proceed anyways but was greeted with E: unable to mount storage
In desperation i tried to solve this problem and found this
UsoftTech :: WwW.UsoftTech.CoM ::
TWRP asking for password
After unboxing my Nexus 5, here's what I did:
1. Booted into bootloader
2. fastboot oem unlock
3. Flashed TWRP v2.6.3.0
4. Booted to recovery
The screen that greeted me says "Please Enter Your Password".
I can hit the cancel button below this which takes me to the normal TWRP screen. I then pushed SuperSU to /sdcard, but when I flash it it fails because it's unable to mount /cache or storage.
When I reboot to the system, it takes an awfully long time (approximately 30s) to progress past the "Google" screen, and then it just seems to sit on the booting animation forever.
Any help?
EDIT: Solved my own problem.
Hit cancel at the password screen, then go into Wipe and then do a factory reset by swiping. Then go back into Wipe and press the 'Format data' button. You have to type 'Yes', and it will take a few seconds. After that everything should work normally.
TWRP asking for password
Click to expand...
Click to collapse
I now fear that i maybe without both a rom and all my files such as my music that was stored on my phone.
Is there any way for me to undo the damage i may have done to to my phone?
You can't recover the data. But you can push files over with ADB.
Sent from my Nexus 7 using Tapatalk
JoJostar said:
I am a relatively new android user but do enjoy flashing roms, kernels etc
My problems began when i was trying to flash a new rom on my Nexus 5
I was trying to flash this rom http://forum.xda-developers.com/showthread.php?t=2655722 but despite doing a factory reset and wiping the dalvik cache and cache it refused to boot in to the new rom
I tried to flash the rom multiple times but without success, eventually when trying to boot into recovery to try again i was greeted with an unthemed TWRP recovery asking for a password despite the fact that i had a custom theme and multirom installed I tried to proceed anyways but was greeted with E: unable to mount storage
In desperation i tried to solve this problem and found this
Wrong thread.
d
Click to expand...
Click to collapse

[HELP] Problems just after official lollipop update.

Let me start form the beginning.:-
My bootloader was locked and I was on stock 4.4.4 . I faced no problems at that time. I saw OTA notification for lollipop 5.0.2 update, downloaded it, installed it, device gets restarted, I saw new bootlogo and then bootanimation. Just after the bootanimation, the screen goes blank(back-light is still on). I waited for about 40-50 minutes, but the screen is still blank with backlight on. Tried rebooting 3-4 times but stuck after bootanimation. 1 time it booted successfully and I was presented with the lockscreen. I swiped unlock the screen but suddenly services was stopping one by one and various applications also getting force closes, even the launcher also got force closed. So I rebooted again, and again got stuck after bootanimation, getting only a blank screen with backlight on.
Now I booted my phone into recovery, factory reset it(also wiped cache manually) and then booted into system, still no good. I was getting the same blank screen after bootanimation. I tried rebooting 4-5 times and at one time, it got past the bootanimation. There I saw that the device didn't get factory reset(wallpaper, home screen icons were at that place only where it was before). Now again service got stopped and apps got force closed.
Now, I downloaded stock firmware images from here on xda and flashed it from bootloader. I was still getting blank sceen after bootanimation and occasionally it got booted and everything force closes again.
After trying everything, I unlocked my bootloader and tried flashing a custom recovery (so that i can try installing custom roms). But after successfully flashing custom recovery, I booted into recovery and find that it didn't got flashed (I was still on stock recovery). I tried flashing different custom recoveries 7-8 times, but the stock recovery persists!.
So, now the bootloader is unlocked, stock recovery is persisting after flashing any custom recovery, even the user data is persisting after factory reset, and I am unable to boot to system properly. I don't know what to do after this. Please let me know if this all means that some part of the hardware is failing in my moto g or if it can ever be come back to life.
Edit:- I have just booted into twrp Recovery(not flashed, only booted) and found that I am unable to wipe internal storage. Everything else like, dalvik cache, data, cache and system do not give error on wiping. Also, I am unable to delete any file or folder using twrp file manager
Thank you.

[Q] How do I repair partitions on my rooted tab?

I have a galaxy pro 12.2 rooted with CM12.1.
I tried to install a nightly but I couldnt wipe the cache. The console always says "can't mount cache"
I tried it 300 times and rebooted 300 times and it wouldn't mount.
After googling for a little bit, a majority of the pages I found said TWRP isnt stable with partitions and I was supposed to choose rm -f instead of formatting the partition or it corrupts the partition.
I'm assuming this is what happened to me because I just wiped the cache instead.
I wiped the cache and dalvik and system and did a factory reset and then I installed the nightly. It would boot but then it got stuck on the boot screen. So I tried to clear the cache again but I got the same error.
Then I reset my phone and wiped /system and data but not cache because I couldnt mount cache. And then I installed a stock rom. This rom also gets stuck on the boot screen. So now I have a tablet with a stock rom installed and what I'm assuming is a corrupt cache partition.
Also, I did back up before I installed the nightly. I have a working backup on my phone. It worked fine when I used it and it gave no errors when I backed it up and I got no errors when I restored it other than cant mount cache.
So I tried to boot into my working backup too. Still didnt work.
How do I fix this?

Categories

Resources