Accidentally completely wiped my phone - can mount internal storage (TWRP) - ZTE Axon 7 Questions & Answers

I just accidentally wiped my internal storage, now TWRP can't see it or mount it? In the process, I wiped my external SD too (I swear, I'm not a NoOb).....
I've tried installing some ROMs via TWRP, but it errors out and say's: Failed to mount '/data' (invalid argument).
HELP?
[UPDATE]
Finally got a ROM to install....

tele_jas said:
I just accidentally wiped my internal storage, now TWRP can't see it or mount it? In the process, I wiped my external SD too (I swear, I'm not a NoOb).....
I've tried installing some ROMs via TWRP, but it errors out and say's: Failed to mount '/data' (invalid argument).
HELP?
[UPDATE]
Finally got a ROM to install....
Click to expand...
Click to collapse
99% of the time that's how things go ?. As long as you can into the bootloader there's a next step.
Glad you're good to go

Missed your post on my earlier run through. I would of suggested formatting data from within twrp. This is destructive in that it wipes both data and internal storage, but should resolve your issue.

Related

[Q] [LG P700] Recovery Can't Mount /data

I've had a few problems installing ROMs recently; boot loops, errors etc. And then when I try to restore my back-up, having wiped everything - /system, /data, /cache, /(int)sd_card, it reports a failure to restore the /data. But when I restart my phone, it's still how I left it: apps, phonebook, messages are still there and still work. I can read and write to the /data partition with ES or Xplore.
It first occurred using CWM but it did the same thing with TWRP, as well. TWRP reports 'failed to mount data', CWM, in Mounts & Storage, says "unmount /data" but nothing happens when I click on it. It just flashes and stays on 'unmount' option.
Backup data from both recoveries is fine. It's the right size and if I copy it to my PC and unpack it, everything is there so recovery has no problem reading the /data partition. Just writing to it. Or formatting it.
Any clues as to what's causing this would be greatly appreciated.
I'm running V20E Android 4.1.2 by szymel.

Unable to mount /data and /cache

Hello guys. I'm in trouble. Couple days ago, my cousin bricked Zenfone 5. I don't have an idea what he did, but phone is on bootloop. I tried the standard method: went into TWRP recovery and flashed custom ROM, but no luck. Then I tried wiping everything and flashing ROM again, but while wiping, I got some errors:
Code:
E:Unable to mount '/cache'
E:Unable to mount '/data'
E:Unable to mount storage
So, I can't wipe my device to install new ROM. Can anybody help me? Thanks in advance.

TWRP error 'E: unable to load '/twre/language/en-US.xml' help me find the right solut

Hi,
Oneplus 2, Stock Rom, rooted, SU TWRP,
Just rooted it and flashed TWRP recently
When I boot into TWRP and try wiping/backing up I get this:
'E: unable to load '/twre/language/en-US.xml'
Failed to mount '/cache' (Invalid Argument)
The above line is repeated 5 times
Backups and restores work ok even though they give me this error.
Could it be a corrupted Dalvic Cache File system?
I've searched on here, but nothing definitive. Also Google yields conflicting results (repair System - wipe Davlic cache etc etc)
Does anyone know why its happening, and what is the best way to proceed?
I got the 'E: unable to load '/twre/language/en-US.xml' as well,
but saw no ill effects. It may just be an error in TWRP.
But the "Failed to mount '/cache' (Invalid Argument)" I haven't seen.
Thanks for that - I fixed the "Unable to mount cache" bit by wiping the cache
(I previously tried wiping the Dalvic cache but I just got an error saying it couldn't mount it.

S8 TWRP Error

Hi all,
Yesterday I managed to root my phone all fine with TWRP and SuperSU. Then after incorrectly uninstalling the security log agent and getting a million errors I foolishly deleted the stock OS.
I have download the correct version for my phone and location but now TWRP fails to launch.
I get the follows errors when booting to the recovery.
Failed to mount /data (invalid argument)
Unable to recreate /data/media folder
Unable to mount storage
Unable to mount /data/media/TWRP/.twrps
I have googled a millions things and am still stuck.
Interestingly tho, If i install the Indian version of the OS, it loads and roots no problems (I'm from New Zealand).
Any help greatly appreciated.
VacantLot said:
Hi all,
Yesterday I managed to root my phone all fine with TWRP and SuperSU. Then after incorrectly uninstalling the security log agent and getting a million errors I foolishly deleted the stock OS.
I have download the correct version for my phone and location but now TWRP fails to launch.
I get the follows errors when booting to the recovery.
Failed to mount /data (invalid argument)
Unable to recreate /data/media folder
Unable to mount storage
Unable to mount /data/media/TWRP/.twrps
I have googled a millions things and am still stuck.
Interestingly tho, If i install the Indian version of the OS, it loads and roots no problems (I'm from New Zealand).
Any help greatly appreciated.
Click to expand...
Click to collapse
Hi
Your internal memory now corrupt you have to format it.
Use twrp wipe option select internal memory then format to fat32 after that again do same thing. This time choose its original format type.
drparvez said:
Hi
Your internal memory now corrupt you have to format it.
Use twrp wipe option select internal memory then format to fat32 after that again do same thing. This time choose its original format type.
Click to expand...
Click to collapse
Hi, thanks for the fast reply.
Iv'e tried this option, I installed the Indian OS which works with TWRP, formatted the Data drive to FAT (Fat32 isn't an option) and then back to EXT4. I then used Odin to Install the carrier firmware I want to run and the same errors occurred. Could it be a problem with the actual OS?
Edit** When I install the Carrier firmware I can't get TWRP to open, these errors occur as soon as it opens, and then it crashes and reboots
VacantLot said:
Hi, thanks for the fast reply.
Iv'e tried this option, I installed the Indian OS which works with TWRP, formatted the Data drive to FAT (Fat32 isn't an option) and then back to EXT4. I then used Odin to Install the carrier firmware I want to run and the same errors occurred. Could it be a problem with the actual OS?
Edit** When I install the Carrier firmware I can't get TWRP to open, these errors occur as soon as it opens, and then it crashes and reboots
Click to expand...
Click to collapse
Try reflashing twrp
Acoustichayes said:
Try reflashing twrp
Click to expand...
Click to collapse
Hi hi, tried that several times. Would still like to find out what is causing the issue but have now installed Nemisis and all is working perfrctly which makes me think it's the OS as opposed to my file system, considering I have installed multiple other versions and ran TWRP no problems.
Got same problem here. Installed TWRP to flash a custom rom, TWRP can't mount /data.
Google doesn't give me any solutions
This fixed it for me:
- download stock firmware from sammobile & flash with Odin
- go into stock recovery
- wipe data and cache partitions
- flash twrp using odin
After that, TWRP was able to mount /data and function normally again

[Solved] Accidentally Deleted Cache Partition

Hi Everyone,
I wanted to post this to help others that may encounter the same issue I just did.
I was running OOS 4.5.14 with Magisk 16.0 (so rooted and unlocked bootloader) and was trying to flash twrp-3.2.1-0-universal-codeworkx-cheeseburger.img using fastboot and these directions (https://www.techrrival.com/flash-recovery-adb-fastboot/) so I could then upgrade to the latest OOS (https://forum.xda-developers.com/oneplus-5/how-to/guide-upgrade-nougat-rooted-encrypted-t3734779) without a boot loop, as I have previously experienced with other directions.
Everything seemed fine and dandy, but when I pulled up TWRP Codeworkx, which was successfully installed, then rebooted to the system, I was stuck in a bootloop. I went back to TWRP, and when I put in my pin it said it cannot mount the cache partition because it does not exist. However, when I am in TWRP and go all the way back to "/" I do see a "cache" folder.
So, what I did was I tried wiping cache and Dalvick it said it was successful. Here was the output:
Failed to mount '/cache' (Invalid argument)
Updating partition details...
Failed to mount '/cache' (Invalid argument)
...done
Full SELinux support is present.
Data successfully decrypted
Updating partition details...
Failed to mount '/cache' (Invalid argument)
...done
Wiping Dalvick Cache Directories
Cleaned: /data/dalvick-cache...
-- Dalvick Cache Directories Wipe Complete!
Formatting Cache using make_ext4fs...
Updating partition details...
...done
I think when the last few lines somehow fixed it, but I am not sure to be honest. Things seem to be working fine now. :victory:

Categories

Resources