Every time i enter twrp or redworf recovery my data need to erase ? - Xiaomi Redmi Note 5 Pro Questions & Answers

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

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

Twrp problem

Hi My twrp shows all files 0 mb. I tried to mouth but ask password. but i dont have password so I don't know this password. I use my phone still with miui9 latest version. when i enter twrp asks password again. what can i do
jomolocco said:
Hi My twrp shows all files 0 mb. I tried to mouth but ask password. but i dont have password so I don't know this password. I use my phone still with miui9 latest version. when i enter twrp asks password again. what can i do
Click to expand...
Click to collapse
twrp has a bug and cant decrypt your data. before using twrp please format your userdata partition in fastboot by using this command: fastboot format userdata
omer919 said:
twrp has a bug and cant decrypt your data. before using twrp please format your userdata partition in fastboot by using this command: fastboot format userdata
Click to expand...
Click to collapse
I have the same issue, it asks me for a password when accessing TWRP because it couldn't decrypt. I've tried both the command above (fastboot format userdata & format data from TWRP directly) and I can access TWRP but when I restart the phone, I have boot loop on the loading screen.
If I don't use the command, and restart the phone directly (not going into TWRP first), the flashed recovery is automatically replaced with the MIUI recovery.
Anyone managed to actually boot the phone with the TWRP recovery installed with no decrypt error?
Thanks
leosantos said:
I have the same issue, it asks me for a password when accessing TWRP because it couldn't decrypt. I've tried both the command above (fastboot format userdata & format data from TWRP directly) and I can access TWRP but when I restart the phone, I have boot loop on the loading screen.
If I don't use the command, and restart the phone directly (not going into TWRP first), the flashed recovery is automatically replaced with the MIUI recovery.
Anyone managed to actually boot the phone with the TWRP recovery installed with no decrypt error?
Thanks
Click to expand...
Click to collapse
What did you install afterwards? did you clean install xiaomi.eu from twrp or updated china rom?
omer919 said:
What did you install afterwards? did you clean install xiaomi.eu from twrp or updated china rom?
Click to expand...
Click to collapse
Hi,
I didn't install xiaomi.eu afterwards neither updated the china rom. I'm using china rom (I live in China so there's some stuff on the chinese rom I can use and the updates are more swift), but it's the latest chinese miui rom with the update that came out a few days ago. I had the mi max 2 before and never had to update or re-install a rom after flashing TWRP. With the mi max 2 there were no issues after flashing TWRP in fastboot and then go to TWRP and flash super su. Do you reckon if I flash TWRP then flash the china rom through TWRP it won't give a boot loop (won't it re-write the TWRP bootloader with the miui one?)? If so, should I run the erase data command from fastboot or erase the data partition on TWRP recovery?
There's also a zip file to be installed in TWRP to avoid boot loop (can't recall the name right now), but didn't work either.
If someone has any ideas I'm willing to try on my end to figure this out
Thanks
leosantos said:
Hi,
I didn't install xiaomi.eu afterwards neither updated the china rom. I'm using china rom (I live in China so there's some stuff on the chinese rom I can use and the updates are more swift), but it's the latest chinese miui rom with the update that came out a few days ago. I had the mi max 2 before and never had to update or re-install a rom after flashing TWRP. With the mi max 2 there were no issues after flashing TWRP in fastboot and then go to TWRP and flash super su. Do you reckon if I flash TWRP then flash the china rom through TWRP it won't give a boot loop (won't it re-write the TWRP bootloader with the miui one?)? If so, should I run the erase data command from fastboot or erase the data partition on TWRP recovery?
There's also a zip file to be installed in TWRP to avoid boot loop (can't recall the name right now), but didn't work either.
If someone has any ideas I'm willing to try on my end to figure this out
Thanks
Click to expand...
Click to collapse
能成功吗?我也想安装supersu或者magisk
omer919 said:
What did you install afterwards? did you clean install xiaomi.eu from twrp or updated china rom?
Click to expand...
Click to collapse
Flashed TWRP again, did a userdata format from fastboot, then went to the recovery, deleted dalvik/cache and re-installed China ROM... Still stuck on boot loop.
same for me......... please help
Come on! Guys!
It is so simple to bypass this Internal Storage(0MB) problem on official China rom (Stable and Beta) of TWRP!
DO NOT use the "Install" option in TWRP to install Magisk.zip/Superusr.zip as TWRP cannot read your Internal Storage at all!
Just activate the adb sideload in TWRP and use the adb sideload command on your PC to push the magisk.zip/Superusr.zip or any zippies into your internal storage especially so if you are rooting the official China rom!
After that. Reboot to system from TWRP and Bingo! Your official China rom/MIUI pops up nicely in no time! :fingers-crossed:
...and the best part of it. You don't need to format data at all! All your data remained intact!!!
I'm running the official China rom 9.6.11.0 with Magisk 16.0 now! All work perfectly including the ever-most-impoartant's Titanium backup! :fingers-crossed::victory:
kelvintisw said:
Come on! Guys!
It is so simple to bypass this Internal Storage(0MB) problem on official China rom (Stable and Beta) of TWRP!
DO NOT use the "Install" option in TWRP to install Magisk.zip/Superusr.zip as TWRP cannot read your Internal Storage at all!
Just activate the adb sideload in TWRP and use the adb sideload command on your PC to push the magisk.zip/Superusr.zip or any zippies into your internal storage especially so if you are rooting the official China rom!
After that. Reboot to system from TWRP and Bingo! Your official China rom/MIUI pops up nicely in no time! :fingers-crossed:
...and the best part of it. You don't need to format data at all! All your data remained intact!!!
I'm running the official China rom 9.6.11.0 with Magisk 16.0 now! All work perfectly including the ever-most-impoartant's Titanium backup! :fingers-crossed::victory:
Click to expand...
Click to collapse
Please, make and example, how can we use adb sideload on PC. Thank
Nah!
I will not spoon feed. Go Google on how to use adb sideload with twrp.
In that way, you learn.
kelvintisw said:
Nah!
I will not spoon feed. Go Google on how to use adb sideload with twrp.
In that way, you learn.
Click to expand...
Click to collapse
kelvintisw, thank you so much! I resolve this problem with bootloop using ADB Sideload on MIUI Global)

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)

OrangeFox recovery lost or not ???

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

How do I decrypt the data temporarily in the custom recovery?

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 )

Categories

Resources