Can't mount /data or /cache - Nexus 6 Q&A, Help & Troubleshooting

Hey guys, I have a Nexus 6 that is bootloader locked not being able to be unlocked because of "Enable OEM Unlock" not being ticked, TWRP installed, and no OS able to boot. TWRP says it cannot mount /data or /cache, therefor no roms can install properly. I'm at a complete standstill as I cannot install any roms to tick off Enable OEM Unlock, or flash a stock image via fastboot.
Here are some logs from TWRP:
Here is the output from trying to format /data and /cache in TWRP:
Code:
E:Unable to mount storage.
E:Unable to mount /data/media during GUI startup.
E:Unable to mount '/cache'
Full SElinux support is present.
E:Unable to mount '/cache'
E:Unable to mount '/cache'
E:Unable to mount /data/media/TWRP/.twrps when trying to read settings file.
E:Unable to mount '/data'
MTP Enabled
E:Unable to mount '/data'
E:Unable to mount '/data'
E:Unable to mount '/data'
E:Unable to mount '/data'
E:Unable to mount '/cache'
E:Unable to mount '/cache'
E:Unable to mount '/cache'
E:Unable to mount '/data'
E:Unable to mount '/cache'
E:Unable to mount '/data'
E:Unknown MTP message type: 1
E:Unable to wipe '/data'
Updating partition details...
E:Unable to mount '/data'
E:Unable to mount '/cache'
...done
E:Unable to mount storage.
Here is the output from attempting to install a rom in TWRP:
Code:
E:Could not mount /data and unable to find crypto footer.
Updating partition details...
E:Unable to mount '/data'
E:Unable to mount '/cache'
...done
E:Unable to mount storage.
E:Unable to mount /data/media during GUI startup.
E:Unable to mount '/cache'
Full SElinux support is present.
E:Unable to mount '/cache'
E:Unable to mount '/cache'
E:Unable to mount /data/media/TWRP/.twrps when trying to read settings file.
E:Unable to mount '/data'
MTP Enabled
E:Unable to mount '/data'
E:Unable to mount '/data'
Installing '/usb-otg/Slim-shamu-5.1.1.alpha.0.1-UNOFFICIAL-20150430.zip'...
Checking for MD5 file...
Skipping MD5 Check: no MD5 file found
mount: failed to mount /dev/block/platform/msm_sdcc.1/by-user/userdata at /data: Invalid argument
unmount of /data failed; no such volume
Patching system image unconditionally...
script succeeded: result was [0.200000]
Updating partition details...
E:Unable to mount '/data'
E:Unable to mount '/cache'
...done
Any help in this matter would be greatly appreciated. Thank you in advance!

@RealROGWaffle since you really don't have any other options, format data in TWRP. Then try fastboot format userdata and fastboot format cache.

Evolution_Tech said:
@RealROGWaffle since you really don't have any other options, format data in TWRP. Then try fastboot format userdata and fastboot format cache.
Click to expand...
Click to collapse
No dice, my friend. Formats data with seemingly no issues (with no errors, that is), but fastboot format userdata and fastboot both fail WRITE due to locked bootloader and /data and /cache still will not mount after booting into TWRP again.

RealROGWaffle said:
No dice, my friend. Formats data with seemingly no issues (with no errors, that is), but fastboot format userdata and fastboot both fail WRITE due to locked bootloader and /data and /cache still will not mount after booting into TWRP again.
Click to expand...
Click to collapse
Did you try just a reboot after format?

Related

[Q] Splash screen lock up & mounting issues

Hi folks,
I rooted my GT-P7300 and upgraded it to Jellybean (cm-10-20120804-UNOFFICIAL-p5) without problem (besides picasa sync not working), I noticed there was a later version cm-10-20120808-UNOFFICIAL-p5 and that's when it all went wrong
Now my tab locks up at the samsung galaxy tab splash screen.
I can go in recovery mode (running CWM v5.5.0.4) - Odin seems to be OK as this is how I installed CWM recovery
Wiping dada gives me the following
--Wiping Data...
Formatting /data...
Error mounting data!
Skipping format...
Formatting /cache...
Formatting /sd-ext...
Formatting /sdcard/.android_secure...
Error mounting sdcard/.android_secure...
Skipping format...
Data wipe complete
I tried moving back to stock recovery, but it has problems from the get go :
-- updating application...
E:failed to mount /system (invalid argument)
E:install_application_for_customer:Cant mount /system
copy application failed
-- appling Multi-CSC...
E:failed to mount /system (invalid argument)
E:install_application_for_customer:Cant mount /system
E:failed to mount /system (invalid argument)
E:multi_csc:cant mount /system
I'm kindda stuck now. so if anyone has somme smart suggestion...
fixed
larryhk said:
Hi folks,
I rooted my GT-P7300 and upgraded it to Jellybean (cm-10-20120804-UNOFFICIAL-p5) without problem (besides picasa sync not working), I noticed there was a later version cm-10-20120808-UNOFFICIAL-p5 and that's when it all went wrong
Now my tab locks up at the samsung galaxy tab splash screen.
I can go in recovery mode (running CWM v5.5.0.4) - Odin seems to be OK as this is how I installed CWM recovery
Wiping dada gives me the following
--Wiping Data...
Formatting /data...
Error mounting data!
Skipping format...
Formatting /cache...
Formatting /sd-ext...
Formatting /sdcard/.android_secure...
Error mounting sdcard/.android_secure...
Skipping format...
Data wipe complete
I tried moving back to stock recovery, but it has problems from the get go :
-- updating application...
E:failed to mount /system (invalid argument)
E:install_application_for_customer:Cant mount /system
copy application failed
-- appling Multi-CSC...
E:failed to mount /system (invalid argument)
E:install_application_for_customer:Cant mount /system
E:failed to mount /system (invalid argument)
E:multi_csc:cant mount /system
I'm kindda stuck now. so if anyone has somme smart suggestion...
Click to expand...
Click to collapse
Fixed using Odin to flash a stock ROM
Same Problem!
Can u help me with a guide? I have GT-I9070P 16G. THANK'S!

Can't sideload//mount/see files. Soft bricked

After flashing Revolution HD 71.1 ROM through CWM I proceeded to get stuck at the HTC logo screen, and cannot get passed it. I have flashed many roms in the past and hadn't changed anything, and this is coming off of Eragon ROM. I also was unable to even get into recover, it would show the CWM logo and then just restart the phone. I got TWRP working, but I'm still having some issues. I am unable to mount the sdcard, and no files are able to be seen on the sdcard.
When I try to sideload I get this error (some of it was cut off I put what I could):
E:Unable to mount '/data'
E:Unable to recreate /data/media folder.
Updating partition details...
E:Unable to mount '/cache'
E:Unable to mount '/data'
E:Unable to mount internal storage.
E:Unable to mount /data/media during GUI startup
E:Unable to mount '/cache'
E:TWFunc : : Copy_Log -- Can't open destination lo
E:Unable to mount '/cache'
E:Unable to mount /data/media/TWRP/.twrps when
E:Unable to mount '/data'
E:Unable to mount '/usb-otg'
E:Unable to mount '/usb-otg'
E:Unable to mount '/usb-otg'
E:Unable to mount '/usb-otg'
E:Unable to mount '/data'
I'm trying to get back to eragon ROM since I knew that worked, or anything really. I tried pushing the .zip file of the ROM through abd and while it did say the transfer completed, I was still unable to see the file in recovery. I'm unsure of what to do. after searching around some it may be a corrupt SD partition or something like that? I'm really unsure. Any help would be appreciated.
flash twrp recovery 2.6.3.3
fastboot erase cache
fastboot reboot-bootloader
Seanie280672 said:
flash twrp recovery 2.6.3.3
fastboot erase cache
fastboot reboot-bootloader
Click to expand...
Click to collapse
Seems switching from 2.6.3.0 to 2.6.3.3 did the trick.. odd. but awesome. thank you

Moto G - 2014 - Rooted - Encrypted - TWRP - Install Cyanogen?

I'm trying to install Cyanogen Mod on my phone. Unfortunately it fails due to the following
Code:
E:Unable to mount '/data'
E:Unable to recreate /data/media folder.
Updating partition details. . .
E:Unable to mount '/data'
. . . done
E:Unable to mount 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'
MTP Enabled
E:Unable to mount '/data'
E:Unknown MTP message type: 1
E:Unable to wipe '/data'
Updating partition details . . .
E:Unable to mount '/data'
. . . done
I cannot factory restore to get rid of the encrypted partition, TWRP cannot factory reset, nothing in advanced options seems to do it, I cannot install Cyanogen as it fails. It seems that the /data directory is mounted by the phone as /dev/block/dm-0 but when I open an adb shell in recovery, there is no /dev/block/dm-0.
Please help!
Not_Technically_Minded! said:
I'm trying to install Cyanogen Mod on my phone. Unfortunately it fails due to the following
Code:
E:Unable to mount '/data'
E:Unable to recreate /data/media folder.
Updating partition details. . .
E:Unable to mount '/data'
. . . done
E:Unable to mount 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'
MTP Enabled
E:Unable to mount '/data'
E:Unknown MTP message type: 1
E:Unable to wipe '/data'
Updating partition details . . .
E:Unable to mount '/data'
. . . done
I cannot factory restore to get rid of the encrypted partition, TWRP cannot factory reset, nothing in advanced options seems to do it, I cannot install Cyanogen as it fails. It seems that the /data directory is mounted by the phone as /dev/block/dm-0 but when I open an adb shell in recovery, there is no /dev/block/dm-0.
Please help!
Click to expand...
Click to collapse
Try to select data in advanced wipe and change it's file system to F2FS.
Just tried that.
Code:
E:Unable to mount '/data'
E:Unable to recreate /data/media folder.
Updating partition details. . .
E:Unable to mount '/data'
. . . done
E:Unable to mount 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'
MTP Enabled.
E:Unable to mount '/data'
E:Unknown MTP message type: 1
E:Error changing file system.
Updating partition . . .
E:Unable to mount '/data'
. . . done
Typos are my own as if I try and save the file it tries to save to /data
Not_Technically_Minded! said:
Just tried that.
Code:
E:Unable to mount '/data'
E:Unable to recreate /data/media folder.
Updating partition details. . .
E:Unable to mount '/data'
. . . done
E:Unable to mount 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'
MTP Enabled.
E:Unable to mount '/data'
E:Unknown MTP message type: 1
E:Error changing file system.
Updating partition . . .
E:Unable to mount '/data'
. . . done
Typos are my own as if I try and save the file it tries to save to /data
Click to expand...
Click to collapse
Try:
make_ext4fs /dev/block/platform/msm_sdcc.1/by-name/userdata
mkfs.f2fs /dev/block/platform/msm_sdcc.1/by-name/userdata
Click to expand...
Click to collapse
in TWRP terminal
Yeah! That's a step forward! I have a new error lol once trying to install CM.
Code:
This package supports bootloader(s):0x4882, 0x4883, 0x4886; this device has bootloader 0x4807.
E:Error executing updater binary in zip '/sdcard1/cm-12.1-20151117-SNAPSHOT-YOG7DA01K5-titan.zip'
Error flashing zip '/sdcard1/cm-12.1-20151117-SNAPSHOT-YOG7DA01K5-titan.zip'
Just tried to follow this http://forum.xda-developers.com/moto-g-2014/general/bootloader-update-t3060007/ to see if it improved anything. Same error.
Ah, the vital step I missed was "Once bootloader has been updated, reboot into bootloader and select recovery again".
Cyanogen is stuck in a bootloop with the cyan head with the waves coming out of it. Any further ideas?
Not_Technically_Minded! said:
Ah, the vital step I missed was "Once bootloader has been updated, reboot into bootloader and select recovery again".
Cyanogen is stuck in a bootloop with the cyan head with the waves coming out of it. Any further ideas?
Click to expand...
Click to collapse
Hmm, did you format it to F2FS back again?
Just to confirm, I should format /data to F2FS in TWRP?
Not_Technically_Minded! said:
Just to confirm, I should format /data to F2FS in TWRP?
Click to expand...
Click to collapse
yes
So I've just formatted data as F2FS and reinstalled CM + Gapps, let's see how it goes!
Edit: Still can't get beyond the splash screen.
Not_Technically_Minded! said:
So I've just formatted data as F2FS and reinstalled CM + Gapps, let's see how it goes!
Edit: Still can't get beyond the splash screen.
Click to expand...
Click to collapse
Hmm, can you try booting after fastboot -w?
Done that; not the expected message that came up?
Code:
erasing 'userdata'...
OKAY [ 0.653s]
formatting 'userdata' partition...
Erase successful, but not automatically formatting.
File system type raw not supported.
OKAY [ 0.001s]
erasing 'cache'...
OKAY [ 0.137s]
formatting 'cache' partition...
Erase successful, but not automatically formatting.
File system type raw not supported.
OKAY [ 0.001s]
finished. total time: 0.792s
Talking about the filesystem of 'raw'? Doesn't seem to have changed anything? Still just on the splash screen.
Not_Technically_Minded! said:
Done that; not the expected message that came up?
Code:
erasing 'userdata'...
OKAY [ 0.653s]
formatting 'userdata' partition...
Erase successful, but not automatically formatting.
File system type raw not supported.
OKAY [ 0.001s]
erasing 'cache'...
OKAY [ 0.137s]
formatting 'cache' partition...
Erase successful, but not automatically formatting.
File system type raw not supported.
OKAY [ 0.001s]
finished. total time: 0.792s
Talking about the filesystem of 'raw'? Doesn't seem to have changed anything? Still just on the splash screen.
Click to expand...
Click to collapse
Ahh! Optimizing apps!
Could you kindly confirm your personal paypal is the one mentioned in your signature?
The effort and time you've put in is worthy of a beer.
Ohhh! What a Newbie I am! I forgot to add root to the list of apps I need. Can I just go back and install it or do I need to reflash everything again? What's the 'best' root app at this point in time please?
Not_Technically_Minded! said:
Could you kindly confirm your personal paypal is the one mentioned in your signature?
The effort and time you've put in is worthy of a beer.
Click to expand...
Click to collapse
Yup it is my actual PP.
Not_Technically_Minded! said:
Ohhh! What a Newbie I am! I forgot to add root to the list of apps I need. Can I just go back and install it or do I need to reflash everything again? What's the 'best' root app at this point in time please?
Click to expand...
Click to collapse
You can enable root in the developer settings.
Wonderful. Thanks.
I made the stupid mistake of encrypting my device (why must I feel so security conscious?!). This means that you cannot flash anything in recovery. Is there a work around for this?
Not_Technically_Minded! said:
Wonderful. Thanks.
I made the stupid mistake of encrypting my device (why must I feel so security conscious?!). This means that you cannot flash anything in recovery. Is there a work around for this?
Click to expand...
Click to collapse
The TWRP images I provide for multirom stuff are mounting encrypted /data just fine but I'm not sure why encrypted data would prevent /system from being flashed...
Any ideas as to what's causing this?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Answer: RTFM. I found a answer which says to use the latest alpha. Alas, it appears to work. I don't normally like bleeding edge stuff, prefer stable. Debian > Ubuntu

Failed to mount cust, system vendor, product, version

Hi everyone,
I did a disaster My Huawey P9 have no OS installed. I can only enter into TWRP 3.1.0-3 version.
The TWRP write:
Updating partition details...
Failed to mount '/cust' (Invalid argument)
Failed to mount '/system' (Invalid argument)
Failed to mount '/vendor' (Invalid argument)
Failed to mount '/product' (Invalid argument)
Failed to mount '/version' (Invalid argument)
...done
Full SELinux support is present.
MTP Enableb
What can I do to install the OS and unbrick the phone? Can you help me step by step?
Thank you very much
Have you fixed this? if so, could you tell me how?

Verification Fail after booting Tab S2

Please bear with this lengthy description of my problem.
I successfully rooted my stock Samsung Galaxy Tab S2 SM-T713 Nougat but made 2 mistakes in the process. I neglected to copy the Build Number for the tablet and, after rooting and checking that everything worked OK, I turned off OEM unlock. The next time I started the tablet I got the message "Verification Failed, Unable to restart your device" with a yellow triangle! The tablet was bricked.
Since I did not know the build number for the stock rom, I found an flashed a supposedly “generic” JazzRom which brought the tablet back to life and it was unrooted. I was able to discover that the stock rom (T713XXU2BRB2) which I downloaded and flashed, I then flashed TWRP. So far so good.
I then booted into TWRP recovery and tried to do a factory wipe which produced a number of errors:
Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder.
Updating partition details...
Failed to mount '/data' (Invalid argument)
...done
Unable to mount storage
Failed to mount '/data' (Invalid argument)
Full SELinux support is present.
Unable to mount /data/media/TWRP/.twrps
MTP Enabled
Failed to mount '/data' (Invalid argument)
Formatting Cache using make_ext4fs...
Updating partition details...
Failed to mount '/data' (Invalid argument)
...done
Unable to mount storage
I then flashed SuperSU and when the tablet restarted I got "Verification failed. Unable to restart your device. The integrity verification has failed. You need to reset your device to factory default settings. This will erase all your data."
Now, my question is - can this be fixed?
kgash said:
please bear with this lengthy description of my problem.
I successfully rooted my stock samsung galaxy tab s2 sm-t713 nougat but made 2 mistakes in the process. I neglected to copy the build number for the tablet and, after rooting and checking that everything worked ok, i turned off oem unlock. The next time i started the tablet i got the message "verification failed, unable to restart your device" with a yellow triangle! The tablet was bricked.
Since i did not know the build number for the stock rom, i found an flashed a supposedly “generic” jazzrom which brought the tablet back to life and it was unrooted. I was able to discover that the stock rom (t713xxu2brb2) which i downloaded and flashed, i then flashed twrp. So far so good.
I then booted into twrp recovery and tried to do a factory wipe which produced a number of errors:
Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (invalid argument)
unable to recreate /data/media folder.
Updating partition details...
Failed to mount '/data' (invalid argument)
...done
unable to mount storage
failed to mount '/data' (invalid argument)
full selinux support is present.
Unable to mount /data/media/twrp/.twrps
mtp enabled
failed to mount '/data' (invalid argument)
formatting cache using make_ext4fs...
Updating partition details...
Failed to mount '/data' (invalid argument)
...done
unable to mount storage
i then flashed supersu and when the tablet restarted i got "verification failed. Unable to restart your device. The integrity verification has failed. You need to reset your device to factory default settings. This will erase all your data."
now, my question is - can this be fixed?
Click to expand...
Click to collapse
FORMAT /data
ashyx said:
FORMAT /data
Click to expand...
Click to collapse
Thank you. Actually I had to format twice for some reason. The tablet is now rooted and everything is now working great.
kgash said:
Please bear with this lengthy description of my problem.
I successfully rooted my stock Samsung Galaxy Tab S2 SM-T713 Nougat but made 2 mistakes in the process. I neglected to copy the Build Number for the tablet and, after rooting and checking that everything worked OK, I turned off OEM unlock. The next time I started the tablet I got the message "Verification Failed, Unable to restart your device" with a yellow triangle! The tablet was bricked.
Since I did not know the build number for the stock rom, I found an flashed a supposedly “generic” JazzRom which brought the tablet back to life and it was unrooted. I was able to discover that the stock rom (T713XXU2BRB2) which I downloaded and flashed, I then flashed TWRP. So far so good.
I then booted into TWRP recovery and tried to do a factory wipe which produced a number of errors:
Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder.
Updating partition details...
Failed to mount '/data' (Invalid argument)
...done
Unable to mount storage
Failed to mount '/data' (Invalid argument)
Full SELinux support is present.
Unable to mount /data/media/TWRP/.twrps
MTP Enabled
Failed to mount '/data' (Invalid argument)
Formatting Cache using make_ext4fs...
Updating partition details...
Failed to mount '/data' (Invalid argument)
...done
Unable to mount storage
I then flashed SuperSU and when the tablet restarted I got "Verification failed. Unable to restart your device. The integrity verification has failed. You need to reset your device to factory default settings. This will erase all your data."
Now, my question is - can this be fixed?
Click to expand...
Click to collapse
Im glad you work it out. Quick question for, my friend, did you rooted t713 with the latest nougat update ->
NRD90M.T713XXU2BRB2?
Thx
netgar said:
Im glad you work it out. Quick question for, my friend, did you rooted t713 with the latest nougat update ->
NRD90M.T713XXU2BRB2?
Thx
Click to expand...
Click to collapse
Yes I did.
I am trying to odin the new T713 firmware but for some reason odin keeps failing in the end. Is there a certain odin I should be using?
Danilynne said:
I am trying to odin the new T713 firmware but for some reason odin keeps failing in the end. Is there a certain odin I should be using?
Click to expand...
Click to collapse
Post up the errors so there's more to go on.
Thanks I finally got it, I had the wrong firmware, I needed xarbrb2.
Sent from my SM-N950U using XDA Free mobile app

Categories

Resources