[Q] Help! My faulty TWRP erased cache and system! - Nexus 5 Q&A, Help & Troubleshooting

I was in recovery to flash a camera mod, after I flashed the mod I went to clear cache and dalvik just like I usually do when I flash something.
It got stuck on erasing cache for TEN minutes. So I held power to reboot it. Cache was then unmountable. Then I heard if that happens it's probably TWRP's fault, and that a Factory Reset would help. So I did that, and now my /system is gone and I unmountable.
I was able to get into bootloader before, but now that I'm at home it seems I'm having trouble getting there. What are some "force"/hard reset ways to get there? When I try to hold to reboot and hold Vol UP/DOWN it stays black??? Sometimes if i just press power it boots to Google and stays. From there I try to hold power to reboot and get UP/DOWN to get to bootloader but either my timing's off or I'm doing somethign wrong?? Help!

http://forum.xda-developers.com/showthread.php?t=2518875
Might want to look that thread over.
Sent from my Nexus 5 using XDA Premium 4 mobile app

Can u get to recovery? You will have to download a Rom on your computer and side load the Rom to your phone.
Sent from my dlx using XDA Premium HD app

lucky_strike33 said:
Can u get to recovery? You will have to download a Rom on your computer and side load the Rom to your phone.
Sent from my dlx using XDA Premium HD app
Click to expand...
Click to collapse
Yes but it continuously says "E:Unable to mount /cache"
I tried wiping it but it takes <5 minutes, is this normal? Can I format it in fastboot...? Or should I just use Google Factory and not ever use recovery or what?
What's the long term fix since somehow TWRP can't wipe my cache without doing something horrible, and CWM isn't official?
EDIT: Finally cleared after like 10 minutes. I managed to adb push a stock untouchced zip through TWRP.
EDIT: What the hell? I booted and my phone is just like it was before?? Somehow data survived I guess? Lost no apps, no photos... Cool i guess? /thread

I had the same problem as you and after I flash back the stock camera I can enter the system normally except the internal storge won't be mounted. do you have any idea why...and how to fix it?
---------- Post added at 12:36 PM ---------- Previous post was at 11:53 AM ----------
maolin95 said:
I had the same problem as you and after I flash back the stock camera I can enter the system normally except the internal storge won't be mounted. do you have any idea why...and how to fix it?
Click to expand...
Click to collapse
Took a factory reset and restored the data, it worked fine. they should put a giant warning in the camera mod thread about this kind of things.

Related

[Q] Stuck at CM10 boot screen. Can't recover.

Hi there, this evening I was on the forums, looking for an easy way to root my S3. I followed the steps exactly, and got it rooted. I then went to flash Cyanogen mod 10. I booted into recovery, wiped the cache, and installed the .zip and the gapps.zip. Well I rebooted it from CWM, and it just sits at the boot screen. I've turned it off and tried booting into recovery by holding both volume buttons and the power button, but it just boots up normally back to the CM10 screen. So, I cant seem to get it into recovery, or anything. Please lend me your knowledge.
Did you unlock the bootloader?
JMoneyCountIt said:
Hi there, this evening I was on the forums, looking for an easy way to root my S3. I followed the steps exactly, and got it rooted. I then went to flash Cyanogen mod 10. I booted into recovery, wiped the cache, and installed the .zip and the gapps.zip. Well I rebooted it from CWM, and it just sits at the boot screen. I've turned it off and tried booting into recovery by holding both volume buttons and the power button, but it just boots up normally back to the CM10 screen. So, I cant seem to get it into recovery, or anything. Please lend me your knowledge.
Click to expand...
Click to collapse
Recovery is volume up, power, and home. Just boot your phone up by holding all 3.
p.s. - if all you did was wipe cache before going from Stock (ICS) to CM10 (JB) - bad idea. You should always wipe cache, data and dalvik as well if you're going from ICS to JB or vice versa.
You should also format the system when changing base versions (4.0 to 4.1). Especially on aosp roms, and definitely when returning to tw. Most roms incorporate this, but it is evident that it does not always clean it out fully all the time. True clean install is factory data reset/cache/dalvik/format system.
Sent from my Galaxy Player 5.0 running CM9
I did unlock the boot loader. I used the EZ Unlock. But it said that status was unknown. I clicked unlock though and it said it unlocked the boot loader. And there was only one option when I was in CWM, to wipe the cache (it might have been the data I can't quite remember) but either way there were no choices to wipe the data, cache, and dalvik. I tried holding the power, volume down, and home. It said it was downloading, but I let it sit overnight and it never did anything.
Sent from my Nexus 7 using xda app-developers app
JMoneyCountIt said:
I did unlock the boot loader. I used the EZ Unlock. But it said that status was unknown. I clicked unlock though and it said it unlocked the boot loader. And there was only one option when I was in CWM, to wipe the cache (it might have been the data I can't quite remember) but either way there were no choices to wipe the data, cache, and dalvik. I tried holding the power, volume down, and home. It said it was downloading, but I let it sit overnight and it never did anything.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Recovery is volume UP, power, and home. Downloading is down. Download mode is when you connect it to your computer to flash firmware via ODIN. CWM definitely has options to wipe data and cache on the main area, with wiping dalvik as an option in advanced options.
I'm very sorry everyone. I took it to my brother and he fixed it for me. Thank you for being so helpful though I just booted to recovery and wiped the cache, dalvik and data. Then it booted up good. I wish I was good with technology
Sent from my Nexus 7 using xda app-developers app
I ran into the same problem. Do you know how your brother fixed it?
I'll appreciate any help.
Thanks!
JMoneyCountIt said:
I'm very sorry everyone. I took it to my brother and he fixed it for me. Thank you for being so helpful though I just booted to recovery and wiped the cache, dalvik and data. Then it booted up good. I wish I was good with technology
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
abum said:
I ran into the same problem. Do you know how your brother fixed it?
I'll appreciate any help.
Thanks!
Click to expand...
Click to collapse
Well, I had been pressing the wrong buttons when trying to boot into recovery *facepalm*. Also, I was too dumb to look in the advanced options for the other options, like wiping the cache, data, Dalvik, etc. Pretty much me just being a noob at all that is technology haha

HELP!!! I Think?

I just flashed redemption ROM coming from Tundra ROM and I did a factory wipe, then flashed redemption, and then I was gna wipe cache/dalvick before rebooting. Everything seemed to go OK and on the last step I pressed next and the button glowed like it allowed me to select it but nothing happened? It says at the bottom of screen to reboot device but idk if I shld do this manually or if I'm froze up or what? I'm afraid to touch anything. I assumed after hitting next it would have taken me back to the twrp recovery home screen to wipe cache and reboot, but it did nothing. Can anyone help me? Is my tablet froze or can I somehow get back to recovery home and reboot???
Sent from my SCH-I605 using xda app-developers app
Ibkevin said:
I just flashed redemption ROM coming from Tundra ROM and I did a factory wipe, then flashed redemption, and then I was gna wipe cache/dalvick before rebooting. Everything seemed to go OK and on the last step I pressed next and the button glowed like it allowed me to select it but nothing happened? It says at the bottom of screen to reboot device but idk if I shld do this manually or if I'm froze up or what? I'm afraid to touch anything. I assumed after hitting next it would have taken me back to the twrp recovery home screen to wipe cache and reboot, but it did nothing. Can anyone help me? Is my tablet froze or can I somehow get back to recovery home and reboot???
Sent from my SCH-I605 using xda app-developers app
Click to expand...
Click to collapse
you haven't tried anything till now?... it says there to reboot.... maybe it didn't get you back to twrp menu but i think it's safe to reboot your device now... the installation of the rom was finished safely.... the problem was with the aroma installer... try rebooting now...
nadmaj said:
you haven't tried anything till now?... it says there to reboot.... maybe it didn't get you back to twrp menu but i think it's safe to reboot your device now...
Click to expand...
Click to collapse
Yeah I got brave and rebooted and all worked out but I just realized there's a newer version of the ROM so I'm downloading it now and going to install that one but thank you for responding. Everything is OK now so if anyone needs to delete or close this thread feel free. My apologies. Thank you again.

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.
You forgot to reboot after OEM unlock
Sent from my Nexus 7 using Tapatalk
mattrb said:
You forgot to reboot after OEM unlock
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
Ah, that might explain it. So after you do an OEM unlock, you need to reboot back into the bootloader? Or reboot into the system? And then you flash recovery?
Niksko said:
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.
Click to expand...
Click to collapse
Thanks so so much for your informative edit. I had the exact same issue, solved it perfectly for me. Cheers
Haha at least i wasn't the only one to do this! I guess you need to boot up the device after a oem unlock before you try to flash the recovery... who knew haha
Thanks for the solution!
Now, i have a issue, i did this also and i didn't reboot. My phone seems to be stuck in a boot loop. Should i go threw the motions of flashing a ruu to it?
super-6-1 said:
Now, i have a issue, i did this also and i didn't reboot. My phone seems to be stuck in a boot loop. Should i go threw the motions of flashing a ruu to it?
Click to expand...
Click to collapse
If you don't have anything on the phone. Just flash the factory image, and everything will be good as new.
joshyth said:
If you don't have anything on the phone. Just flash the factory image, and everything will be good as new.
Click to expand...
Click to collapse
awesome doing that now.
mattrb said:
You forgot to reboot after OEM unlock
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
Did this after unlocking my new n7 2013. found this solution, worked like a charm! thanks!
I have this error..but i can't wipe "E:Unable to mount storage."
Polv89 said:
I have this error..but i can't wipe "E:Unable to mount storage."
Click to expand...
Click to collapse
Same error here. Did you solved it?
Uwe303 said:
Same error here. Did you solved it?
Click to expand...
Click to collapse
I have this error..too
"E:Unable to mount storage."
any idea ?
-------------------
EDIT : I flashed twrp-2.6.3.4 and then everything was fine
Uwe303 said:
Same error here. Did you solved it?
Click to expand...
Click to collapse
Matrix_19 said:
I have this error..too
"E:Unable to mount storage."
any idea ?
-------------------
EDIT : I flashed twrp-2.6.3.4 and then everything was fine
Click to expand...
Click to collapse
Were you guys flashing or restoring?
I've came across this too, all i did was manually mount/unmount storage as well as system.
But updating recoveries is always best
same prblm
i have the same prblm here on my xperia z but when i do the factory reset by swiping it gave "failed" again ,what can i do !could anyone help me plz!
hssn a said:
i have the same prblm here on my xperia z but when i do the factory reset by swiping it gave "failed" again ,what can i do !could anyone help me plz!
Click to expand...
Click to collapse
You should discuss your issue in the Xperia Z sections.
This happened to me, and caused me a real rough time flashing anything. I bought the phone used, and since I've never used the function, I didn't know what was happening. The previous owner encrypted it. Really messed me up. After I realized it, I managed to wipe everything and restore stock 4.4.2.
Sent from my cell phone telephone....
---------- Post added at 12:27 PM ---------- Previous post was at 12:26 PM ----------
Might not be the same issue for you...but it sure sounds similar.
Sent from my cell phone telephone....
:cyclops: thx genius !! just trying to ask here because many ppl have the same prblm , and this isnt about "sony"
Matrix_19 said:
I have this error..too
"E:Unable to mount storage."
any idea ?
-------------------
EDIT : I flashed twrp-2.6.3.4 and then everything was fine
Click to expand...
Click to collapse
Happened to me a few times...I just kept rebooting to recovery until it mounted.
Niksko said:
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.
Click to expand...
Click to collapse
Many thanks from me too!
I've got the described problem by attempting to install a KK ROM on my Xoom. After the TWRP update I also got this "Enter password" dialogue.
Your solution helped very much.
I had the same problem. all you need to do is to set your screen lock to none.(go to settings, security, screen lock, and then select none)

Won't boot past Google bootscreen, TWRP can't mount any partition

I think my Nexus 5 is fried (hopefully not).
I went to check my phone (almost full battery last time I looked), and I notice it's on the boot screen (the google logo with the lock symbol on the bottom) but it won't go past it. Strange, hold power down until it restarts, same thing, stuck at the logo. I am able to get into recovery (TWRP 2.7.0.0). But it can't do anything, can't wipe cache, can't restore/backup, because it can't mount any partition.
I was on stock 4.4.4 rooted, with Franco kernel r54.
Have you guys seen this before!? What should I do?
Can you get into the bootloader? Vol down + power
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Can you get into the bootloader? Vol down + power
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Yes, that is how I got to recovery. Selected recovery from the bootloader. I can also see the device through fastboot in bootloader mode.
Flyview said:
Yes, that is how I got to recovery. Selected recovery from the bootloader. I can also see the device through fastboot in bootloader mode.
Click to expand...
Click to collapse
Get the cache.img from the factory image and flash that in fastboot.
fastboot flash cache cache.img
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Get the cache.img from the factory image and flash that in fastboot.
fastboot flash cache cache.img
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Flashed cache.img from the factory image in fastboot, did fastboot reboot, and now it's doing the same thing, stuck at the Google logo.
Flyview said:
Flashed cache.img from the factory image in fastboot, did fastboot reboot, and now it's doing the same thing, stuck at the Google logo.
Click to expand...
Click to collapse
I'd try the entire factory image then. You could try it without userdata.img to try and save your data
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
I'd try the entire factory image then. You could try it without userdata.img to try and save your data
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
I will try what this guy did here first:
http://forum.xda-developers.com/goo...o-repairing-corrupted-data-partition-t2577447
This is my lesson to not only do a nandroid backup BUT SAVE IT TO MY COMPUTER.....grrrrr.
jd1639 said:
I'd try the entire factory image then. You could try it without userdata.img to try and save your data
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Just noticed you're on that thread too. If it is the /data that's corrupt, or worse, all my partitions are corrupt, what's the best way to pull the data that's in there now? adb? What if I can't mount it?
Wow...it somehow just booted. I installed Philz' recovery and it was saying the same thing, coudln't mount /data, /cache or anything. Told it to reboot into bootloader, that didn't work so I go to power it on and it booted... :/
Flyview said:
Wow...it somehow just booted. I installed Philz' recovery and it was saying the same thing, coudln't mount /data, /cache or anything. Told it to reboot into bootloader, that didn't work so I go to power it on and it booted... :/
Click to expand...
Click to collapse
Well, that's good. Hopefully it'll continue without problems. And, yea, I get around
Sent from my Nexus 5 using XDA Free mobile app
I left it overnight to backup everything off my phone onto the computer, and I wake up to it powered off, now it won't boot again, lovely! At least it let me copy everything!
Flyview said:
I think my Nexus 5 is fried (hopefully not).
I went to check my phone (almost full battery last time I looked), and I notice it's on the boot screen (the google logo with the lock symbol on the bottom) but it won't go past it. Strange, hold power down until it restarts, same thing, stuck at the logo. I am able to get into recovery (TWRP 2.7.0.0). But it can't do anything, can't wipe cache, can't restore/backup, because it can't mount any partition.
I was on stock 4.4.4 rooted, with Franco kernel r54.
Have you guys seen this before!? What should I do?
Click to expand...
Click to collapse
I had the same problem a few weeks ago. If you don't care about losing your /data, just reinstall TWRP and whatever ROM you're using.
Sounds a bit like your emmc is corrupt
Flyview said:
I think my Nexus 5 is fried (hopefully not).
I went to check my phone (almost full battery last time I looked), and I notice it's on the boot screen (the google logo with the lock symbol on the bottom) but it won't go past it. Strange, hold power down until it restarts, same thing, stuck at the logo. I am able to get into recovery (TWRP 2.7.0.0). But it can't do anything, can't wipe cache, can't restore/backup, because it can't mount any partition.
I was on stock 4.4.4 rooted, with Franco kernel r54.
Have you guys seen this before!? What should I do?
Click to expand...
Click to collapse
Just use wugz, it'll fix it. .
Flyview said:
Wow...it somehow just booted. I installed Philz' recovery and it was saying the same thing, coudln't mount /data, /cache or anything. Told it to reboot into bootloader, that didn't work so I go to power it on and it booted... :/
Click to expand...
Click to collapse
So after this happened I decided to completely reflash it with the stock 4.4.4 image. Now, 2 weeks later I wake up and my phone is off. Won't boot past the Google screen, again. Seriously!? I didn't undervolt it at all this time. Completely stock except root and Franco's r54 kernel.
soupysoup said:
Just use wugz, it'll fix it. .
Click to expand...
Click to collapse
What option in there...? I don't want to lose my data.
Flyview said:
What option in there...? I don't want to lose my data.
Click to expand...
Click to collapse
You probably will have to. Use the option to flash back to stock.
LuqmaanMathee said:
You probably will have to. Use the option to flash back to stock.
Click to expand...
Click to collapse
Yea if I wanted to lose my data, it would be easy! It can all be done through fastboot.
Flyview said:
What option in there...? I don't want to lose my data.
Click to expand...
Click to collapse
Try flashing a stock, rooted rom in recovery, just dirty flash it. You'll probably have to use adb to side load or push the rom to the device
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Try flashing a stock, rooted rom in recovery, just dirty flash it. You'll probably have to use adb to side load or push the rom to the device
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
I will try that as a last resort, but considering that /data can't be mounted, I'm pretty sure that won't help since it'll just flash system right? The data partition is corrupt (just like last time). I'm trying the method of fixing the corruption through adb based on the link I pasted on the first page.

Tried to Port Xperia remote play killed phone

Could someone please help, my nexus 5 is rooted and has twrp recovery.
I tried this http://forum.xda-developers.com/crossdevice-dev/sony/4-4-4-stock-xperia-devices-ps4-remote-t2868092
Flashed the zip file, then as I was wiping the dalvik cache my phones screen turned off and I was really scared, so pressed the buttons to get back into recovery volume down and power on, boot logo flashed up a twice and then a sigh of relief, then I realised I haven't got any signal on my phone, then looked into my files and they are all gone, I can't install any new apps. the phones internal memory is not showing up.
Just realized that it's not for twrp recovery it was for cwm.:crying:
How do I get out of this and back to normal
Edit -as the phone was wiping dalvik cache when the screen went off, I didnt know it was just turning the screen off, so I interupted it by reseting the device
thanks
Go into boot loader and flash stock
Sent from my Nexus 5 using XDA Free mobile app
EngineerNev said:
Could someone please help, my nexus 5 is rooted and has twrp recovery.
I tried this http://forum.xda-developers.com/crossdevice-dev/sony/4-4-4-stock-xperia-devices-ps4-remote-t2868092
Flashed the zip file, then as I was wiping the dalvik cache my phones screen turned off and I was really scared, so pressed the buttons to get back into recovery volume down and power on, boot logo flashed up a twice and then a sigh of relief, then I realised I haven't got any signal on my phone, then looked into my files and they are all gone, I can't install any new apps. the phones internal memory is not showing up.
Just realized that it's not for twrp recovery it was for cwm.:crying:
How do I get out of this and back to normal
Edit -as the phone was wiping dalvik cache when the screen went off, I didnt know it was just turning the screen off, so I interupted it by reseting the device
thanks
Click to expand...
Click to collapse
Why did you flash something for the Xperia on your device. Try flashing the factory image in fastboot but you might have bricked your device
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
Why did you flash something for the Xperia on your device. Try flashing the factory image in fastboot but you might have bricked your device
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
Luckily the zip just contains /system files on this occasion.
/system/etc/permissions and /system/frameworks
...so flashing a Nexus 5 ROM should remedy the problem.

Categories

Resources