Wiped cache, turned off frozen phone, now I'm having all sorts of issues. - Nexus 5 Q&A, Help & Troubleshooting

Looks like I might have corrupted the cache. How do I go about fixing this?

Fastboot flash the stock cache image
Sent from my Nexus 5 using Tapatalk

rootSU said:
Fastboot flash the stock cache image
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
My device is locked. Is there a way to do it without losing data?
Never mind. It somehow fixed itself.

Related

Cant mount /data, seems corrupted

Okay, I've looked everywhere but I haven't found any solutions. I was running PA and everything was fine. Flashed purity, booted, and phone was FC. Went back to twrp (latest version) to restore backup. It requested a password. I have never set one. I hit cancel, clicked restore, and my entire sdcard partition is gone. Tried cwm, same thing. Error mounting /data. I'd really appreciate some help here. I'm an experienced ROM flasher. Been doing it a while. Is there anything I can do to fix it, short of flashing factory image?
Sent from my Nexus 7 using Tapatalk
Try wipe cache first
Sent from my Nexus 5 using Tapatalk
rootSU said:
Try wipe cache first
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I just kept trying to format data and it finally worked. Weird. I'm adb side loading PA right now so hopefully that'll work.
Edit: just finished sideloading. It booted, but on the setup screen, I have a reoccurring "unfortunately, phone has stopped" message. Recovery still says unable to mount storage when trying to wipe anything.
Sent from my Nexus 7 using Tapatalk
Flash stock images and reroot to fix
sent from my HAMMERHEAD neXus
CRIME INC. said:
Flash stock images and reroot to fix
sent from my HAMMERHEAD neXus
Click to expand...
Click to collapse
Yeah I figured I'd have to do that. I just didn't want to. Haha
Sent from my Nexus 7 using Tapatalk
CRIME INC. said:
Flash stock images and reroot to fix
sent from my HAMMERHEAD neXus
Click to expand...
Click to collapse
Completely unnecessary.
The ROM has a backup script that saves your Google apps as well as the dialer if you flashed that. That conflicts with a fresh install.
All you need to do is, factory reset, wipe system so that the script has nothing to backup, them flash ROM and gapps. That's it.
Sent from my Nexus 5
Pirateghost said:
Completely unnecessary.
The ROM has a backup script that saves your Google apps as well as the dialer if you flashed that. That conflicts with a fresh install.
All you need to do is, factory reset, wipe system so that the script has nothing to backup, them flash ROM and gapps. That's it.
Sent from my Nexus 5
Click to expand...
Click to collapse
Good to know.:thumbup:
sent from my HAMMERHEAD neXus

Effects of Factory Reset

Hi everyone!
Nexus battery's become pretty sloppy out of nowhere, I've tried all the techniques to get my battery back up, but nothing... I want to reset my nexus back to factory because I've put a load of rubbish on here that I really don't need that showed it down. What o want to know is what will happen if I factory reset? And how do I do it through TWRP? I wanna completely clean my phone back to scratch, except from my ROM, Kernel and TWRP... I know how to back up my app data so that's not a problem... Will it delete my internal storage because that's one thing I don't want to happen... Any help is appreciated thanks!
Sent from my Nexus 5 using Tapatalk
Only stock /recovery wipes /sdcard. Custom recovery leaves it alone. So just choose the wipe data / factory reset option in your recovery
Sent from my Nexus 5 using Tapatalk
rootSU said:
Only stock /recovery wipes /sdcard. Custom recovery leaves it alone. So just choose the wipe data / factory reset option in your recovery
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Will this delete my custom ROM/Kernel/TWRP?
Sent from my Nexus 5 using Tapatalk
ProVickers said:
Will this delete my custom ROM/Kernel/TWRP?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
No of course not! Wipe data / factory reset only wipes /data.
This is all pretty basic. Perhaps read the root sticky thread at the top of this forum for a greater understanding.
Sent from my Nexus 5 using Tapatalk

Bootlooped and cannot use TWRecovery

Hello,
My nexus 5 is currently stuck in a bootloop and TWR is asking for a password to decrypt my data and wipe cache/dalvik. Is there anything i can do to get it out of the loop or is my phone dead?
Thanks for reading, any advice is greatly appreciated.
Does your computer recognizing your device? Can you go into bootloader,if yes,try to go back to stock rom,and flash stock recovery.
Fastboot flash cache cache.img
Sent from my Nexus 5 using Tapatalk
Simonna said:
Does your computer recognizing your device? Can you go into bootloader,if yes,try to go back to stock rom,and flash stock recovery.
Click to expand...
Click to collapse
Thanks dude. Flashed stock rom + recovery and its working fine again.
rootSU said:
Fastboot flash cache cache.img
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Where do you get the cache img from?
Sent from my Nexus 5 using Tapatalk
Ben36 said:
Where do you get the cache img from?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
The factory image, in there is a zip, extract it
I think Ben3.6 knew the answer and he was asking in place of the OP
so, for the OP, here are the factory images. http://forum.xda-developers.com/showthread.php?t=2513701

Corrupted userdata partition

Basically, my userdata partition keeps getting corrupted every couple of flashes. I have to factory flash to get everything working again. It just started happening recently(A few hours ago). What is going on? Thanks!
While flashing the stock images make sure you have also Erased cache partition and formatted it using stock recovery.. I was exactly in the same spot as you were few weeks ago and a cache partition format solved it completely!
Koopa777 said:
Basically, my userdata partition keeps getting corrupted every couple of flashes. I have to factory flash to get everything working again. It just started happening recently(A few hours ago). What is going on? Thanks!
Click to expand...
Click to collapse
I had the same problem as you. I used this guide and now it works great. Just follow the steps. Good luck.
prabs99 said:
I had the same problem as you. I used this guide and now it works great. Just follow the steps. Good luck.
Click to expand...
Click to collapse
I can actually confirm that it is an issue with ParanoidAndroid. It always corrupts the data partition following boot. I repeated it with continued success.
Sent from my Nexus 5 using Tapatalk
Koopa777 said:
I can actually confirm that it is an issue with ParanoidAndroid. It always corrupts the data partition following boot. I repeated it with continued success.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
You're the only one saying such things. If there was a problem with the ROM we would have heard it from others and the team would see the same issues.
The ROM ships with stock Google kernel. The ROM doesn't do anything in itself that could corrupt your userdata
Sent from my Nexus 5
Pirateghost said:
You're the only one saying such things. If there was a problem with the ROM we would have heard it from others and the team would see the same issues.
The ROM ships with stock Google kernel. The ROM doesn't do anything in itself that could corrupt your userdata
Sent from my Nexus 5
Click to expand...
Click to collapse
I've come to the conclusion, after 4(!) factory images, that the ROM DEFINITELY corrupts the recovery. I have a 100% success(failure?) rate when flashing PA. Clean md5, after first boot the ROM functions properly, but recovery fails to mount the userdata partition, every time. Flash a new recovery, or adb shell and attempt to repair don't work. I understand that it doesn't make sense, but it's obviously something that's happening with the ROM. After 4 factory images, the only other factors are the recovery(PhilZ, TWRP, AND CWM all fail) being borked from the start, or the ROM. It's obviously not the recovery(all 3 have clean md5s, are transferred with adb push, and function perfectly otherwise).....
Again, in the ROM I can r/w to the /data, so the partition is fine, but the ROM borks the recovery.
But there is nothing in the ROM that would cause that. Are you restoring anything from previous versions? Are you installing an app that does this?
Sent from my Nexus 5
Pirateghost said:
But there is nothing in the ROM that would cause that. Are you restoring anything from previous versions? Are you installing an app that does this?
Sent from my Nexus 5
Click to expand...
Click to collapse
No and no. I don't even install Gapps. The ROM alone still triggers it. I just boot into system then boot to recovery.
Sent from my Nexus 5 using Tapatalk
Koopa777 said:
No and no. I don't even install Gapps. The ROM alone still triggers it. I just boot into system then boot to recovery.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
This sounds like you have a hardware issue. Did it do this on stock image with custom recovery?
Sent from my Nexus 5
Pirateghost said:
This sounds like you have a hardware issue. Did it do this on stock image with custom recovery?
Sent from my Nexus 5
Click to expand...
Click to collapse
No. I can flash different ROMs, kernels, etc. Just not PA. The only thing of note was that my stock backup bootlooped when restoring with TWRP, but other than that no.
Sent from my Nexus 5 using Tapatalk
Nevermind, I just flashed liquidsmooth+Elementalx with PhilZ and it happened again. So what exactly is going on?
Are you not able to repair the corrupted partition as explained in the linked thread?
Sent from my Nexus 5
Pirateghost said:
Are you not able to repair the corrupted partition as explained in the linked thread?
Sent from my Nexus 5
Click to expand...
Click to collapse
Nope. Adb shell in Philz says repair failed. I found this
http://forum.xda-developers.com/google-nexus-5/help/unable-to-mount-data-issue-t2723993
http://forum.xda-developers.com/google-nexus-5/help/recovery-mount-data-t2639945
But neither helps. Recovery still can not mount /data.
I would RMA it.
Sent from my Nexus 5
I would try LG Flashtool it worked for me.
maxal said:
I would try LG Flashtool it worked for me.
Click to expand...
Click to collapse
Seriously? I have the LGFT installed(G2 owner) too. Hm......So basically get the tot and dll, and flash? COM41 and all that jazz?
Koopa777 said:
Seriously? I have the LGFT installed(G2 owner) too. Hm......So basically get the tot and dll, and flash? COM41 and all that jazz?
Click to expand...
Click to collapse
Yup, here is the link http://forum.xda-developers.com/goo...orial-how-to-flash-factory-images-lg-t2713833
I just called Google. RMA is inbound. It just kind of sucks, this phone was solid. No light bleed, no dead pixels, etc. Except for a loose power button.
Anyway I think it is definately a hardware issue, as my phone has been getting crazy hot lately. I know it's supposed to get hot, but this phone was scorching...Might have fried something.

[help]unfortunately, setting has stopped

Is what my nexus 5 says after doing a factory reset i am not sure what to do anymore and cant find any place for help i press ok but the pop up keeps coming. Is it a good idea to reflash amdroid?
Try clearing cache in recovery. If that doesn't work then your probably going to have to flash the factory images with fastboot
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
Try clearing cache in recovery. If that doesn't work then your probably going to have to flash the factory images with fastboot
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
clearing cache didn't work but flashing stock worked, thanks

Categories

Resources