Trouble performing factory reset via TWRP - HTC One X+

Hello,
I encrypted the phone, but found out in a painfull way (missed) that "wake up on alarm" does not work with encryption.
Have a problem though trying to do a factory wipe/reset via twrp recovery to de-crypt it.
Booting to recover -> Wipe -> Standard wipe (data, cache, dalvik) gives me
Code:
E:Unable to mount '/data'
E:Unable to recreate /data/media folder
Updating partition details...
E:Unable to mount '/data'
E:Unable to mount storage.
E:Unable to mount /data/media during GUI startup.
Finished running boot script.
E:Unable to mount /data/media/TWRP/.twrps when trying to read settings
E:Unable to mount '/data'
Formatting cache using mke2fs...
Done.
E:Unable to mount '/data'
Updating partition details...
E:Unable to mount '/data'
E:Unable to mount storage
... and a big, red FAILED on factory reset. I can't do a backup or restore a backup (shows empty storage), probably for exacly the same reason (can't mount /data). Tried flashing recovery twice already, once manually, once via GooManager.
This is on HTC ONE X+ (Int) running stock ROM, rooted with TWRP 2.6.3.0, hboot 1.72.0000.
Any suggestion would be of great help.

fbielejec said:
Hello,
I encrypted the phone, but found out in a painfull way (missed) that "wake up on alarm" does not work with encryption.
Have a problem though trying to do a factory wipe/reset via twrp recovery to de-crypt it.
Booting to recover -> Wipe -> Standard wipe (data, cache, dalvik) gives me
Code:
E:Unable to mount '/data'
E:Unable to recreate /data/media folder
Updating partition details...
E:Unable to mount '/data'
E:Unable to mount storage.
E:Unable to mount /data/media during GUI startup.
Finished running boot script.
E:Unable to mount /data/media/TWRP/.twrps when trying to read settings
E:Unable to mount '/data'
Formatting cache using mke2fs...
Done.
E:Unable to mount '/data'
Updating partition details...
E:Unable to mount '/data'
E:Unable to mount storage
... and a big, red FAILED on factory reset. I can't do a backup or restore a backup (shows empty storage), probably for exacly the same reason (can't mount /data). Tried flashing recovery twice already, once manually, once via GooManager.
This is on HTC ONE X+ (Int) running stock ROM, rooted with TWRP 2.6.3.0, hboot 1.72.0000.
Any suggestion would be of great help.
Click to expand...
Click to collapse
try erasing it from fastboot
Code:
fastboot erase system
fastboot erase userdata
fastboot erase cache

Thanks for a prompt answer. That gives me:
@silver ~/Dropbox/HTC $ sudo ./fastboot erase system
erasing 'system'... FAILED (remote: not allowed)
@silver ~/Dropbox/HTC $ sudo ./fastboot erase userdata
erasing 'userdata'... FAILED (remote: not allowed)
@silver ~/Dropbox/HTC $ sudo ./fastboot erase cache
erasing 'cache'... OKAY
Click to expand...
Click to collapse
so a no-go unfortunately. In TWRp there's format option for /data, but if he can't mount it, probably won't format either?

Is this problem solved?
if yes, how did you do that?

ll_love22000 said:
Is this problem solved?
if yes, how did you do that?
Click to expand...
Click to collapse
you need to format data in TWRP which will cause you to lose EVERYTHING on the internal sd too

Format data, it will delete only internal storage

Related

[Q] TWRP - can't wipe system partition

Phone: Xiaomi Redrise 1S with polish MIUI.
I installed TWRP.
Now I want to wipe as much as possible and install clean MIUI once again.
I can wipe every other partition except 'system' - console log:
Code:
Updating partition details...
E:Unable to mount '/system'
Full SELinux support is present
E:Unable to mount '/system'
E:Unable to wipe '/system'
Updating partition details...
E:Unable to mount '/system'
What can I do in this situation?

internal memory brick by twrp recovery (0mb left internal storage)

hello accidently i brick my internal storage memory...
what i've done :
twp recovery > partition sd card>Change value (EXT Swap/ swap size)
now if i go in file mannager (twarp> (internal memory 0 / external storage XXXX)
If i try to Advanced wipe
Updating partition details...
E:Unable to mount '/cache'
E:Unable to mount '/data'
E:Unable to mount '/system'
E:Unable to mount Storage.
If i try to install rom... same
E:Unable to mount '/cache'
E:Unable to mount '/data'
E:Unable to mount '/system'
E:Unable to mount Storage.
please i need help step by step
Lenovo a328
bump
any help? Same issue here!

twrp could not mount /data and unable to find crypto footer after format data

After I did a factory data reset in TWRP, every thing looks normal but when I boot the OS and do the first boot setup
and then go back to TWRP the problem appears again.
How do I fix it?
Thanks in advance.
SPECS:
OS: lineage OS 8.1 official.
Phone: Redmi Note 4 snapdragon.
I have the same problem. Did you find a solution yet?
Everytime I try to wipe cache/dalvik I get
Code:
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
.
.
.
.
I'm using
twrp-3.2.3-0-mido.img
Found this on github:
https://github.com/TeamWin/Team-Win-Recovery-Project/issues/1265

{HELP} Unable to wipe '/data'

I'm unable to format my honor 5x completely.
Getting error
E:Unable to wipe '/data' -- unknown file system 'auto
Unable to format to remove encryption.
I have tried changing the file system to exfat and then back to ext4 but it didn't help.
Any suggestions will be helpful.

Vernee M5 bootloop

Hello
I've installed TWRP by following this thread here
and after which I flashed the custom rom from this thread here
After a awhile I did a factory rest to the phone which caused the phone to boot into TWRP and no matter what I do it keeps rebooting into TWRP
Tired to flash stock rom, which gives the following erros :
unable to mount storage
Failed to mount '/data' (invalid argument)
unable to mount '/data/media/TWRP/.twrps
tried Format Data:
unable to mount storage
Failed to mount '/data' (invalid argument)
unable to format to remove encryption
tried to repair data:
Failed to mount '/data' (invalid argument)
Failed to unmount 'external_sd' (Device or resource busy)
unable to repair data
tried to flash the custom rom again
....
...done!
enjoy!
updating partition details
Failed to mount '/data' (invalid argument)
....done
tried using terminal with this:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
no such file
Dont have ADB access (only sd card shows when i connect usb)
note: I have another vernee M5 if anyone thinks it could be useful (unrooted)
please help!
Saqwerzaman said:
Hello
I've installed TWRP by following this thread here
and after which I flashed the custom rom from this thread here
After a awhile I did a factory rest to the phone which caused the phone to boot into TWRP and no matter what I do it keeps rebooting into TWRP
Tired to flash stock rom, which gives the following erros :
unable to mount storage
Failed to mount '/data' (invalid argument)
unable to mount '/data/media/TWRP/.twrps
tried Format Data:
unable to mount storage
Failed to mount '/data' (invalid argument)
unable to format to remove encryption
tried to repair data:
Failed to mount '/data' (invalid argument)
Failed to unmount 'external_sd' (Device or resource busy)
unable to repair data
tried to flash the custom rom again
....
...done!
enjoy!
updating partition details
Failed to mount '/data' (invalid argument)
....done
tried using terminal with this:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
no such file
Dont have ADB access (only sd card shows when i connect usb)
note: I have another vernee M5 if anyone thinks it could be useful (unrooted)
please help!
Click to expand...
Click to collapse
UPDATE
booting into bootloader and using command 'f'astboot continue'' i was able to boot into system
the system reqiuers a password but gboard keeps crashing and i cant enter my password

Categories

Resources