Moto E 2015 LTE unable to be decrytped - E 2015 Q&A, Help & Troubleshooting

Hi, I encrypted my Moto E LTE running Ressurection Remix for 5.1.1, and I wanted to update but, I can't decrypt my device. I try wiping everything but it remains encrypted. Does anybody know what I can do? My Recovery TWRP. Thanks in advance.

Btrusa said:
Hi, I encrypted my Moto E LTE running Ressurection Remix for 5.1.1, and I wanted to update but, I can't decrypt my device. I try wiping everything but it remains encrypted. Does anybody know what I can do? My Recovery TWRP. Thanks in advance.
Click to expand...
Click to collapse
Options : Security has the option to decrypt everything

Tyrone936 said:
Options : Security has the option to decrypt everything
Click to expand...
Click to collapse
Nope, I don't have the option to decrypt my phone. It's just the encrypt phone option with it saying that it's already encrypted an grayed out.

In TWRP you have to select factory reset. Keyboard will pop up, type yes, then enter. It will wipe out the encryption

Related

[Unofficial] [05.10.2017]TWRP 3.1.1-0 Moto G5 [cedric]

Unofficial TWRP 3.1.0-0 Moto G5 (cedric) ​
Latest TWRP changelog :
New features of 3.1.1-0 (adb backup, tweaked MTP startup routines and plenty of bug fixes - for full changelog)
Download Link
twrp-3.1.1-0-cedric.img
Working/Bugs
I have just tested on 16 GB variant and all seems to be working. If something is broken lemme know.
IMPORTANT NOTE :
At first boot twrp will ask for "Swipe to allow modifications for /system" and if you choose to allow it system partition will get modified. So if you choose to reboot back to OS without performing anything in twrp, the OS won't boot (as verity check is enabled in stock OS/kernel) . To avoid this you have to flash either SuperSU or flash any of the verity disabler zips there in xda
Force encryption is enabled by default in stock OS and twrp will successfully decrypt /data at first boot if all goes well
If in case decryption doesn't go fine, twrp will popup a dialog box asking for password and that means decryption went wrong and you would need to wipe data once via twrp wipe options and reboot back to twrp for functioning of /data
Installation Guide
Make sure you have unlocked bootloader
Reboot to bootloader
fastboot flash recovery twrp-****.img (if you want permanent flash) or fastboot boot twrp-****.img (if you want temporary
boot)
XDA:DevDB Information
[Unofficial] TWRP 3.1.1-0 Moto G5, Tool/Utility for the Moto G5
Contributors
Santhosh M
Source Code: http://Using prebuilt stock kernel and hence no kernel source available
Version Information
Status: Stable
Stable Release Date: 2017-10-05
Created 2017-03-17
Last Updated 2017-10-05
Reserved
Reserved
Even though I have the plus variant, it's cool to see these features popping up.
Johny Cipeli said:
Even though I have the plus variant, it's cool to see these features popping up.
Click to expand...
Click to collapse
+1
Grt @Santhosh M
Santhosh M said:
Reserved
Click to expand...
Click to collapse
Gonna get that g5+ Bro? it would be awesome if you will be there for support too.
xt1670 model
Hi Santhosh
Will this TWRP work on Moto G5 model xt1670?
If so, can it be rooted using twrp temporary boot?
EDIT: I have tried this several time, I'm always getting stuck at boot, after the first data wipe, only solution is to install stock system again.
I have the Modem Version: M8937_8000.122.02.40R, 32GB
I'm offering to test
Thanks
Works fine for the most part, though reboot options Bootloader and Power Off doesn't work, just restarts normally.
XT1676
KawaiiNeko said:
Works fine for the most part, though reboot options Bootloader and Power Off doesn't work, just restarts normally.
XT1676
Click to expand...
Click to collapse
Plz share the procedure you had followed.
Did you able to achieve root access?
fAIyaZ said:
Plz share the procedure you had followed.
Did you able to achieve root access?
Click to expand...
Click to collapse
Unlocked bootloader, flashed twrp, factory reset, good to go. Sadly no root though.
KawaiiNeko said:
Unlocked bootloader, flashed twrp, factory reset, good to go. Sadly no root though.
Click to expand...
Click to collapse
Try phh su.
Flash it through twrp: https://superuser.phh.me/superuser.zip
Then installed the phh superuser app: https://play.google.com/store/apps/d....phh.superuser
fAIyaZ said:
Try phh su.
Flash it through twrp: https://superuser.phh.me/superuser.zip
Then installed the phh superuser app: https://play.google.com/store/apps/d....phh.superuser
Click to expand...
Click to collapse
worked perfectly! https://i.imgur.com/71G0cN2.png
I'll get my G5 16gb lunar grey tomorrow and can't wait to root
Thanks for testing out
Bootlooping
Hi guys, I got bootloop in my moto g5 after TWRP boot/install, should I open a new thread or somebody can help here?
linsspinho said:
Hi guys, I got bootloop in my moto g5 after TWRP boot/install, should I open a new thread or somebody can help here?
Click to expand...
Click to collapse
Depending on your phone version, you might need to flash system using fastboot.
KawaiiNeko said:
worked perfectly! https://i.imgur.com/71G0cN2.png
Click to expand...
Click to collapse
So i believe TWRP works as intended and root is also achieved via phh/whatever?
If all works fine for you would like you to make reply in the thread with detailed flashing instructions as i am not sure why few in thread have issues
can this version of twrp be used for POTTER version of moto G5 plus?
After installing TWRP my Phone stucks at the "Your device has been unlocked" screen. My system seems to be gone. I've downloaded the image from the other thread and tried to sideload it, but twrp says it's in the wrong format. TWRP boots fine
(Anyone who can upload a fully working NANDROID or sth like that?)
What can i do :/?
Edit: Solved. Unzipped the firmware and flashed manually via fastboot. Working fine!
But then again at the startup of the recovery, there's the encryption message. What to wipe now, that it'll work? Wiping /data ends in boot loop...
.sirhc said:
After installing TWRP my Phone stucks at the "Your device has been unlocked" screen. My system seems to be gone. I've downloaded the image from the other thread and tried to sideload it, but twrp says it's in the wrong format. TWRP boots fine
(Anyone who can upload a fully working NANDROID or sth like that?)
What can i do :/?
Edit: Solved. Unzipped the firmware and flashed manually via fastboot. Working fine!
But then again at the startup of the recovery, there's the encryption message. What to wipe now, that it'll work? Wiping /data ends in boot loop...
Click to expand...
Click to collapse
Did you tried wiping data, and formatting data? Remember that wiping /data is where your apps and settings are stored, and formatting /data/media is the massive storage... Maybe if you wipe both it would work
Enviado desde mi Moto G (5) Plus mediante Tapatalk
After
fastboot flash recovery twrp.img
I'm booting into recovery, cancel the encryption password verification, swipe to allow modification, wipe & format data -> Bootloop
Flashing system (and only system, not recovery etc) -> Phone boots normally, twrp ist gone ...
Greetings

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?

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.

Encryption not possible with LineageOS 16?

Hi,
yesterday I tried upgrading my Moto Z running LOS 15.1 to 16. For some reason I had to undo the full disk encryption first because my lock pattern was not recognized anymore after the update.
So I removed the encryption first, did the upgrade, booted, and enabled encryption again under LOS 16.
The phone now restarts but is then stuck in a bootloop. I'm using TWRP 3.2.3.0 as there is no newer version for the Moto Z. Has anyone seen the same or do you have any idea what went wrong here?
Kind regards
Question on how to remove the encryption
KRKroenen said:
Hi,
yesterday I tried upgrading my Moto Z running LOS 15.1 to 16. For some reason I had to undo the full disk encryption first because my lock pattern was not recognized anymore after the update.
So I removed the encryption first, did the upgrade, booted, and enabled encryption again under LOS 16.
The phone now restarts but is then stuck in a bootloop. I'm using TWRP 3.2.3.0 as there is no newer version for the Moto Z. Has anyone seen the same or do you have any idea what went wrong here?
Kind regards
Click to expand...
Click to collapse
Hi, since you encrypted your phone, I have a question, My Moto Z Factory firmware comes with encryption enabled and i dont know how to disable it, if you could help me it would be great, thanks
MacoAndroidRon said:
Hi, since you encrypted your phone, I have a question, My Moto Z Factory firmware comes with encryption enabled and i dont know how to disable it, if you could help me it would be great, thanks
Click to expand...
Click to collapse
Hi, you try this:
Boot into recovery.
Identify the /data device location: adb shell df /data
this will return something like: /dev/block/blabla
then: adb pull /dev/block/blabla userdata.img
Then wipe the partition.
Then unmount the partition, adb push the userdata back into it and remount.
KRKroenen said:
Hi,
yesterday I tried upgrading my Moto Z running LOS 15.1 to 16. For some reason I had to undo the full disk encryption first because my lock pattern was not recognized anymore after the update.
So I removed the encryption first, did the upgrade, booted, and enabled encryption again under LOS 16.
The phone now restarts but is then stuck in a bootloop. I'm using TWRP 3.2.3.0 as there is no newer version for the Moto Z. Has anyone seen the same or do you have any idea what went wrong here?
Kind regards
Click to expand...
Click to collapse
So i found out there's an encryptionfix.zip from Erfano. Perhaps that could also solve the problem although I have not tested yet:
https://forum.xda-developers.com/showpost.php?p=79068444&postcount=265
KRKroenen said:
Hi, you try this:
Boot into recovery.
Identify the /data device location: adb shell df /data
this will return something like: /dev/block/blabla
then: adb pull /dev/block/blabla userdata.img
Then wipe the partition.
Then unmount the partition, adb push the userdata back into it and remount.
Click to expand...
Click to collapse
Thanks for your help, I've already fixed this problem, but now I have another 2 questions:
1. Have you tryed Multi Rom?
2. And if so, do u know Why do I get error 7 every time I try to install Lineage OS 16 (having stock 7.1.1 as my primary ROM)
MacoAndroidRon said:
Thanks for your help, I've already fixed this problem, but now I have another 2 questions:
1. Have you tryed Multi Rom?
2. And if so, do u know Why do I get error 7 every time I try to install Lineage OS 16 (having stock 7.1.1 as my primary ROM)
Click to expand...
Click to collapse
Sorry, no I didn't try Multi ROM

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

Categories

Resources