[Q] Wiped internal storage. Help - G2 Q&A, Help & Troubleshooting

So i was plaing around with some roms on my phone and i accidentally wiped my internal storage in TWRP is there anything i can do to fix it?
I have tried using the LG flash tool with no luck and i have tried to push a rom on the phone with ADB but i always get an error saying E: Unable to mount storge. Help please.

ImArtiztik said:
So i was plaing around with some roms on my phone and i accidentally wiped my internal storage in TWRP is there anything i can do to fix it?
I have tried using the LG flash tool with no luck and i have tried to push a rom on the phone with ADB but i always get an error saying E: Unable to mount storge. Help please.
Click to expand...
Click to collapse
Do you mean that you did a data wipe?
If so, I'm not sure how much there is you can do. That is one of those "cannot undo" unless you performed a nandroid backup.

Related

[Q] Please Help. A500 cant mount /Data or /Sdcard

Well a couple days ago I decided to try out amona Ra Recovery. I don't know what happened but after I installed it and tried to flash a rom my tablet would not boot. So I said no big deal. Ill just wipe and flash again. Well now everytime I try to do anything like restore a backup or wipe data(even mount the data partition) I get an "cant mount /Data" error. Same with the internal sd. I cant mount that either. I can mount the system and flexrom and just about everything else. So I then loaded thor's touch CWM recovery as well as the standard cwm recovery and still a no go. Can not mount the data or sdcard partition. So I then decided to try and flash thors ICS rom. When I did it would boot but it gets to a screen that say encryption failed and I need to do a factory reset. I never set it up to encrypt by the way. But I cant factory reset due to the fact that I cant mount the data partition. Hope I gave enough info. Any help would be greatly appreciated. Ill probaly donate to the person who can help me. Thanks in advance
EDIT: Also if anyone may happen to have a copy of the acer unbrick Update.zip that would be greatly appreciated. All the links I find go to megaupload.com which I'm sure everyone knows by now is shut down. Thanks again
Go to the RA Recovery thread .. There is a link in the OP Post about that specific issue.
if you cant find it Post in there your problem and how you got to where it happened.. He will help you
thanks for the reply. I will try that

[SOLVED] Cannot mount /sdcard or flash in recovery following phone encryption

Hey guys,
I recently encrypted my phone for my work e-mails (the Exchange server required it). I made a complete Nandroid backup and also entire Titanium backup before encrypting, just in case something went wrong. But the encryption went beautifully.
However, I've noticed that I cannot mount /sdcard or flash anything from recovery. I can't update my Franco kernel or CM nightlies... It's a bit annoying because I want to keep flashing! lol.
My phone asks for my password everytime I reboot (in order to decrypt sdmount and mount the ROM), so I'm assuming this is the reason I can't mount it in CWM recovery.
Anyone know of a bypass or fix for this?
I don't really feel like restoring nandroid backup or doing a factory reset everytime I want to flash a new nightly, it just doesn't make any sense (besides I haven't even tried to see if I can restore from nandroid or factory resetting, they might not even work because it can't mount /sdcard?...)
I've searched around the forums for some complex solutions such as using ADB or Odin but I'm not interested in that.
Thank you!
UPDATED:
Ok guys so basically restoring from nandroid did not work because of the sdcard mount error.
I did a factory reset, erased all data and format system. But I couldn't format sdcard or even user data as it didn't have access... Basically the phone got bricked from then on and I had to completely restore back to stock bootloader/recovery/stock rom with adb/fastboot. Instructions are found here:
http://forums.androidcentral.com/nex...e-restore.html
Hopefully this will come to use to someone else. I've heard that TWRP does not have this sdcard mount problem with encryption as does CWM, so that's what I installed this second time around.
Why don't you just transfer the files regularly without entering recovery mode?
The recovery doesn't allow mounting to the PC. It just doesn't work.
Sent from my Nexus 4 using Tapatalk 2
scream4cheese said:
Why don't you just transfer the files regularly without entering recovery mode?
The recovery doesn't allow mounting to the PC. It just doesn't work.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
I've never mounted to PC in recovery. My files are backed up on my computer and nandroid as well.
My issue here is that I can't regularly flash new nightlies (and thus mount internal /sdcard to do so) following the phone encryption.
Since my internal /sdcard path is encrypted with a password, CWM recovery can't bypass this and it gives me the error "cannot mount /sdcard".
bump?
Any help would be highly appreciated!
Is this a lacking feature in CWM Recovery? Have the developers looked in it? Or is there already a fix for this without doing an entire factory reset?
Daily bump.
Anyone there? (echo...)
Ok guys so basically restoring from nandroid did not work because of the sdcard mount error.
I did a factory reset, erased all data and format system. But I couldn't format sdcard or even user data as it didn't have access... Basically the phone got bricked from then on and I had to restore back to stock using this:
http://forums.androidcentral.com/ne...3923-guide-nexus-4-factory-image-restore.html
Hopefully this will come to use to someone else. I've heard that TWRP does not have this sdcard mount problem with encryption as does CWM, so that's what I installed this second time around.
If you want to recover the data from SD card, you do not use the SD card.
You can try to recover the data from the card with some specific software.
I will try to fin one I used before.
It will take few minutes... do not use the card.
cyrus_e said:
Basically the phone got bricked from then on and I had to completely restore back to stock bootloader/recovery/stock rom with adb/fastboot. Instructions are found here: ...
Click to expand...
Click to collapse
Many thanks, this link helped me restoring my Nexus 4. I enabled "encrypted storage" and wanted to root the phone and almost bricked it.
It's also possible to flash the stock recovery with odin, then do a real factory data reset and be able to install a custom rom, after (or before) which you can reinstall a custom recovery.

[Q] TWRP backup fails on data partition "E: Unable to stat /data/data/../cache/ .. "

[Q] TWRP backup fails on data partition "E: Unable to stat /data/data/../cache/ .. "
Whenever I try a full nandroid backup in TWRP it always fails once it gets a few hundred files into the data partition. However, it does complete the backup when the data partition isn't selected.
When I first start the backup a bunch of different red error messages come up for various cache files in the data partition.
"E: Unable to stat '/data/data/[variousapp]/cache/[stuff]/[hashvalue?]' "
I've got a rooted T-Mobile Note 3 with Jedi Elite ROM and TWRP 2.8.1.0, however I'm not completely sure that my phone is legitimately rooted. If I try to open the SuperSU app it says "There is no SuperSU binary installed,...", and applications constantly achieve root access then get denied it moments later. Or sometimes the applications achieve root access with no further issues, it's quite random.
Does anyone have any idea what could be going on?
EDIT: It also should be noted that the files in the error messages can be found when using the TWRP file manager, but when using any file manager application with the OS booted the "/data" folder appears empty.
Anyone have any idea?
Thanks
Well.... from the top of my head I would try to do these things:
1) install one of those "check to see if I am rooted" apps and run it.
2) flash a kernel that has been prerooted, i.e.:that it installs the SU binary to the appropriate location.
3) flash one of those .zip packages in twrp that root your phone.
4) check to see if you can make twrp install root for you ( i think when it doesn't detect root binary it offers to do that).
5) reinstall rom only part as a last resort?
Once you restore proper root access you might need to restore proper SELinux labels to /cache /system /data.
Let me know if you get to this part and need specific instructions.
Best of luck
CekMTL said:
Well.... from the top of my head I would try to do these things:
1) install one of those "check to see if I am rooted" apps and run it.
2) flash a kernel that has been prerooted, i.e.:that it installs the SU binary to the appropriate location.
3) flash one of those .zip packages in twrp that root your phone.
4) check to see if you can make twrp install root for you ( i think when it doesn't detect root binary it offers to do that).
5) reinstall rom only part as a last resort?
Once you restore proper root access you might need to restore proper SELinux labels to /cache /system /data.
Let me know if you get to this part and need specific instructions.
Best of luck
Click to expand...
Click to collapse
I flashed the latest SuperSU.zip and that ended up fixing root access. The Root Checker app verifies it as well as other applications being granted root access.
I tried flashing CF-Auto-Root in TWRP and it fails.
How do I restore the SELinux labels for those directories?
You caught me on my way to bed but here are the instructions:
From terminal or adb shell
su
ll -Z
(check for any "unlabeled" text for /data /cache /system)
restorecon -Rv /cache
restorecon -Rv /data
mount -o remount,rw /system
restorecon -Rv /system
mount -o remount,ro /system
ll -Z (you should not find any "unlabeled" /cache /data /system)
Let me know how it goes
I tried all those commands from the terminal and it still shows all of the same "Unable to stat" error messages when backing up
The "ll -Z" command, is that supposed to be double pipe or double L? I'd never seen a double L command before so I couldn't get it to work if that's what it is.
Sorry to budge in but I have the same problem too on my oneplus one. Everytime I do something in twrp it saids unable to stat /data/data/com.android.chrome/something I wiped /data and it still does that. I tried to install custom rom and when it starts it saids something is wrong with my system udi and com.android.phone keeps on crashing. So I don't know how I am suppose to fix this. If I format /data I will lose all my pictures,music,apps,etc. since it will wipe /data/media? Any help?
Edit: Upon reading the first post again, I also can't perform nandroid backup because it fails at /data. Which was why I wanted to try different rom and wipe /data to see if it would be fixed.
patstar5 said:
Sorry to budge in but I have the same problem too on my oneplus one. Everytime I do something in twrp it saids unable to stat /data/data/com.android.chrome/something I wiped /data and it still does that. I tried to install custom rom and when it starts it saids something is wrong with my system udi and com.android.phone keeps on crashing. So I don't know how I am suppose to fix this. If I format /data I will lose all my pictures,music,apps,etc. since it will wipe /data/media? Any help?
Edit: Upon reading the first post again, I also can't perform nandroid backup because it fails at /data. Which was why I wanted to try different rom and wipe /data to see if it would be fixed.
Click to expand...
Click to collapse
pat, did you have any luck fixing this? i'm having the exact same issue with my oneplus
---------- Post added at 03:13 PM ---------- Previous post was at 03:05 PM ----------
utjock12 said:
pat, did you have any luck fixing this? i'm having the exact same issue with my oneplus
Click to expand...
Click to collapse
alright i said screw it and wiped internal storage and it fixed the issue. i had to push ROM onto the new storage through ADB but it seemed to fix the issue.
For anyone who is wondering you need to do a FULL wipe (ie in recovery wipe EVERYTHING including internal storage), then push or mount devices through recovery and put ROM back onto SD card.
bu_plus said:
Hi friend,
I have tried my best to locate the download link for the new ver. 5.00 ROM but with no success.
Kindly could you please provide me with the link. BTW, I'm using firefox browser.
Best regards,
bu_plus
Click to expand...
Click to collapse
Well you fixed it the easy way, I went to the thread on how to turn oneplus one back to stock.
http://forum.xda-developers.com/oneplus-one/general/guide-return-opo-to-100-stock-t2826541
I unzipped the 44s Stock ROM and manually flashed each file via adb to it, that cleared up all my problems. I did lose some data, at least at had my apps, messages, and pictures backed up.
Sent from my Oneplus One using XDA Free mobile app.
utjock12 said:
pat, did you have any luck fixing this? i'm having the exact same issue with my oneplus
---------- Post added at 03:13 PM ---------- Previous post was at 03:05 PM ----------
alright i said screw it and wiped internal storage and it fixed the issue. i had to push ROM onto the new storage through ADB but it seemed to fix the issue.
For anyone who is wondering you need to do a FULL wipe (ie in recovery wipe EVERYTHING including internal storage), then push or mount devices through recovery and put ROM back onto SD card.
Click to expand...
Click to collapse
I have this same problem with my OPO and I tried a full wipe including internal storage, but the "unable to stat..." problem still persists. Should I try using the "Format Data" option on TWRP instead of just the "Advanced Wipe"? I tried searching online for the difference but I can't really find any information.
monkey29992 said:
I have this same problem with my OPO and I tried a full wipe including internal storage, but the "unable to stat..." problem still persists. Should I try using the "Format Data" option on TWRP instead of just the "Advanced Wipe"? I tried searching online for the difference but I can't really find any information.
Click to expand...
Click to collapse
So I had my issue on my OPO also, still never confirmed what the actual issue was but after some googling I saw this thread and maybe one more with the same error description.
From TWRP I went Wipe->Advanced Wipe->Clicked ALL boxes.
From what I could tell the issue is actually on the "internal storage" partition which is your emulated SD Card.
I'm not actually sure what the "Format Data" option does tbh I never had to go that far.
Word of warning, make sure you have ADB working and you know how to push files to your phone. You can in theory use the "mount" option from TWRP and connect to a PC as an extendable drive but this functionality is super flaky and is known to not work on occasion.
you don't have to!!!!!!!!!!!
actually i formated it and i was looking for a way to transfer my zip file to internal storage ........... but when i clicked on backup/restore it started to install and booted normally !!!!!!!!!!!!! (by temp boot file)
Sad I am also facing this problem too. At last I have to format everything to get my phone working again, wiping /data does not work, must wipe /data including media.
Internal Storage failure?
This happens to me all the time all of a sudden. I did not change anything at all, except for flashing a new CM version.
I also get a strange stat error, something with google.photo cache.
Yesterday, I have then flashed the new 2.8.6(7) and that gave my phone the rest. It might be because I flashed through TWRP itself into the recovery partition, but now additional to the backup error above when I want to erase dalvik cache, the recovery just hangs. I also can't restore a backup atm.
Now I have reflashed the real 2.8.6.0 recovery and it still hangs when I want to wipe dalvik... wtf is going on here?
And oh yea, my phone does not boot anymore either, it just loops at the flash screen...
UPDATE:
After I found some info on this thread about similar issues, I factory reset my phone with stock recovery (TWRP was not reliable anymore, even the 2.8.6.0 version that was running perfectly before) and then reflashed the latest CM on a wiped internal storage. Now I am up and running again with minimal loss of data due to my TB backups that are scheduled and save to the SD.
But this leaves a very weird feeling back, basically my phone was rendered useless out of nowhere (I was running the previous CM for 2 weeks already), making TWRP backups impossible and forcing me to wipe the internal storage with all media on it without giving me the chance to back it up (MTP in TWPR was also very flaky and died several times half in copy operations). Something is going very wrong with this phone, never ever had that on any of my 5 previous htc devices and the fact that the OnePlusOne users are among the main ones that reported similar issues, I have a feeling it is linked to cheap storage quality. Motorola is a Chinese company now after all... :-/
Hello,
I had the same issue with my Galaxy s4 GT-I9500, it said "E: Unable to stat /data/...", wiping didn't fix, but after I run "format data", it fixed the issue for me.
I have been going through the same issue. I can fix it for 'a while' (by wiping and formatting data) before it comes back again. Anyone knows how to get rid of this once and for all?

Internal storage 0mb twrp

Im using a levovo a6000 android phone after rooting my phone i tried to install a custom rom
then when i checked my internal memory it was showing a 0mb of internal memory
the errors are as follows
1. E : unable to mount /data/media/TWRP/ .twrps when trying to read setting file.
2. E: Unable to mount '/data'
3. E: unable to mount '/storage'
Even on wiping dalvik cache and cache
i have rooted my phone using amd command prompt help me ee
nikhil7870 said:
Im using a levovo a6000 android phone after latest offical android update given by lenovo came my phone booted ok
then when i checked my internal memory it was showing a 0mb of internal memory
the errors are as follows
1. E : unable to mount /data/media/TWRP/ .twrps when trying to read setting file.
2. E: Unable to mount '/data'
3. E: unable to mount '/storage'
Even on wiping dalvik cache and cache
i have rooted my phone using amd command prompt help me ee
Click to expand...
Click to collapse
How did you managed to install the ota update on rooted device....!??
oops sorry its my friend mistake
sasukay said:
How did you managed to install the ota update on rooted device....!??
Click to expand...
Click to collapse
i had flashed a custom rom through TWRP please help me to figure it out
nikhil7870 said:
i had flashed a custom rom through TWRP please help me to figure it out
Click to expand...
Click to collapse
Boot into twrp and wipe cache, dalvik, data and system. Then flash the custom rom
sasukay said:
Boot into twrp and wipe cache, dalvik, data and system. Then flash the custom rom
Click to expand...
Click to collapse
while wiping data, cache , dalvik cache ,system, cache , data
its give a error wipe complete failed
and another error is
E: UNABLE TO MOUNT '/DATA'
E: UNABLE TO MOUNT STORAGE
Can xda developer fix my problem i think that xda is best and i always follow them but now i cannot get any help from you please help me
nikhil7870 said:
Can xda developer fix my problem i think that xda is best and i always follow them but now i cannot get any help from you please help me
Click to expand...
Click to collapse
Flash cwm any try wiping and then flash new rom from
http://forum.xda-developers.com/showpost.php?p=66472910&postcount=4
sasukay said:
Flash cwm any try wiping and then flash new rom from
http://forum.xda-developers.com/showpost.php?p=66472910&postcount=4
Click to expand...
Click to collapse
I think ur system partions is corupted
amithchinu said:
I think ur system partions is corupted
Click to expand...
Click to collapse
if it is corrupted then how to fix it and can u tell me how to do repartition
Go here http://forum.xda-developers.com/showthread.php?t=2683787 u will get solution
---------- Post added at 02:55 AM ---------- Previous post was at 02:54 AM ----------
If it does not work goto service center
amithchinu said:
Go here http://forum.xda-developers.com/showthread.php?t=2683787 u will get solution
If it does not work goto service center
Click to expand...
Click to collapse
You might not know this, but every device has its own different system partitions. The thread you were referring to is for Asus Transformer Pad. Following that might make the problem worse.
But this is ASus phone it works on lenovo a6000
sasukay said:
You might not know this, but every device has its own different system partitions. The thread you were referring to is for Asus Transformer Pad. Following that might make the problem worse.
Click to expand...
Click to collapse
No bro it has sameproblem unable to mount data and cache there is solution to solve
amithchinu said:
No bro it has sameproblem unable to mount data and cache there is solution to solve
Click to expand...
Click to collapse
In that tutorial mmcblk0p8 is being formatted because that memory location has the /data directory on Asus Transformer. But, in our device the /data can be in any other partition, and doing that might brick the device permanently
Delete the recovery log from twrp folder and flash another twrp from flashtool or rash..what version are you using? If it is indeed a corrupted partition, you can reflash your phone using qfill
Try using the Fix Permissions in TWRP recovery...
It may help.
:fingers-crossed:
@nikhil7870 do you solve this problems?
nikhil7870 said:
Im using a levovo a6000 android phone after rooting my phone i tried to install a custom rom
then when i checked my internal memory it was showing a 0mb of internal memory
the errors are as follows
1. E : unable to mount /data/media/TWRP/ .twrps when trying to read setting file.
2. E: Unable to mount '/data'
3. E: unable to mount '/storage'
Even on wiping dalvik cache and cache
i have rooted my phone using amd command prompt help me ee
Click to expand...
Click to collapse
Best way is install the latest twrp I.e 3.0.2 and do the format everything instead of advanced wipe. Your problem will be solved. I too faced the same problem and I did what I have advised you. It worked.
cyberwarrior_a said:
Best way is install the latest twrp I.e 3.0.2 and do the format everything instead of advanced wipe. Your problem will be solved. I too faced the same problem and I did what I have advised you. It worked.
Click to expand...
Click to collapse
Is the problem resolved??
I have solution
Bro don't take so much tension , thats not hardware problem its only your Recovery's reading cache error . you can simply fix this by flashing old version of recovery and from that old recovery again wipe what you want to remove but man don't touch your mount section column , after wiping data and anything else simply flash new twrp.img then simply reboot recovery . wollllaaa you got your partion cache back now again you can simply flash you favorite roms. I hope you understand what you have to do now . But please follow these steps carefully :good: .
Remember don't flash KitKat recovery over lolipop recovery otherwise you got bootloop. Old recovery means suppose if you have now twrp v 3.1 just simply flash v2.8 then after wiping things you want , then simply flash twrp v 3.1 .
If you still have any doubt you can contact me via WhatsApp - +91 9205097520 (indian no. ) or simply reply me on xda or simply mail me at - [email protected] . And at last don't forget to tell me about your device problem .

Unable to mount storage, failed to mount 'data' with TWRP 3.1.1-0

Hi, I am trying to make a nandroid backup using twrp on my LG G6 H870, but I am unable to do so as the data fails to be mounted. I have tried to repair the partition using twrp but I just get an error 8 and I don't know what that means. If someone could help, that would be great. I am doing this so that I can safely restore to the stock rom from HavocOS.
Thanks
arey201 said:
Hi, I am trying to make a nandroid backup using twrp on my LG G6 H870, but I am unable to do so as the data fails to be mounted. I have tried to repair the partition using twrp but I just get an error 8 and I don't know what that means. If someone could help, that would be great. I am doing this so that I can safely restore to the stock rom from HavocOS.
Thanks
Click to expand...
Click to collapse
This is not in English...but follow step by step = works perfect!
Matt
arey201 said:
Hi, I am trying to make a nandroid backup using twrp on my LG G6 H870, but I am unable to do so as the data fails to be mounted. I have tried to repair the partition using twrp but I just get an error 8 and I don't know what that means. If someone could help, that would be great. I am doing this so that I can safely restore to the stock rom from HavocOS.
Thanks
Click to expand...
Click to collapse
just go to format and format data, for real, nly way you can mount it again.
sun_is_shinning said:
just go to format and format data, for real, nly way you can mount it again.
Click to expand...
Click to collapse
Aw that sucks, wish there was another way, thanks.
i have this problem too...if do formating data loss data partition.so can be.to nandroid backup what can i do?

Categories

Resources