HELP failed to unmount cache (device or resource busy) - Sony Xperia XA Questions & Answers

at first im just failing at wiping cache.
now i cant even restore my TWRP backup.
it is saying "Failed to unmount '/cache' (Device or resource busy)
now my phone got no OS :crying::crying::crying:

I was facing the same problem.recovery twrp>wipe>advance wipe and then select system>repare or change size>change file system>select FAT
after doing it try to restore your backup and if you get error the only way flash your phone to the last build number(avalaible for your phone) and then install twrp recovery(last version).
restoring backup should be work with this method.

you can try this method
Mount>select partitions to mount : cache
select cache and after doing it go for restoring.

R3yN said:
at first im just failing at wiping cache.
now i cant even restore my TWRP backup.
it is saying "Failed to unmount '/cache' (Device or resource busy)
now my phone got no OS :crying::crying::crying:
Click to expand...
Click to collapse
No need to restore /cache partition, exclude it The partition is used by TWRP that's why you can't unmount it.

I still have the same problem persisted. Can't wipe cache with this TWRP recovery. It says can't mount/unmont cache device or resource busy. Restore of the backup was impossible as well. Even when cache was excluded. Changing file types and repairing it also didn' work. In Mount cache is ticked permanently and it can't be unticked.

rrvuhpg said:
No need to restore /cache partition, exclude it The partition is used by TWRP that's why you can't unmount it.
Click to expand...
Click to collapse
Thanks man, i was having the same problem and for some reason, it didnt occur me to exclude the cache

omg i got that eror now, do u have new idea to fix it:crying: ?

Related

[Q] Unable to mount data partition read/write

Hey
I'm trying to change from Prime to Revolution ROMs, but during wiping, I seem to be hitting a problem. When coming to wipe /data, it says it can't remove bootanimation.zip. I'm trying to go in via adb and do this manually, but it won't seem to let me mount /data as read write.
I'm using adb shell while in recovery, and it isn't giving an error message, just constantly staying as ro. This is using clockword recovery 3.2.0.1.
Anyone know what else I can try?
Thanks for your help.
Do you want to give it a try with root explorer?
Forgot to mention, since I've tried wiping, it now just bootloops. Recovery is all I can get into.
edit:
Just to make it clearer what's happening, I'll do it step by step:
- Load recovery, and open adb shell on my PC
-Mount data in recovery, check it in adb shell and it shows it as read/write
-Go to delete a directory or file, and it say's it's read only, check mounts and it's gone back to ro
-If I unmount and remount, it will go back to being RW, but then the same as above happens.
-My problem is when I try to wipe or format in recovery, it gives an error saying it can't delete a certain file
Managed to fix it now. It appears that while using the Superwipe Full script for Revolution ROM, the file table got completely messed up. I used parted to reformat the data partition as ext2, and I can boot now.
I've managed to get that awful Rom (Destroyer) Manager off of my TF101G and have got Rogue on via PERI and now I'm trying to flash the stock ASUS ICS Rom but can't delete the Dalvik Cache because I'm unable to mount /data
Code:
- - Wiping all user data - -
Formatting /data...
Formatting /cache...
Formatting /sd-ext...
Formatting /sdcard/.android_secure
Cache wipe complete.
Formatting /cache...
Cache wipe complete.
Wiping dalvik-cache...
Error mounting /data!
I'm assuming that /data is stuck on read only?
Manually fixing permissions and then mounting /data also shows the same error.
HELP :crying:

Unable to mount /data

I've managed to get that awful Rom (Destroyer) Manager off of my TF101G and have got Rogue on via PERI and now I'm trying to flash the stock ASUS ICS Rom but can't delete the Dalvik Cache because I'm unable to mount /data
Code:
- - Wiping all user data - -
Formatting /data...
Formatting /cache...
Formatting /sd-ext...
Formatting /sdcard/.android_secure
Cache wipe complete.
Formatting /cache...
Cache wipe complete.
Wiping dalvik-cache...
Error mounting /data!
I'm assuming that /data is stuck on read only?
Manually fixing permissions and then mounting /data also shows the same error.
HELP :crying:
I have the same problem. I know what lead me to it.
Its an Asus SL101
I have cyanogenmod correctly installed. In order to install a megatron rom I downloaded their app called megatron apps. Trying to download a rom from them I got validation error at end of download and I make the stupidity of change the download dir from /mnt/sdcard to /sdcard and then when I restart again it doesn´t load and CWM recovery give me the same errors (unable to mount /data or unable to mount /sdcard when cleaning cache or trying to restore a backup ).
The only thing I have been able to do its to install Rogue XM Recovery 1.5.0 instead of CWM 6.x ) but the problem to apply an update or restore a backup persists.
Any idea ?
Aaargh.
After a year and a half of heavy CWM and TWRP usage, this has suddenly happened to me too, possibly after flashing the updated TWRP blob from Goo Manager (although that's conjecture at best). My ROM (RaymanFX' CM10 v6) is fine in everyday use - no problems whatsoever, but now I want to update, and my recovery won't let me.
In the hope that something simply went wrong during recovery blob flash, I successfully deleted TWRP and flashed a different recovery (latest CWM) from ROM Manager, but the new recovery can't mount anything either - neither sd card, data, or cache. The error messages are more or less identical to TWRP's errors. My system MAY be readable, but I can't backup or restore or flash anything anyway, so I don't dare format it.
I don't have a Windows PC, so I haven't tried Easy Flasher. I could try it on my work computer if there's no way around it and if neither OSX or Ubuntu can help.
Any suggestions?

[Q] CWM cache wipe -> storage corruption?

So I was going to take a nandroid of my Nexus 5 in order to transfer to my RMA device. I have found that device swaps usually go over better using CWM for nandroid instead of TWRP. So I flashed the latest CWM from ROM Manager and booted into it.
I figured I would save space if I blanked the cache, so I initiated a cache wipe. The display become a broken-up Android picture, and the cache wipe did not complete in minutes. I long pressed power to boot into the OS and found that - uh oh - the entire sdcard folder was inaccessible. All app data appeared to be intact but no app could read or write the sd.
Did I just completely bork all my internal storage? Any possible rescue path?
EDIT: OK I flashed recovery over to TWRP and its file manager still shows all my files. So all is not lost. But something went wonky and the OS is confused now.
In TWRP when I try a cache wipe I get:
Updating partition details...
E:unable to mount '/cache'
E:unable to mount '/cache'
E:unable to mount '/cache'
Formatting Cache using make_ext4fs function.
And it sits there chugging the status bar. Been over a minute now.
Aha okay, it finished. Fingers crossed... Yeah OK it's fine now on another full boot.
Still a bit strange though. Normally on any other device I've owned, a cache wipe was a simple matter.
cmstlist said:
a cache wipe was a simple matter.
Click to expand...
Click to collapse
Its an issue on the nexus 5 for some reason, took 5-10 min on my phone before but i think it was fixed in the latest twrp.
peachpuff said:
Its an issue on the nexus 5 for some reason, took 5-10 min on my phone before but i think it was fixed in the latest twrp.
Click to expand...
Click to collapse
Yes, on TWRP 2.6.3.4 it took 5-10 minutes but fixed it. It would seem that there is a simple cache wipe versus fully formatting the partition. If the first fails to work, it proceeds to the full format.

stuck at formatting cache in twrp

I was trying to format my cache because i got the error: unable to mount storage/ .But now I`m stuck at formatting and I`m getting the error: "E:recv error on
uevent" every time.
I hope somebody could help me, I need this phone
lxqvid said:
I was trying to format my cache because i got the error: unable to mount storage/ .But now I`m stuck at formatting and I`m getting the error: "E:recv error on
uevent" every time.
I hope somebody could help me, I need this phone
Click to expand...
Click to collapse
You can't format "cache" it's just a folder. Do you mean formatting a partition? If so, you cannot mount or format a partition that is in use.
You can wipe /clear the cache.....
cooltt said:
You can't format "cache" it's just a folder. Do you mean formatting a partition? If so, you cannot mount or format a partition that is in use.
You can wipe /clear the cache.....
Click to expand...
Click to collapse
dont really know what I did, but somebody in a vid said to do so, so i can install a rom. I waited until my battery is empty and restarted the phone. Now twrp doesnt starts anymore. Already installed another version of twrp, does not work, too.

How repair internal Partitions? :(

Hello everyone, thanks for the help in advance
When trying to do a factory reset on my phone, the computer restarted and it seems that my recovery was deleted
I installed the TWRP by fastboot, until there everything ok
when deleting the data, it gave an error "Failed to Mount" / preload "(Invalid argument)
and since there everything went wrong,
I tried reinstalling the rom, and it doesn't work
I tried to reinstall the backup I had and neither
always the same error when doing wipe "Failed to Mount" / preload "(Invalid argument)
I tried to change the partition format according to what I read and I can't solve it
Any suggestions? Thanks for your time

Categories

Resources