How do I decrypt the data temporarily in the custom recovery? - Redmi Note 8 Questions & Answers

I have a Redmi Note 8 unlocked and a custom recovery installed, yet it shows that the data partition is encrypted. How do I decrypt it without wiping?

Flash this file on recovery

Pavello said:
Flash this file on recovery
Click to expand...
Click to collapse
Is this temporal?

Pavello said:
Flash this file on recovery
Click to expand...
Click to collapse
I flashed it and it caused a boot loop. How can I fix this?

For the first time you have to format data then flash this. If you want to stay decrypted then flash this after flashing rom everytime. And if you want to get back encryption then again you have to format data after flashing rom and reboot. Formatting data is middleman between encryption and decryption.

ginkgo-willow-twrp.img
decryption working with the 20.12.9 eu rom ( pin - password - pattern )

Related

FRP Screen in Customs Rom after boot into Recovery

Guys my custom ROMs (find this issue in RR and AEX) automatically reset itself after booting into recovery!
Why is that happening?
wajeeh.ihi said:
Guys my custom ROMs (find this issue in RR and AEX) automatically reset itself after booting into recovery!
Why is that happening?
Click to expand...
Click to collapse
Use twrp to format the internal storage (you can choose f2fs or ext4) and all will be fine

Every time i enter twrp or redworf recovery my data need to erase ?

Every time when i boot to twrp data got encryption and can't decrypt with correct password too ? i have to format data every ****ing time.i want to flash roms without wiping int storage.
Veer1080 said:
Every time when i boot to twrp data got encryption and can't decrypt with correct password too ? i have to format data every ****ing time.i want to flash roms without wiping int storage.
Click to expand...
Click to collapse
Try using redwolf recovery bro
Hridul P.K said:
Try using redwolf recovery bro
Click to expand...
Click to collapse
M on redwolf recovery still when i enter recovery data encryption issue.
Veer1080 said:
M on redwolf recovery still when i enter recovery data encryption issue.
Click to expand...
Click to collapse
Check this
https://forum.xda-developers.com/re...d-wolf-recovery-project-t3766997/post76610770
Use official recovery twrp and wipe all by selecting
Then install a rom or mi flash a tom

Bootloop after install TWRP

mi max 3 bootloop after installing twrp via fastboot. after successfully installing and entering twrp I have format data using twrp, but after reboot system I got bootloop. stuck on miui logo n android loading.
how to solve it?
Miui 10 8.9.20
sorry my english is bad.
thanks.
Solved
BGuntur said:
Solved
Click to expand...
Click to collapse
Would you like to share the solution?
You have to be aware to flash a rom after you wipe data partition you need to change data partition to EXT4 for example to prepare to flash a Rom). All of this has to be done while in Recovery before you reboot. It happened to my device when it warned me that i have No OS.
If recovery cannot be flashed correctly, try the TRWP CN version mentioned on page 6 in the AOSiP thread, and if anyone has trouble after changing to EXT4 which is required to flash Custom Rom, just change the data partition (EXT 2 for example) on the advanced wipe/ change partition option, and then change back to EXT 4. And follow the instructions on AOSiP on how to flash properly.
That TWRP worked on first try in case the others don't work.
After boot to the rom... you can go back to Revovery, and flash Nigel's TWRP, and you will not have anymore problems with wiping data and doing OTA manually. (Whenever there's an update)

[MOD][X01BD] Disable forced encryption of data partition [stock][pie]

Disable forced encryption of data partition​
Instructions:
1. Download the decrypt.zip and move/copy to sdcard/otg drive
2. Flash in recovery
3. Format /data
4. Reboot
To encrypt the rom again, flash encrypt(pie).zip and format /data
What is the meaning of forced encryption on data partition
#ArtFuL said:
Disable forced encryption of data partition
Instructions:
1. Download the decrypt.zip and move/copy to sdcard/otg drive
2. Flash in recovery
3. Format /data
4. Reboot
Click to expand...
Click to collapse
In which recovery stock or on custom recovery?
Sdsahu101 said:
In which recovery stock or on custom recovery?
Click to expand...
Click to collapse
Custom recovery
Can I update to Pie via TWRP, after editing updater-script, if yes, can I flash decrypt.zip just after updating without formatting data. Actually, I don't want to format my device and install all the applications again.
Is 1903.064 is stable enough to use, I mean cam2api, screen flickering, PUBG on HD setting, charging time it was taking too long to charge earlier, reduced battery backup, screen brightness, cracking sound, double tap was also not working.
nice_guy75 said:
Can I update to Pie via TWRP, after editing updater-script, if yes, can I flash decrypt.zip just after updating without formatting data. Actually, I don't want to format my device and install all the applications again.
Is 1903.064 is stable enough to use, I mean cam2api, screen flickering, PUBG on HD setting, charging time it was taking too long to charge earlier, reduced battery backup, screen brightness, cracking sound, double tap was also not working.
Click to expand...
Click to collapse
Yes. You can. But if the phone is encrypted and flashing decrypt for the first time, decryption comes into effect only after formatting data
#ArtFuL said:
Yes. You can. But if the phone is encrypted and flashing decrypt for the first time, decryption comes into effect only after formatting data
Click to expand...
Click to collapse
No, Mine is decrypted. I am on Oreo with TWRP and already flashed decrypt.zip of Oreo? So can I flash 1903.064 zip via TWRP, after editing updater script and then flash decrypt.zip of Pie, to save my data partition?
I hope decrypt.zip of Pie does not format data while flashing.....
nice_guy75 said:
No, Mine is decrypted. I am on Oreo with TWRP and already flashed decrypt.zip of Oreo? So can I flash 1903.064 zip via TWRP, after editing updater script and then flash decrypt.zip of Pie, to save my data partition?
I hope decrypt.zip of Pie does not format data while flashing.....
Click to expand...
Click to collapse
Then no need to format. You won't loose data
is this necessary if i will go for custom rom? i mean just like in oreo, can i use the decrypt.zip for oreo to stock pie in order to decrypt my device? or i will use this one for pie? just to clarify sir.
kayamokid said:
is this necessary if i will go for custom rom? i mean just like in oreo, can i use the decrypt.zip for oreo to stock pie in order to decrypt my device? or i will use this one for pie? just to clarify sir.
Click to expand...
Click to collapse
Flashing decrypt oreo infact caused many problems on wifi/modem for many users. Also decrypt oreo didn't worked on pie for some users. So flashing decrypt pie is recommended for Oreo too.
legacy07 said:
Flashing decrypt oreo infact caused many problems on wifi/modem for many users. Also decrypt oreo didn't worked on pie for some users. So flashing decrypt pie is recommended for Oreo too.
Click to expand...
Click to collapse
it meams its just like the updated version of decrypt.zip? thanks sir.
Which one of these two files should be flashed
Karthik kollapureddy said:
Which one of these two files should be flashed
Click to expand...
Click to collapse
Choose according to whether you have to encrypt or decrypt
legacy07 said:
Choose according to whether you have to encrypt or decrypt
Click to expand...
Click to collapse
I'm a beginner so would you please tell me what's encypt and decrypt
---------- Post added at 06:32 AM ---------- Previous post was at 06:29 AM ----------
Karthik kollapureddy said:
I'm a beginner so would you please tell me what's encypt and decrypt
Click to expand...
Click to collapse
I'm confused and the rooting step
Hi all. I have zenfone updated to Oreo/android 8.1.
Phone model Z01BDC = ZC551KL .
What should I do to apply this patch to decrypt my /data ?
I installed TWRP 3.1.0.0 and the fact that /data is Encrypted is a problem.
Thank you.
sintoo said:
Hi all. I have zenfone updated to Oreo/android 8.1.
Phone model Z01BDC = ZC551KL .
What should I do to apply this patch to decrypt my /data ?
I installed TWRP 3.1.0.0 and the fact that /data is Encrypted is a problem.
Thank you.
Click to expand...
Click to collapse
This mod works in X01BD and X00TD. Not sure if it work for Z01BD. You can flash this patch by following the steps in the thread but success isn't guaranteed. Take a system backup as if anything goes wrong. Also be ready to loose your data
legacy07 said:
... So flashing decrypt pie is recommended for Oreo too.
Click to expand...
Click to collapse
I'm not sure about that... I am flashing this file (decrypt pie) for Oreo just. The phone does not boot in this case. I was forced to flashing old decrypt file for Oreo after and it all worked again.
It's not working with Official TWRP 3.3.1-0. I'm using stock Pie .065. Every time I reboot to system, it starts encrypting my device and when I reboot to recovery, TWRP is gone and I'll be booted to stock recovery. Then I flashed TWRP and checked the fstab.qcom. It was never patched. With OFRP, I don't have this issue as it patches fstab.qcom automatically after flashing a zip. But with the zip provided in OP, I'm unable to disable forced encryption. I don't get any error while flashing the zip though. Does any other file needs to be patched to disable forced encryption other than fstab.qcom?
anagramgenius said:
It's not working with Official TWRP 3.3.1-0. I'm using stock Pie .065. Every time I reboot to system, it starts encrypting my device and when I reboot to recovery, TWRP is gone and I'll be booted to stock recovery. Then I flashed TWRP and checked the fstab.qcom. It was never patched. With OFRP, I don't have this issue as it patches fstab.qcom automatically after flashing a zip. But with the zip provided in OP, I'm unable to disable forced encryption. I don't get any error while flashing the zip though. Does any other file needs to be patched to disable forced encryption other than fstab.qcom?
Click to expand...
Click to collapse
I think twrp official has decryption issues. Check with twrp 3.2.3
legacy07 said:
I think twrp official has decryption issues. Check with twrp 3.2.3
Click to expand...
Click to collapse
I checked with Rk585's TWRP 3.2.3 too. Same issue persists. It worked fine when I was in Oreo.
After flashing the zip, I booted back to recovery and copied the fstab.qcom to my PC to check if it has been replaced with the flashed zip. It did replace it. But when I boot to system, it starts encrypting my device and TWRP gets replaced by stock recovery. So I flashed the TWRP again and checked the fstab.qcom. Voila. It was unpatched. I don't know what is happening during the boot. The patched fstab is getting replaced by original fstab.
Edit: Seems there is a problem with the zip I guess. Or more files need to be patched to disable forced encryption in stock Pie rom. I tested in both PBRP and OFRP.
Case 1: I flashed stock rom in Official TWRP, then flashed PBRP zip and booted into PBRP. After booting into PBRP, it doesn't automatically disable forced encryption if no rom zip is flashed in it. So I flashed the decrypt zip provided in this OP. Then I booted to system, it started encrypting my device.
Case 2: I flashed stock rom in Official TWRP, then flashed OFRP zip and booted into OFRP. After booting into OFRP, it automatically disabled forced encryption even though no rom zip was flashed. Hence after booting into system, it didn't automatically encrypt my device as forced encryption was disabled automatically by OFRP.
So PBRP and OFRP do something else to disable forced encryption other than just patching fstab.qcom. Atleast in stock Pie rom. That's why I'm unable to disable forced encryption by flashing decrypt zip in any of the recoveries unless it is patched by recoveries themselves.

How to encrypt phone again?

I unlocked and rooted my 8T as described in this thread
https://forum.xda-developers.com/re...de-unlocking-bootloader-twrp-rooting-t4031831
I made decryption including format Data and installing Universal DM-Verity and ForceEncrypt disabler, also installed stock EEA V11.0.3.0.PCXEUXM (MIUI10) and Magisk
All working fine except phone password lock, and as I read now, locks don't work on decrypted phone. So I decide to encrypt my phone back. But it does not work, when I pressed "encrypt phone" button in privacy settings it just reboot and nothing happened.
I tried OrangeFox recovery, made all steps as described here
https://forum.xda-developers.com/redmi-note-8/how-to/guide-flashing-miui-ota-rom-recovery-t4041591
but still the same trouble.. So, how to encrypt phone with stock rom, root and recovery?
rusm said:
I unlocked and rooted my 8T as described in this thread
https://forum.xda-developers.com/re...de-unlocking-bootloader-twrp-rooting-t4031831
I made decryption including format Data and installing Universal DM-Verity and ForceEncrypt disabler, also installed stock EEA V11.0.3.0.PCXEUXM (MIUI10) and Magisk
All working fine except phone password lock, and as I read now, locks don't work on decrypted phone. So I decide to encrypt my phone back. But it does not work, when I pressed "encrypt phone" button in privacy settings it just reboot and nothing happened.
I tried OrangeFox recovery, made all steps as described here
https://forum.xda-developers.com/redmi-note-8/how-to/guide-flashing-miui-ota-rom-recovery-t4041591
but still the same trouble.. So, how to encrypt phone with stock rom, root and recovery?
Click to expand...
Click to collapse
All kind of phone password,pattern,pin,fingerprint,face locks etc do work on decrypted phone in stock rom without any issue..tested myself.... although if you want to encrypt phone again then flash fastboot rom via mi flash
the_weird_aquarian said:
All kind of phone password,pattern,pin,fingerprint,face locks etc do work on decrypted phone in stock rom without any issue..tested myself.... although if you want to encrypt phone again then flash fastboot rom via mi flash
Click to expand...
Click to collapse
Yes, I want encrypted phone.
How it possible with Magisk and recovery?
I need flash fresh EEA 11.0.3.0 from Miflash, than install recovery and Magisk. And what else?
If I install Dm-Verity path, than I need format data and decrypt phone.
If I skip Dm-Verity installation, than I will have a bootloop.
rusm said:
Yes, I want encrypted phone.
How it possible with Magisk and recovery?
I need flash fresh EEA 11.0.3.0 from Miflash, than install recovery and Magisk. And what else?
If I install Dm-Verity path, than I need format data and decrypt phone.
If I skip Dm-Verity installation, than I will have a bootloop.
Click to expand...
Click to collapse
flash the fastboot rom from mi flash and boot it till android setup....you don't necessarily have to set up your phone right now(you can setup your phone no issue though)...then flash orangefox recovery....then in orangefox settings->miui ota settings-> tick everything except Disable Forced Encryption...then flash stock recovery rom through orangefox once....after that flash magisk.... don't flash dm verity....now reboot.
Do not format data in any step..
the_weird_aquarian said:
flash the fastboot rom from mi flash and boot it till android setup....you don't necessarily have to set up your phone right now(you can setup your phone no issue though)...then flash orangefox recovery....then in orangefox settings->miui ota settings-> tick everything except Disable Forced Encryption...then flash stock recovery rom through orangefox once....after that flash magisk.... don't flash dm verity....now reboot.
Do not format data in any step..
Click to expand...
Click to collapse
Thank you! It working.
Seems that OrangeFox do his job well. Now I have encrypted phone with root, and recovery handling my password and decrypt data if need.
Strange, that menu items "Disable DM-Verity" and "Disable forced encryption" gray in my Orangefox any time from initial installation, but everything looks OK in system...
rusm said:
Thank you! It working.
Seems that OrangeFox do his job well. Now I have encrypted phone with root, and recovery handling my password and decrypt data if need.
Strange, that menu items "Disable DM-Verity" and "Disable forced encryption" gray in my Orangefox any time from initial installation, but everything looks OK in system...
Click to expand...
Click to collapse
:good:

Categories

Resources