Phone works but TWRP can't mount /data - Android Q&A, Help & Troubleshooting

Hello, I have this problem where TWRP is not able to mount /data, although the device still works without any other problems. This is preventing me to install XPosed, unfortunately. I have a custom ROM installed, although I can flash stock temporarily if required.
I've done an extensive Google search for this, and all the methods didn't help at all. TWRP can't repair nor reformat the data partition.
Here's the full log:
Code:
[COLOR="Red"]Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (No such device)
Unable to recreate /data/media folder.[/COLOR]
Updating partition details...
[COLOR="red"]Failed to mount '/data' (No such device)
Failed to mount '/preload' (Invalid argument)[/COLOR]
...done
Full SELinux support is present.
[COLOR="Red"]Unable to mount /data/media/TWRP/.twrps[/COLOR]
I'm running TWRP 3.0.2-1.
Thank you for your help.

erman1337 said:
Hello, I have this problem where TWRP is not able to mount /data, although the device still works without any other problems. This is preventing me to install XPosed, unfortunately. I have a custom ROM installed, although I can flash stock temporarily if required.
I've done an extensive Google search for this, and all the methods didn't help at all. TWRP can't repair nor reformat the data partition.
Here's the full log:
Code:
[COLOR="Red"]Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (No such device)
Unable to recreate /data/media folder.[/COLOR]
Updating partition details...
[COLOR="red"]Failed to mount '/data' (No such device)
Failed to mount '/preload' (Invalid argument)[/COLOR]
...done
Full SELinux support is present.
[COLOR="Red"]Unable to mount /data/media/TWRP/.twrps[/COLOR]
I'm running TWRP 3.0.2-1.
Thank you for your help.
Click to expand...
Click to collapse
have you checked your twrp recoverys fstab?
Sent from my LGLS676 using Tapatalk

I looked into the TWRP fstab, and noticed that the partition types didn't match, so I formatted the partition with the correct type and reflashed the ROM, and now everything is going smoothly. Thanks!

Related

[Q] Q: Mounting Problems In CWM

Hello,
I just unlocked my rooted prime and flashed the newest CWM via Rom Manager.
Now I can't backup my existing rom. Also I can't install any custom rom.
When I hit backup in CWM, it sais "Can't mount backup path"
When I hit install zip from SD, there is another error "Can't mount /sdcard/
I also tried TWRP Recovery, with no success.
Code:
E:failed to mount /data (Invalid argument)
-- Could not mount: /sdcard.
-- Aborting
Screenshots:
ttp://img37.imageshack.us/img37/561/img20120616114555.jpg
ttp://img801.imageshack.us/img801/2844/img20120616112128.jpg
Just for info: My device is still running stock rom and is encrypted.
Has anyone a solution for this?
Thank you for your help.
With best regards,
B-Paul
Restore is borked in the latest version of CWM. Push 5.8.2.0 and everything will be OK.
Just tried, still the same error message
Brausepaul said:
Code:
E:failed to mount /data (Invalid argument)
-- Could not mount: /sdcard.
-- Aborting
Click to expand...
Click to collapse
You can't mount /sdcard/ (which is a symlink to /data/media/) when device is encrypted, cwm/twrp do not know how to handle this.
edit: Looking at my Nexus, only way to step out of encryption is to use fastboot. It should work like this for the Prime as well.

Device memory damaged.

Hi All
I had my phone on charge overnight (as usual), but when I got up this morning, I had an error "Device memory damaged" on screen, it says "The data partition has been corrupted. You need to reset the device to factory defaults. This will erase all your data" and has a button marked "Reset device"
When I tap the button, it boots to recovery, TWRP scrolls some text on screen, it then reboots back to the same error screen.
If I manually boot into recovery and try to wipe data, I'm told
Code:
E: Could not mount /data and unable to find crypto footer.
E: Unable to mount '/data'
E: Unable to recreate /data/media folder.
Updating partition details...
E: Unable to mount '/data'
E: Unable to mount internal storage.
E: Unable to mount /data/media during GUI startup.
Full SELinux support is present.
E: Unable to mount /data/media/TWRP/. twrps when trying to read settings file.
E: Unable to mount '/data'
E: Unable to mount '/data'
E: Unable to wipe '/data'
Updating partition details...
E: Unable to mount '/data'
E: Unable to mount internal storage.
I tried flashing recovery-clockwork-6.0.4.6-i9300 via heimdall to see if that had any more success, but that failed too (although I'm not sure if that was due to the phone or my heimdall set-up).
I've spent most of the day trying to find a fix, but I'm just going around in circles.
The Phone is an i9300, and it was running UltimaROM 17.1
Any ideas how to get my phone working again?
~S
First flash the latest stock firmware for your country then factory reset in recovery before first boot.
If that fails then try the rescue firmware thread in general forum, use the 4 3 version and pit file that thread contains.
If that also fails then it sounds like your memory is indeed damaged.
I wouldn't advise anyone charge the battery in their phone overnight, the processor and nand memory is then running 24/7 and will obviously fail sooner
Sanukk said:
Hi All
I had my phone on charge overnight (as usual), but when I got up this morning, I had an error "Device memory damaged" on screen, it says "The data partition has been corrupted. You need to reset the device to factory defaults. This will erase all your data" and has a button marked "Reset device"
When I tap the button, it boots to recovery, TWRP scrolls some text on screen, it then reboots back to the same error screen.
If I manually boot into recovery and try to wipe data, I'm told
Code:
E: Could not mount /data and unable to find crypto footer.
E: Unable to mount '/data'
E: Unable to recreate /data/media folder.
Updating partition details...
E: Unable to mount '/data'
E: Unable to mount internal storage.
E: Unable to mount /data/media during GUI startup.
Full SELinux support is present.
E: Unable to mount /data/media/TWRP/. twrps when trying to read settings file.
E: Unable to mount '/data'
E: Unable to mount '/data'
E: Unable to wipe '/data'
Updating partition details...
E: Unable to mount '/data'
E: Unable to mount internal storage.
I tried flashing recovery-clockwork-6.0.4.6-i9300 via heimdall to see if that had any more success, but that failed too (although I'm not sure if that was due to the phone or my heimdall set-up).
I've spent most of the day trying to find a fix, but I'm just going around in circles.
The Phone is an i9300, and it was running UltimaROM 17.1
Any ideas how to get my phone working again?
~S
Click to expand...
Click to collapse
I have same problem but phone is s7 edge. Did you found a solution.
Unable to mount is a twrp issue. I've seen it many times before.
I have solved it on a custom rom by flashing an official clockworkmod recovery.
I have solved it on a stock firmware by flashing a stock recovery
I have solved it by flashing back to stock completely.
*I have read that some people cannot recover their phone from that state.*

[HELP] Mounting Internal SD, Bricked?

Hi,
I have a Galaxy S3 I9300, I was running Temasek CM12.1 - version 12.1 (http://forum.xda-developers.com/gal...-temasek-s-unofficial-cyanogenmod-12-t3086689).
All of a sudden my phone rebooted and is now stuck on the "Samsung Galaxy SIII" screen.
I CAN boot into download mode and recovery mode (I have TWRP 2.7.0.0 installed).
I CANT boot into Android or mount internal or external storage.
Ive tried to reflash CM12 by Temasek and CM11 by CyanogenMod and also a stock rom from SamMobile but ODIN keeps failing: http://pasteboard.co/2cyl2aKU.png
Before my phone stopped working I created a TWRP backup hoping it would backup my images and videos but when I check my external SD on my laptop I just shows my the following files (TWRP>BACKUPS>4df1b92257504f3d>2015-07-19--07-08-57 LMY47V test-keys):
Code:
boot.emmc.win
boot.emmc.win.md5
data.ext4.win000
data.ext4.win000.md5
data.ext4.win001
data.ext4.win001.md5
recovery.log
system.ext4.win
system.ext4.win.md5
When I launch TWRP and check the log it says the following:
Code:
E:Unable to find partition size for '/boot'
E:Unable to find partition size for '/recovery'
E:Primary block device '/dev/block/mmcblk0p12' for mount point '/data' is not present!
E:Unable to mount '/data'
E:Unable to recreate /data/media folder.
Updating partition details...
E:Unable to mount '/efs'
E:Unable to mount '/cache'
E:Unable to mount '/system'
E:Unable to mount '/data'
E:Unable to mount '/preload'
E:Unable to mount internal storage.
E:Unable to mount /data/media during GUI startup.
E:Unable to mount '/cache'
Full SELinux support is present.
E:Unable to mount /data/media/TWRP/.twrp when trying to read settings file.
E:Unable to mount '/data'
Is there a way to fix this, or force the phone to mount the internal storage?
I would like to backup/pull my PICTURES AND VIDEOS from the phone. Ive tried ADB pull but can't seem to get it to pull anything as the storage isn't mounted. However I can push files fine, I pushed a custom rom and tried to flash but still not able to flash from recovery either.
Or can someone point me in the direction of a specialist that can recover my images and videos.
Thanks in Advance all the help is appreciated.
Same here...
Hi, I have the same problem. If you have any solution I'll appreciate.
Harvinder09 said:
Hi,
I have a Galaxy S3 I9300, I was running Temasek CM12.1 - version 12.1 (http://forum.xda-developers.com/gal...-temasek-s-unofficial-cyanogenmod-12-t3086689).
All of a sudden my phone rebooted and is now stuck on the "Samsung Galaxy SIII" screen.
I CAN boot into download mode and recovery mode (I have TWRP 2.7.0.0 installed).
I CANT boot into Android or mount internal or external storage.
Ive tried to reflash CM12 by Temasek and CM11 by CyanogenMod and also a stock rom from SamMobile but ODIN keeps failing: http://pasteboard.co/2cyl2aKU.png
Before my phone stopped working I created a TWRP backup hoping it would backup my images and videos but when I check my external SD on my laptop I just shows my the following files (TWRP>BACKUPS>4df1b92257504f3d>2015-07-19--07-08-57 LMY47V test-keys):
Code:
boot.emmc.win
boot.emmc.win.md5
data.ext4.win000
data.ext4.win000.md5
data.ext4.win001
data.ext4.win001.md5
recovery.log
system.ext4.win
system.ext4.win.md5
When I launch TWRP and check the log it says the following:
Code:
E:Unable to find partition size for '/boot'
E:Unable to find partition size for '/recovery'
E:Primary block device '/dev/block/mmcblk0p12' for mount point '/data' is not present!
E:Unable to mount '/data'
E:Unable to recreate /data/media folder.
Updating partition details...
E:Unable to mount '/efs'
E:Unable to mount '/cache'
E:Unable to mount '/system'
E:Unable to mount '/data'
E:Unable to mount '/preload'
E:Unable to mount internal storage.
E:Unable to mount /data/media during GUI startup.
E:Unable to mount '/cache'
Full SELinux support is present.
E:Unable to mount /data/media/TWRP/.twrp when trying to read settings file.
E:Unable to mount '/data'
Is there a way to fix this, or force the phone to mount the internal storage?
I would like to backup/pull my PICTURES AND VIDEOS from the phone. Ive tried ADB pull but can't seem to get it to pull anything as the storage isn't mounted. However I can push files fine, I pushed a custom rom and tried to flash but still not able to flash from recovery either.
Or can someone point me in the direction of a specialist that can recover my images and videos.
Thanks in Advance all the help is appreciated.
Click to expand...
Click to collapse
i have the issue from today. did you find a solution?
Same issue. Unable to proceed further. Any help.. ???
Tried consulting samsung service they asked me to replace the motherboard which costs around 11k INR.
Harvinder09 said:
Hi,
I have a Galaxy S3 I9300, I was running Temasek CM12.1 - version 12.1 (http://forum.xda-developers.com/gal...-temasek-s-unofficial-cyanogenmod-12-t3086689).
All of a sudden my phone rebooted and is now stuck on the "Samsung Galaxy SIII" screen.
I CAN boot into download mode and recovery mode (I have TWRP 2.7.0.0 installed).
I CANT boot into Android or mount internal or external storage.
Ive tried to reflash CM12 by Temasek and CM11 by CyanogenMod and also a stock rom from SamMobile but ODIN keeps failing: http://pasteboard.co/2cyl2aKU.png
Before my phone stopped working I created a TWRP backup hoping it would backup my images and videos but when I check my external SD on my laptop I just shows my the following files (TWRP>BACKUPS>4df1b92257504f3d>2015-07-19--07-08-57 LMY47V test-keys):
Code:
boot.emmc.win
boot.emmc.win.md5
data.ext4.win000
data.ext4.win000.md5
data.ext4.win001
data.ext4.win001.md5
recovery.log
system.ext4.win
system.ext4.win.md5
When I launch TWRP and check the log it says the following:
Code:
E:Unable to find partition size for '/boot'
E:Unable to find partition size for '/recovery'
E:Primary block device '/dev/block/mmcblk0p12' for mount point '/data' is not present!
E:Unable to mount '/data'
E:Unable to recreate /data/media folder.
Updating partition details...
E:Unable to mount '/efs'
E:Unable to mount '/cache'
E:Unable to mount '/system'
E:Unable to mount '/data'
E:Unable to mount '/preload'
E:Unable to mount internal storage.
E:Unable to mount /data/media during GUI startup.
E:Unable to mount '/cache'
Full SELinux support is present.
E:Unable to mount /data/media/TWRP/.twrp when trying to read settings file.
E:Unable to mount '/data'
Is there a way to fix this, or force the phone to mount the internal storage?
I would like to backup/pull my PICTURES AND VIDEOS from the phone. Ive tried ADB pull but can't seem to get it to pull anything as the storage isn't mounted. However I can push files fine, I pushed a custom rom and tried to flash but still not able to flash from recovery either.
Or can someone point me in the direction of a specialist that can recover my images and videos.
Thanks in Advance all the help is appreciated.
Click to expand...
Click to collapse
It could be a borked nand but try to flash a stock rom via odin.
Sent from my HTC One M9 using Tapatalk
shivadow said:
It could be a borked nand but try to flash a stock rom via odin.
Click to expand...
Click to collapse
I have this too. Can't flash things. That is the issue.
joelunch said:
I have this too. Can't flash things. That is the issue.
Click to expand...
Click to collapse
can you get to download mode? . Will it take a flash?. Try an official clockworkmod recovery. Ages ago twrp did a number on my phone too, managed to flash cwmr and got it back.. I don't like twrp, it breaks phones.
Beamed in by telepathy.

[Q] Please help me guys! unable to mount storage error in twrp

hi guys ,
I'm using yu yuphoria which was running on lineage os 13.0 official nightly.
When I unlocked my phone tried to open playstore then suddenly many app were unfortunately stopping.
So I restarted my phone and after booting a message came that encryption problem and have to factory reset the phone.
So i wanted to recover my data in internal storage so booted to recovery (twrp) and then tried to do system reset, then an error came quoting
Failed to mount '/data' (Invalid argument)
Formatting cache using make_ext4fs...
Failed to mount '/cache' (Invalid argument)
Updating partition details...
Failed to mount '/system' (Invalid argument)
Failed to mount '/data' (Invalid argument)
Failed to mount '/cache' (Invalid argument)
...done
Unable to mount storage
I tried to flash the stock rom using command but the flashing process will complete but the phone wont boot up and twrp recovery isn't going anywhere.
I also tried to change the file type in advance wipe to ext4, fat, exfat......
nothing worked so please give me a solution guys.:crying:
thank you in advance.
courtesy im a beginner in flashing

TWRP on Swift 2x: Failed to mount '/data' (Invalid Argument)

Hi all.
I'm trying to make a last backup of the stock Android of my Swift 2x before flashing LineageOS. But TWRP (version 3.3.0-0) Seems unable to use the /data partition. I got various messages like:
Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (Invalid Argument)
I tried to format the partition: Wipe -> advanced wipe -> repair or change filesystem -> change filesystem -> ext4 but it didn't change anything.
What's wrong? What can I do?
Thanks a lot for any hint.
bumping this thread as I also ran into this issue.
When using TWRP, the data and system partitions can't be mounted. they also show up as being 0mb in size.
Because of this, no backups can be made and a full system wipe also yields errors.
What I did was change the filesystem to ext2 and then change it back again to ext4.
Doing this at least allowed me to flash crdroid, but making backups still doesn't work.
Whenever i go into TWRP again, it's the same thing again: unable to mount and partitions show up as 0 mb in size.
Anyone know what's causing this?
Wileyfox encrypts there data when you factory reset your device or after youve rooted your device .To get around this you need to do a factory reset using stock recovery once thats done then turn off the device. Then using minimum adb and fastboot type (fastboot boot twrp.img) that will boot your already installed twrp now erase data internal storage etc you'll notice you can finally delete stock os youll see internal storage is showing mbs available again etc worked for me perfectly.

Categories

Resources