Nexus 5 "Google Logo" Bootloop - Not Power Button Related - Please Help!!! - Nexus 5 Q&A, Help & Troubleshooting

Hello all,
First time posting, long time lurker. Everybody here at XDA has been exceptionally helpful with every Android device I've owned. Whether I've had technical issues, or just wanted to try out some new ROM's or apps. I just wanted to take a second to thank you all before I got started with this post.
I've been pulling my hair out over this Nexus 5. It is my wife's phone that she never rooted, unlocked, or anything outside of generic user space.
I looked all over XDA and the web looking for solutions to this issue, but have been unsuccessful. Below is an overview of what's going on with my device.
___________________________________________
1: Nexus 5 repeatedly bootloops at initial Google logo
2: Bootloader locked - I can unlock it with fastboot oem unlock but it is reverted to locked at each restart.
3: Recovery mode bootloops every time cache is touched - Every time I attempt to sideload images or wipe cache recovery bootloops. This makes it impossible to flash factory images in recovery.
4: Problem seems to be with the cache - In fastboot I can wipe userdata, but when it gets to wiping cache I get an error.
5: Yes I have tried re imaging with factory images, flashing TWRP (doesn't take, ADB wasn't set to on before this happened and I think the bootloader unlock isn't really working, but Im not sure,) flashing stock cache, flashing stock bootloader etc.
Any idea's guys? This is my last attempt to fix before I just take the Nexus apart so I don't waste anymore time on it. I would be happy if I could get any functionality whatsoever.
Thanks so much,
Nathan

:Update:
I was able to boot into TWRP with fastboot boot recovery twrp.img.
Trying my luck here, it seems to have been able to wipe the cache, but not mount /data.
Unable to mount storage
Failed to mount /data (invalid argument)

Related

Bootloop after Xposed module - what are my options?

Hi,
My Nexus 5 has been working pretty well until now. Earlier today I decided to disable lightflow and try the Xposed LED Control module. I installed and rebooted and it seemed to be fine. But then while using the phone shortly after unlocking it it completely froze then rebooted itself. Since then it's been stuck in a bootloop where it gets as far as the boot animation but then freezes for a few seconds and returns to the Google screen again.
I tried power off and back on and tried loading into recovery to see if wiping dalvik + cache might get me as far a boot but when it loads TWRP it asks me for a password (I've never set one nor enabled encryption of any kind) so my only option is to cancel but then it can't mount the partitions to wipe the cache.
I suspect it's the Xposed module I installed that caused this but I can't be sure it's not just coincidental. I haven't done anything else unusual on the phone today.
Is there anything I can do to fix this that won't require a complete factory reset? Is there any way I can at least backup or keep my data? Unfortunately I'm not at a computer where I can run or install ADB but if that would let me save my current setup or data I can do so at home tonight.
Thanks!
Try flash stock cache.img from fastboot
I don't see this being xposed related but who knows?!
Sent from my Nexus 5 using Tapatalk
I know clearing the cache asks for a password, but try to see if you can flash something. The something is the Xposed disabler zip file in the root of your scard.
Hi,
From the Xposed Framework thread:
In case you get into a boot loop:
You can flash the attached Xposed-Disabler-Recovery.zip by Tungstwenty. It will be copied to your (external) SD card when you install Xposed as well. The only thing it does is copying /system/bin/app_process.orig back to /system/bin/app_process
Click to expand...
Click to collapse
Maybe this..., the "Xposed-Disabler-Recovery.zip" should be at the root of /sdcard (at least for me it was the case).
You could try re-flashing recovery in fastboot mode to see if it fixes the password issue or also I believe philz touch recovery can read twrp backups if you want to switch to a different recovery.
The original bootloop seems like /data corruption to me (freeze + fsync perhaps), then the twrp password further evidences that but.... hmmmm
Sent from my Nexus 5 using Tapatalk
viking37 said:
Hi,
From the Xposed Framework thread:
Maybe this..., the "Xposed-Disabler-Recovery.zip" should be at the root of /sdcard (at least for me it was the case).
Click to expand...
Click to collapse
I think I was able to flash this. I keep getting errors about unable to open "/data/app-lib/com.h3r3t1c.onna" - rest off screen, then "Not a directory" and "unable to mount '/persist'", but it seemed to mount /system and flash successfully.
Unfortunately, this doesn't fix the bootloop.
I guess I'll try flashing the cache.img as suggested tonight and see if that works. If not, I guess I'll have to try and wipe.
If I do a factory wipe from TWRP, will I lose photos, videos I've taken? Restoring everything else will be a pain but it's really the photos that I haven't backed up yet I'm more concerned about.
Thanks!
Twrp doesn't wipe /sdcard
Sent from my Nexus 5 using Tapatalk
I just installed that module today and its working fine. I'm on the stock ROM. But doesnt Xposed put an Xposed disabler flashable zip file on your sdcard? Or is that something that maybe I just transferred over and forgot that I did. Because I dont remember transferring it to my phone or downloading it but I have it on there. If you have it, maybe try flashing that to disable Xposed and see if it boots.
EDIT: viking37 actually already suggested this.
Wiping or flashing cache didn't help either.
I tried a factory wipe, which didn't help.
Then I formatted data from TWRP and was able to boot but there were strange issues including a complete inability to connect to the cell network.
Also, TWRP kept complaining that it couldn't mount /persist
So finally I ran flash-all.bat from the factory image download to try and completely return to a factory image. It seemed to work but then I got into a bootloop where it reboots after upgrading android then apps starting.
I tried to do it again but now fastboot keeps giving me this error: FAILED (remote: flash write failure)
or if I try to wipe: FAILED (remote: failed to erase partition)
I'm starting to thing maybe it's a hardware problem with the internal flash... Is that likely or is there still something I can do?
Will I be able to RMA it in this state?
Thanks again for the help!

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] Need urgent help with avoiding a data wipe...

Basically, my wife's phone was constantly rebooting. I had heard of power button issues so I tried to open the phone to fix that. After fiddling around with the button the problem persisted. I read somewhere that wiping the cache would help so I prepared to do that.
As I was waiting for the cache to wipe... the phone reboot again. It now does not boot (sits on the boot screen after the Google logo goes away) and says invalid argument when I try to wipe the cache.
According to this post, flashing the cache.img will fix the corrupt cache and allow me to wipe it.
Unfortunately my wife's phone has not been backed up, nor has the bootloader been unlocked. Is there ANY way to backup/retrieve files before unlocking the bootloader so I can fix the cache corruption issue? She has stock recovery, running lollipop.
Would really appreciate help in this matter, the pictures on her phone are from a year of travelling (not my best idea to leave them on her phone...but I digress).
If your phone keeps rebooting, and bootloader is LOCKED, its going to be hard to do anything to recover user data.
Having said that,
If you had ADB debug enabled before this disaster, you could try to ADB Sidleoad the Nexus 5 Lollipop OTA zip from stock recovery.
Then you data would remain intact.
Best of luck
Artorias90 said:
Basically, my wife's phone was constantly rebooting. I had heard of power button issues so I tried to open the phone to fix that. After fiddling around with the button the problem persisted. I read somewhere that wiping the cache would help so I prepared to do that.
As I was waiting for the cache to wipe... the phone reboot again. It now does not boot (sits on the boot screen after the Google logo goes away) and says invalid argument when I try to wipe the cache.
According to this post, flashing the cache.img will fix the corrupt cache and allow me to wipe it.
Unfortunately my wife's phone has not been backed up, nor has the bootloader been unlocked. Is there ANY way to backup/retrieve files before unlocking the bootloader so I can fix the cache corruption issue? She has stock recovery, running lollipop.
Would really appreciate help in this matter, the pictures on her phone are from a year of travelling (not my best idea to leave them on her phone...but I digress).
Click to expand...
Click to collapse
Contact me on hangouts/email: [email protected]
I can flash custom recovery without unlocking bootloader or wipe. If the /data partition didnt get corrupted we could recover the files.
Sent from my Nexus 5 using XDA Free mobile app
Has my brain gone broken? I thought you could fastboot stock img files without unlocking the bootloader?
Ben36 said:
Has my brain gone broken? I thought you could fastboot stock img files without unlocking the bootloader?
Click to expand...
Click to collapse
You can try that too.
What version of Android did you have on the phone?
In order to flash factory images, you’ll need to have the Android SDK HERE
Then you need to download the same version of Hammerhead Factory Image
you have been running on her phone HERE
Extract the correct Hammerhead Factory Image using 7zip or other extractor tool.
Then copy the cache.img from the extraction to the SDK/platform-tools folder.
From within your platform-tools folder, open a command prompt.
I'd recommend wiping the partition before flash.
-First type the following command
fastboot erase cache
-Then type the following command
fastboot flash cache cache.img
Plenty of tutorials in the sticky's if you need to learn more .
Best of luck

XT1031 Can't erase cwm, can't flash twrp, can't wipe data, many more weird issues

Moto G XT1031
Unlocked bootloader
So I have a few dozen Moto Gs. I'm always running into problems with them, but this problem is new. I had originally used CWM on this device for backups and rooting. Phone died and a put it in the drawer for months. I took it back out to mess around with it and see if I could get it going again. However, I can't get TWRP onto it. I've tried erasing recovery via fastboot, it says it worked, but when i boot into recovery it's still CWM. Inside CWM itself, I get lots of "can't mount cache" errors. So when I try to wipe anything inside CWM, it just freezes.
I was able to boot directly to TWRP via "fastboot boot twrp.img". However, none of the wipe tools seem to do anything. Factory reset, format data, advanced wipe... they all go through with no errors, but the file manager still shows that all my original files are still on the phone.
i have same issue with xt1033 but instead of cwm mine is stock recovery no matter what i do with my device everything stays same seems like it went into write protection have u got any fix?
Oh dear - it looks you two have suffered from the read-only eMMC brick. You can try repairing the phone with this tutorial: https://forum.xda-developers.com/moto-g/help/how-to-unbrick-moto-g-falcon-t3394788
If this fails though, your phone needs to have its logic board/motherboard replaced. That said, it does make me want to ask one question: for those who have suffered from the read-only eMMC brick, what eMMC chip do those who have suffered from this bug have? Is it a Samsung or a SanDisk eMMC chip? I think it is about time to do a survey here.

Question (Newbie) HELP! Lenovo Phab Plus PB1-770M (E: can't mount /cache) Stuck in recovery

Sorry if this will be considered spam, but I needed to repost here instead.
I loaded the recovery mode and attempted to load TWRP without knowing how to activate Fastboot. Unfortunately, I had wiped the cache partition and rebooted the phone.
It resulted in kicking itself into recovery after a failed boot-up into android, as string of E: can't mount /cache showed. I tried to wipe data/facctory reset and try again but I'm stuck.
If anyone has a possible solution/suggestion, I'm open to do it.
i know its too late to answer your question, but i will answer for anyone who comes here next...
First: you have rebooted your phone before it finish the wipe data order, this caused your problem.
Second: just make another wipe data/cache... but wait for about 30-50 Minutes till its done ... yeah it takes that long

Categories

Resources