twrp crypted, how to encrypt please? - Xiaomi Mi 9 SE Questions & Answers

hi guys.
just unlocked my bootloader, flashed twrp, now device is full of crypted files in twrp so i am not able to flash any rom due to not able to read filenames, how to solve that please?

Hello. You need to format data and then transfer again your rom files.

worked thx

you could mount internal data but ok

punkrockfan said:
hi guys.
just unlocked my bootloader, flashed twrp, now device is full of crypted files in twrp so i am not able to flash any rom due to not able to read filenames, how to solve that please?
Click to expand...
Click to collapse
With the official TWRP (at least for Mi 9T but likely for yours, too) there is no need for formatting/wiping - just enter to TWRP when it loads, your pin/password for unlocking the screen and you will see your Internal memory filesystem

@zgfg: (There's no official TWRP.) If the decrypt key is lost in TWRP, you might get it back by flashing dirty the same ROM.zip as installed yet, or otherwise formatting data.

rp158 said:
@zgfg: (There's no official TWRP.) If the decrypt key is lost in TWRP, you might get it back by flashing dirty the same ROM.zip as installed yet, or otherwise formatting data.
Click to expand...
Click to collapse
Official for Mi 9T:
https://twrp.me/davinci/twrp-3.3.1-0-davinci.img
but under Devices/Xiaomi, there is no Mi 9SE:
http://twrp.me/Devices/Xiaomi/

@zgfg: as I said before

Related

[HELP] OnePlus 3 stock recovery asks for a password (I didn't have a password set)

Hi all! I updated the phone to the OxygenOS Open Beta 7 through the instructions one the OnePlus website. I made sure to remove the screen lock before I started flashing and stuff, and I also made a TWRP backup, to be able to restore if anything goes wrong.
Well, now when I boot the phone, I get a message that the phone could not be decrypted and I need to reset it. When I go to stock recovery it asks me for a password. And when I flash and go to TWRP recovery it cannot see my sd card since it is encrypted. What should I do? Any help is appreciated!
Did you have set a pin password before ? if yes use the last one that you may have used
I had twrp recovery and couldn't decrypt.
See if you can try the instructions in the link
http://forum.xda-developers.com/showpost.php?p=69389114&postcount=3
I am at the same point now .. did you solve your problem? dont wanna wipe my data!
pidl said:
I am at the same point now .. did you solve your problem? dont wanna wipe my data!
Click to expand...
Click to collapse
You are in encrypting state, you lost all your data (internal included) at this point. just reflash and decrypt it, you'll just be fine, your data is lost tho.
Always remember to flash SuperSU or Magisk to patch your boot.img after flashing a full rom or before booting it to avoid encryption process like this
Rizezky said:
You are in encrypting state, you lost all your data (internal included) at this point. just reflash and decrypt it, you'll just be fine, your data is lost tho.
Always remember to flash SuperSU or Magisk to patch your boot.img after flashing a full rom or before booting it to avoid encryption process like this
Click to expand...
Click to collapse
Is there no way to somehow backup that data?
If you are still stuck, here is what i did and got rid of password, go to setting remove old pin, set the new one, root your device through ADB SIDELOAD reboot to recovery and enter the new pin, it should work
Fingers crossed

How to flash official nougat without wiping internal storage?

Hello all!
I am currently on OOS 3.2.8, and official TWRP. I have read all the instructions on the forums but all lead to one option, formatting internal memory. So, my question are:
1. Will flashing oos 4.0 work with official TWRP or 8 have to use modified 28 version?
2. How can I flash oos 4 with modified TWRP and not have to wipe internal memory?
I would appreciate all the responses. Thanks
I was the same predicament as you. I finally took the plunge and now I have Nougat running on my OP3. Here is what I did :
Start: OOS 3.2.8 w/ custom kernel and modified TWRP
1. Flash stock recovery (Google for a forum post in the OP3 forums on downloading the stock recovery and flash it through fastboot)
2. Reboot and let 3.2.8 start
3. Download Snap VPN and change the country to Canada. You will be prompted for the system update.
4. Let the update download (~1 GB)
5. Install the update. You may see an error of the installation may fail as your phone is rooted. Ignore and go ahead.
6. The installer will now boot to stock recovery and reboot with Nougat. All settings and apps will be maintained
The only catch is that you may have ext4 instead of f2fs. I am okay with it for now... But your mileage may vary
All the best!
Edit : Nougat running on my op3.
abhibnl said:
Hello all!
I am currently on OOS 3.2.8, and official TWRP. I have read all the instructions on the forums but all lead to one option, formatting internal memory. So, my question are:
1. Will flashing oos 4.0 work with official TWRP or 8 have to use modified 28 version?
2. How can I flash oos 4 with modified TWRP and not have to wipe internal memory?
I would appreciate all the responses. Thanks
Click to expand...
Click to collapse
Are you rooted? Are you encrypted? What file systems are you using for your partitions? You're not giving full information. Why is formatting not an option if it'll give you the results you want?
To get to F2fs (I do recommend it)
Take a backup of your Data partition. , copy it to your pc with "adb pull /sdcard/Twrp/whatever".
Now go to Twrp>Wipe>Advanced select data and click on change file system. Change it to F2fs. Now restore your backup (Reader the guide all info is there). Profit!
anshulajain said:
I was the same predicament as you. I finally took the plunge and now I have Nougat running on my OP3. Here is what I did :
Start: OOS 3.2.8 w/ custom kernel and modified TWRP
1. Flash stock recovery (Google for a forum post in the OP3 forums on downloading the stock recovery and flash it through fastboot)
2. Reboot and let 3.2.8 start
3. Download Snap VPN and change the country to Canada. You will be prompted for the system update.
4. Let the update download (~1 GB)
5. Install the update. You may see an error of the installation may fail as your phone is rooted. Ignore and go ahead.
6. The installer will now boot to stock recovery and reboot with Nougat. All settings and apps will be maintained
The only catch is that you may have ext4 instead of f2fs. I am okay with it for now... But your mileage may vary
All the best!
Click to expand...
Click to collapse
I don't have any issues with ext4, infact i do feel ext4 is more stable than f2fs so file system is my last concern. Thanks for your method, but then how did u root again? Installing nougat is fine but what after that? I have read that you can't use modified twrp without formatting internal memory first, as it'll show you the pin issue. Let me know how do you propose a safe method to achieve root.
Renosh said:
Are you rooted? Are you encrypted? What file systems are you using for your partitions? You're not giving full information. Why is formatting not an option if it'll give you the results you want?
Click to expand...
Click to collapse
Yes i am encrypted, rooted, stock OOS 3.2.8 + Franco kernel. Official TWRP(not modified). I am using ext4, never used f2fs at all. The time to backup data and then to restore it all back is the reason formatting is not an "preferred" option for me. I can do it, but i would have to wait until i find enough time to do the whole process. I am in a full time job, so i hope you would understand.
Puddi_Puddin said:
To get to F2fs (I do recommend it)
Take a backup of your Data partition. , copy it to your pc with "adb pull /sdcard/Twrp/whatever".
Now go to Twrp>Wipe>Advanced select data and click on change file system. Change it to F2fs. Now restore your backup (Reader the guide all info is there). Profit!
Click to expand...
Click to collapse
Well this again defeats the purpose of my original question, but thanks mate. I would definitely read the guide if decide to switch to f2fs.
@abhibnl. BTW your encrypted. So the modified TWRP won't work.
How to fix:
Wipe Userdata with Fastboot / fastboot erase UserData
Boot into Twrp modified twrp.
Flash OOS 4.0 flash SuperSU and let it boot
You should be decrypted DO NOT install a boot password since you will be encrypted again.
I haven't rooted my phone again. My only reason to root is to install Adaway to block all ads. With DNS66 and Adguard, I have little incentive to root my stock nougat install.
Edit : I had encryption during 3.2.8 and it carried over to 4.0
Puddi_Puddin said:
@abhibnl. BTW your encrypted. So the modified TWRP won't work.
How to fix:
Wipe Userdata with Fastboot / fastboot erase UserData
Boot into Twrp modified twrp.
Flash OOS 4.0 flash SuperSU and let it boot
You should be decrypted DO NOT install a boot password since you will be encrypted again.
Click to expand...
Click to collapse
Thanks a lot for informing me mate. I really don't want to decrypt my storage as of now. I guess flashing stock recovery is the only solution now. Will hope someone would pick up the twrp and update it.
anshulajain said:
I haven't rooted my phone again. My only reason to root is to install Adaway to block all ads. With DNS66 and Adguard, I have little incentive to root my stock nougat install.
Edit : I had encryption during 3.2.8 and it carried over to 4.0
Click to expand...
Click to collapse
Seems like stock recovery is the best way as of now. Seems like I'll have to love without root until someone updates twrp to support encrypted storage.
I haven't updated to Nougat yet, but I looked over Chainfire's SuperSU changelog and its installation script and both of them confirm that from March installing SuperSU prevents forced encryption. Also many guides suggest installing it as way for disabling forced encryption. Of course you have to flash SuperSU just after flashing ROM, before booting the system.
abhibnl said:
Hello all!
I am currently on OOS 3.2.8, and official TWRP. I have read all the instructions on the forums but all lead to one option, formatting internal memory. So, my question are:
1. Will flashing oos 4.0 work with official TWRP or 8 have to use modified 28 version?
2. How can I flash oos 4 with modified TWRP and not have to wipe internal memory?
I would appreciate all the responses. Thanks
Click to expand...
Click to collapse
Very simple indeed...
1. Switch on wifi
2. Download OTA and click install whem finished
3. Once installation completed, flash twrp .28 and latest su
4. Reboot and ignore any errors, youwill beup and running fine...
Zielony360 said:
I haven't updated to Nougat yet, but I looked over Chainfire's SuperSU changelog and its installation script and both of them confirm that from March installing SuperSU prevents forced encryption. Also many guides suggest installing it as way for disabling forced encryption. Of course you have to flash SuperSU just after flashing ROM, before booting the system.
Click to expand...
Click to collapse
That i already knew mate. But i WANT my storage to remain encrypted. And that's the issue with modified TWRP. You can't enter into recovery on that if your storage is encrypted.
kpmohamedhussain said:
Very simple indeed...
1. Switch on wifi
2. Download OTA and click install whem finished
3. Once installation completed, flash twrp .28 and latest su
4. Reboot and ignore any errors, youwill beup and running fine...
Click to expand...
Click to collapse
Again, "You can't enter into recovery on modified TWRP if your storage is encrypted." So i won't be able to enter into twrp in the first place, let alone flash anything.
abhibnl said:
Hello all!
I am currently on OOS 3.2.8, and official TWRP. I have read all the instructions on the forums but all lead to one option, formatting internal memory. So, my question are:
1. Will flashing oos 4.0 work with official TWRP or 8 have to use modified 28 version?
2. How can I flash oos 4 with modified TWRP and not have to wipe internal memory?
I would appreciate all the responses. Thanks
Click to expand...
Click to collapse
In the same boat as you. I have OOS 3.2.8 encrypted, rooted and TWRP 3.0.2-1.26. I too would like to update but have way to much stuff on my phone to back it all up and restore it. Hope you or someone come's up with a solution. I will be following your thread.
Thanks.
Go to twrp. Press backup. Select only data. Save to PC youre backup for safety..
3.2.8 it's Android 6, 4.0 it's Android 7. Some apps might not work from base to base.
If you want to change to F2FS it will format youre phone, wipe phone full internal memory. If you want to change it back to ext4, same.
Clean flash, full wipe it's always better.
dmoses1969 said:
In the same boat as you. I have OOS 3.2.8 encrypted, rooted and TWRP 3.0.2-1.26. I too would like to update but have way to much stuff on my phone to back it all up and restore it. Hope you or someone come's up with a solution. I will be following your thread.
Thanks.
Click to expand...
Click to collapse
My suggestion (and my steps are in #1), install stock recovery, install snap VPN, download the update and install (ignore any errors on root). Once done, you will have Nougat with stock recovery, encryption maintained and all app data also intact.
anshulajain said:
My suggestion (and my steps are in #1), install stock recovery, install snap VPN, download the update and install (ignore any errors on root). Once done, you will have Nougat with stock recovery, encryption maintained and all app data also intact.
Click to expand...
Click to collapse
This is the last resort brother. With this method, unfortunately I won't have any root available. The only way now is to wait for updated twrp.
abhibnl said:
This is the last resort brother. With this method, unfortunately I won't have any root available. The only way now is to wait for updated twrp.
Click to expand...
Click to collapse
I dont know. I found this on Oneplus forum. May be worth trying. Just not 100% sure.....
Thanks! Will try and let you know
abhibnl said:
Thanks! Will try and let you know
Click to expand...
Click to collapse
Well, I tried something, waiting on it to finishing booting and see how it went.
I flashed twrp-3.0.2-1.28-oneplus3p version,
Flashed the OnePlus3Oxygen_16_OTA_035_all_1612310359_e10cadfb2af7.zip inside TWRP,
Flashed SR1-SuperSU-v2.79-SR1-20161221223537.zip right after flashing OTA zip.
Its rebooting and says Android is upgrading. Fingers crossed.
EDIT: Its booted and I am on Nougat, didnt lose my data and phone is still encrypted!
Edit: Ended up having issues with settings app locking up. So, I went a different route and its all working great now.
Downloaded the stock recovery image and renamed it to recovery.img
Make sure after you rename it its not named recovery.img.img, If you have show file extensions enabled on your pc you should already see the file extension.
Rebooted to bootloader - adb flash recovery recovery.img
Using the volume keys and power button selected - reboot recovery.
Now in stock recovery - flashed OnePlus3Oxygen_16_OTA_035_all_1612310359_e10cadfb2af7.zip
After rom is done flashing, went right back into bootloader. Did not let my phone reboot to start the OS.
Renamed twrp-3.0.2-1.28-oneplus3p.img to recovery.img
adb flash recovery recover.img
Powered off phone and Manually boot it into recovery by holding Power + Volume Down button.
Phone booted into TWRP
Flashed SR1-SuperSU-v2.79-SR1-20161221223537.zip
Wiped cache / dalvik
Rebooted system from TWRP and waited. System is really smooth now, no issues yet. Been playing with it for awhile now.
During the booting up process it might take a minute and it will reboot twice. Dont get nervous like I did thinking it was going to start bootlooping. It booted just fine. I read in a nother thread that SuperSU is what causes it to boot twice.
So......Now I have OOS 4.0 Nougat, Rooted, Encrypted and everything seems to be working fine.

What is the TWRP version and SU version to successfully root Mate8 with Android 7

Hello
After I got the OTA update of my rooted Chinese Mate 8 AL10, I obviously lost root access, but luckily the update didn't wipe my data. I also had TWRP
Now I have Android 7 and EMUI 5. I recall there were different TWRP versions depending on the version of EMUI, whether it was 4.0 or 4.1.
So is there a specific version of TWRP for Android 7 running with EMUI 5? If yes, what is it? I tried searching with scarse results! I want to avoid boot loops and phone recovery.
Also, is there a specific version of SuperUser to flash?
Thanks
HuaweiMate8 said:
Hello
After I got the OTA update of my rooted Chinese Mate 8 AL10, I obviously lost root access, but luckily the update didn't wipe my data. I also had TWRP
Now I have Android 7 and EMUI 5. I recall there were different TWRP versions depending on the version of EMUI, whether it was 4.0 or 4.1.
So is there a specific version of TWRP for Android 7 running with EMUI 5? If yes, what is it? I tried searching with scarse results! I want to avoid boot loops and phone recovery.
Also, is there a specific version of SuperUser to flash?
Thanks
Click to expand...
Click to collapse
I have L09C432B560. I use the following twrp:
http://sillanwali.com/downloads/twrp-3.0.3.img
I boot into twrp, mount system and vendor then flashed the following patched boot.
https://mega.nz/#!Yx4h3LwL!XNdOjpo-J...j6opIqSemyqI80
I now have full root on my mate 8. Remember, this might not work with your phone. If you want to try it out you should be able to reflash the current boot.img of your phone if necessary.
If the above link does not work, try the link in #3573 or #3572 of the following page:
https://forum.xda-developers.com/mate-8/development/rom-kangvip-slim-t3318572/page358
Thanks. I'll try this when I can
[email protected] said:
I have L09C432B560. I use the following twrp:
https://forum.xda-developers.com/mate-8/development/rom-kangvip-slim-t3318572/page358
Click to expand...
Click to collapse
Hi
Official TWRP is 3.0.2.0 as per https://twrp.me/ and it doesn't seem to work on Chinese Mate 8 AL10 and EMUI 5.0. So I tried the TWRP version you mentioned and it does work up to a certain point. I mean I can successfully install it, and boot to TWRP, but it seems that it doesn't recognize any file system, even my data partition cannot be seen. Yet if I just reboot the phone, I can successfully see my data partition and my data.
Maybe this unofficial version still has problems and doesn't recognize the data partition because it is somehow encrypted? I really don't want to format the phone, I have loads of data I don't want to lose and taking a backup takes ages.
All I want now is to be able to see any partition that has the SuperUser.zip to flash. I really don't care about TWRP as much as I care of gaining root access. I still didn't try with an OTG key as I am travelling, but once I get back home, I'll try that, but if TWRP cannot mount the SYSTEM partition I guess then it cannot flash SuperUser.zip even with OTG...
Right?
HuaweiMate8 said:
Hi
Official TWRP is 3.0.2.0 as per https://twrp.me/ and it doesn't seem to work on Chinese Mate 8 AL10 and EMUI 5.0. So I tried the TWRP version you mentioned and it does work up to a certain point. I mean I can successfully install it, and boot to TWRP, but it seems that it doesn't recognize any file system, even my data partition cannot be seen. Yet if I just reboot the phone, I can successfully see my data partition and my data.
Maybe this unofficial version still has problems and doesn't recognize the data partition because it is somehow encrypted? I really don't want to format the phone, I have loads of data I don't want to lose and taking a backup takes ages.
All I want now is to be able to see any partition that has the SuperUser.zip to flash. I really don't care about TWRP as much as I care of gaining root access. I still didn't try with an OTG key as I am travelling, but once I get back home, I'll try that, but if TWRP cannot mount the SYSTEM partition I guess then it cannot flash SuperUser.zip even with OTG...
Right?
Click to expand...
Click to collapse
This twrp cannot mount the data partition but you can mount the system partition and vendor. You then can flash the patched boot mention which also contain superSU that gives you root.. Do not use this twrp to format the data partition.
---------- Post added at 03:29 PM ---------- Previous post was at 03:00 PM ----------
HuaweiMate8 said:
Hi
Official TWRP is 3.0.2.0 as per https://twrp.me/ and it doesn't seem to work on Chinese Mate 8 AL10 and EMUI 5.0. So I tried the TWRP version you mentioned and it does work up to a certain point. I mean I can successfully install it, and boot to TWRP, but it seems that it doesn't recognize any file system, even my data partition cannot be seen. Yet if I just reboot the phone, I can successfully see my data partition and my data.
Maybe this unofficial version still has problems and doesn't recognize the data partition because it is somehow encrypted? I really don't want to format the phone, I have loads of data I don't want to lose and taking a backup takes ages.
All I want now is to be able to see any partition that has the SuperUser.zip to flash. I really don't care about TWRP as much as I care of gaining root access. I still didn't try with an OTG key as I am travelling, but once I get back home, I'll try that, but if TWRP cannot mount the SYSTEM partition I guess then it cannot flash SuperUser.zip even with OTG...
Right?
Click to expand...
Click to collapse
This twrp cannot mount the data partition but you can mount the system partition and vendor. You then can flash the patched boot mention which also contain superSU that gives you root.. Do not use this twrp to format the data partition.
View attachment SuperSU-v2.79-201612051815-EMUI5.0.zip
TWRP_N.img https://mega.nz/#!9ZEhgALb!uzffZsUi6bJXev2pymFE2Bb_v1Zs949PY8amtALNStc
We are having the same issue with the Mate 9. Have a look the forums there as a lot of things are very similar up to this point. In emui 5 flashing SuperSU will put you in a bootloop. I'm sure KangVIP had a modded boot with root available for the Mate 8 that you guys can flash to have root. They do for the Mate 9.
[email protected] said:
This twrp cannot mount the data partition but you can mount the system partition and vendor. You then can flash the patched boot mention which also contain superSU that gives you root.. Do not use this twrp to format the data partition.
Click to expand...
Click to collapse
You're right, this TWRP can't mount /data and you cannot use it to make a backup but it can perfectly flash system images.
If you flash this one https://mega.nz/#!Yx4h3LwL!XNdOjpo-JmTXCPXz5wcuSGzxtHLVyj6opIqSemyqI80 you will be rooted with phh's SuperUser/ OpenSource SELinux-capable SuperUser (https://forum.xda-developers.com/android/software-hacking/wip-selinux-capable-superuser-t3216394).
For me this is better because it allows me to use YeloPlay, a Belgian Telenet TV watch program that doesn't work on rooted devices but now it does
I tried flashing unsecured boot.IMG for b577 but I had fingerprint I'd on. After flashing I couldn't get into my phone. Do I have to turn off fingerprint to flash modified boot.img?
Sent from my HUAWEI NXT-AL10 using Tapatalk
bidi1234 said:
I tried flashing unsecured boot.IMG for b577 but I had fingerprint I'd on. After flashing I couldn't get into my phone. Do I have to turn off fingerprint to flash modified boot.img?
Sent from my HUAWEI NXT-AL10 using Tapatalk
Click to expand...
Click to collapse
The answer is in your question YES
I did with magisk,
Super easy
Sent from my HUAWEI NXT-L29 using XDA-Developers Legacy app

[TWRP] Unofficial for Xiaomi Mi Note 3

WHAT IS TWRP?
Team Win Recovery Project is a custom recovery for Android devices.
It allows you to back up and restore your data, flash custom ROMs to your device, repair broken file systems, and root your device.
How to install:
1. Unzip
2. Install fastboot tools from google's sdk on your PC
3. Enter fastboot mode on device
4. Unlock your bootloader
5. Run "fastboot flash recovery jason_twrp_recovery.img" via command line
6. Reboot
Download:
https://www.androidfilehost.com/?fid=890129502657588556
Device Tree:
https://github.com/travismills82/android_device_xiaomi_jason
ROOT OPTIONS:
SuperSU: https://forum.xda-developers.com/app...v2-05-t2868133
Magisk: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Nice one buddy, works with every ROM out there
i tried it out with those ROMs:
Miui CN Dev latest
Miui Stable latest
Miui Global latest
EpicROM
MultiROM
Miui EU ROM Dev/Stable
MiuiPro/Miuisu/Miuigr
FlymeOS
LOS
Mokee latest
is this latest twrp?
Vihru said:
is this latest twrp?
Click to expand...
Click to collapse
Its Twrp 3.2.1.0
Vihru said:
is this latest twrp?
Click to expand...
Click to collapse
Yeah its
thanks, please fix Decrypt Data
not working. after flash, the twrp doesn't show anything (and it doesn't keep settings)
pepote666 said:
thanks, please fix Decrypt Data
Click to expand...
Click to collapse
Wipe then Format Data, is the first thing to do after flashing twrp, make sure to backup first
FenerKR said:
not working. after flash, the twrp doesn't show anything (and it doesn't keep settings)
Click to expand...
Click to collapse
Wipe then Format Data, is the first thing to do after flashing twrp, make sure to backup first
AL_IRAQI said:
Wipe then Format Data, is the first thing to do after flashing twrp, make sure to backup first
Wipe then Format Data, is the first thing to do after flashing twrp, make sure to backup first
Click to expand...
Click to collapse
Why this issue not happen with other twrp? The internal storage show 0 bytes
nowforever said:
Why this issue not happen with other twrp? The internal storage show 0 bytes
Click to expand...
Click to collapse
because you have to wipe your storage first
AL_IRAQI said:
because you have to wipe your storage first
Click to expand...
Click to collapse
So, It's means I will lost all my data on phone? including external storage?
nowforever said:
So, It's means I will lost all my data on phone? including external storage?
Click to expand...
Click to collapse
Hmm, yeah for the first time only, or you could boot up to system and backup everything
Can´t start session. RPC ERROR
Thank you!!!
Molgorth said:
Can´t start session. RPC ERROR
Thank you!!!
Click to expand...
Click to collapse
Im sorry i didnt get you, where did you get that error ?
i already have twrp on my phone, some turkish version with awful orange theme, is there a way for me to flash this one without reseting my system and data?
connta said:
i already have twrp on my phone, some turkish version with awful orange theme, is there a way for me to flash this one without reseting my system and data?
Click to expand...
Click to collapse
Yeah, just flash it over the old one, no need to touch system or data
First time I started twrp they would that I enter a password for data partition.
Which password is there required?
digitaliban said:
First time I started twrp they would that I enter a password for data partition.
Which password is there required?
Click to expand...
Click to collapse
Enter your system password, if it didnt work you have to format, but backup data first
Thanks for this TWRP, work perfect!
I need also to enter password and I don't have encrypted phone. Plus I had already installed twrp installed, so this image has something... not working.

Data encrypted after miui pie update(9.3.28)

I just updated to global beta 9.3.28 and my twrp is now showing data encrypted and it asks for the password (my lockscreen password doesnt work), internal storage is showing 0 Mb & I'm unable to flash anything. Somehow i rooted my device with magisk patch boot image method and twrp started flasing things, i flashed "no-verity-opt-encrypt-6.0" & its not doing anything as well. So i took the bold step and wiped cache,dalvik,data & internal storage then twrp worked correctly w/o asking for any password but after flashing the rom again(flashed lazyflasher too) and rebooting to twrp gets me to the same problem of data encryption!!!....what am i doing wrong here??...please help
Solution- change recovery to one which supports pie(like to orangefox).
Did you tried to flash another TWRP that supports miui pie?
Try orangefox recovery.
[email protected] BOY said:
Did you tried to flash another TWRP that supports miui pie?
Try orangefox recovery.
Click to expand...
Click to collapse
What you are suggesting is to use orangefox and then wipe all the data,internal storage and then flash the rom again, well i guess i have to try it.... Thanks for the suggestion.
rick_th1 said:
I just updated to global beta 9.3.28 and my twrp is now showing data encrypted and it asks for the password (my lockscreen password doesnt work), internal storage is showing 0 Mb & I'm unable to flash anything. Somehow i rooted my device with magisk patch boot image method and twrp started flasing things, i flashed "no-verity-opt-encrypt-6.0" & its not doing anything as well. So i took the bold step and wiped cache,dalvik,data & internal storage then twrp worked correctly w/o asking for any password but after flashing the rom again(flashed lazyflasher too) and rebooting to twrp gets me to the same problem of data encryption!!!....what am i doing wrong here??...please help
Click to expand...
Click to collapse
Try this twrp it supports miui 10 pie encryption
https://forum.xda-developers.com/showpost.php?p=79215432&postcount=42
01Thesam said:
Try this twrp it supports miui 10 pie encryption
https://forum.xda-developers.com/showpost.php?p=79215432&postcount=42
Click to expand...
Click to collapse
Will try this for sure, orangefox is working as of now...
[email protected] BOY said:
Did you tried to flash another TWRP that supports miui pie?
Try orangefox recovery.
Click to expand...
Click to collapse
Thanks bro, its working, i never thought that twrp was the culprit.
rick_th1 said:
Thanks bro, its working, i never thought that twrp was the culprit.
Click to expand...
Click to collapse
You're welcome :good:
Had the same problem, but I am using Redfox... Will check for an update or change to orange.
so dudes very confused.what to do to flash pie?I am still on Oreo.Will I flash oreo with my current recovery and afterwars when system boots I have to flash orange recovery?
Στάλθηκε από το SM-G955F μου χρησιμοποιώντας Tapatalk
It happened to me.
When redwolf recovery ask you to enter passwords just Cancel it.
Goto wipe. Slide to wipe.
Goto reboot. Reboot recovery.
unfortunately This solution cause my phone need to fatory reset before reboot
The same happened to me, after flashing weekly (thru my redwolf recovery) 9.3.28 my storage has encrypted.
My question is the following,
Do I have possibility of decyripting storage w/o data factory reset ?
and,
Shall I loose my data if I implement the below method explained below web page ?
http://www.androwide.com/2017/08/unable-to-mount-storage-twrp-internal-storage-0mb.html
Or is there any method (with any type recovery) to decrypt storage w/o loosing data in storage ?
updated TWRP by GuaiYiHu TWRP-20190330-3.2.3.0-whyred
changelog
Update prebuilt kernel for pie firmware decryption
download link
https://github.com/GuaiYiHu/android_device_xiaomi_whyred/releases
==> not tested by me
sas_sas said:
The same happened to me, after flashing weekly (thru my redwolf recovery) 9.3.28 my storage has encrypted.
My question is the following,
Do I have possibility of decyripting storage w/o data factory reset ?
and,
Shall I loose my data if I implement the below method explained below web page ?
http://www.androwide.com/2017/08/unable-to-mount-storage-twrp-internal-storage-0mb.html
Or is there any method (with any type recovery) to decrypt storage w/o loosing data in storage ?
Click to expand...
Click to collapse
The solution is to flash a recovery with support of pie decryption, i dont know about redwolf but orangefox recovery definitely works for me & it will for you as well, just flash it & all your problems will be solved.
I was on RN 5 Pro Oreo with Orange Fox R9.0.1
Got Pie update today n updated OTA.
But when i boot into Orange Fox recovery Data encrypted,asking for password.
It is not accepting screen lock PIN or password.
Even tried to boot recovery by removing screen lock n finger print data , still no use.
Any solution for this without formatting my data?
Thank You in advance.
[email protected] BOY said:
You're welcome :good:
Click to expand...
Click to collapse
I don't if I messed up installing orange but, at the beginning it showed:
"
<Heading> Mount
Unmodified System Partition
TWRP can leave your system partition unmodified to make it easier for you to take official updates.
TWRP will be unable to prevent the stock ROM from replacing TWRP and will not offer to root your device.
<in red> Zip Installations or ADB operations may still modify the system partition. </in red>
Swipe to allow modifications
"
I swiped, installed orange zip from my sdcard, then it rebooted to my lock screen instead of rebooting into recovery mode.
---------- Post added at 05:16 PM ---------- Previous post was at 04:59 PM ----------
in_out said:
updated TWRP by GuaiYiHu TWRP-20190330-3.2.3.0-whyred
changelog
Update prebuilt kernel for pie firmware decryption
download link
https://github.com/GuaiYiHu/android_device_xiaomi_whyred/releases
==> not tested by me
Click to expand...
Click to collapse
I installed TWRP, but lazyflasher got "Updater process ended with ERROR 1: Error installing file"
TechBT said:
I was on RN 5 Pro Oreo with Orange Fox R9.0.1
Got Pie update today n updated OTA.
But when i boot into Orange Fox recovery Data encrypted,asking for password.
It is not accepting screen lock PIN or password.
Even tried to boot recovery by removing screen lock n finger print data , still no use.
Any solution for this without formatting my data?
Thank You in advance.
Click to expand...
Click to collapse
My problem solved simply by installing OF 9.0.2 over 9.0.1 . Rooted with latest Magisk, enabled cam2api by editing build props. GCam working good.

Categories

Resources