[Q] data is not able to be mounted - One (M8) Q&A, Help & Troubleshooting

please help!
for some reason, I can not flash or restore anything. I can get into TWRP (2.7.0.2), but when I try to install or restore, the phone errors, stating unable to mount /data. Can I do something from ADB to help this? so I may be able to get something flashed and use the phone?

zosopage said:
please help!
for some reason, I can not flash or restore anything. I can get into TWRP (2.7.0.2), but when I try to install or restore, the phone errors, stating unable to mount /data. Can I do something from ADB to help this? so I may be able to get something flashed and use the phone?
Click to expand...
Click to collapse
To add
verizon M8
twrp 2.7.0.2 (for the M8)
I have tried sideloading, etc.... anyone have any suggestions? are ROMS that use aroma ok to sideload?
when it goes into HBOOT, I see a quick green message stating something about no image...
I have been able to mount system, cache data and micro sd card
when I try to restore from a backup, it states failed when restoring data.
Not sure if total mobile protection will cover this...

Related

[Q] Unable to push files to sdcard after bootloop

I have been busy today with a nasty problem, i hope you anyone can help me out.
I was running JDROID's custom rom with great satisfaction, had it backupped. The trouble started when i downloaded an other rom and forgot to place the rom (.zip) on my sdcard before i flashed the boot.img via flashboot.
By that time i didnt knew how to use ADB commands, so i decided that i would forget about the new rom and i would restore my working backup. (im using CWM)
After restoring that backup a bootloop occured, so tried lots of things like wiping the cache. Also ive tried to restore the backup after lots of full wipes ect. Even installing JDROID's latest rom witch i had on my sdcard dindt help. Still had a bootloop.
I managed to use ADB when my phone was switched off, and i pushed a rom.zip to sdcard. But CWM cant seem to find it.
My question is this: in CWM there is an option to "mount USB storage". When i use it i get the message "unable to open ums lunfile". I have tried formatting the sdcard, whereby i deleted my backups still didnt work.
What whould you guys try next?
relock the bootloader and run an ruu appropriate to your cid

[Q] Ext partition error. Unable to wipe data, install zips and restore backups

Okay, this error have been annoying me the whole day. I have a Xperia SL rooted with .55. Everything was working completely great. Today I just tryied to restore a backup with CWM recovery, and I got this error.
Code:
E: format_volume: make_extf4fs failed on /dev/block/mmcblk0p12
I can't wipe data and I can't install any MOD or ROM properly because of that.
The most strange thing is that I don't even have a ext sd slot. I don't know why I'm getting this error.
I've been searching for fixes and all I got was completely random fixes from people that mostly doesn't even know how did they fix it. Even though, those doesn't work for me.
* I figured out that when I go on FORMAT /DATA, after that, I can wipe data, and I can (re)install the room again without any error. The problem is after I reboot the system, the error comes back, and I need to format /data if I want to install anything again without errors.
Try flash .ftf with flashtool. Wipe all.
Sent from my LT26i using Tapatalk 2
drixjp said:
Okay, this error have been annoying me the whole day. I have a Xperia SL rooted with .55. Everything was working completely great. Today I just tryied to restore a backup with CWM recovery, and I got this error.
Code:
E: format_volume: make_extf4fs failed on /dev/block/mmcblk0p12
I can't wipe data and I can't install any MOD or ROM properly because of that.
The most strange thing is that I don't even have a ext sd slot. I don't know why I'm getting this error.
I've been searching for fixes and all I got was completely random fixes from people that mostly doesn't even know how did they fix it. Even though, those doesn't work for me.
* I figured out that when I go on FORMAT /DATA, after that, I can wipe data, and I can (re)install the room again without any error. The problem is after I reboot the system, the error comes back, and I need to format /data if I want to install anything again without errors.
Click to expand...
Click to collapse
Wrong section. Questions don't belong in the General Section. As for your problem, the best solution would be to just flash a stock ftf as mentioned by m1st3r1
m1st3r1 said:
Try flash .ftf with flashtool. Wipe all.
Sent from my LT26i using Tapatalk 2
Click to expand...
Click to collapse
I tryed that thousands of time already and no lucky. I wanna try to format(fat32) it using my computer. The problem is that my computer doesn't recognize my cellphone as a external hard drive. I can read the files inside but it's still being detected as a celphone. And like that I can't use my hard drive tools on it.
Sent from my LT26ii using xda app-developers app
drixjp said:
I tryed that thousands of time already and no lucky. I wanna try to format(fat32) it using my computer. The problem is that my computer doesn't recognize my cellphone as a external hard drive. I can read the files inside but it's still being detected as a celphone. And like that I can't use my hard drive tools on it.
Sent from my LT26ii using xda app-developers app
Click to expand...
Click to collapse
why you wanna try to format in PC? if u format (regularly) in PC , it will only format your sdcard (mnt\sdcard). the mmcblk0p12 is the \system partition. u need to somehow format it first, via fastboot, or try via cwm to format \system.
and give more explanation bout the condition of your phone.. ie: rom, kernel, locked/unlocked bootloader.
i too, once, messed up my \data partition (which it's mmcblk0p14). i fixed that by using fastboot
m1st3r1 said:
why you wanna try to format in PC? if u format (regularly) in PC , it will only format your sdcard (mnt\sdcard). the mmcblk0p12 is the \system partition. u need to somehow format it first, via fastboot, or try via cwm to format \system.
and give more explanation bout the condition of your phone.. ie: rom, kernel, locked/unlocked bootloader.
i too, once, messed up my \data partition (which it's mmcblk0p14). i fixed that by using fastboot
Click to expand...
Click to collapse
Like i said, it's a. 55 rooted with stock Rom. Boot loader unlock alowed: yes. I tryed every kind of fix in cwm already and nothing works.
Something I never tryed is via fastboot. How do I proceed with that?
Sorry, my android life just started yesterday, I don't have much knowledge
EDIT: Ok I solved. Actually it's not like a fix, it's just like putting a silver tape to handle the problem. For some reason I'm able to advance restore system backup via CWM recovery. Every time that I do that, my CWM recovery is fully functional again, i can install mod, rom, etc. But, when I reboot into system again, the problem comes back, but I can still use my android without any problems, I just can't install anything via CWM recovery. So basically, now, every time that I want to install something in recovery, first I need to advanced restore system, and than install the rom, mod or whatever. Than I backup again in case I want to install anything else in the future, to repeat the same procedure with the last backup.
I was just having some problems when I was trying to restore the system with a md5 missing error... something like that. I solved this problem by just creating a file.txt in the backup folder and than renamed it to nandroid.md5. Magically it was fixed.
Sent from my LT26ii using xda app-developers app

[SOLVED] Phone Encrypted - can't decrypt, can't mount internal storage, can't ODIN

Let me first apologize for all of the information, but I wanted to give you guys as much to go on as possible.
TLDWR - Can't flash roms, can't decrypt phone, can't wipe data, can't mount internal storage, can't use ODIN....where next?
Here is what I got:
SPH-L710
Android vers - 4.2.2
Cyanogenmod vers - 10.1.0-d2spr
Was getting flaky reception when I was on 10.0.0 nightly, decided to update to 10.1.2. Downloaded the the required files through Rom Manager, rebooted into CWM Recovery version 6.0.3.1 (non-touch) and did the install (dirty)....booted up and the ROM itself worked, but all my apps were getting "stopped unexpectedly". I figured, ok, did a dirty update so stuff isn't working; I'll redo it and this time wipe everything (after backup of course). When I went to do this, I noticed that it did not mount my sdcard (internal storage, not external sd card). I thought was odd, tried manually mounting, didn't work, tried rebooting recovery and that didn't work. Thought maybe it was a fluke, tried wiping and reflashing 4.2.2 (CM 10.1.2).....it went very quickly. Rebooted, and all of my stuff is gone, which is good, but now it won't let me restore apps.
At this point, I decided I'd had enough of trying to upgrade, so I decided to downgrade back to my old CM 10.0.0....long story short, the flash went quickly, booted up, things worked, but still had the same problem with the apps. I could see the data on the internal storage when the phone was booted, but it never saw it in recovery mode. After doing some reading, I saw where the filesystem changed when going to 4.2.2 so that you can use the new profiles feature. This seems to be what caused CWM Recovery to not see my internal storage anymore.
I thought well, maybe it's because I am back on 10.0.0, so I tried downloading and flashing 10.1.0. It did the same quick flash and showed after boot that I was running on 10.1.0, but I still couldn't mount internal storage (sdcard) in Recovery. I said screw it, reinstalled my apps and decided to truck on with how it was. Short version here - installed mobileiron and touchdown, ran through the encryption in mobileiron, etc etc...mobileiron didn't recognize touchdown and I could not get LEAP for wifi to work.
Decided I would try to decrypt and completely wipe phone. Removed Mobileiron as administrator, tried to decrypt - could not. Tried tweaking security settings, reboots, adb mount and format - all to no avail. Tried wiping in recovery....this failed because it cannot read my storage (because it can't mount it and it is now encrypted)!
With the phone booted up and running adb shell, I can get to the main file system, but my sdcard, data, data/media directories all look empty. I can't mount sdcard through ADB either.
When all of this failed, I looked to ODIN to fix my woes...no luck here either. Downloaded the stock Sprint ROM (4.1.1 L710VPBLJ7 L710SPRBLJ7 ) and tried flashing it but I get hung up on the "Setup Connection"...in ODIN. I have tried multiple drivers, usb ports, battery pulls, etc...I even tried from another PC.
I know this is a lot of information and I apologize again. If you read through all that, thanks for being thorough...if not, I will answer your questions, but hopefully won't have to repeat a bunch of info again.
My end all questions are - where do I go from here? What other options do I have? Is there any repair place I might be able to take this to that they might be able to decrypt/flash the phone to stock for me?
Thanks in advance,
dwnocturnal
dwnocturnal said:
Let me first apologize for all of the information, but I wanted to give you guys as much to go on as possible.
TLDWR - Can't flash roms, can't decrypt phone, can't wipe data, can't mount internal storage, can't use ODIN....where next?
Here is what I got:
SPH-L710
Android vers - 4.2.2
Cyanogenmod vers - 10.1.0-d2spr
Was getting flaky reception when I was on 10.0.0 nightly, decided to update to 10.1.2. Downloaded the the required files through Rom Manager, rebooted into CWM Recovery version 6.0.3.1 (non-touch) and did the install (dirty)....booted up and the ROM itself worked, but all my apps were getting "stopped unexpectedly". I figured, ok, did a dirty update so stuff isn't working; I'll redo it and this time wipe everything (after backup of course). When I went to do this, I noticed that it did not mount my sdcard (internal storage, not external sd card). I thought was odd, tried manually mounting, didn't work, tried rebooting recovery and that didn't work. Thought maybe it was a fluke, tried wiping and reflashing 4.2.2 (CM 10.1.2).....it went very quickly. Rebooted, and all of my stuff is gone, which is good, but now it won't let me restore apps.
At this point, I decided I'd had enough of trying to upgrade, so I decided to downgrade back to my old CM 10.0.0....long story short, the flash went quickly, booted up, things worked, but still had the same problem with the apps. I could see the data on the internal storage when the phone was booted, but it never saw it in recovery mode. After doing some reading, I saw where the filesystem changed when going to 4.2.2 so that you can use the new profiles feature. This seems to be what caused CWM Recovery to not see my internal storage anymore.
I thought well, maybe it's because I am back on 10.0.0, so I tried downloading and flashing 10.1.0. It did the same quick flash and showed after boot that I was running on 10.1.0, but I still couldn't mount internal storage (sdcard) in Recovery. I said screw it, reinstalled my apps and decided to truck on with how it was. Short version here - installed mobileiron and touchdown, ran through the encryption in mobileiron, etc etc...mobileiron didn't recognize touchdown and I could not get LEAP for wifi to work.
Decided I would try to decrypt and completely wipe phone. Removed Mobileiron as administrator, tried to decrypt - could not. Tried tweaking security settings, reboots, adb mount and format - all to no avail. Tried wiping in recovery....this failed because it cannot read my storage (because it can't mount it and it is now encrypted)!
With the phone booted up and running adb shell, I can get to the main file system, but my sdcard, data, data/media directories all look empty. I can't mount sdcard through ADB either.
When all of this failed, I looked to ODIN to fix my woes...no luck here either. Downloaded the stock Sprint ROM (4.1.1 L710VPBLJ7 L710SPRBLJ7 ) and tried flashing it but I get hung up on the "Setup Connection"...in ODIN. I have tried multiple drivers, usb ports, battery pulls, etc...I even tried from another PC.
I know this is a lot of information and I apologize again. If you read through all that, thanks for being thorough...if not, I will answer your questions, but hopefully won't have to repeat a bunch of info again.
My end all questions are - where do I go from here? What other options do I have? Is there any repair place I might be able to take this to that they might be able to decrypt/flash the phone to stock for me?
Thanks in advance,
dwnocturnal
Click to expand...
Click to collapse
Where did you download your stock Rom from? Did you FULLY uninstall drivers from Windows, before reinstalling?
Sent from my hybrid GS3
joeyhdownsouth said:
Where did you download your stock Rom from? Did you FULLY uninstall drivers from Windows, before reinstalling?
Sent from my hybrid GS3
Click to expand...
Click to collapse
I got the link to the stock stuff through ODIN from here:
http://forum.xda-developers.com/showthread.php?t=2189539
Missed your other question the first time I read your post....Yes, I uninstalled the drivers, rebooted, reinstalled the drivers. Tried connecting on another PC as well.
Ok, little bit of an update.
I went through Recovery and was messing around trying to mount and wipe...I couldn't mount data or sdcard, so I figured I couldn't just format them either. WRONG! I was able to format /data and /data/media, which then let me mount /data. After doing this, I rebooted recovery and I could mount sdcard...so I did and formatted it.
Now, I had my old version of CM 10.0.0 on my external sd card, so I installed that and booted up...WOOT - back to blank CM 10.0.0!
Now I've got all my data and apps saved to a folder on my PC, if I can just figure out a way to put them back on the phones storage and restore from my backup...
dwnocturnal said:
Ok, little bit of an update.
I went through Recovery and was messing around trying to mount and wipe...I couldn't mount data or sdcard, so I figured I couldn't just format them either. WRONG! I was able to format /data and /data/media, which then let me mount /data. After doing this, I rebooted recovery and I could mount sdcard...so I did and formatted it.
Now, I had my old version of CM 10.0.0 on my external sd card, so I installed that and booted up...WOOT - back to blank CM 10.0.0!
Now I've got all my data and apps saved to a folder on my PC, if I can just figure out a way to put them back on the phones storage and restore from my backup...
Click to expand...
Click to collapse
It's sounds as if you should start a totally clean install, then backup your downloaded apps with Titanium Backup after you get ROM setup again.
Sent from my hybrid GS3
Another update:
I couldn't get my backup to restore correctly....I kept getting an error restoring /data. Luckily I had an older backup from several months further and was able to restore that. After doing so, I had to remove my google accounts, readd them, and reinstall my mobile iron client for work and I am now good to go!
Man, that was a nightmare.....thought I had soft-bricked my phone.
How do I mark this thread as solved now?
dwnocturnal said:
Another update:
I couldn't get my backup to restore correctly....I kept getting an error restoring /data. Luckily I had an older backup from several months further and was able to restore that. After doing so, I had to remove my google accounts, readd them, and reinstall my mobile iron client for work and I am now good to go!
Man, that was a nightmare.....thought I had soft-bricked my phone.
How do I mark this thread as solved now?
Click to expand...
Click to collapse
Hit the edit/delete button under the original post, type [SOLVED] before your title. Then click the save button.
Worked!! Thanks.
dwnocturnal said:
Ok, little bit of an update.
I went through Recovery and was messing around trying to mount and wipe...I couldn't mount data or sdcard, so I figured I couldn't just format them either. WRONG! I was able to format /data and /data/media, which then let me mount /data. After doing this, I rebooted recovery and I could mount sdcard...so I did and formatted it.
Now, I had my old version of CM 10.0.0 on my external sd card, so I installed that and booted up...WOOT - back to blank CM 10.0.0!
Now I've got all my data and apps saved to a folder on my PC, if I can just figure out a way to put them back on the phones storage and restore from my backup...
Click to expand...
Click to collapse
It worked. Thans. It looks like this is the only solution!!! I wonder why the OS does not let people decrypt the phone......
Same Issue
demax123 said:
It worked. Thans. It looks like this is the only solution!!! I wonder why the OS does not let people decrypt the phone......
Click to expand...
Click to collapse
Unfortunately I do have the same issue. The problem is I have not backed this up previously. Any suggestions?

problems with twrp

i've been breaking my head over this problem for 2 days now, i installed twrp to find out it couldn't make androids because a leftover folder from a deinstalled game prevented it. i tried to remove the folder but failed so i put the phone back to factory settings. now wafter reinstalling everything but the game that prevented it previously it still gives me this error. anyone know how i can get rid of the folder?( see picture)
I cant see how an old folder stops you making backups, it will be an SD card error or a partition error?
You might have to flash back to stock and then bump TWRP again.
As you can read in my op i already tried that also tried rzmoving it with rm -r as su, then i get a I/O error.
How did you restore to stock? The only way to get your desired results is to use cse flash with kdz or use the tot method.
Oh tought it was ok to do it trough pcsuite... Anyway is there a way to solve this trough terminal as well?
Ok so here's an update. I cse flashed a kdz. But the folder is still there, how is thzt even possible?? Any ideas how this can be solved? Could i use twrp to wipe the data partition?
so anyone who knows if i can use tarp to wipe the data partition?

TWRP Weird folder names and no .zip file

Hey,
I'm new in this kind of stuff but need help as fast as possible. So I tried to root the phone but let me tell you something else. When I enter TWRT (boot into) and try to install the .zip file it shows weird folder names that I can't see on the computer. I have Win10 if this matters and Android 8.0 or 8.0.1. The folders are:
acct
boot
cache
config
cust
data
license
mnt
and it goes like that. The problem is that about 85 or 90% of these folders aren't visible on my computer when I plug in my phone... The System is mounted in TWRP and everything is mounted. I tried wiping all the data. I have unlocked bootloader. Also when I go to some of these folders I see REALLY strange folder names like: 671hnsuh1b%nqjus Or something like. I've found out that it's encrypted but I just want to root the phone and find the .zip file. Also can someone explain me these acct, boot, license, vendor, version and other folders that aren't visible on my PC? Please help. I'm so confused, not clue what's going on...
You need to use the format data option to decrypt the internal storage. Better use SD card or USB OTG to flash the root file. Anyway don't wipe the oeminfo or vendor partition in any case and take a backup of all partition beforehand.
kksnis said:
You need to use the format data option to decrypt the internal storage. Better use SD card or USB OTG to flash the root file. Anyway don't wipe the oeminfo or vendor partition in any case and take a backup of all partition beforehand.
Click to expand...
Click to collapse
Well, I already used this option. The format data option and it's still the same. Maybe the version of my twrp helps: 3.1.1-1
Aspect13 said:
Well, I already used this option. The format data option and it's still the same. Maybe the version of my twrp helps: 3.1.1-1
Click to expand...
Click to collapse
Strange. What is the android version?Did you had any lock screen set before formatting? Can you please share a screenshot or log during formatting, if you have any. Anyway you can use adb sideload to flash the .zip file.Cheers
kksnis said:
Strange. What is the android version?Did you had any lock screen set before formatting? Can you please share a screenshot or log during formatting, if you have any. Anyway you can use adb sideload to flash the .zip file.Cheers
Click to expand...
Click to collapse
My android version is 8.0 so it's oreo. I've also noticed that the 3.1.1-1 version of twrp is the only one from what I tried that I can install the newer versions gave me an error. I had lock screen and it was code not a fingerprint but I wasn't prompt for a code after booting into twrp. Adb sideload seems to fail all the time so I can't do it :/.
The logs from wiping data are:
Updating partition details...
..done
Full SELinux support is present.
MTP Enabled
Starting ADB Sideload feature...
Starting ADB Sideload feature... (And it failed now wipe logs.):
Fomatting Data using mkfs.f2fs...
Done.
You may need to reboot recovery to be able to use /data again.
Updating partition details...
...done
So yea I'm so sad tbh with this... I'll try to install new twrp after the wipe if the wipe didn't help and will tell you if I get an error when I try to boot into NEW twrp.
EDIT: Ye still an error.
Maybe you have a link to the newest working twrp?
Nevermind got it. Downloaded the modded twrp by TEAM MT I guess from here: https://forum.xda-developers.com/honor-8-pro/development/wip-twrp-3-1-1-0-duk-t3625798 Works perfectly and SOLVED!

Categories

Resources