Not able to wipe / Factory reset - Xiaomi Mi A1 Questions & Answers

Data successfully decrypted, new block device: '/dev/block/dm-0'
Updating partition details...
...done
Unable to mount storage
Successfully decrypted with default password.
Updating partition details...
...done
Unable to mount storage
Failed to mount '/data (no such process)
Full SELinux support is present.
Unable to mount /data/media/TWRP/.twrps
MTP enabled
Failed to mount '/data' (No such process)
Updating partition details...
...done
Unable to mount storage
I am getting these errors while flashing any custom rom !!!
solution plz

After booting to twrp. Go to reboot and again boot into recovery. Now it will format easily!

4shiv27 said:
After booting to twrp. Go to reboot and again boot into recovery. Now it will format easily!
Click to expand...
Click to collapse
Ok...will try it ! thanks :good:

I can't able to wipe all data in MI Recovery 2.0.1. It shows wipe data failed!... What to do next..?

Related

[Help] OnePlus 2 encryption unsuccessful (phone internal storage damaged)

so, I have a Oneplus 2 phone that is 5 months old... I wanted to root it so in 10th December, I downloaded and flashed supersu (I have TWRP and bootloader working C: ) but When I rebooted, It was boot looping (does that make sense) so I backed up data and did a factory reset, still the boot loop, so I decided to do an advanced wipe but when I was choosing which to wipe I accidentally wiped the whole internal storage, I realized it later when I rebooted, the boot was not showing up, just the oneplus 2 logo :c
so I decided to download Oxygen OS, GAPPS ARM64 6.0 STOCK.
after downloading them I copied them to oneplus 2 by TWRP (thank god)
then I installed them, after installing, The boot logo was working, when it finally booted it said encryption error: internal storage damaged and some other text
so What should I do?
install a new rom? buy a new phone (hopefully not)
Projonmo112 said:
so, I have a Oneplus 2 phone that is 5 months old... I wanted to root it so in 10th December, I downloaded and flashed supersu (I have TWRP and bootloader working C: ) but When I rebooted, It was boot looping (does that make sense) so I backed up data and did a factory reset, still the boot loop, so I decided to do an advanced wipe but when I was choosing which to wipe I accidentally wiped the whole internal storage, I realized it later when I rebooted, the boot was not showing up, just the oneplus 2 logo :c
so I decided to download Oxygen OS, GAPPS ARM64 6.0 STOCK.
after downloading them I copied them to oneplus 2 by TWRP (thank god)
then I installed them, after installing, The boot logo was working, when it finally booted it said encryption error: internal storage damaged and some other text
so What should I do?
install a new rom? buy a new phone (hopefully not)
Click to expand...
Click to collapse
Go to advanced wipe and format data
Confirm and do not tell me that you have data there. I'm assuming you have already made the necessary backups. This is the only way to fix it
anupritaisno1 said:
Go to advanced wipe and format data
Confirm and do not tell me that you have data there. I'm assuming you have already made the necessary backups. This is the only way to fix it
Click to expand...
Click to collapse
I don't have the backup :c
is there any way to fix it without a backup?
anupritaisno1 said:
Go to advanced wipe and format data
Confirm and do not tell me that you have data there. I'm assuming you have already made the necessary backups. This is the only way to fix it
Click to expand...
Click to collapse
I don't have the backup
halp meh pls
I flashed cm 13, Now in a boot loop :/
I then went to stock rom, still the unsuccessful encryption
sorry I am a noob :c
Projonmo112 said:
I don't have the backup
halp meh pls
I flashed cm 13, Now in a boot loop :/
I then went to stock rom, still the unsuccessful encryption
sorry I am a noob :c
Click to expand...
Click to collapse
Format data
Any solution?
anupritaisno1 said:
Format data
Click to expand...
Click to collapse
I was talking on a phone and suddenly my OP2 got restarted and what I see is "Encryption Unsuccessful".
I don't know what has gone wrong, maybe when on call it just got mistakenly browsed into encryption option or something?
I am on Oxygen OS 3.5.6 and rooted with TWRP 3.0.2-2.
Now whenever I boot my phone it shows
"Encryption unsuccessful
Your phone storage has been damaged, please download the firmware package to brush".
It appears that some part of OS is loaded because when I change the volume the android styled indicator bar and the settings gear appears but nothing happens when I tap it.
I entered TWRP to erase data (again because I'm sure had checked it) and it says (in red):
E:Unable to load '/twres/languages/en-US.xml'
Could not mount /data and unable to find crypto footer.
Failed to mount '/cache' (Invalid argument)
Failed to mount '/cache' (Invalid argument)
...done
Unable to mount storage.
Failed to mount 'data' (Invalid argument)
Failed to mount '/cache' (Invalid argument)
Full SELinux is present.
Failed to mount '/cache' (Invalid argument)
Failed to mount '/cache' (Invalid argument)
Unable to mount /data/media/TWRP/.twrps
MTP Enabled
Failed to mount '/data' (Invalid argument)
Formatting cache using make_ext4fs...
Failed to mount '/cache' (Invalid argument)
Updating partition details...
Failed to mount '/data' (Invalid argument)
Failed to mount '/cache' (Invalid argument)
...done
Unable to mount storage
When I go to Wipe / Repair File System selecting Data partition it shows me:
Present: Yes
Removable: No
Size 0MB
Used: 0MB
Free: 0MB
Backup Size: 0MB
When I select Internal Storage and tap Repair or Change File System it says Invalid partition selection (in red).
Tried this: https://forum.xda-developers.com/one...oos-3-t3402020
but I am stuck at recovery tool. After clicking the square button it shows ok and then pressing start it starts some procedure and then stuck on something called FirehoseCheckRSPE and some Chinese thing written ahead of it.
https://drive.google.com/file/d/0B_l...ew?usp=sharing
Tried fastboot comands to check whether it works and it does work.
Like when entered comand fastboot devices, it does shows the device.
I tried to flash stock recovery by --> fastboot flash recovery recovery.img
It succeeds like this
target reported max download size of 536870912 bytes
sending 'recovery' (17013 KB)...
OKAY [ 0.400s]
writing 'recovery'...
OKAY [ 0.086s]
finished. total time: 0.490s
But when i restart to recovery it still shows TWRP.
What should I do?
I just need my phone to work.
Please help me out
I really don't know how it even happened suddenly.
Thank-you in advance.

Failed to mount /system, /data and /cache 0mb internal in twrp

This all happened when my phone got drained then when i charged it and tried to open it, it got on bootloop. So i flashed another rom wiped all partitions then rebooted to twrp then this errors are present
Failed to mount /data (invalid argument)
Failed to mount /system (invalid argument)
Failed to mount /cache (invalid argument)
And in the twrp on install>select storage my internal storage shows 0mb.
Tried reverting back to stock rom but after i relock bootloader then flashed stock recovery it leads to usb logo, so i unlock bootloader again to see and access recovery and it directs me to twrp like i didnt flash anything
Need help or my phone is dead already. Thanks its my first thread btw

How to root a S8 G950F Exynos with failed integrity verification without wipe ?

Dear all,
I tried since yesterday to root my S8 Exynos (G950F). My phone is crypted and when I try to root with magisk via TWRP, I have errors to access to datas. When the system boot, I have the error unable to restart your phone. the integrity verification has failed....
Then via TWRP and the shell, I made a copy of the userdata partition on my computer (the crypted partition), then I wiped my phone, I flashed the DM Verify Disabler and then Magisk via TWRP, until then, no problem, I was root but with an empty phone.
There, I uploaded my copy of userdata partition into my S8, I boot the system and always the same error of integrity verification failed...
Now, my phone works always good (I flash the stock ROM via ODIN) but I haven't yet the root.
Is there a way to root the S8 without lost the datas ? A kind of APK or something else ?
Kind regards,
Lau
lolo1410 said:
Dear all,
I tried since yesterday to root my S8 Exynos (G950F). My phone is crypted and when I try to root with magisk via TWRP, I have errors to access to datas. When the system boot, I have the error unable to restart your phone. the integrity verification has failed....
Then via TWRP and the shell, I made a copy of the userdata partition on my computer (the crypted partition), then I wiped my phone, I flashed the DM Verify Disabler and then Magisk via TWRP, until then, no problem, I was root but with an empty phone.
There, I uploaded my copy of userdata partition into my S8, I boot the system and always the same error of integrity verification failed...
Now, my phone works always good (I flash the stock ROM via ODIN) but I haven't yet the root.
Is there a way to root the S8 without lost the datas ? A kind of APK or something else ?
Kind regards,
Lau
Click to expand...
Click to collapse
You need to reflash twrp in odin and boot into recovery (TWRP) before the phone boots the system. Id uncheck auto reset in odin and when its done flashing twrp again boot right into it. From there you want to select to keep the system read only, and then flash the DM Verity Disabler. After thats done flashing, your phone should boot up normally without seeing the integrity failed message. Its important that you boot right into twrp (recovery) after odin flashes it, if not you need to reflash twrp in odin until you successfully get into recovery before it boots your system.
I just tried 2 times this procedure, when I flash the no-verity-opt-encrypt-5.1, I have several error messages like Failed to mount '/data' (Invalid argument) or Unable to recreate /data/media folder or Unable to mount storage and Unable to mount /data/media/TWRP/.twrps.
When I boot up the phone, I have the same error of integrity failed message and I have to flash a stock system and boot img
lolo1410 said:
I just tried 2 times this procedure, when I flash the no-verity-opt-encrypt-5.1, I have several error messages like Failed to mount '/data' (Invalid argument) or Unable to recreate /data/media folder or Unable to mount storage and Unable to mount /data/media/TWRP/.twrps.
When I boot up the phone, I have the same error of integrity failed message and I have to flash a stock system and boot img
Click to expand...
Click to collapse
You have to wipe data otherwise it won't boot, there's no way round this unfortunately
lolo1410 said:
I just tried 2 times this procedure, when I flash the no-verity-opt-encrypt-5.1, I have several error messages like Failed to mount '/data' (Invalid argument) or Unable to recreate /data/media folder or Unable to mount storage and Unable to mount /data/media/TWRP/.twrps.
When I boot up the phone, I have the same error of integrity failed message and I have to flash a stock system and boot img
Click to expand...
Click to collapse
Previous poster is correct. Wipe>Format data>yes> in twrp then you should be good to go.

Unable to flash anything in Moto G5 Plus

I decided to install a custom ROM in my device and what I did was wiped all partitions except 'Micro SD Card' and 'USB OTG', after that I formated data and it wiped all files in my device. Then I tried to flash the custom ROM but I was unable to flash it and an error message pops up - "failed to mount '/cache' (no such device)." I again tried wiping the partitions and all the partitions gets wiped easily exept the cache partition and the same error message pops up. Also whenever I try to restart into recovery, everytime it shows a message "No OS Installed! Are you sure you wish to reboot?"
So please help me out with this problem I can't flash anything at all
engtika said:
I decided to install a custom ROM in my device and what I did was wiped all partitions except 'Micro SD Card' and 'USB OTG', after that I formated data and it wiped all files in my device. Then I tried to flash the custom ROM but I was unable to flash it and an error message pops up - "failed to mount '/cache' (no such device)." I again tried wiping the partitions and all the partitions gets wiped easily exept the cache partition and the same error message pops up. Also whenever I try to restart into recovery, everytime it shows a message "No OS Installed! Are you sure you wish to reboot?"
So please help me out with this problem I can't flash anything at all
Click to expand...
Click to collapse
TWRP version? Have you tried to flash Disable_Dm-Verity_ForceEncrypt_12.16.2018.zip
to prevent the device from encrypting itself?
Wolfcity said:
TWRP version? Have you tried to flash Disable_Dm-Verity_ForceEncrypt_12.16.2018.zip
to prevent the device from encrypting itself?
Click to expand...
Click to collapse
I'm using TWRP v3.2.3-1 and I've flashed that zip but still the cache partition doesn't gets mount.
anyone have idea, im also experiencing the same issue. I was trying to root, and it wasnt taking it on my Moto G5 Plus, so i wiped everything except the same stuff, and then after that, any time it tries to mount the cache it fails. It wont mount at all, refuses to check the box. This is my log when i try to wipe the cache only now.
Failed to mount '/cache' (No such device)
Updating partition details...
Failed to mount '/cache' (No such device)
...done
Full SELinux support is present.
MTP Enabled
Failed to mount '/cache' (No such device)
E:Unable to wipe '/cache' -- unknown file system 'auto'
Unable to wipe /cache.
Updating partition details...
Failed to mount '/cache' (No such device)
Nevermind, I got it solved,, must have been caught trying to get to the OS, and looping cause there was not OS, and messing things up. Had to make sure i was holding the buttons to go to boot loader every time, but got it working.

Stuck in TWRP could not mount /data and unable to find crypto footer

Hi I successfully installed TWRP 3.3.1-0 on my new Mi 9T, but I couldn' install any Custom ROM like xiaomi.eu_multi_HMK20MI9T_20.3.12_v11-10.
It was hanging in the remi boot loop the whole time.
I have tried to solve it, but now I can't get any further, I get the following errors displayed:
Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (No such file or directory)
Unable to recreate /data/media folder.
Updating partions details...
Failed to mount '/data' (No such file or directory)
...done
Unable to mount storage
Failed to mount '/data' (No such file or directory)
Full SELinux support is present.
Unable to mount /data/media/TWRP/.twrps
MTP Enabled
Failed to mount '/data' (No suchfile or directory)
Does anyone have any idea what I can do?
Hello,
You didn't "Format Data" in TWRP before flashing custom ROM right? You MUST do that.
Now, you may need to flash Official Global ROM via fastboot/Mi Flash and try again...
Don't relock your bootloader!
Micdu70 said:
Hello,
You didn't "Format Data" in TWRP before flashing custom ROM right? You MUST do that.
Now, you may need to flash Official Global ROM via fastboot/Mi Flash and try again...
Don't relock your bootloader!
Click to expand...
Click to collapse
or: format data, reboot recovery, flash vendor+fw, flash rom...
here is latest global fw+vendor:
https://sourceforge.net/projects/xi...11.0.4.0.QFJMIXM_f1cc1d4a69_10.0.zip/download

Categories

Resources