[HELP] Need urgent help with avoiding a data wipe... - Nexus 5 Q&A, Help & Troubleshooting

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

Related

Nexus 5 stuck in boot loop animation (MMB29V Marshmallow)

no power button problem
without any reason the phone rebbot itself and stuck in boot loop animation....stock MMB29V Marshmallow , no root, only unlocked
tried:
-wipe cache and data
-reinstalling all singles images files
-reinstalling with flash all bat and finally it works...
what's the problem???
and now? there is something to check? have to change the phone???
tnx
Manually flash each partition again, including userdata.img partition. After flashing the last partition, boot directly to recovery using the power and volume keys (don't reboot the phone at all after flashing the last partition), perform a factory wipe, and reboot.
Ok but i need ti know if is possible to check the health device status
What do you mean by health? You mean each component?
I mean if is possible that something hardware is defective or going to be defective.
can I run some tests?
I know of no tests that are available to the public.
Ok
audit13 said:
Manually flash each partition again, including userdata.img partition. After flashing the last partition, boot directly to recovery using the power and volume keys (don't reboot the phone at all after flashing the last partition), perform a factory wipe, and reboot.
Click to expand...
Click to collapse
I have a similar problem with my N5, it was originally a power-button issue, and after some "whacking" the phone no longer "repeatedly reset" but now it just sits on the "Google" boot screen forever. Probably something got messed up during all the unintended reboots. I already went into recovery and did a factory reset, no luck. Tried flashing to older ROMs, no luck. Started hitting up forums, saw this post, tried your suggestion (flash each partition manually, did a "fastboot reboot-bootloader", enter recovery, wipe, and reboot), and still no luck.
I can get into fastboot/recovery, and even tried loading custom ROMs (CM13 to be exact). No matter what I tried, the phone will power-up, and stuck at the "Google" screen. Note that I've always waited at least an hour after flashing each version before I reboot from the "Google" screen.
I've read somewhere there is a "persist(?)" partition which will throw some error if corrupted, but it will require USB debugging enabled to fix. Unfortunately, I can't boot into any ROM to enable USB debugging...
Am I SOL or is there anything else I can try?
Thanks,
Wallace
WallaceLau said:
I have a similar problem with my N5, it was originally a power-button issue, and after some "whacking" the phone no longer "repeatedly reset" but now it just sits on the "Google" boot screen forever. Probably something got messed up during all the unintended reboots. I already went into recovery and did a factory reset, no luck. Tried flashing to older ROMs, no luck. Started hitting up forums, saw this post, tried your suggestion (flash each partition manually, did a "fastboot reboot-bootloader", enter recovery, wipe, and reboot), and still no luck.
I can get into fastboot/recovery, and even tried loading custom ROMs (CM13 to be exact). No matter what I tried, the phone will power-up, and stuck at the "Google" screen. Note that I've always waited at least an hour after flashing each version before I reboot from the "Google" screen.
I've read somewhere there is a "persist(?)" partition which will throw some error if corrupted, but it will require USB debugging enabled to fix. Unfortunately, I can't boot into any ROM to enable USB debugging...
Am I SOL or is there anything else I can try?
Thanks,
Wallace
Click to expand...
Click to collapse
Are you getting any errors when performing a factory wipe? Does the factory wipe happen very quickly? You flashed the userdata.img partition too?
audit13 said:
Are you getting any errors when performing a factory wipe? Does the factory wipe happen very quickly? You flashed the userdata.img partition too?
Click to expand...
Click to collapse
First time I did a wipe it took over an hour, then the phone rebooted to the dead android screen. So I tried to wipe again, and it seems like all subsequent wipe took anywhere between 3-5 minutes. No error on each wipe (can't say on the first one, since by the time I got back to the phone it has already rebooted). And yes, I did flashed everything - boot, cache, recovery, system, userdata, bootloader, radio - not exactly in that sequence, but all of those partitions are flashed with the image that comes with the Google download package. Then factory reset and reboot.
Thanks,
Wallace
Maybe try erasing cache and data using fastboot commands? If this doesn't work, it's possible that there is a hardware problem with the phone's internal memory.
audit13 said:
Maybe try erasing cache and data using fastboot commands? If this doesn't work, it's possible that there is a hardware problem with the phone's internal memory.
Click to expand...
Click to collapse
Did a "fastboot format cache" and "fastboot format userdata", no error. Still won't boot... are those the commands you are referring to?
Yup, or fastboot erase cache or fastboot erase data.
Sounds like the emmc may be messed up.
audit13 said:
Yup, or fastboot erase cache or fastboot erase data.
Sounds like the emmc may be messed up.
Click to expand...
Click to collapse
Tried all those, and yes same result... also, I flashed a different recovery (TWRP) and thereafter I can't even flash new ROMs anymore. ADB Sideload error our (forgot to write down the error message), and if I copy the file to internal storage and flash from there, TWRP will get stuck for hours.
How common are eMMC corruptions?
W.
The emmc problem is not that common, but it does happen. I'm not sure if it is partition or software corruption or a physical defect.
Other xda members have encountered emmc problems too that could only be fixed through a motherboard swap.
I am running into a situation emmc. the problem is I tried below action so far
1. Attempted to flash recovery partition which failed immediately after first reboot . it never got flashed correctly
2. Attempted to format all the partitions but I could format boot partition I could format no other partition it clearly says that can't mount
3. Then I tried to boot using fastboot command into recovery partition my command is
Fastboot boot recovery.img
I tried cwm I tried TWRP . only 2.6 dot x x worked in twrp. Cwm was not so helpful because it does not give me many features likewise TWRP
Once I boot in the recovery it asks for password if I click cancel it shows me all the interfaces but nothing works I don't have any local storage available it clearly fails to read it and everything shows is encrypted I don't know not sure what is going on there
When I attempt to format I get a error message as no partition available for this operation. No file system available
About phone but I think I am still searching for options but so far I could see that this is e MMC issue and there is no partitions available on this memory I am not able to format this internal memory I am new to the Linux environment and not sure what to do to format this internal emmc...
Can someone suggest any options to format and Re partition the emmc?
Sent from my AO5510 using Tapatalk
Sarvesh.huddedar said:
I am running into a situation emmc. the problem is I tried below action so far
1. Attempted to flash recovery partition which failed immediately after first reboot . it never got flashed correctly
2. Attempted to format all the partitions but I could format boot partition I could format no other partition it clearly says that can't mount
3. Then I tried to boot using fastboot command into recovery partition my command is
Fastboot boot recovery.img
I tried cwm I tried TWRP . only 2.6 dot x x worked in twrp. Cwm was not so helpful because it does not give me many features likewise TWRP
Once I boot in the recovery it asks for password if I click cancel it shows me all the interfaces but nothing works I don't have any local storage available it clearly fails to read it and everything shows is encrypted I don't know not sure what is going on there
When I attempt to format I get a error message as no partition available for this operation. No file system available
About phone but I think I am still searching for options but so far I could see that this is e MMC issue and there is no partitions available on this memory I am not able to format this internal memory I am new to the Linux environment and not sure what to do to format this internal emmc...
Can someone suggest any options to format and Re partition the emmc?
Sent from my AO5510 using Tapatalk
Click to expand...
Click to collapse
The password thing means your encrypted...Unencrypt and you can see all your storage..
Sent from my Nexus 6P using Tapatalk
---------- Post added at 04:58 PM ---------- Previous post was at 04:56 PM ----------
My friend as a n5 that kerps bootlooping too..No roit but unlocked..Never rooted and has no clue how to root or mod a phone...It keeps bootlooping foe no resean 100% stock..It will only stop when i get it to go into bootloader mode and that takes a while...
Sent from my Nexus 6P using Tapatalk
The constant boot looping could be a power button problem?
kenbrownstone said:
The password thing means your encrypted...Unencrypt and you can see all your storage..
Sent from my Nexus 6P using Tapatalk
---------- Post added at 04:58 PM ---------- Previous post was at 04:56 PM ----------
My friend as a n5 that kerps bootlooping too..No roit but unlocked..Never rooted and has no clue how to root or mod a phone...It keeps bootlooping foe no resean 100% stock..It will only stop when i get it to go into bootloader mode and that takes a while...
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
I dont think anyone has encrypted the phone ever.
Sent from my AO5510 using Tapatalk
Sarvesh.huddedar said:
I dont think anyone has encrypted the phone ever.
Sent from my AO5510 using Tapatalk
Click to expand...
Click to collapse
Maybe im mistaken but evertime i had to put in a password in ttwrp i had gotten encrypted...you get it fixed? My friends started bootlooping for no reason and wouldnt stop til the battery was dead.. Never seen a stock phone do that..
Sent from my Nexus 6P using Tapatalk
---------- Post added at 10:00 PM ---------- Previous post was at 09:59 PM ----------
Reasearch it.... It totally sounds like what happened to me...
Sent from my Nexus 6P using Tapatalk

Wierd recovery problem

I got a nexus 5 off of eBay, the seller said he had tried to root it and failed so I thought I would have a crack at it.
I thought it would be an easy restore but I ran into a few problems:
Phone originally came with 6.0.1 installed.
On android 5+ I could not access the standard recovery screen, and when I pressed power+volUp it just said formatting /data and would not move from that.
Rolled back to 4.4 and I got into the ususal recovery screen.
Tried to do a factory reset, but it again stuck at formatting /data.
I left it the entire night while I slept and it was still saying formatting /data. in the morning, nothing had changed.
Trying to boot the phone normally just left it on the 4 startup screen.
I've tried doing a full flash of stock android with each seperate part manually.
Also /data is unable to be mounted in any custom recovery, like it is corrupted or locked somehow.
With the stock recovery, it cannot be detected by adb, but in cwm it can.
EDIT: checking the /data folder in adb shell shows it's completely empty, and the same with system even after flashing and flashing again.
Can anyone advise me as to what might be the problem here?
Reflash all partitions manually, including userdata.img file. After flashing the last partition, boot directly into stock recovery and perform a factory wipe, then reboot.
Done that multiple times, I get the same result on stock android.
I don't want to root or anything like that right now, just get it back to a working state.
So you flashed the userdata.img file?
audit13 said:
So you flashed the userdata.img file?
Click to expand...
Click to collapse
yes multiple times
If you flashed userdata.img multiple times and the phone still can't perform a factory reset, the emmc chip may be damaged.

Nexus 5 "Google Logo" Bootloop - Not Power Button Related - Please Help!!!

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)

Phone wont boot

hey all. recently i tried to use hwota 8 to go from emui 8 china to emui 8 india. during the processs where it askd for bootloader unlock code (i used change location) it failed (remote password wrong). so i disconnected and manually booted to fastboot and unlocked my bootloader. but now the device wont boot, its stuck on your device is booting screen. i cant enter fastboot, erecovery or bootloader, however when i connect it to my pc sound plays. please help me anyone i am worried i cant also use dload
@Ramesh006 can you help me out?
Fixed. A while ago actually. Posting so that anyone in the same situation can ask
Good idea is writing Solution whitout waiting another in same condition...
Fixed. A while ago actually. Posting so that anyone in the same situation can ask
Click to expand...
Click to collapse
I have the same situation . what Solution ????
When you say same do you mean exactly same like no fastboot, recovery etc. And did it happen after HWOTA 8. Please tell me exactly what happened so I can guide you better
MadDog.76 said:
Good idea is writing Solution whitout waiting another in same condition...
Click to expand...
Click to collapse
+1
Oh well. If you want guide then sure. Here you go.
First of all let your battery drain completely. Once battery is dead. Plug your phone into charging and as soon as it shows three options boot screen quickly press Volume Up to boot into recovery. It will boot TWRP. Only if you tried via HWOTA 8. Read OP to know complete story. Now once in TWRP keep your phone on charging and don't let it shutdown. In TWRP go to Wipe and Format Data. Do it one to two times. Now go to Advanced Wipe and individually select each of the following one by one.
Cache
Dalvik Cache
Data
Internal
System.
First select repair file system and then after it repair wipe it individually. Then do a collective wipe. One or two Swipe to factory reset. After this cleansing flash firmware for Oreo of the build you were trying to go-to via Hurupdater. Search for it and follow exact guide. After that select Reboot Phone and when it's powering on, you should get three options menu. Press Volume Up to enter erecovery. This time you will boot normal recovery. Factory reset and then Format cache. Reboot system. First boot will take time. Be patient.
After you reboot you will notice several apps missing and themes not working as well as pinkish wallpaper instead of purple one. To fix flash any Oreo Compatible TWRP or the TWRP form Elemental ROM thread. Go-to wipe and format data. Then advanced wipe and select Data Internal System Cache and Dalvik. Wipe and then reflash Firmware via Hurupdater. After it finishes, reboot system and then reboot into stock recovery. Perform factory reset and then format cache. Reboot.

OnePlus 8T stuck on boot

Hello, I was using my phone normally and then I decided to turn it off because I was having a bug with an application, then I turned it on but in that process I accidentaly push one of the volume bottons and end up on what it seems a boot menu, I went for the english option and then to "exit" and "power off" so I can exit this boot menu, but it comes back again to this menu over and over I don't know why,.
I go to boot reason and appears this: fs_mgr_mount_all
Unable to parse kernel log.
I need help, don't know why I can't exit this menu because I entered by mistake and did nothing else than trying to exit. I have never root my phone or anything related to that, please help me to not lose my data!
Try booting in Recovery and clear Cache (only wipe Cache not Wipe all) and then reboot
Maybe this help you
GraveDigger176 said:
Try booting in Recovery and clear Cache (only wipe Cache not Wipe all) and then reboot
Maybe this help you
Click to expand...
Click to collapse
Ok just done that but it is still stuck on boot, maybe there is another solution to this problem?
Hmm looks like your 8T is caught in bootloop. As far as i know there is only to try in Recovery the Wipe All step which deleted all on your Phone. If that also not works then MSN Tool which has the same result as the Wipe All, the only differnce is that MSN Tool sets up your Partitions fresh and complete clean.
But i can be wrong with that what i Knowing, maybe a more smarter guy can help you out with your problem.
If your phone bootloader not unlocked, the only way i know is fastboot flash .img file from official full update.zip
If that not work, wipe or MSM, but they all causing data loss.

Categories

Resources