[Q] TWRP - can't wipe system partition - Android Q&A, Help & Troubleshooting

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?

Related

Trouble performing factory reset via TWRP

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

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!

No OS installed/ Everything fails to mount

I flashed CM11 over CM13 after a full wipe from TWRP. It worked fine for about 24 hours and then phone rebooted automatically into a bootloop and I got this in recovery -
E:Unable to find partition size for '/boot'
E:Unable to find partition size for '/recovery'
Erimary block device '/dev/block/mmcblk0p12' for mount point '/data' is not present!
Unable to mount '/data' (Invalid Argument)
Unable to recreate /data/media folder
Updating partition details...
E:Unable to mount '/efs' (Invalid Argument)
E:Unable to mount '/cache' (Invalid Argument)
E:Unable to mount '/system' (Invalid Argument)
E:Unable to mount '/data' (Invalid Argument)
E:Unable to mount '/preload' (Invalid Argument)
...done
Unable to mount storage.
Failed to mount /data (Invalid Argument)
Failed to mount '/cache' (Invalid Argument)
Full SELinux support is present.
Failed to mount /cache (Invalid Argument)
Failed to mount /cache (Invalid Argument)
Unable to mount /data/media/TWRP/.twrps
MTP Enabled
This is similar to this thread -
http://forum.xda-developers.com/galaxy-s3/help/os-installed-mount-partition-odin-stops-t2896131
However my case seems slightly different.
I can access internal memory through TWRP FIle Manager
OTG is working
I tried to flash -
CM11
CM13
Stock 4.3
Stock 4.1
Korean Factory ROM (Rescue ROM)
but all these fail in ODIN. I have tried latest and v1.85 of ODIN.
Device: GT-I9300
It says 'No OS installed' when I try to reboot.
[UPDATE] Tried this too -
http://forum.xda-developers.com/galaxy-s3/help/solved-pit-bricked-dead-problem-gt-t2535367
use command in terminal twrp
make_ext4fs /dev/block/mmcblk0p*
* use numbers 5, 8, 9,10,11,12
exaple
make_ext4fs /dev/block/mmcblk0p5
reboot
but you have symptoms dsd (nand memory dead end)

Lenovo A830 how to install system (little problems)

Hello guys,
I have lenovo a830 with twrp 2.5.0.0.
Chinese Factory mode not starting.
After i install custom rom with twrp it shows:
Updating partition details...
E:Unable to mount '/cache'
E:Unable to mount '/data'
E:Unable to mount '/system'
E:Unable to mount '/preload'
Is there any chance to install any rom?

Weird failure, can't load rom to fix tablet.

Tablet has been running cyanogen fine for a few years. Today it was throwing all kinds of android app errors. I rebooted and it got to the blue arc bobbing back and forth and just sat there. After about an hour of that I powered down, booted TWRP via fastboot, and tried to wipe cache. I got lots of unable to mount errors, so I tried to factory reset and all I get is E:Unable to mount '/... with all the expected partitions listed.
I can't flash anything either. Maybe the emmc is bad? Any ideas on how to fix this?
Error's with Factory Reset:
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'
...done
E:Unable to mount storage
E:Unable to mount /data/media during GUI startup.
E:Unable to mount '/cache'
Full SELinus 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'
Formatting Cache using make_ext4fs function.
E:Unable to mount '/cache'
E:Unable to mount '/data'
E:Unknown MTP message type: 1
Updating partition details...
E:Unable to mount '/cache'
E:Unable to mount '/data'
...done
E:Unable to mount storage.
Formatting cache using make_ext4fs function.
E:Unable to mount '/cache'
E:Unable to mount '/data'
E:Unknown MTP message type:1
Updating partition details...
E:Unable to mount '/cache'
E:Unable to mount '/data'
...done
E:Unable to mount storage.
Formatting cache using make_ext4fs function.
E:Unable to mount '/cache'
E:Unable to mount '/data'
E:Unknown MTP message type: 1
Updating partition details...
E:Unable to mount '/cache'
E:Unable to mount '/data'
...done
E:Unable to mount storage.
Formatting cache using make_ext4fs function.
E:Unable to mount '/cache'
E:Unable to mount '/data'
E:Unknown MTP messate type: 1
Updating partition details...
E:Unable to mount '/cache'
E:Unable to mount '/data'
...done
E:Unable to mount storage.
Just realized I still had this tablet in my drawer, anyone at all have input on how to fix this, if even possible?

Categories

Resources