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?
Hi!!
Anyone knows how can i fix the partitions of my HTC One (M7)
In Recovery I have this
E: Unable to mount storage.
E: Unable to mount '/data'
E: Failed to wipe dalvik
E: Unable to mount '/devlog'
I need help with fixing E unable to recreate and - sec folder
method1911 M8
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
Hey, here's my situation:
Device: L90 405n
TWRP recovery
CM13
No SD-Card present
Tried to "encrypt phone" from the settings menu, the encryption step seemed to finish fine. However after the phone reboots and I enter my passcode, it hangs on the CM loader logo forever.
I thought this was a lost deal, especially after looking through the forums where the only recommendation is to wipe clean and reinstall.
And when I try to enter recovery, I can only get to the default "factory reset" and not TWRP recovery.
BUT
I can decrypt phone with a passcode I have
I can take screenshots on that passcode screen, so some things are working
After entering encryption passcode, and while the phone is showing CM logo, I can (briefly) see device as online using `adb devices` command, after about a minute
I can reboot into TWRP recovery by running `adb reboot recovery`
While in recovery, I'm able to see this in terminal:
Code:
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder.
Updating partition details...
Failed to mount '/data' (Invalid argument)
Unable to mount storage
Failed to mount '/data' (Invalid argument)
Full SELinux support is present.
Failed to mount '/data/media/TWRP/.twrps'
MTP Enabled
Is there anything I could do to recover my data, or is it a lost cause?
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