Question uncrypt data - Xiaomi Mi 11 Lite 5G

hi, just want to know why my phone data are crypted....never put a code on it....
I just try twrp at startup, it ask me a password for user 0, password I never enter, so I pass and go to format data, but got error 255, unable to wipe data, unable to format to remove encryption...I go to mount and can mount almost all partitions execept data..I return to wipe and got multiple errors with same result...
when I go on twrp in data/media/0 I have many folders with numbers and letters..
so on fastboot I set fastboot erase userdata so start again setup and on TWRP, I can mount data partition but can't still not format data, got error 255 and in data/media got same strange folders.
how can I solve it..thanks
maybe important thing, my twrp recovery is not installed, I just boot on it with fastboot..

try to boot to system, set a pin code.
go back into twrp and then you should be able to decrypt with the pin you added.

laviniu_c said:
try to boot to system, set a pin code.
go back into twrp and then you should be able to decrypt with the pin you added.
Click to expand...
Click to collapse
thank's it solved my issue....this time,I have already tried few days before without success.....this time it works...

Related

[GUIDE] Factory Reset Encrypted Device

THIS PROCESS WILL ERASE ALL YOUR DATA
I encrypted my HTC ONE MAX last day and because of TWRP error in decrypting my partitions,Like:
Code:
Mount /SYSTEM.error
Mount /DATA error
I decided to decrypte my phone but as I said, TWRP recovery Didn't found any partion on my internal strong.
The solution is simple :
1.Download stock HTC stock recovery :
Stock Recovery Sense 6 - Latest
Stock recovery 3.23.401.1 (Google Drive Download Link) (it's for international version - Find more in other threads)
2.Boot into bootloader -> Fastboot
Use your ADB :
Code:
fastboot flash recovery recovery_t6ul-3.23.401.1.img
3. Go to your Setting -> Backup & Reset and Reset Your device
your device will reboot and recovery will ERASE ALL YOUR DATA
Now You have Non-encrypted Device
4.in final step you could flash TWRP again Like:
Code:
fastboot flash recovery twrp-2.8.7.0-t6ul.img
Another option is using TWRP...
Go into the Wipe settings,
Select Format Data,
Type Yes when prompt
And when is complete, complete a Factory Reset under the Wipe settings.
Don't forget that it will wipe internal storage so you will need to have a copy of the ROM on the external storage to flash..
tapPeD from my haNdhEld cOmpuTeR
andrewjt19 said:
Another option is using TWRP...
Go into the Wipe settings,
Select Format Data,
Type Yes when prompt
And when is complete, complete a Factory Reset under the Wipe settings.
Don't forget that it will wipe internal storage so you will need to have a copy of the ROM on the external storage to flash..
tapPeD from my haNdhEld cOmpuTeR
Click to expand...
Click to collapse
When your device is encrypted, TWRP Can't mount your internal storage!
It should decrypt with stock recovery first...
e12ror said:
When your device is encrypted, TWRP Can't mount your internal storage!
It should decrypt with stock recovery first...
Click to expand...
Click to collapse
It does when you format the data.. I was encrypted and read this technique in a separate HTC forum.
tapPeD from my haNdhEld cOmpuTeR
andrewjt19 said:
It does when you format the data.. I was encrypted and read this technique in a separate HTC forum.
tapPeD from my haNdhEld cOmpuTeR
Click to expand...
Click to collapse
I tried all that ways, even adbshell, but it was the only way!
But thanks for your notice...
please help
I'm in this problem
my device got encrypted
i cannot flash any rom any recovery
i were using nusensesix rom
with CWM 6.0.4.8
MY HBOOT IS 2.49
S-ON
t6u
803e black one max
tampered unlocked
emmc looks alive
device boot to rom but give me message DECRYPT STORAGE
and when it reset phone it goes to cwm recovery and when i try to wipe
it wipes everything except DATA partition
giving me error:
Code:
[HTML]ERROR MOUNTING /DATA
SKIPPING FORMAT
E: UNKNOWN VOLUME FOR PATH [ /SD-EXT]
ERROR MOUNTING /SDCARD/.ANDROID_SECURE!
SKIPPING FORMAT[/HTML]
when flashing stock recovery or twrp it reboots again to cwm recovery
i got mad with all these errors
please try to help me to figure out this problem and solve it .

[FIX] How to solve "unable to mount data" error

Hey,
recently many are facing the problem to suddenly receive the above error and aren't able to solve it by formatting data (well, it cannot be mounted).
Here are the steps that I suggest in case you find yourself in that situation (obviously all data including internal storage content will be gone afterwards, so make external backups of important stuff if you can before continuing)
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
This helped a few people already, but please comment if it also does (or doesn't) for you!
Cheers and greetings,
Phil the Thrill
I had this problem, but not always just formatting helps. First time when I install LOS 15.1 I didn't format internal storage then LOS crypt my storage and TWRP couldn't mount it and I can't just format it, I have error when I try to format it in ext4 by default. Then I try to format it to another file system and select ext2. TWRP succesful format data and then I select again to format it to ext4 and install other rom. I don't know why first time TWRP couldn't format data.
I use google translate. Sorry if I have misspellings
aleksandar9999a said:
I had this problem, but not always just formatting helps. First time when I install LOS 15.1 I didn't format internal storage then LOS crypt my storage and TWRP couldn't mount it and I can't just format it, I have error when I try to format it in ext4 by default. Then I try to format it to another file system and select ext2. TWRP succesful format data and then I select again to format it to ext4 and install other rom. I don't know why first time TWRP couldn't format data.
I use google translate. Sorry if I have misspellings
Click to expand...
Click to collapse
I didn't just suggest to format anything...
The important thing is to reflash twrp via fastboot.
The point is that after doing this you might even be able at all again to format data...
If you follow the further steps I think you're good to go and don't need to change any file system.
Phil_Smith said:
Hey,
recently many are facing the problem to suddenly receive the above error and aren't able to solve it by formatting data (well, it cannot be mounted).
Here are the steps that I suggest in case you find yourself in that situation (obviously all data including internal storage content will be gone afterwards, so make external backups of important stuff if you can before continuing)
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
This helped a few people already, but please comment if it also does (or doesn't) for you!
Cheers and greetings,
Phil the Thrill
Click to expand...
Click to collapse
Thats because maybe on a backup you select another storage that nota the internal storage....maybe you select otg storage ir something....put the selection on Internal storage....and it resolves
I've same problem in my redmi note 4 (mido). I tried the same but it not works.
After update of resurrection remix oreo (30-05-2018), I unable to install any zip through twrp.It shows "unable to mount /vendor". I also search for vendor partition in mount menu but I cant found any options for it.
If you found any solution plz tell me......... thanks
Stonner_99 said:
I've same problem in my redmi note 4 (mido). I tried the same but it not works.
After update of resurrection remix oreo (30-05-2018), I unable to install any zip through twrp.It shows "unable to mount /vendor". I also search for vendor partition in mount menu but I cant found any options for it.
If you found any solution plz tell me......... thanks
Click to expand...
Click to collapse
me either, my problem. RRD. pls anyhelp?
Hutabarat said:
me either, my problem. RRD. pls anyhelp?
Click to expand...
Click to collapse
Hi, I had the same problem. (Redmi Note 4, Mido)
But after installing RedWolf (Build 27)
with adb/fastboot and everything works fine - without formating everything.
This maybe can help,
first i enter wipe menu on twrp and advanced wipe, mark data partition then repair or change file system, after that change file system, change to what ever except ext4 (i use ext2 one) then change again to ext 4. Done you get data partition back
*this method will wipe your data on that partition
solution about unable to mount data on s7 edge
Hi,
Make sure to do a backup of your data, all data will be erased
after many attempts to find the solution
i tried to go to recovery latest twrp:
go to wipe
select data
for me i choosed ext3 and make repair
than i select Fat and again ext3
you can choose another file system
Thank you
Thanks this worked for me
This is the best answer to solve the problem:
CHoozen said:
This maybe can help,
first i enter wipe menu on twrp and advanced wipe, mark data partition then repair or change file system, after that change file system, change to what ever except ext4 (i use ext2 one) then change again to ext 4. Done you get data partition back
*this method will wipe your data on that partition
Click to expand...
Click to collapse
This worked for me.
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
I was in Xiaomi.EU 9.3.28 in a "encrypted storage" situation
After messing it up I endend in a situation where I can not mount the data partition.
Follow your steps and now I'm setting up xiaomi.eu 9.5.9 without a problem.
Thank you very much.
Wachuwey said:
This worked for me.
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
I was in Xiaomi.EU 9.3.28 in a "encrypted storage" situation
After messing it up I endend in a situation where I can not mount the data partition.
Follow your steps and now I'm setting up xiaomi.eu 9.5.9 without a problem.
Thank you very much.
Click to expand...
Click to collapse
Thanks to you I was able to recover my wife's Redmi 5. Cheers :good:
could not mount data and unable to find crypto error
Good morning guys im using Xiaomi Redmi note 4x(mido) i installed LineageOS 15.1 then the gapps, but the google photos and other google apps keep crashing and recommended me to uninstall and install again. so i wen to twrp and installed the gapps again, then it keeps crashing again. so what i did is to wipe in twrp then installed linneage and the gapps but when rebooting it asked my password then after than i can't no longer boot it keep sayingf could not mount/data and unable to find crypto. i tried all the steps and fix i found here and in other sites but it does not work when i try changing it to other file system it says mke2fs -t ext3 -b 4096 /dev/block/mmcblk0p49, and error 64. Please help thank you
Still not able to mount storage.
Phil_Smith said:
Hey,
recently many are facing the problem to suddenly receive the above error and aren't able to solve it by formatting data (well, it cannot be mounted).
Here are the steps that I suggest in case you find yourself in that situation (obviously all data including internal storage content will be gone afterwards, so make external backups of important stuff if you can before continuing)
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
This helped a few people already, but please comment if it also does (or doesn't) for you!
Cheers and greetings,
Phil the Thrill
Click to expand...
Click to collapse
I tried everything that is:
-changing file system also gives "unable to mount storage " in every format like fat, ext2, ext3, ext4.
-factory reset also gives same error "unable to mount storage"
-I also tried different recovery.
Please someone help me!!!
Wachuwey said:
This worked for me.
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
I was in Xiaomi.EU 9.3.28 in a "encrypted storage" situation
After messing it up I endend in a situation where I can not mount the data partition.
Follow your steps and now I'm setting up xiaomi.eu 9.5.9 without a problem.
Thank you very much.
Click to expand...
Click to collapse
Format data solved everything. But before format data, you better backup all your files. Because all of it will be erased like new.
Thank you.
CHoozen said:
This maybe can help,
first i enter wipe menu on twrp and advanced wipe, mark data partition then repair or change file system, after that change file system, change to what ever except ext4 (i use ext2 one) then change again to ext 4. Done you get data partition back
*this method will wipe your data on that partition
Click to expand...
Click to collapse
I LOVE YOU!!! U saved me when nothing worked. Ty so much !!
Hey King,
I do not use a Redmi Note 8, yet I had the same problem with my Moto G5 Plus.
Until I read your post and now my phone works.
Thank you!
Hi, i have TWRP 3.6.0 installed on my mi 11 lite (courbet), and then it shows "unable to mount /data". I know, formatting helps, but what to do if i don't want to format it, only i want to update the rom?

Error rom !!

can you help me? I was in deodex 09/28 and went to mcaosp, gave full wipe and the whole procedure to install rom, but when I reboot / bootar it shows failure to decrypt. but I've never encrypted and put password for anything, I gave it again fullwipe including cache and internal storage, but still the same error
Edi1: Android starts normal, but asks password to decrypt how does this? I did not put any password
You need to format data partition, not wipe.
In wipe menu select format data, then have to type yes and tap enter.
It will erase internal also so backup first if you need to.

I tried to encrypt and my device died. Does it have a solution?

Helo! I will explain the case.
Device: Samsung Galaxy S Duos S7562
Custom ROM: Lineage 15
I selected to perform device encryption in the default option of the system, after the whole process, the phone got stuck in the Samsung logo and won't start. So I accessed the TWRP and saw that it is not possible to access /data and it is also not possible to clean it.
Through the computer I can't get the device to be recognized by the ADB.
Is there any solution or can I schedule the wake?
TWRP >> Wipe >> format data >> type "yes" .
It appears the ROM does not support encryption/decryption, the phone is indeed encrypted, but the problem is when trying to decrypt the data, it seems to fail.
If you had any important files, there has been some tutorials on decrypting /data in TWRP using the decryption password.
Mohamedkam000​Thanks for the tip. I went to research and found this tutorial. It worked for me from step 8.
I found it on another site, I don't know if I can quote the source here, but here are the steps, in case someone else needs it:
1. The first thing to try is whether the internal storage was somehow encrypted using a legacy screen lock method.
2. Go to Settings > Security > Screen lock of your Android device and change screen lock method to Approved or Pin. Create a new one.
3. Reboot into TWRP, and it should ask for a password - enter the pass or pin you just created.
4. TWRP will attempt to decrypt your device's internal storage and, if successful, you should have no further problems. However, if that doesn't solve the “unable to mount data, 0mb internal storage” issue, continue with the rest of this guide.
5. Reboot your device into TWRP again.
6. Navigate to Clean > Next Clean > Data and choose Repair or Change File System.
7. Press Repair File System to see if this resolves the issue. If not, continue.
8. Press Change File System, choose Ext2 and swipe to confirm.
9. Now go back to Ext4 and swipe to confirm.
10. Go back to the TWRP main menu, then to the Mount menu and check if your partitions can be mounted now.
11. If you are still unable to mount your partitions, you will need to repair the internal partition, which will likely clear your internal storage.
There are four points to clear it out:
For /data partition to show 0 MB, or failed to mount, it doesn't mean it has broken its filesystem, it didn't, it's just encrypted, that's how the protection works.
Choosing to repair filesystem or change filesystem may result in a bootable/mountable filesystems, however, you'll lose your data. Not all phones has decryption on TWRP, it needs a modified recovery.
Encryption has different security key than the regular lockscreen, it doesn't use pattern. So it doesn't matter what you've set on your lockscreen.
It seems to be your first time encountering this issue. On modern phones (S6 and above), when you flash TWRP, you won't be able to mount /data, because all phones come with forced encrypting mechanism, so in order to flash custom ROM, you'll have to format data (the option where you write "yes"). And any mount of /system will result in a bootloop haha.
Mohamedkam000 said:
There are four points to clear it out:
For /data partition to show 0 MB, or failed to mount, it doesn't mean it has broken its filesystem, it didn't, it's just encrypted, that's how the protection works.
Choosing to repair filesystem or change filesystem may result in a bootable/mountable filesystems, however, you'll lose your data. Not all phones has decryption on TWRP, it needs a modified recovery.
Encryption has different security key than the regular lockscreen, it doesn't use pattern. So it doesn't matter what you've set on your lockscreen.
It seems to be your first time encountering this issue. On modern phones (S6 and above), when you flash TWRP, you won't be able to mount /data, because all phones come with forced encrypting mechanism, so in order to flash custom ROM, you'll have to format data (the option where you write "yes"). And any mount of /system will result in a bootloop haha.
Click to expand...
Click to collapse
Thanks for the information. Next time I'm going to look for an encryption-compatible TWRP.

Question Orangefox can't wipe data: unable to mount storage

Hi, Orangefox can't wipe data, it gives me this error: unable to mount storage. I think the problem is that the data partition is somehow encrypted, but i haven't encrypted it so now I can't decrypt it because I don't have the password. I've already tried with the unlock password but it fails. I know the easy solution would be to format all data including internal storage but I would like to avoid that possibility. Do you know what can I do?
(The CrDroid rom I was installing before this problem occurred is in bootloop, so I can't access it).
Have you tried other recovery? TWRP, PE, Miui.
TWRP tells me the same thing: Unable to mount storage
I think the only solution is to format data. Is there a way to recover the files? I have no backup.
Data return is possible. Formatting must not be done and you must load the ROM from which the data came. That is, the last working ROM. After running it, then back up the data and only then try a new ROM where the data will be formatted.
StaryMuz said:
Data return is possible. Formatting must not be done and you must load the ROM from which the data came. That is, the last working ROM. After running it, then back up the data and only then try a new ROM where the data will be formatted.
Click to expand...
Click to collapse
How do i load the rom? I can't install it with TWRP, it says:
Devices on super may not mount until rebooting
recovery.
To flash additional zips, please reboot recovery to
switch to the updated slot.
I've tried also with OrangeFox, same error
OK, the problem was relative to the A/B slots: by switching to the other slot I managed to install and access to the rom. Now I can recover the files, so I can format data without problems. Thank you!

Categories

Resources