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
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)
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.
If i wipe all partition on my device (except Sdcard)
And install stock miui 11 in OrangeFox recovery
After installation OrangeFox recovery lost or not ???
Yes! MIUI restores his own recovery so you will need to flash it again.
0veR said:
Yes! MIUI restores his own recovery so you will need to flash it again.
Click to expand...
Click to collapse
I think not..
If you are installing from OrangeFox your recovery will detect MIUI OTA(check OrangeFox settings) and it'll patch it to survive update or flash.. but if you use fastboot metod than yes you'll lose custom recovery. Don't wipe recovery partition :laugh:
Be smart and before you gonna wipe, MAKE BACKUP ON SD CARD !!!! Including OrangeFox recovery zip. Always have a backup of recovery zip on sd card.
And to be sure after you finished flashing MIUI just don't reboot and go reflash OrangeFox from sd card
And it will auto reboot on Orangefox ... than you are ready to boot your new MIUI with OrangeFox recovery.
Good luck.
drnightshadow said:
I think not..
If you are installing from OrangeFox your recovery will detect MIUI OTA(check OrangeFox settings) and it'll patch it to survive update or flash.. but if you use fastboot metod than yes you'll lose custom recovery. Don't wipe recovery partition :laugh:
Be smart and before you gonna wipe, MAKE BACKUP ON SD CARD !!!! Including OrangeFox recovery zip. Always have a backup of recovery zip on sd card.
And to be sure after you finished flashing MIUI just don't reboot and go reflash OrangeFox from sd card
And it will auto reboot on Orangefox ... than you are ready to boot your new MIUI with OrangeFox recovery.
Good luck.
Click to expand...
Click to collapse
I don't wipe recovery partitions,
I want to wipe
"dalvik
*System
*Data
*Vendor
*Internal storage
Just for clean and magisk root free device
rayhan7731 said:
I don't wipe recovery partitions,
I want to wipe
"dalvik
*System
*Data
*Vendor
*Internal storage
Just for clean and magisk root free device
Click to expand...
Click to collapse
All good to go and OFR will auto run magisk I think... all will be fine...I've done it many times.. nothing to worry about. Just flash it as you described.
That way you can flash any ROM (MIUI, LOS, PIXEL EX,...ETC ). Its called clean flash method.
And check rm -f instead of formatting in OrangeFox options and you'll keep the encryption/decryption.
Good luck..
No, orange fox don't let MIUI restore stock recovery
prSohaib said:
No, orange fox don't let MIUI restore stock recovery
Click to expand...
Click to collapse
Tnx
prSohaib said:
No, orange fox don't let MIUI restore stock recovery
Click to expand...
Click to collapse
You are wrong.. You can override with stock recovery, you just need to tune up the settings, but yeah out of the box settings won't let you. Just for info that is possible.
Good luck
Sent from my unknown using XDA Labs
drnightshadow said:
You are wrong.. You can override with stock recovery, you just need to tune up the settings, but yeah out of the box settings won't let you. Just for info that is possible.
Good luck
Click to expand...
Click to collapse
In OrangeFox Setting
Checked Agrresive stock recovery deactivation
I flashed Magisk at that time without keeping the dm-verity and the OrangeFox was saved. Now I have went back to TWRP. I don't like the theme of OrangeFox. I know there is a script called "install-recovery.sh". I didn't modified it and just disabled the dm-verity and the custom recovery could be saved without being replacing.
Yuki1001 said:
The recovery will auto restore to Mi-Recovery because of DM-Verity. The only way to disable recovery-auto-restoring is disabling DM-Verity. If the DM-Verity is on, any custom recovery will be replaced with Mi-Recovery. Install Magisk or Universal DM-Verity And ForceEncrypt Disabler could prevent the system from replacing the custom recovery.
Click to expand...
Click to collapse
Lool this lool ... big brain talking lool... did you ever use OrangeFox,??? I guess not!!! This is not TWRP !!!!
Please stop giving stupid advises if you don't understand the basic. Omfg dm verity and whaaat... ForceEncryption lool please stop llol
Oh, com on really... stop please your killing me loool... try using OrangeFox properly than talk. Its simple ..
Step 1.flash OrangeFox
Step 2. Your done..
:laugh:
And now you have new OrangeFox thread on xda.
https://forum.xda-developers.com/re...covery-orangefox-xiaomi-redmi-note-5-t4064291
Good luck
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 )