twrp need password to decrypt - Xiaomi Redmi Note 4 Questions & Answers

yesterday I installed the twrp version 3.2.1 with lazy flash enabled. after which I installed RR-N-v5.8.5-20171002-mido-Final with open_gapps-arm64-7.1-pico-20180123 I noticed that Twrp requires my password to decrypt. I searched everywhere to see what it is because it is not the operating system password or any other password. Finally, because I did not find another solution I went back to the factory rom. why did this happen? so far we have not had this problem with other phones.

eto demerzel said:
yesterday I installed the twrp version 3.2.1 with lazy flash enabled. after which I installed RR-N-v5.8.5-20171002-mido-Final with open_gapps-arm64-7.1-pico-20180123 I noticed that Twrp requires my password to decrypt. I searched everywhere to see what it is because it is not the operating system password or any other password. Finally, because I did not find another solution I went back to the factory rom. why did this happen? so far we have not had this problem with other phones.
Click to expand...
Click to collapse
You need to wipe data and internal storage...
Envoyé de mon Redmi Note 4 en utilisant Tapatalk

billouetaudrey said:
You need to wipe data and internal storage...
Envoyé de mon Redmi Note 4 en utilisant Tapatalk
Click to expand...
Click to collapse
1. this not an option.
2. i try to wipe but when phone start the ask me for a password.
3. i want to knows why this thing happend, because in this case i am afraid the flash again.

eto demerzel said:
1. this not an option.
2. i try to wipe but when phone start the ask me for a password.
3. i want to knows why this thing happend, because in this case i am afraid the flash again.
Click to expand...
Click to collapse
Try red wolf recovery
Maybe a bad version, I don't know, never happen
Sure your bootloader is unlock?
Envoyé de mon Redmi Note 4 en utilisant Tapatalk
---------- Post added at 09:15 AM ---------- Previous post was at 09:14 AM ----------
http://en.miui.com/thread-287040-1-1.html
Envoyé de mon Redmi Note 4 en utilisant Tapatalk

billouetaudrey said:
Try red wolf recovery
Maybe a bad version, I don't know, never happen
Sure your bootloader is unlock?
Envoyé de mon Redmi Note 4 en utilisant Tapatalk
---------- Post added at 09:15 AM ---------- Previous post was at 09:14 AM ----------
http://en.miui.com/thread-287040-1-1.html
Envoyé de mon Redmi Note 4 en utilisant Tapatalk
Click to expand...
Click to collapse
yes the bootloader is unlock .

eto demerzel said:
yes the bootloader is unlock .
Click to expand...
Click to collapse
As I say, I think it's an internal data access issue, are you sure do you format it? (all internal storage, format data/yes)
Envoyé de mon Redmi Note 4 en utilisant Tapatalk

I have no problem with people starting new threads but don't you think it would have been appropriate to raise your issue within the twrp thread, and in any event if you took you time to search within XDA you would have found the solution.

eto demerzel said:
yesterday I installed the twrp version 3.2.1 with lazy flash enabled. after which I installed RR-N-v5.8.5-20171002-mido-Final with open_gapps-arm64-7.1-pico-20180123 I noticed that Twrp requires my password to decrypt. I searched everywhere to see what it is because it is not the operating system password or any other password. Finally, because I did not find another solution I went back to the factory rom. why did this happen? so far we have not had this problem with other phones.
Click to expand...
Click to collapse
maybe you forgot to flash firmware or format your data, also *this thread shouldve been in help section*

Try 123456789 for twrp

I checked, the bootloader is open. When i tried to mi flash unlock i received the message that it is already a unlock.

eto demerzel said:
I checked, the bootloader is open. When i tried to mi flash unlock i received the message that it is already a unlock.
Click to expand...
Click to collapse
As a fellow user said earlier, did you format it?

MarwanTamer said:
Try 123456789 for twrp
Click to expand...
Click to collapse
not working

sachin n said:
As a fellow user said earlier, did you format it?
Click to expand...
Click to collapse
eto demerzel said:
yesterday I installed the twrp version 3.2.1 with lazy flash enabled. after which I installed RR-N-v5.8.5-20171002-mido-Final with open_gapps-arm64-7.1-pico-20180123 I noticed that Twrp requires my password to decrypt. I searched everywhere to see what it is because it is not the operating system password or any other password. Finally, because I did not find another solution I went back to the factory rom. why did this happen? so far we have not had this problem with other phones.
Click to expand...
Click to collapse
Strangely, I have the same issue here. Wanted to install Oreo ROM, booted into TWRP and my usual PIN for decryption is not working, though while booting into the system the same PIN is being accepted. The point is, in TWRP you can not even access the internal storage to format anything, it cannot be mounted. I have no clue why this happens, I had no problems with decryption in TWRP before. Seems that it first occurred after installing TWRP 3.2.1.0, but now it fails with 3.1.1.0, too.
Edit: wanted to attach a screenshot where you can see that it does not even detect the cache... not possible to save ss in TWRP due to not mounted internal storage

i try and i see the apear i put fingerprint recognition with password.

eto demerzel said:
i try and i see the apear i put fingerprint recognition with password.
Click to expand...
Click to collapse
I worked it out by formatting the partitions, seemingly TWRP 3.2.1.0 dropped support for F2FS which my cache and data/internal storage was formatted with. So formatting helped (and therefore removed encryption), I could normally mount all partitions.
Maybe this is helpful to someone.

martin.42 said:
I worked it out by formatting the partitions, seemingly TWRP 3.2.1.0 dropped support for F2FS which my cache and data/internal storage was formatted with. So formatting helped (and therefore removed encryption), I could normally mount all partitions.
Maybe this is helpful to someone.
Click to expand...
Click to collapse
Hello my friend. I am in the same situation. As you said before, since storage is not decrypted, you cannot wipe data nor navigate through internal storage to flash zip files. Which partitions did you flash in order to bypass encryption?

ocalderon said:
Hello my friend. I am in the same situation. As you said before, since storage is not decrypted, you cannot wipe data nor navigate through internal storage to flash zip files. Which partitions did you flash in order to bypass encryption?
Click to expand...
Click to collapse
Are you using TWRP 3.2.1.0? I can't remember very well, but I think I used the option "Format" in menu "Wipe". I think you should also wipe and reformat data ("Advanced Wipe" > choose "Data" > "Repair or change filesystem" > "ext4", I think) and all other partitions that were formatted with F2FS.
Attached two screenshots from TWRP.
Hope I could help!

Did you guys tried your mi account's password?

I know this is old but in case anyone stumbles across it, you have to remove all passwords in your Android OS and set it to none or swipe to access.
I can't remember which but that's the only way I know around it. I was hoping for an update in versions but December looks to be the last current version.

Hi all,
I was using twrp 3.2.1-0 for quite some time with encryption using my password from android. It was working just fine until yesterday, when I wanted to flash the newest nightly. Since then my Andorid password is not accepted any more, although I didn't change a thing.
No, I am not ready to format my storage - even if it would be possible and yes, I have tried to erase all password from android and start twrp. No changes though.
Any ideas guys?
Cheers and thanks,
zavjah

Related

Questions about Decryption / Encryption of Redmi Note 4 (mido)

Dear @sachin n,
I recently installed @abhishek987 official LOS 14.1 (unlocked bootloader, flashed latest global developer, flashed twrp, installed LOS 14.1) on my and two of my friend’s Redmi Note 4 (mido) but in all 3 cases I ended up with an encrypted phone. I decrypted my mido doing following steps: started twrp, mount, checked all partitions, wipe, format data, typed in YES. But when I reflashed LOS 14.1. there were some problems with “failure to install xxx partition” (can’t remember anymore what exactly). I guess because I checked ALL partitions.
Now the questions:
1. If I leave the phone encrypted, is there a limitation in the functionality of the phone?
2. Does encryption present a problem with future clean or dirty ROM installations?
3. What is the right way to decrypt the phone. I guess start twrp, mount, check partitions (question is: which partitions exactly have to be checked!), wipe, format data, typed in YES.
Thanks a lot.
Ilir ILIRI said:
Dear @sachin n,
I recently installed @abhishek987 official LOS 14.1 (unlocked bootloader, flashed latest global developer, flashed twrp, installed LOS 14.1) on my and two of my friend’s Redmi Note 4 (mido) but in all 3 cases I ended up with an encrypted phone. I decrypted my mido doing following steps: started twrp, mount, checked all partitions, wipe, format data, typed in YES. But when I reflashed LOS 14.1. there were some problems with “failure to install xxx partition” (can’t remember anymore what exactly). I guess because I checked ALL partitions.
Now the questions:
1. If I leave the phone encrypted, is there a limitation in the functionality of the phone?
2. Does encryption present a problem with future clean or dirty ROM installations?
3. What is the right way to decrypt the phone. I guess start twrp, mount, check partitions (question is: which partitions exactly have to be checked!), wipe, format data, typed in YES.
Thanks a lot.
Click to expand...
Click to collapse
Alright, not gonna answer any of your questions until you decrypt it.
The easiest way is to FORMAT data via TWRP.
Just to make sure, boot to TWRP > wipe > tap FORMAT not the wipe!!! I mean, FORMAT! Then choose yes to format, boot up. You're now decrypted. Note that you'll lose your all Data. So, make a backup.
Done? If you're done, next time you setup fingerprint, it'll prompt to enter password everytime you boot, just click on "No thanks". That's all.
Sent from my mido using XDA Labs
Attached»
Sent from my mido using XDA Labs
sachin n said:
Attached»
Sent from my mido using XDA Labs
Click to expand...
Click to collapse
Thanks for the answer and the tipp but prior to posting this thread I had already decrypted my phone mido doing following steps: started twrp, mount, checked all partitions, wipe, format data, typed in YES.
I would be very greatfull if you can answer me these questions:
1. If I leave the phone encrypted, is there a limitation in the functionality of the phone?
2. Does encryption present a problem with future clean or dirty ROM installations?
3. What is the right way to decrypt the phone. I guess start twrp, mount, check partitions (question is: which partitions exactly have to be checked!), wipe, format data, typed in YES.
Thanks a lot.
Ilir ILIRI said:
Thanks for the answer and the tipp but prior to posting this thread I had already decrypted my phone mido doing following steps: started twrp, mount, checked all partitions, wipe, format data, typed in YES.
I would be very greatfull if you can answer me these questions:
1. If I leave the phone encrypted, is there a limitation in the functionality of the phone?
2. Does encryption present a problem with future clean or dirty ROM installations?
3. What is the right way to decrypt the phone. I guess start twrp, mount, check partitions (question is: which partitions exactly have to be checked!), wipe, format data, typed in YES.
Thanks a lot.
Click to expand...
Click to collapse
1. Not really afaik.
2. Nope, it isn't. But it's a pain in ass to enter password everytime you boot into system / twrp. So, most of the users doesn't really like the encryption.
3. Ah, as I already said, just boot to TWRP > choose wipe > tap FORMAT on the right bottom and next type yes to format. No need to check anything. :good:
._. pro
sachin n said:
2. Nope, it isn't. But it's a pain in ass to enter password everytime you boot into system / twrp. So, most of the users doesn't really like the encryption.
Click to expand...
Click to collapse
Actually when the device is encrypted you can just choose to start without entering the PIN/Password, just like when the phone is decrypted.
On devices that have SOCs which have hardware decryption embedded, like the SD 625 does, it doesn't really makes sense to decrypt the device as there's no real performance penalty.
@sachin n i flashed LOS 14.1 for d first tym i.e swiching frm MIUI for d first tym....when i move to settings>security it shows me encrypted. I tried to flash LOS 15 and it asked me password i entered it and it said "password is correct but failed to decrypt please format you data". now my Q is
1- why did it happened?
2-Will i have to format data? Is this the only way?
3- If i do so and again flash any other ROM e.g LOS15 will it happen again?
4- Do this happens with every Xiaomi users?
---------- Post added at 03:24 PM ---------- Previous post was at 03:20 PM ----------
[/COLOR @sachin n remember: my TWRP is normal i.e it nvr asks me for any type of password. It had once when i had set lock screen password (it was the first bootup after switching from MIUI) with secure boot
and when i tried to enter in TWRP it asked for password which i entered i had on my lock screen and it said password incorrect...This problem vanished when i removed the lock screen password.
Arpit Anand said:
@sachin n i flashed LOS 14.1 for d first tym i.e swiching frm MIUI for d first tym....when i move to settings>security it shows me encrypted. I tried to flash LOS 15 and it asked me password i entered it and it said "password is correct but failed to decrypt please format you data". now my Q is
Click to expand...
Click to collapse
Oh yeah, the password or the "default_password" doesn't works, so all you've to do is to format data using TWRP, that's gonna decrypt your phone.
Arpit Anand said:
1- why did it happened?
Click to expand...
Click to collapse
Cuz when you're coming from MIUI you should do format data, that happens to everyone who wanna get rid of encryption.
Arpit Anand said:
2-Will i have to format data? Is this the only way?
Click to expand...
Click to collapse
Yessh, that's the only way.
Arpit Anand said:
3- If i do so and again flash any other ROM e.g LOS15 will it happen again?
Click to expand...
Click to collapse
Nope, it won't happen again. The tip is to don't setup any fingerprint at the setup wizard(at the first boot). Set it up later.
Arpit Anand said:
4- Do this happens with every Xiaomi users?
Click to expand...
Click to collapse
Ah, Yeah!
@sachin n thanks finally i got my answers!??
so if i format data then after that if i will flash a rom say ,LOS15 , it will not show encrypted in security>settings and we should not set any password on first bootup?
Arpit Anand said:
@sachin n thanks finally i got my answers!
so if i format data then after that if i will flash a rom say ,LOS15 , it will not show encrypted in security>settings and we should not set any password on first bootup?
Click to expand...
Click to collapse
Yes, correct. It won't show encrypted any longer.
Yes, do not set anything at first boot.
@sachin n can we setup any lock screen later?
Arpit Anand said:
@sachin n can we setup any lock screen later?
Click to expand...
Click to collapse
Yep!
@sachin n thanks
@sachin n can i flash anything untill m on Encryptes?
Arpit Anand said:
@sachin n can i flash anything untill m on Encryptes?
Click to expand...
Click to collapse
Yes you can, but as long as it's encrypted you must format it to get rid of it. :silly:
sachin n said:
Yes you can, but as long as it's encrypted you must format it to get rid of it. :silly:
Click to expand...
Click to collapse
After you format the device, is it possible to restore backups made by Titanium Backup? If you make a backup move it to the computer and then move it back on the phone? Or will it be encrypted and unusable?
Lazdaa said:
After you format the device, is it possible to restore backups made by Titanium Backup? If you make a backup move it to the computer and then move it back on the phone? Or will it be encrypted and unusable?
Click to expand...
Click to collapse
It will work just fine.
I heard that I can force encryption and dm-verity disabled by Magisk. How can I do that?
Thank you!
From LOS 15 to MIUI
Now also do I have to decrypt my.phone?

[urgent] encrypted my kenzo's internal storage

Okay ,so i was on miui9 and decided to flash miui10. I flashed it and restarted the phone, the boot up was talking too Long so I thought maybe the flash was not successful. And I rebooted into TWRP. But unfortunately it encrypted it. I got around it using default_password . But flash and wipes were not successful anymore. I couldn't Access internal storage too. I tried restarting and this time it said " encryption was interrupted, you can no longer access your data, format your phone to unlock... Etc"
Please tell me how i can backup or decrypt my phone's storage. Twrp , fastboot are still accessible. Please help I can't format the phone.
sssaini007 said:
Okay ,so i was on miui9 and decided to flash miui10. I flashed it and restarted the phone, the boot up was talking too Long so I thought maybe the flash was not successful. And I rebooted into TWRP. But unfortunately it encrypted it. I got around it using default_password . But flash and wipes were not successful anymore. I couldn't Access internal storage too. I tried restarting and this time it said " encryption was interrupted, you can no longer access your data, format your phone to unlock... Etc"
Please tell me how i can backup or decrypt my phone's storage. Twrp , fastboot are still accessible. Please help I can't format the phone.
Click to expand...
Click to collapse
Go to twrp -> wipe - > format data --> type yes to format .
naik2902 said:
Go to twrp -> wipe - > format data --> type yes to format .
Click to expand...
Click to collapse
I literally said , I can't format. Cause i don't want to lose my dats.
sssaini007 said:
I literally said , I can't format. Cause i don't want to lose my dats.
Click to expand...
Click to collapse
Ok.
naik2902 said:
Ok.
Click to expand...
Click to collapse
You have no other choice except going back to previous ROM. (connect to pc, mount usb storage allowes you to save your data like photos and stuff)
Sophia92 said:
You have no other choice except going back to previous ROM. (connect to pc, mount usb storage allowes you to save your data like photos and stuff)
Click to expand...
Click to collapse
I can't do that. I tried that but didn't work.
Also I was thinking maybe fastboot flash can fix ,but instead it looked the BL and removed TWRP and didn't even solve the problem.
I tried using mi unlocker to unlock but it Said "this account can't unlock this device"
sssaini007 said:
I can't do that. I tried that but didn't work.
Also I was thinking maybe fastboot flash can fix ,but instead it looked the BL and removed TWRP and didn't even solve the problem.
I tried using mi unlocker to unlock but it Said "this account can't unlock this device"
Click to expand...
Click to collapse
Forgot to mention: connect to pc while you are in recovery (trwp if possible). If you don't have this installed, search here in rn3 forum, for zcx twrp and flash this from fastboot mode.
Sophia92 said:
Forgot to mention: connect to pc while you are in recovery (trwp if possible). If you don't have this installed, search here in rn3 forum, for zcx twrp and flash this from fastboot mode.
Click to expand...
Click to collapse
Thank you so much
I will try to flash zcx recovery with fastboot, as i have BL locked too, i Will flash it by replacing the boot.img from miui rom .
And will try mounting usb From zcx twrp.
Btw, I did tried it once in previous official TWRP. Sd card and internal storage did showed up in pc ,but internal storage was inaccessible. Let's Hope zcx makes a difference.

TWRP for Android 9 Pie?

My phone just got the android 9 update, I already had installed root with twrp on my device with android 8.0
So when I tried to re-root my phone I needed to reinstall the TWRP but it couldn't decrypt the data
I tried all of the posible solutions to this but nothing
I think that is the TWRP version that can't decrypt data in android 9.0
But in the web isn't any version that support the Mi 8 LIte with Android 9.0
Do I need to wait until someone update the TWRP version or what can I do?
Thanks in advance
Sebaxe07 said:
My phone just got the android 9 update, I already had installed root with twrp on my device with android 8.0
So when I tried to re-root my phone I needed to reinstall the TWRP but it couldn't decrypt the data
I tried all of the posible solutions to this but nothing
I think that is the TWRP version that can't decrypt data in android 9.0
But in the web isn't any version that support the Mi 8 LIte with Android 9.0
Do I need to wait until someone update the TWRP version or what can I do?
Thanks in advance
Click to expand...
Click to collapse
Formatting data have to decrypt it, you have to be sure that TWRP is able to mount data partition.
SubwayChamp said:
Formatting data have to decrypt it, you have to be sure that TWRP is able to mount data partition.
Click to expand...
Click to collapse
So I need to erease all of my phone data to be able to use twrp? But why it didn't have this problem the first time?
Sebaxe07 said:
So I need to erease all of my phone data to be able to use twrp? But why it didn't have this problem the first time?
Click to expand...
Click to collapse
You are upgrading now; for this you need to decrypt it for first time and probably every time that you switch from a miui to an AOSP rom. Be sure that your data partition is mounted and I guess you can´t see the files under TWRP. Try first with this zip https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389
Stock Miui re-encrypt data on first boot after factory reset, so you need to flash Universal DM-Verity
I also need TWRP for pie.
Try this recovery, It has more features than TWRP https://sourceforge.net/projects/orangefox/files/test_builds/OrangeFox-R9.0-1-platina.zip/download
SubwayChamp said:
Try this recovery, It has more features than TWRP https://sourceforge.net/projects/orangefox/files/test_builds/OrangeFox-R9.0-1-platina.zip/download
Click to expand...
Click to collapse
Thanks
SubwayChamp said:
Try this recovery, It has more features than TWRP https://sourceforge.net/projects/orangefox/files/test_builds/OrangeFox-R9.0-1-platina.zip/download
Click to expand...
Click to collapse
Would you happen to know if opengapps aroma works with this recovery. I have tried 3 or 4 other revoveries and once options are selected and install starts recovery reboots. After that I have to hold power to force reboot because no matter what reboot option I choose it just goes back to recovery.
cidxtc said:
Would you happen to know if opengapps aroma works with this recovery. I have tried 3 or 4 other revoveries and once options are selected and install starts recovery reboots. After that I have to hold power to force reboot because no matter what reboot option I choose it just goes back to recovery.
Click to expand...
Click to collapse
Unfortunately I can't tell you for sure cause left 3 days to unlock my bootloader but I used this recovery in two Xiaomi devices (R5Plus and Mi Max) and was the best I ever tried, never had issue flashing Aroma zips.
Be sure that once finished the installation Reboot box in Aroma be unticked
SubwayChamp said:
Unfortunately I can't tell you for sure cause left 3 days to unlock my bootloader but I used this recovery in two Xiaomi devices (R5Plus and Mi Max) and was the best I ever tried, never had issue flashing Aroma zips.
Be sure that once finished the installation Reboot box in Aroma be unticked
Click to expand...
Click to collapse
Never had an issue with redmi note 4x and aroma either. The reboot box does not make a difference because the install never happens. I will download and try.
Sebaxe07 said:
I think that is the TWRP version that can't decrypt data in android 9.0
But in the web isn't any version that support the Mi 8 LIte with Android 9.0
Click to expand...
Click to collapse
If you are using the wzsx150 3.2.3 twrp found under the ROM/recovery section, versions 0121 and 0212 are both supposed to be for Android 9. I haven't tried myself though, as I am still on 8.
I can confirm version 0212 does indeed decrypt data partition, making it mountable it inside TWRP. Of course phone's now running on official Android 9 MIUI 10, updated on Wednesday.
So heads up for anyone trying to use open gapps aroma installer. No recovery will install it. Tried batik, orange fox, perp, and wzsx150 twrp and all do the same. After all the selections when the actual installation starts the device reboots (installs nothing but does save setting options) back to recovery. All reboot options (system, fastboot, etc) all reboot back to recovery only holding power button will allow device to boot into system.
MetallicGR said:
I can confirm version 0212 does indeed decrypt data partition, making it mountable it inside TWRP. Of course phone's now running on official Android 9 MIUI 10, updated on Wednesday.
Click to expand...
Click to collapse
I am using wzsx150 3.2.3-1003 and it does not decrypt data, even with proper password.. Where can I find 0212. I cannot find it in this forum. ..only the bad one I am using.
EDIT: Nevermind. Found it.
MetallicGR said:
I can confirm version 0212 does indeed decrypt data partition, making it mountable it inside TWRP. Of course phone's now running on official Android 9 MIUI 10, updated on Wednesday.
Click to expand...
Click to collapse
Any idea why is 0212 half the size of 0121, and the others for that matter (28MB vs 60MB).
I believe it's somehow compressed. If you open these files with something like 7zip you'll see the size is very close between the two.
MetallicGR said:
I believe it's somehow compressed. If you open these files with something like 7zip you'll see the size is very close between the two.
Click to expand...
Click to collapse
Oh okay. That would make sense.
lexridge said:
I am using wzsx150 3.2.3-1003 and it does not decrypt data, even with proper password.. Where can I find 0212. I cannot find it in this forum. ..only the bad one I am using.
EDIT: Nevermind. Found it.
Click to expand...
Click to collapse
Can yo share the 0212 img to Pie I'm stll in Oreo and the Pie update notification is a little annoying so I want to update but I haven't found the twpr 0212 for mi 8 lite.
Here you go. https://forum.xda-developers.com/showpost.php?p=78876979&postcount=46
Another member replied to your other thread as well.

Password in all recoveries except TWRP 3.3.0.0

First of all I must apologize for my low level of English.
I will try to explain something strange that happens to my Pocophone since the arrival of the OTA with Android 10 and Miui11
Since I bought the Poco I have always used TWRP as recovery.
I currently use the 3.3.0.0 official TWRP version downloaded from its official app and I have no problem until the past weekend-
However, I have tried installing OrangeFox Recovery Project (OFRP), PitchBlack Recovery Project (PBRP) and an unofficial TWRP mod whose name is twrp-3.3.1-2-beryllium-adil2.img
And now I tell you I miss it.
If I boot into recovery using TWRP 3.3.0.0 it does not ask me for password, but if I flash OFRP, PBRP or mod 3.3.1.2 adil 2, it always asks me for a password when booting and tells me that the partition /data is encrypted. I do not know the password and I have never encrypted the Poco. Also the 3 revoveries show that is not installed any Tom, but when a reboot the system works perfectly.
Some colleagues have indicated to me that the data partition had been encrypted so I followed the next process to try to install a clean rom.
1. Boot in bootloader with Power + Vol-
2. Via fastboot flash OFRP
3. Boot in recovery (OFRP)
4. Format data and factory reset
5. Reboot recovery OFRP
6. Wipe: cache, Dalvik/Cache, Data and System partitions
7. Install rom XiaomiEU V11.0.4.0.QEJMIXM.zip
8. Flash DFE + Magisk
9. Reboot system
10. Complete ROM configuration
When I start again in recovery, it asks me for a password, informs me that data is encrypted and I cannot mount it, and I can't install anything.
However, if I flash TWRP 3.3.0.0 via fastboot, it no longer asks me for a password and I can mount the data partition and work normally.
If I flash again OFPR, PBRP or twrp-3.3.1-2-beryllium-adil2.img, ask me for a password again and it tells me that / data is encrypted
I tried to delete from /data/system the files locksettings.db, locksettings.db-shm and locksettings.db-wal but it continues asking me for a password if the recovery is always different of TWRP 3.3.0.0
otraver said:
First of all I must apologize for my low level of English.
I will try to explain something strange that happens to my Pocophone since the arrival of the OTA with Android 10 and Miui11
Since I bought the Poco I have always used TWRP as recovery.
I currently use the 3.3.0.0 official TWRP version downloaded from its official app and I have no problem until the past weekend-
However, I have tried installing OrangeFox Recovery Project (OFRP), PitchBlack Recovery Project (PBRP) and an unofficial TWRP mod whose name is twrp-3.3.1-2-beryllium-adil2.img
And now I tell you I miss it.
Click to expand...
Click to collapse
First off, your post belongs in the Q & A section. Please ask a moderator to move it as it has nothing to do with ROMs or development. Secondly, if official TWRP works, use it. Stop switching between recoveries and getting yourself all flustered.
PS: your English is fine. Don't sweat it.
Sent from my Galaxy Tab S5e using XDA Labs
Thank's for your answer.
guhvanoh said:
First off, your post belongs in the Q & A section. Please ask a moderator to move it as it has nothing to do with ROMs or development.
Click to expand...
Click to collapse
I don't know how conctact with the moderator. I'm a veteran user of the XDA-forums but I don't usually write frequently because my difficulty with the English language.
Secondly, if official TWRP works, use it. Stop switching between recoveries and getting yourself all flustered.
PS: your English is fine. Don't sweat it.
Click to expand...
Click to collapse
You're right. Here, in my country, we usually use this saying "if something works, don't touch it"
I wanted to try other recoveries because the official TWRP does not support USB-OTG access well.
About one year ago, I tried using a 256GB flashdrive with a m.2 ssd to perform a faster backup of the rom, but TWRP don't recognize the drive.
I read in these forums that TWRP had a problem managing USB-OTG and installed PBRP and it worked fine until last week I received the Miui11/Android10 OTA. After flashing it, PBRP started asking me for the password and displaying the message "I don't detect any rom installed". Despite having a recent backup (I always do it before flashing) I was a little scared.
I decided to reinstall TWRP by fastboot and I was surprised that the rom had been updated and everything worked ok.
As some colleagues tell me that I have the encrypted / data partition, I tried to make a format of the / data partition and new installation, with the result I commented above.
However, when I received the previous OTA, which was Android9 and Miui11, there was no problem.
I just wanted to share this strange situation.
I appreciate your message.
otraver said:
Thank's for your answer.
I don't know how conctact with the moderator. I'm a veteran user of the XDA-forums but I don't usually write frequently because my difficulty with the English language.
I appreciate your message.
Click to expand...
Click to collapse
Not a problem. If you view this in a web browser there is a button at the bottom left or right to report a post. Use that and ask for this thread to be moved.
PS: your English is still great.
Sent from my Galaxy Tab S5e using XDA Labs
otraver said:
First of all I must apologize for my low level of English.
I will try to explain something strange that happens to my Pocophone since the arrival of the OTA with Android 10 and Miui11
Since I bought the Poco I have always used TWRP as recovery.
I currently use the 3.3.0.0 official TWRP version downloaded from its official app and I have no problem until the past weekend-
However, I have tried installing OrangeFox Recovery Project (OFRP), PitchBlack Recovery Project (PBRP) and an unofficial TWRP mod whose name is twrp-3.3.1-2-beryllium-adil2.img
And now I tell you I miss it.
If I boot into recovery using TWRP 3.3.0.0 it does not ask me for password, but if I flash OFRP, PBRP or mod 3.3.1.2 adil 2, it always asks me for a password when booting and tells me that the partition /data is encrypted. I do not know the password and I have never encrypted the Poco. Also the 3 revoveries show that is not installed any Tom, but when a reboot the system works perfectly.
Some colleagues have indicated to me that the data partition had been encrypted so I followed the next process to try to install a clean rom.
1. Boot in bootloader with Power + Vol-
2. Via fastboot flash OFRP
3. Boot in recovery (OFRP)
4. Format data and factory reset
5. Reboot recovery OFRP
6. Wipe: cache, Dalvik/Cache, Data and System partitions
7. Install rom XiaomiEU V11.0.4.0.QEJMIXM.zip
8. Flash DFE + Magisk
9. Reboot system
10. Complete ROM configuration
When I start again in recovery, it asks me for a password, informs me that data is encrypted and I cannot mount it, and I can't install anything.
However, if I flash TWRP 3.3.0.0 via fastboot, it no longer asks me for a password and I can mount the data partition and work normally.
If I flash again OFPR, PBRP or twrp-3.3.1-2-beryllium-adil2.img, ask me for a password again and it tells me that / data is encrypted
I tried to delete from /data/system the files locksettings.db, locksettings.db-shm and locksettings.db-wal but it continues asking me for a password if the recovery is always different of TWRP 3.3.0.0
Click to expand...
Click to collapse
Hi bro I also facing same issue my problem is I m using orange fox recovery 10.0.1 version and when I flash miuiQ stable global with dfe it ask me to enter password when I boot to recovery don't know what happened. By the way is twrp official work perfectly????
---------- Post added at 04:07 PM ---------- Previous post was at 04:01 PM ----------
otraver said:
Thank's for your answer.
I don't know how conctact with the moderator. I'm a veteran user of the XDA-forums but I don't usually write frequently because my difficulty with the English language.
You're right. Here, in my country, we usually use this saying "if something works, don't touch it"
I wanted to try other recoveries because the official TWRP does not support USB-OTG access well.
About one year ago, I tried using a 256GB flashdrive with a m.2 ssd to perform a faster backup of the rom, but TWRP don't recognize the drive.
I read in these forums that TWRP had a problem managing USB-OTG and installed PBRP and it worked fine until last week I received the Miui11/Android10 OTA. After flashing it, PBRP started asking me for the password and displaying the message "I don't detect any rom installed". Despite having a recent backup (I always do it before flashing) I was a little scared.
I decided to reinstall TWRP by fastboot and I was surprised that the rom had been updated and everything worked ok.
As some colleagues tell me that I have the encrypted / data partition, I tried to make a format of the / data partition and new installation, with the result I commented above.
However, when I received the previous OTA, which was Android9 and Miui11, there was no problem.
I just wanted to share this strange situation.
I appreciate your message.
Click to expand...
Click to collapse
So bro twrp official never give encryption error if I flash miuiQ using it right ?
Hey there!
I have the same Situation here and I figured at least some points out:
- the Upgrade to Android 10 encrypted the data Partition. You can see that in in your phone settings under security and password. For some security reasons of Android Q I guess.
But what password and how to change is a mystery. There are tons of articles out there which are related to "encrypt with lock screen password" but thats something different. We have this Option too in developer settings but it is not Set. So the way of our New encrypted device is still a Secret.
- Official twrp is the only one to decrypt the data correct. If you go to the "save logs" section in twrp and save it you can see the log and it says that it decrypts with Standard password. But I wasnt able to find out that this is. And as I stated before we dont use the lockscreen password to decrypt, I tried to change and disable it but guess what... I didn't change anything.
I hope we can figure out as a community what's exactly going on here.
THE PASSWORD IS:
"default_password"​
guhvanoh said:
Not a problem. If you view this in a web browser there is a button at the bottom left or right to report a post. Use that and ask for this thread to be moved.
Click to expand...
Click to collapse
Reported, thanks
sachin5555 said:
Hi bro I also facing same issue my problem is I m using orange fox recovery 10.0.1 version and when I flash miuiQ stable global with dfe it ask me to enter password when I boot to recovery don't know what happened. By the way is twrp official work perfectly????
Click to expand...
Click to collapse
I'm ussing the 3.3.0.0 and works perfectly...
So bro twrp official never give encryption error if I flash miuiQ using it right ?
Click to expand...
Click to collapse
In my case I have not had any problems.
I am currently using the global stable 11.0.4.0 QEJMIXM + TWRP 3.3.0.0 + Magisk 20.3
Fritzko said:
Hey there!
I have the same Situation here and I figured at least some points out:
- the Upgrade to Android 10 encrypted the data Partition. You can see that in in your phone settings under security and password. For some security reasons of Android Q I guess.
But what password and how to change is a mystery. There are tons of articles out there which are related to "encrypt with lock screen password" but thats something different. We have this Option too in developer settings but it is not Set. So the way of our New encrypted device is still a Secret.
Click to expand...
Click to collapse
I have checked what you say about ""encrypt with lock screen password" in developer settings and in my case it is disabled.
- Official twrp is the only one to decrypt the data correct. If you go to the "save logs" section in twrp and save it you can see the log and it says that it decrypts with Standard password. But I wasnt able to find out that this is. And as I stated before we dont use the lockscreen password to decrypt, I tried to change and disable it but guess what... I didn't change anything.
I hope we can figure out as a community what's exactly going on here.
Click to expand...
Click to collapse
Where can I find the logs you comment to check?
fraggy2 said:
THE PASSWORD IS:
"default_password"​
Click to expand...
Click to collapse
Seriously?
I will not be able to try it until tomorrow. The motherboard of my PC has said that it doesn't work anymore and I am waiting for the arrival of a new one.
Where can I find the logs you comment to check?
Click to expand...
Click to collapse
Go to Twrp > advanced > copy logs. They are saved on your sd card.
fraggy2 said:
THE PASSWORD IS:
"default_password"​
Click to expand...
Click to collapse
I tried wit "default_password" (without quotes) and don't work
Fritzko said:
Hey there!
- Official twrp is the only one to decrypt the data correct. If you go to the "save logs" section in twrp and save it you can see the log and it says that it decrypts with Standard password. But I wasnt able to find out that this is. And as I stated before we dont use the lockscreen password to decrypt, I tried to change and disable it but guess what... I didn't change anything.
Click to expand...
Click to collapse
I checked the TWRP logs and have you reason
Code:
I:Unmounting main partitions...
Successfully decrypted with default password.
I:Decrypt adopted storage starting
I:PageManager::LoadFileToBuffer loading filename: '/data/system/storage.xml' directly
I:successfully loaded storage.xml
Updating partition details...
I am using SHRP recovery for poco for 2 months now and I haven't faced any encryption problem (recovery asking for password). I would recommend you to try it buddy.
Champ16 said:
I am using SHRP recovery for poco for 2 months now and I haven't faced any encryption problem (recovery asking for password). I would recommend you to try it buddy.
Click to expand...
Click to collapse
If i flash it over twrp will it ask me to enter password?
sachin5555 said:
If i flash it over twrp will it ask me to enter password?
Click to expand...
Click to collapse
No
Champ16 said:
No
Click to expand...
Click to collapse
Done ! Thank u
Champ16 said:
I am using SHRP recovery for poco for 2 months now and I haven't faced any encryption problem (recovery asking for password). I would recommend you to try it buddy.
Click to expand...
Click to collapse
I don't think it works, but sure I will try it.
I have already tried everything I have been reading through many forums and I always get the same result.: the ****ing password
I have tried to deactivate the PIN, screen pattern, passwords, I have even logged off the Mi account and then I have tried to flash OFRP, PBRP and a TWRP mod and always, always ask me for password
I've tried booting on TWRP
1. Factory reset
2. Format data (not only wipe) (I answer "yes")
3. Reboot recovery
4. wipe cache, Dalvik / cache, Data and System
5 Install rom (miui_POCOF1Global_V11.0.4.0.QEJMIXM_74f88e6c8f_10.0.zip)
5. Flash twrp
6. Flash orange fox + DFE + magisk
7. Start rom and configure.
And without entering a PIN or blocking pattern, only gmail and Mi account and when returning to reboot in recovery it asks me again for a password.
SOLUTION:
I removed lockscreen password and flashed official TWRP.
Now it's decrypted successfully
The same kind of thing happened to me. I wish that I had seen this thread before. Lost all my data. ???
You can check it here
https://forum.xda-developers.com/poco-f1/help/miui-11-eu-android-10-encrypted-data-t4049421

[RECOVERY][3.4.0-14][lmi]TWRP Xiaomi Poco F2 Pro

Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
Code:
#include <std_disclaimer.h>
/*
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
Features:
- Decryption works
- Otg works
- Flash Rom works
- F2FS support
- Fastboot boot command support
Not working:
- Fastbootd
- Adb sideload
- Backup restore and image flash (system-vendor-product)
- Android 11 fully support
Download:
TWRP 3.4.0-14 Unofficial by mauronofrio
TWRP 3.4.0-12 Unofficial by mauronofrio
To Flash the TWRP:
Code:
fastboot flash recovery twrp-3.3.1-xx-xxxxxx-mauronofrio.img
Then reboot in TWRP manually or using a fastboot command.
Code:
fastboot boot twrp-3.3.1-xx-xxxxxx-mauronofrio.img
or
Code:
fastboot oem reboot-recovery
REMEMBER: is important that from fastboot you directly go in TWRP mode or the TWRP will be overwritten.
Reccomended ADB and Fastboot binaries:
Adb and Fastboot Installer
Source code:
https://github.com/Teamwin/android_bootable_recovery
https://github.com/mauronofrio/android_device_xiaomi_lmi
My Telegram TWRP Support Group:
https://t.me/twrp_Mauronofrio
Donations:
Credits:
- Thanks to @bigbiff and @Captain_Throwback for the hard work on this android 10 TWRP
Thanks to all testers on the Telegram Group
Created 2020-09-23
Wicked work m
Nice to see the first thread appear here
Actually, i've found a homemade TWRP which is most of the function work fine and can be used to flash by adb. But unfortunately it seems not be maintain any longer, i want to share it to you and hope it can help you to fix you bugs and be strong enough and stable enough, keep going dude. Here is the link:https://mega.nz/file/njxCXSqA#R37PC2vpICMMsm4kqyu_V1PHGH4BRmTeMCgUZtgALZc
Omg its kicking off
I've translated it to polish and made a topic at miuipolska.pl ( xiaomi.eu for our country). Nice to see you here too
Wysłane z mojego POCO F2 Pro przy użyciu Tapatalka
I've flashed the TWRP, did a format, reboot recovery, and it asked for password for decrypt data.
I've never set any password before, any idea why ?
Update, also did the following from scratch :
- Flash back to original China ROM via Miflash (fastboot). Booted back to MIUI.
- Reboot to fastboot
- Flash the TWRP 3.4.0-12 as above, and went into recovery
- Format Data
- Reboot Recovery
- Again, it's asking for decrypt data password.
Mine is a K30 Pro, if it matters.
i just installed it and it seems working good at least everything that i use thanks for the work
Thank you for sharing twrp with us, can I flash above the old one or I need to flash new rom for that
Sent from my POCO F2 Pro using Tapatalk
Thaiban said:
Thank you for sharing twrp with us, can I flash above the old one or I need to flash new rom for that
Sent from my POCO F2 Pro using Tapatalk
Click to expand...
Click to collapse
i Just did without flashing, no issue here
Envoyé de mon POCO F2 Pro en utilisant Tapatalk
soza971 said:
i Just did without flashing, no issue here
Envoyé de mon POCO F2 Pro en utilisant Tapatalk
Click to expand...
Click to collapse
Have u tried flashing a ROM with this recovery ?
Then going back to the recovery, can it decrypt the data properly ? Assuming u didn't set any pass lock in ur MIUI.
takagen said:
Have u tried flashing a ROM with this recovery ?
Then going back to the recovery, can it decrypt the data properly ? Assuming u didn't set any pass lock in ur MIUI.
Click to expand...
Click to collapse
i did not flash any rom i never had to, it worked normally Just after flashing the recovery
Envoyé de mon POCO F2 Pro en utilisant Tapatalk
takagen said:
I've flashed the TWRP, did a format, reboot recovery, and it asked for password for decrypt data.
I've never set any password before, any idea why ?
Update, also did the following from scratch :
- Flash back to original China ROM via Miflash (fastboot). Booted back to MIUI.
- Reboot to fastboot
- Flash the TWRP 3.4.0-12 as above, and went into recovery
- Format Data
- Reboot Recovery
- Again, it's asking for decrypt data password.
Mine is a K30 Pro, if it matters.
Click to expand...
Click to collapse
Same here. its asking me password for decryption data partition but I don't have any password !
hrh_fourtyseven said:
Same here. its asking me password for decryption data partition but I don't have any password !
Click to expand...
Click to collapse
Thanks for confirming the same issue.
I would have thought I've missed some steps.
But just by formatting data, without doing anything else and rebooting back to recovery it's already asking for decrypt password, which none were set in the first place.
takagen said:
Thanks for confirming the same issue.
I would have thought I've missed some steps.
But just by formatting data, without doing anything else and rebooting back to recovery it's already asking for decrypt password, which none were set in the first place.
Click to expand...
Click to collapse
Did you try the old password to unlock miui ?
Envoyé de mon POCO F2 Pro en utilisant Tapatalk
hrh_fourtyseven said:
Same here. its asking me password for decryption data partition but I don't have any password !
Click to expand...
Click to collapse
soza971 said:
Did you try the old password to unlock miui ?
Envoyé de mon POCO F2 Pro en utilisant Tapatalk
Click to expand...
Click to collapse
No password has been set whatsoever.
Even if it has been, formatting would have cleared it anyway.
If u read what I've shared, I had also miflash back to original state n start all over, still the same.
If you may, probably u can try flashing back the same ROM on top of what u have, go back to TWRP n see if u have any issue.
takagen said:
No password has been set whatsoever.
Even if it has been, formatting would have cleared it anyway.
If u read what I've shared, I had also miflash back to original state n start all over, still the same.
If you may, probably u can try flashing back the same ROM on top of what u have, go back to TWRP n see if u have any issue.
Click to expand...
Click to collapse
i am stock right now flashed with miflash , if i flash back rom with miflash i will have to flash twrp again, btw what rom are you trying to flash? xiaomi.eu ?
Envoyé de mon POCO F2 Pro en utilisant Tapatalk
soza971 said:
i am stock right now flashed with miflash , if i flash back rom with miflash i will have to flash twrp again, btw what rom are you trying to flash? xiaomi.eu ?
Envoyé de mon POCO F2 Pro en utilisant Tapatalk
Click to expand...
Click to collapse
Didn't even got the chance to flash any ROM.
Format data, did a recovery reboot, will end up with this issue. Since can't decrypt data, so no ROM can be copied in to flash
takagen said:
Didn't even got the chance to flash any ROM.
Format data, did a recovery reboot, will end up with this issue. Since can't decrypt data, so no ROM can be copied in to flash
Click to expand...
Click to collapse
i am out of solution sorry
The thing is that it s working by my side but right now i need my Phone tonight i gonna try to flash Xiaomi.eu and let you know
Envoyé de mon POCO F2 Pro en utilisant Tapatalk
soza971 said:
i am stock right now flashed with miflash , if i flash back rom with miflash i will have to flash twrp again, btw what rom are you trying to flash? xiaomi.eu ?
Envoyé de mon POCO F2 Pro en utilisant Tapatalk
Click to expand...
Click to collapse
soza971 said:
One question after miflash did you boot miui to set it up ? Or did you flash the twrp right after the flash with miflash ?
Envoyé de mon POCO F2 Pro en utilisant Tapatalk
Click to expand...
Click to collapse
After miflash, booted into MIUI successfully.
Rebooted into fastboot to install Twrp per instruction.
takagen said:
After miflash, booted into MIUI successfully.
Rebooted into fastboot to install Twrp per instruction.
Click to expand...
Click to collapse
I edited my post above read it tonight i Will try to flash Xiaomi.eu i cant before i need my Phone in the day
Envoyé de mon POCO F2 Pro en utilisant Tapatalk

Categories

Resources