[Q] Cache and Data mount issues - Defy Q&A, Help & Troubleshooting

So I've been using various JB ROM's on my Defy for the past couple of years, but this time I made the mistake of using the factory reset within the stock recovery. I found a thread that mentioned using the "ultimate wipe" for defy and then reflashing my ROM of choice would fix issue, but when I use the wipe the custom recovery still tells me it is unable to mount /cache or /data on my phone.
My phones internal storage is also showing as 0, so I am unable to install any apps etc.
I'm completely stumped right now, so any help at all would be greatly appreciated. I'll provide any further information I can if its needed, thanks in advance

DSpartox said:
So I've been using various JB ROM's on my Defy for the past couple of years, but this time I made the mistake of using the factory reset within the stock recovery. I found a thread that mentioned using the "ultimate wipe" for defy and then reflashing my ROM of choice would fix issue, but when I use the wipe the custom recovery still tells me it is unable to mount /cache or /data on my phone.
My phones internal storage is also showing as 0, so I am unable to install any apps etc.
I'm completely stumped right now, so any help at all would be greatly appreciated. I'll provide any further information I can if its needed, thanks in advance
Click to expand...
Click to collapse
I think you need to start over from SBF.
Sent from my Nexus 7 using Tapatalk

DSpartox said:
So I've been using various JB ROM's on my Defy for the past couple of years, but this time I made the mistake of using the factory reset within the stock recovery. I found a thread that mentioned using the "ultimate wipe" for defy and then reflashing my ROM of choice would fix issue, but when I use the wipe the custom recovery still tells me it is unable to mount /cache or /data on my phone.
My phones internal storage is also showing as 0, so I am unable to install any apps etc.
I'm completely stumped right now, so any help at all would be greatly appreciated. I'll provide any further information I can if its needed, thanks in advance
Click to expand...
Click to collapse
Your partitions might have a problem and the wipe script doesn't format them, it just deletes their contents. In the bootmenu you can format your /data and /cache partitions (ext4); if that doesn't work, then yes, gotta start over from SBF.

Antiga Prime said:
Your partitions might have a problem and the wipe script doesn't format them, it just deletes their contents. In the bootmenu you can format your /data and /cache partitions (ext4); if that doesn't work, then yes, gotta start over from SBF.
Click to expand...
Click to collapse
Thank you heaps for the help. I just decided to go ahead and reflash SBF. That all went fine, RSDlite gave a pass. I then went into the stock recovery in order to do the factory reset again before I root, and Data now formats, but Cache throws up the error "E:Can't mount CACHE:recovery/log".
The actual phone seems to work fine if I boot it up, but that error just makes me wonder as I'm not sure how much of a problem it really is

Related

[TPT] CM10 Cannot wipe cache

Hi everyone, I recently rooted my 16GB WE TPT and installed cm10 v.0.8.1 and I love the performance and everything, if only there were no reboots. After reading in this forum I wanted to try to reinstall things from scratch wiping everything. For some reason I don't seem to be able to to anything with the data that is on my TPT. Neither can I do a factory reset from settings nor can I wipe data from Recovery. It doesn't display an error but it just doesn't delete anything. Then I tried to restore my backup from my original rom but this doesn't work either: it says error while restoring data (after recovery and system).
Can anyone help me? Could I have accidentally locked the data or anything?
Btw, Google Play has stopped working after my last try to restore stock and then install cm10 again.
In cwm you find under advanced a setting called "fix permissions". Try that
emuandco said:
In cwm you find under advanced a setting called "fix permissions". Try that
Click to expand...
Click to collapse
Doesn't do anything.
idewis said:
Doesn't do anything.
Click to expand...
Click to collapse
Hi, i had big problems with my Data-Partition. The Partition was read-only. No wipe with CWM was possible. Is that the same problem what you have? Do you have an logcat? Any error-messages?
Wiping was only possible with adb...
Here is my post: http://forum.xda-developers.com/showthread.php?t=1944759
When it is the same problem, it exist an solution...
Greetings
tpauli said:
Hi, i had big problems with my Data-Partition. The Partition was read-only. No wipe with CWM was possible. Is that the same problem what you have? Do you have an logcat? Any error-messages?
Wiping was only possible with adb...
Here is my post: http://forum.xda-developers.com/showthread.php?t=1944759
When it is the same problem, it exist an solution...
Greetings
Click to expand...
Click to collapse
I don't have the same error messages you have/had, but I could image that my data partition is also read only since I can neither delete or install anything. What did you do to get rid of that problem?
The solution was to completely format the data permission. This can't be done in CWM directly because CWM tries to keep the folder /data/media, which is your internal sd-card and only deletes the other files (That's obviously not formating). In the link you can find a zip files that you can "flash" in CWM, it will format the data partition and does nothing else. After using it you should also manually wipe the cache using CWM.
Like i said, this will include your internal sdcard! Make backups first if you have important data stored on it!
http://ubuntuone.com/4zKT1jqeqhR8qdGh2y4TaM
I need to clear it - if I do "wipe data/factory reset" in stock ICS recovery menu - will it cause deleting ROM (and reboot will make brick) OR just will get it back to clean factory ROM?
I found few threads here about "wipe data"-thing, but it seems to me, that every version of Android / custom ROM / recovery type could behave different.

[Solved] Encryption Unsuccessful Fix

Hi,
I tried to install CM10 on my Motorola Defy+ (MB526), which was successful to some extent.
When I tried to install the latest gapps through CWM, it froze at the starting applications part.
I force restarted it, seeing that there was no change for a while.
When I restarted the phone, it kept on rebooting, with limited functionality, so I downgraded to CM9.
An error message pops up which says with Encryption Unsuccessful. A reset button was available, but didn't help.
I then re-upgraded to CM10, but the phone has limited functionality.
After researching the problem, I realised that the /data partition is not mounted as it is probably corrupted.
Is there any fix to this problem? Will flashing a sbf recreate the /data partition?
Please advise as the phone is basically useless without /data (no apps and constant reboots)
Thanks,
neiljain
neiljain said:
Hi,
I tried to install CM10 on my Motorola Defy+ (MB526), which was successful to some extent.
When I tried to install the latest gapps through CWM, it froze at the starting applications part.
I force restarted it, seeing that there was no change for a while.
When I restarted the phone, it kept on rebooting, with limited functionality, so I downgraded to CM9.
An error message pops up which says with Encryption Unsuccessful. A reset button was available, but didn't help.
I then re-upgraded to CM10, but the phone has limited functionality.
After researching the problem, I realised that the /data partition is not mounted as it is probably corrupted.
Is there any fix to this problem? Will flashing a sbf recreate the /data partition?
Please advise as the phone is basically useless without /data (no apps and constant reboots)
Thanks,
neiljain
Click to expand...
Click to collapse
Hi Buddy,
I went through the same process last evening, earlier i was on 2nd boot then it was very slow hence I decided to move to CM9 for better UI and good battery life. but while doing so my phone also got encrypted.
I did following and installed CM9 yestrday night.
Removed SD card, read it through computer (CArd reader) and put CM9 in one folder along with GAPPS.
Charged my battery till green light pops up.
Entered the SD card again and then started the phone in Custome Recovery.
Full data Wipe
Dalvik Cache wipe
Install CM9 and Gapps.
again clear Cache and dalvik and reboot.
It should work, let me know if it doesnt work post that as well.
Regards,
Amit Sharma
Plz hit thanks button if this work
[email protected] said:
Removed SD card, read it through computer (CArd reader) and put CM9 in one folder along with GAPPS.
Charged my battery till green light pops up.
Entered the SD card again and then started the phone in Custome Recovery.
Full data Wipe
Dalvik Cache wipe
Install CM9 and Gapps.
again clear Cache and dalvik and reboot.
Click to expand...
Click to collapse
Hi,
If the /data partition is corrupted (which I believe it is), will this still work?
Also, did you get any "Can't mount /cache/recovery/command" errors in CWM at anytime.
Thanks,
neiljain
[email protected] said:
Hi Buddy,
I went through the same process last evening, earlier i was on 2nd boot then it was very slow hence I decided to move to CM9 for better UI and good battery life. but while doing so my phone also got encrypted.
I did following and installed CM9 yestrday night.
Removed SD card, read it through computer (CArd reader) and put CM9 in one folder along with GAPPS.
Charged my battery till green light pops up.
Entered the SD card again and then started the phone in Custome Recovery.
Full data Wipe
Dalvik Cache wipe
Install CM9 and Gapps.
again clear Cache and dalvik and reboot.
It should work, let me know if it doesnt work post that as well.
Regards,
Amit Sharma
Plz hit thanks button if this work
Click to expand...
Click to collapse
Hi,
I tried the above procedure, yet there was no success.
Please advise any alternative methods.
Thanks for your quick reply though.
Regards,
neiljain
neiljain said:
Hi,
I tried the above procedure, yet there was no success.
Please advise any alternative methods.
Thanks for your quick reply though.
Regards,
neiljain
Click to expand...
Click to collapse
remove SD card, log into Stable recovery mode. wipe data / factory reset and try rebooting.
if problem still persist, read your phone through RSD and flash CM7.2 file. let me know if you need link for the same.
It will work.
Regards,
Amit Sharma
This will format your data partition, be warned!
neiljain said:
Hi,
I tried to install CM10 on my Motorola Defy+ (MB526), which was successful to some extent.
When I tried to install the latest gapps through CWM, it froze at the starting applications part.
I force restarted it, seeing that there was no change for a while.
When I restarted the phone, it kept on rebooting, with limited functionality, so I downgraded to CM9.
An error message pops up which says with Encryption Unsuccessful. A reset button was available, but didn't help.
I then re-upgraded to CM10, but the phone has limited functionality.
After researching the problem, I realised that the /data partition is not mounted as it is probably corrupted.
Is there any fix to this problem? Will flashing a sbf recreate the /data partition?
Please advise as the phone is basically useless without /data (no apps and constant reboots)
Thanks,
neiljain
Click to expand...
Click to collapse
Boot to recovery and turn on adb (in Advanced). Open a shell on the phone through adb from a PC. Try to find out if data is mounted, and if so what filesystem type it uses:
Code:
$ adb shell
~ # mount|grep /data
/dev/block/mmcblk1p25 /data ext4 rw,nosuid,nodev,noatime,nodiratime,barrier=1,nobh,data=writeback 0 0
If /data is corrupted it will not be mounted. On my phone /data and /cache are formatted ext4, which is only supported in the latest CM10. If yours happens to be formatted ext4 as well and you want to go back to CM9 you'll have to reformat both to ext3. If /data is corrupted you can also reformat the filesystem as you don't seem to have data worth keeping on it anyway (seeing that you talk about doing a full SBF flash to 'recreate the /data partition'). This can be done manually or - if you have not nuked the scripts installed by CM10 - using one of the scripts made for that purpose. Those scripts live in /system/bootmenu/script:
Code:
~ # ls /system/bootmenu/script/|grep format
format_ext3.sh
format_ext4.sh
If you have access to these scripts you can just run format_ext3.sh to reformat /cache and /data in ext3:
THIS WILL FORMAT YOUR DATA PARTITION - ALL DATA WILL BE LOST!
Code:
~ # /system/bootmenu/script/format_ext3.sh
If you don't have access to them you can achieve the same effect using the following commands:
THIS WILL FORMAT YOUR DATA PARTITION - ALL DATA WILL BE LOST!
Code:
PART_CACHE=/dev/block/mmcblk1p24
PART_DATA=/dev/block/mmcblk1p25
umount /data
umount /cache
# if you want to check the filesystems you can run these commands...
#/system/bin/e2fsck -y $PART_DATA
#/system/bin/e2fsck -y $PART_CACHE
# to format the filesystems to ext3 use these commands
/system/bin/mke2fs -j $PART_DATA
/system/bin/mke2fs -j $PART_CACHE
mount -t ext3 -o nosuid,nodev,noatime,nodiratime,barrier=1 $PART_CACHE /cache
Once you have formatted /data and /cache you should be able to install CM9 - no need for any SBF flashing unless your phone is really messed up (as in 'deleted the stock kernel' or something like that).
THIS WILL FORMAT YOUR DATA PARTITION - ALL DATA WILL BE LOST! Or did I say that already?
No matter. THIS WILL FORMAT YOUR DATA PARTITION - ALL DATA WILL BE LOST! Just to be clear...
YetAnotherForumUser said:
Boot to recovery and turn on adb (in Advanced). Open a shell on the phone through adb from a PC.
Click to expand...
Click to collapse
Hi,
Highly appreciate your efforts.
I am new to Android, so could you please explain what "adb" is.
Thanks,
neiljain
SBF flash and data wipe in stock recovery should work too...
The other method is a bit more nondestructive, but probably harder for you
Sent from my MB526 using xda premium
thekguy said:
SBF flash and data wipe in stock recovery should work too...
Click to expand...
Click to collapse
Hi,
Could you please advise an SBF suitable for this.
I have a Defy+ that is locked to Telstra (Australia).
Thanks,
neiljain
Hi Everyone,
I will be taking the following steps to fix my Defy+.
I would like to reinstall CM9 (ICS) by quarx2k
Please advise if anything needs to be changed.
CWM
/data is corrupted, so no point in trying to wipe data and cache.
SBF
Flash DEFYPLUS_U3_4.5.1-134_DFP-231_CN_SIGN_UCADEFYEMARAB1B50AA009.0R_PDS03C_USAJRDNGIBRIRD15_P015_A030_Service1FF.sbf
Rooting
Flash firmware.sbf
2ndinit
Install SndInitDefy_2.3.apk
CWM
Wipe data and cache and Dalvik cache in recovery.
Install from zip CM9-NIGHTLY-120716-Defy+.zip
Install from zip gapps-ics-20120317-signed.zip
Install from zip Baseband_change(EP93_U_00.59.01).zip
Install from zip ICS_Defy_softunlock_v1.3(EPU_U_00.59.01).zip
Wipe cache and Dalvik cache
Reboot.
Thanks,
neiljain
Hi,
I tried flashing DEFYPLUS_U3_4.5.1-134_DFP-231_CN_SIGN_UCADEFYEMARAB1B50AA009.0R_PDS03C_USAJRDNGIBRIRD15_P015_A030_Service1FF.sbf.
The flash was successful, but the phone looping the boot animations, not actually loading Android.
I have also lost access to CWM and recovery.
Please help.
Thanks,
neiljain
[email protected] said:
remove SD card, log into Stable recovery mode. wipe data / factory reset and try rebooting.
if problem still persist, read your phone through RSD and flash CM7.2 file. let me know if you need link for the same.
It will work.
Regards,
Amit Sharma
Click to expand...
Click to collapse
Hi Amit,
Could you please send me the link to the CM7.2 SBF.
Highly appreciate your efforts.
Thanks,
neiljain
neiljain said:
Hi Amit,
Could you please send me the link to the CM7.2 SBF.
Highly appreciate your efforts.
Thanks,
neiljain
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1820282 its working, step by step guide, just flash the first SBF file through RSD lite and it should start. charge your battery first please.
All the best.
neiljain said:
Hi,
Could you please advise an SBF suitable for this.
I have a Defy+ that is locked to Telstra (Australia).
Thanks,
neiljain
Click to expand...
Click to collapse
adb is the Android Debug Bridge, a program running on both the phone as well as your PC which makes it possible to access your phone (through either a command line shell or some GUI-thing layered on top of it).
Are you also new to Linux and/or computers in general? In that case you're probably better off flashing the phone as detailed, even though that takes way more time and does involve more risks. If you feel comfortable running commands from a command line I'd advice you to install the ADK (Android Development Kit) on your PC, get adb working and run the commands as I explained. That way you regain access to your phone without all the hassle and risks involved in flashing all the way from SBF. Both methods work, so the end result should be the same.
I'm intentionally not going into excruciating detail on the task of installing and running adb as I don't think you should use your phone as a guinea pig to start experimenting with adb - for that use the emulator which comes with the ADK.
Success
Hi Everyone,
Thanks for your very helpful suggestions.
I was able to recover my phone after flashing the SBFs
Just to be on the safe side, I will stick with CM9.
I will also post the instructions on XDA for other people who have the same problem.
Once again, thanks everyone,
neiljain
neiljain said:
Hi Everyone,
Thanks for your very helpful suggestions.
I was able to recover my phone after flashing the SBFs
Just to be on the safe side, I will stick with CM9.
I will also post the instructions on XDA for other people who have the same problem.
Once again, thanks everyone,
neiljain
Click to expand...
Click to collapse
Thanks Buddy, I too stick to CM9, which is giving best battery 2 days and awesome UI. will move to CM 10 once we have stable version.
Njoy your Defy.
how were u able to flash any file... neither the bootmenu nor the recovery is working... please revert back.

CM10 - Can't install nandroid backup - "Error while restoring /system"

Dear all,
I was on Quarx CM10 build 20121118, then just tried this http://forum.xda-developers.com/showthread.php?t=2080556 and managed to kill my phone. I think what happened was that the data partition was full and an empty services.jar was written back. But whatever I thought I am a lucky guy because I did a full backup in custom recovery just the night before.
So I went into custom recovery, did a factory reset, wiped all I could and selected restore system and data.
But all I get is "Error while restoring /system" And "error while restoring android secure".
I spent the whole day searching the forum, found something about formatting system/data to ext3, tried that with no change.
Any help would be greatly appreciated. Would be even greater if you could explain the steps understandable for an idiot like me.
Thanks in advance,
Matthias
mmbytes said:
Dear all,
I was on Quarx CM10 build 20121118, then just tried this http://forum.xda-developers.com/showthread.php?t=2080556 and managed to kill my phone. I think what happened was that the data partition was full and an empty services.jar was written back. But whatever I thought I am a lucky guy because I did a full backup in custom recovery just the night before.
So I went into custom recovery, did a factory reset, wiped all I could and selected restore system and data.
But all I get is "Error while restoring /system" And "error while restoring android secure".
I spent the whole day searching the forum, found something about formatting system/data to ext3, tried that with no change.
Any help would be greatly appreciated. Would be even greater if you could explain the steps understandable for an idiot like me.
Thanks in advance,
Matthias
Click to expand...
Click to collapse
You can't restore nandroid of CM10/9, i dont know why, but i also can't restore cyanogenmod nandroid backups, stock roms backups are restoring fine, but cm - still no luck. PS: your system is ext3, because we have locked boot. Data and other partitions restoring fine except cm backups.
mmbytes said:
Dear all,
I was on Quarx CM10 build 20121118, then just tried this http://forum.xda-developers.com/showthread.php?t=2080556 and managed to kill my phone. I think what happened was that the data partition was full and an empty services.jar was written back. But whatever I thought I am a lucky guy because I did a full backup in custom recovery just the night before.
So I went into custom recovery, did a factory reset, wiped all I could and selected restore system and data.
But all I get is "Error while restoring /system" And "error while restoring android secure".
I spent the whole day searching the forum, found something about formatting system/data to ext3, tried that with no change.
Any help would be greatly appreciated. Would be even greater if you could explain the steps understandable for an idiot like me.
Thanks in advance,
Matthias
Click to expand...
Click to collapse
That's the point formatting system & data to ext3, but make sure don't wip data & cache after rom installed without reboot , since you're still under CM10's bootmenu.
Hope this helps .
Sent from my GT-N7100 using xda app-developers app
donf6938 said:
That's the point formatting system & data to ext3, but make sure don't wip data & cache after rom installed without reboot , since you're still under CM10's bootmenu.
Hope this helps .
Click to expand...
Click to collapse
Sorry, no. I do not understand what you mean. Could you please describe the steps?

[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?

Gt i9506 10 gb used by system after flashing.

hello there!
some months ago i tried a custom firmware on my 9506 (i think that was the first version of arya mod) but i didnt kinda like it so i downloaded again the stock fw and flashed it back.
i did my typicall "download the basic apps" routine and on the 4th app an "insufficient storage available" message appeared on my screen and i was like "lol whats wrong?" i checked on and i found that 10.6Gb was used by system.
Well i thought that i downloaded maybe a bugged stock rom and i didnt have the free time at the time to check whats wrong so i decided to live with it till i find some spare time to check it again.
Yesterday i downloaded and flashed the lineage os fw and i was sure that this would fix the problem...but...well it didnt..still 10.6 used by system.
i tried wipe EVERYTHING (dalvik/cache/system/internal) and reflashed again but still nothing,i flashed again the stock rom,still nothing, i searched online but i didnt find a solution, i downloaded diskusage app to see where are those 10gbs but i couldnt figure out where they where.
So if anyone knows anything or had the same or similar problem it would be great if he/she write here and give a solution or some tips.
Thanks in advance
Try format data from recovery.
Pwnycorn said:
Try format data from recovery.
Click to expand...
Click to collapse
Thanks for your reply!
You mean the wipe option or am i missing something?
I did wipe everything via twpr recovery from the "advanced wipe option" and checked everything except my sdcard and still nothing.
is there any other way to completly format it ? if so,then how i can do it?
bakos360 said:
Thanks for your reply!
You mean the wipe option or am i missing something?
I did wipe everything via twpr recovery from the "advanced wipe option"
Click to expand...
Click to collapse
There's a format data option there too.
Pwnycorn said:
There's a format data option there too.
Click to expand...
Click to collapse
lol i didnt see it and it was in front of my eyes!
i tried that too today but here is what is happening
Updating partition details...
...done
Full SELinux support is present.
Running boot script...
Done.
MTP enabled
E:unable to wipe '/data' -- unknown file system ' auto enable to format to remove encryption.
Mount media patd for recreate TWRP settings. /data/media/o
TWRP settings saved
Updating partition details...
...done..
for some reason it seems that its enable to format '/data'
any other option ? =/
bakos360 said:
lol i didnt see it and it was in front of my eyes!
i tried that too today but here is what is happening
Updating partition details...
...done
Full SELinux support is present.
Running boot script...
Done.
MTP enabled
E:unable to wipe '/data' -- unknown file system ' auto enable to format to remove encryption.
Mount media patd for recreate TWRP settings. /data/media/o
TWRP settings saved
Updating partition details...
...done..
for some reason it seems that its enable to format '/data'
any other option ? =/
Click to expand...
Click to collapse
Try flashing the stock ROM together with a PIT file
i fixed it guys
i flashed again cwm recovery and i formated EVERYTHING from there and then reflashed again the rom and gapps and that fixed the problem.
Thanks for your help !
For the record, CWM's incremental backup feature was what I believe was stealing your space. If you still have CWM on that device, make sure to set the default nandroid backup format to ".tar" instead of ".dup", clear out your nandroid backups, clear all the allocated space, and then upgrade to the latest version of TWRP.
CWM hasn't been updated in a few years now and has difficulty installing modern ROMs.
you are right i think.
if i recall corectly when i flashed that rom back then before the problem appeared, i used cwm recovery so yeah maybe thats the main reason that this happened.
i allready set the default backup to .tar and cleared out all the nandroid backups and i allready use TWRP now.
thanks for the tip mate!

Categories

Resources