TWRP can't decrypt phone (Pie) - Moto G6 Questions & Answers

I recently formatted my G6, downloaded Pie from the motorola assistant, flashed everything and installed TWRP 3.3.1-0.
TWRP boots up fine, im able to flash anything (like magisk) but it refuses to decrypt the phone. It shows a screen to input a password or a pattern (depending on what i've configured) but no matter what I tried it just fails to decrypt with the "Decrypt took too long, killing process". So far I've tried
* Pattern
* Password
* Swipe
* All the previous combinations with "boot time pattern/password requirement" enabled/disabled.
I'd like to keep the phone encrypted and still use TWRP, so my question is, has someone managed to use TWRP with the G6? If its not possible, I'd like to disable it, although i've found no tutorials about it.
Thanks!

I fixed it by using the 64 bits version of twrp i think. You can try it i guess?

Where did you download it? twrp.me /motorola/motorolamotog6.html shows only one version avaialble.
(Sorry abot the broken link, cant post them with a new accoutn)

whataboutenc said:
Where did you download it? twrp.me /motorola/motorolamotog6.html shows only one version avaialble.
(Sorry abot the broken link, cant post them with a new accoutn)
Click to expand...
Click to collapse
https: //forum.xda-developers.com/moto-g6/development/twrp-twrp-64-bit-ali-t4093879 here it is (remove the space )

have you tried flashing a rom there, does it work? I want to flash Revenge OS but with the normal twrp it wont flash, shows error code 255.

Sidlikesgrapes said:
have you tried flashing a rom there, does it work? I want to flash Revenge OS but with the normal twrp it wont flash, shows error code 255.
Click to expand...
Click to collapse
You have to use the 64 bit version of twrp for revengeOS

Gluipertje said:
https: //forum.xda-developers.com/moto-g6/development/twrp-twrp-64-bit-ali-t4093879 here it is (remove the space )
Click to expand...
Click to collapse
MMmm isn't working for me with pattern lock, enabled at boot time... It fails to decrypt the internal storage. Are you using pattern, pin, passowrd?

whataboutenc said:
MMmm isn't working for me with pattern lock, enabled at boot time... It fails to decrypt the internal storage. Are you using pattern, pin, passowrd?
Click to expand...
Click to collapse
I don't think what you're trying to do is possible.
Don't you need to wipe all the data anyway for the new rom?
Personally, I'd hit cancel, and wipe data entirely, which will obviously erase everything from any apps.

nate1975 said:
I don't think what you're trying to do is possible.
Don't you need to wipe all the data anyway for the new rom?
Personally, I'd hit cancel, and wipe data entirely, which will obviously erase everything from any apps.
Click to expand...
Click to collapse
What I'm trying to do is create backups and keep encryption. I'm able to format data and flash firmware... But now I want to backup it! Is that possible?

Related

TWRP Asking for password. Please help. I've never set a password

TWRP is asking for password. I've never set a password. Please help me.
Try password as " password" , it may work !
Cyclops Maran said:
TWRP is asking for password. I've never set a password. Please help me.
Click to expand...
Click to collapse
Tell. Me exactly what u did..
Try : default_password if this doesn't work.. Then m sorry my friend u have to format full data..
Its asking for the encryption password. The default password is "default_password" (without the quotes) try that. And if doesn't work then enter Bootloader (fastboot mode) and enter the following commands into CMD.
Code:
fastboot format userdata
Code:
fastboot format cache
Code:
fastboot reboot
This will unencrypt your phone and you'll be able to boot/enter TWRP normally.
Please do note that you'll lose ALL of your data from the commands.
Also, I'm not sure about this but you also might need to flash TWRP again.
Cyclops Maran said:
TWRP is asking for password. I've never set a password. Please help me.
Click to expand...
Click to collapse
If you have set a pin as security try putting that in.
If you haven't then you can do above mentioned methods.
Finally Solved the problem! Thanks guys! I flashed my previous rom and everything worked. The problem seems to be in the twrp itself.
Cyclops Maran said:
Finally Solved the problem! Thanks guys! I flashed my previous rom and everything worked. The problem seems to be in the twrp itself.
Click to expand...
Click to collapse
How is this possible?
Firstly, if u cannot enter into TWRP, then how did you flash the ROM?
Secondly, even if you somehow flashed the ROM how does it do away the password error ?? Did it replace the recovery? Recovery image is not usually included in custom ROMs.
:cyclops:
MoonBlade said:
How is this possible?
Firstly, if u cannot enter into TWRP, then how did you flash the ROM?
Secondly, even if you somehow flashed the ROM how does it do away the password error ?? Did it replace the recovery? Recovery image is not usually included in custom ROMs.
:cyclops:
Click to expand...
Click to collapse
I know right!?
I was running out of options. i thought why don't i flash the last rom that was running on this device. i can't explain how or why. I flashed the twrp again and than the rom. i can't explain but it installed the rom. It worked.
So you froobs can't read the dm-verity warning on TWRP page and just flash the one damn zip that prevents from this.
And the problem is in Kernel and firmware
I had trust in XDA-members. But the faith is gone.
Cyclops Maran said:
I know right!?
I was running out of options. i thought why don't i flash the last rom that was running on this device. i can't explain how or why. I flashed the twrp again and than the rom. i can't explain but it installed the rom. It worked.
Click to expand...
Click to collapse
Wait, were you able to get past the twrp password thing without formatting just by flashing the rom? Why did you have to flash twrp again before the rom? Did you do a clean flash or dirty flash? Your internal drive was not wiped?
My problem is basically that I was unable to get into my phone so I deleted the 5 gatekeeper/lockscreen keys from data/system. Now I can only see the wallpaper and a blank screen that doesn't allow me to do anything. It doesn't let me allow me to set a new pin. TWRP is asking me for a password that I never set. I've been trying to figure out how to access my data without formatting, but I'm running out of options too..
CoCoGirl886 said:
Wait, were you able to get past the twrp password thing without formatting just by flashing the rom? Why did you have to flash twrp again before the rom? Did you do a clean flash or dirty flash? Your internal drive was not wiped?
My problem is basically that I was unable to get into my phone so I deleted the 5 gatekeeper/lockscreen keys from data/system. Now I can only see the wallpaper and a blank screen that doesn't allow me to do anything. It doesn't let me allow me to set a new pin. TWRP is asking me for a password that I never set. I've been trying to figure out how to access my data without formatting, but I'm running out of options too..
Click to expand...
Click to collapse
Your signature doesn't mention a OnePlus 3 or 3T. But if you're using one of these, then I suggest you try the Blu Spark 8.61 TWRP from here https://forum.xda-developers.com/on...vice-development/kernel-t3404970/post67463496
Sent from my OnePlus3T using XDA Labs
CoCoGirl886 said:
Wait, were you able to get past the twrp password thing without formatting just by flashing the rom? Why did you have to flash twrp again before the rom? Did you do a clean flash or dirty flash? Your internal drive was not wiped?
My problem is basically that I was unable to get into my phone so I deleted the 5 gatekeeper/lockscreen keys from data/system. Now I can only see the wallpaper and a blank screen that doesn't allow me to do anything. It doesn't let me allow me to set a new pin. TWRP is asking me for a password that I never set. I've been trying to figure out how to access my data without formatting, but I'm running out of options too..
Click to expand...
Click to collapse
I was able to flash the rom.
BillGoss said:
Your signature doesn't mention a OnePlus 3 or 3T. But if you're using one of these, then I suggest you try the Blu Spark 8.61 TWRP from here https://forum.xda-developers.com/on...vice-development/kernel-t3404970/post67463496
Sent from my OnePlus3T using XDA Labs
Click to expand...
Click to collapse
I'm using a OnePlus 5, but the problem seems to be the same across all the OnePlus phones . Also I'm on android nougat and I didn't try to upgrade to Oreo. Is the bluespark fix for people who tried to upgrade to oreo?
Cyclops Maran said:
I was able to flash the rom.
Click to expand...
Click to collapse
Ah, thanks. Did you have to flash gapps after? I think my rom is an aroma installer.. but that shouldn't be a problem right?
CoCoGirl886 said:
I'm using a OnePlus 5, but the problem seems to be the same across all the OnePlus phones . Also I'm on android nougat and I didn't try to upgrade to Oreo. Is the bluespark fix for people who tried to upgrade to oreo?
Ah, thanks. Did you have to flash gapps after? I think my rom is an aroma installer.. but that shouldn't be a problem right?
Click to expand...
Click to collapse
No I didn't. You can always gapps afterwards.
pahapoika91 said:
So you froobs can't read the dm-verity warning on TWRP page and just flash the one damn zip that prevents from this.
And the problem is in Kernel and firmware
I had trust in XDA-members. But the faith is gone.
Click to expand...
Click to collapse
Maybe he used SuperSu to root? I dont' see a dm-verity zip for that. You have to use the bluspark TWRP posted above this reply and set your password in the ROM through another app or through the system settings in that case. I had the same problem. Also, I could have used "default_password" but I didn't know that until after I did all the fastboot flashing...
Or do you know of another zip SuperSu users can flash?
The password which its asking for is the one which is our lockscreen password
OxygenOS encryptes our devices with the password we enter on lockscreen so to decrypt just enter the same password
[email protected] said:
The password which its asking for is the one which is our lockscreen password
Click to expand...
Click to collapse
I confirm, I was stuck at this TWRP password, trying "password" and "default_password", but only my lock screen code / PIN code (they are the same for me) made it threw.
wasaru said:
i confirm, i was stuck at this twrp password, trying "password" and "default_password", but only my lock screen code / pin code (they are the same for me) made it threw.
Click to expand...
Click to collapse
thank you so much!
wasaru said:
.. but only my lock screen code / PIN code (they are the same for me) made it threw.
Click to expand...
Click to collapse
So what you're saying is, entering the very thing it was asking for works?
kunal1540 said:
If you have set a pin as security try putting that in.
If you haven't then you can do above mentioned methods.
Click to expand...
Click to collapse
That's the ticket

[Solved / Fixed ]Cannot decrypt the phone after flashing the flyme build

Hi ,
I am not a noob, but yesterday out of curiosity flashed the flyme build in the unified section. However, after the TWRP reboot to system, it did not boot. So tried to reboot the recovery and success. But the villian was there, encryption password. I tried giving my phone PIN, it said wrong password.
After half an hour, i installed the stock image(3.5.1) using the msm tool. Well it booted fine and phone is usable. Unlocked the bootloader and flashed the latest TWRP,.
The villian is back, asking for password. Now it is taking any password, always say wrong password. Ok in case i skip the decrypt screen, i cannot access the sdcard to flash new rom.
Is this the end of story of my op3t?
Have you tried "default_password"?
Didgeridoohan said:
Have you tried "default_password"?
Click to expand...
Click to collapse
Tried everything. The phone boots into OOS 3.5.1 after msm tool flash without password. Even it behaves very well. Only after the TWRP installation. It is stuck for password. I think its end of story.
Prashanthme said:
Tried everything. The phone boots into OOS 3.5.1 after msm tool flash without password. Even it behaves very well. Only after the TWRP installation. It is stuck for password. I think its end of story.
Click to expand...
Click to collapse
Then I don't know... Usually if TWRP suddenly starts asking for a password without having set one, using "default_password" will work.
You could try flashing a kernel that disables forced encryption and then format data to unencrypt.
You have to make sure to restore system to the version using the same encryption libraries as used the last time you could decrypt the data partition. If all fails you will have to format your data partition and loose it all.
pitrus- said:
You have to make sure to restore system to the version using the same encryption libraries as used the last time you could decrypt the data partition. If all fails you will have to format your data partition and loose it all.
Click to expand...
Click to collapse
I have already lost the data. TWRP not allowing me to enter the sdcard storage to flash anything. Can u brief me how to format the data partition.
Just bootup phone into fastboot mode from the unlocked bootloader menu, then connect to PC and run "fastboot format userdata" from a path with either fastboot in or anywhere of you've added the folder with fastboot in you PATH variable.
pitrus- said:
Just bootup phone into fastboot mode from the unlocked bootloader menu, then connect to PC and run "fastboot format userdata" from a path with either fastboot in or anywhere of you've added the folder with fastboot in you PATH variable.
Click to expand...
Click to collapse
Did this. But after should i flash the stock image again? Because system is not booting and stuck in oneplus logo.
How about fastboot erase options?
I disabled encryption one year ago to avoid this problem, and therefore have never experienced it. But why don't you do a compete MSM restore? That should restore even the data partition.
pitrus- said:
I disabled encryption one year ago to avoid this problem, and therefore have never experienced it. But why don't you do a compete MSM restore? That should restore even the data partition.
Click to expand...
Click to collapse
Let me try once i go home and update u. Thanks for the response..
Will format the data from fastboot. and flash the stock image. Hope this works.
Finally happened to work.
Installed a different version twrp made the trick. But this time i erased the recovery and flashed again. After that wiped all the data and then sideloaded the rom from adb and it did the trick..
pitrus- said:
I disabled encryption one year ago to avoid this problem, and therefore have never experienced it. But why don't you do a compete MSM restore? That should restore even the data partition.
Click to expand...
Click to collapse
Can you please tell me how you disabled encryption?
Vidicgapi said:
Can you please tell me how you disabled encryption?
Click to expand...
Click to collapse
You do this by flashing the latest no-verity-opt-encrypt zip file after formatting the data partition and also after each update of the OS.
https://build.nethunter.com/android-tools/no-verity-opt-encrypt/no-verity-opt-encrypt-5.1.zip

please help me save my life. please

I im using twrp 3.0 version work perfectly but when i upgrade twrp or redwolf. Then storage will not showing.. I cant see storage please help:crying:
emailofavinash5 said:
I im using twrp 3.0 version work perfectly but when i upgrade twrp or redwolf. Then storage will not showing.. I cant see storage please help:crying:
Click to expand...
Click to collapse
I think because your phone is encrypted. The way the decryption is to format it in twrp. Wipe > Format Data then type yes.
Backup all files before the data format.
MattHdH said:
I think because your phone is encrypted. The way the decryption is to format it in twrp. Wipe > Format Data then type yes.
Backup all files before the data format.
Click to expand...
Click to collapse
but it will erase my all internal storage and is i will do all time this method? . To use twrp.. Or redwolf. ?
emailofavinash5 said:
but it will erase my all internal storage and is i will do all time this method? . To use twrp.. Or redwolf. ?
Click to expand...
Click to collapse
Noo, you have to just do it once and if you want to flash Oreo ROMs, use Oreo twrp. You need not format the data then.
What I noticed is that its showing up as 0mb because the device is still encrypted. In order to fix this boot up into the OS. Set a screen lock PIN or password. Make sure you save it as requiring password on startup. Then bootup into TWRP and it should ask you for your password to decrypt. Put in the correct password and your files should show up again.
Note : Got this answer also from @morphixxp
Exodus4 said:
What I noticed is that its showing up as 0mb because the device is still encrypted. In order to fix this boot up into the OS. Set a screen lock PIN or password. Make sure you save it as requiring password on startup. Then bootup into TWRP and it should ask you for your password to decrypt. Put in the correct password and your files should show up again.
Note : Got this answer also from @morphixxp
Click to expand...
Click to collapse
Do i need all time password to open twrp ?
emailofavinash5 said:
Do i need all time password to open twrp ?
Click to expand...
Click to collapse
No, what i read is that will decrypt your phone. Btw, have you tried it?
Sent from my Redmi 4X using Tapatalk
Exodus4 said:
No, what i read is that will decrypt your phone. Btw, have you tried it?
Click to expand...
Click to collapse
I set password and set also startup password but nothing happens when i put password in twrp this say this password incorrect.. in redwolf also in twrp newr verson help
Technovkki said:
I set password and set also startup password but nothing happens when i put password in twrp this say this password incorrect.. in redwolf also in twrp newr verson help
Click to expand...
Click to collapse
Then, downgrade to 3.0 by cofface, wipe your phone, upgrade to redwolf or twrp 3.x.
Another one, what version of redwolf are you using? I suggest using the one that teamghost made. Its on their worldgiz.com
Site.
Sent from my Redmi 4X using Tapatalk
Exodus4 said:
Then, downgrade to 3.0 by cofface, wipe your phone, upgrade to redwolf or twrp 3.x.
Another one, what version of redwolf are you using? I suggest using the one that teamghost made. Its on their worldgiz.com
Site.
Click to expand...
Click to collapse
Is team ghost ROMs are safe???
Technovkki said:
Is team ghost ROMs are safe???
Click to expand...
Click to collapse
Its Safe. I used their redwolf recovery and its very smooth!
if you need the link, here's the link:
https://sourceforge.net/projects/teamghost/files/santoni/RedWolf_Recovery/
Note: if you use the 2gb ram download the 2gb ram version. if you use other than the 2gb ram version download the other one and flash it.

data decryption error

Hello, I installed AOSIP, everything works great but into twrp I can't decrypt data...
I've tried twrp R2.3.2.1 and R2.3.2.5, it says wrong password... I use the pin code of the ROM...
What can I do?
lcarolo said:
Hello, I installed AOSIP, everything works great but into twrp I can't decrypt data...
I've tried twrp R2.3.2.1 and R2.3.2.5, it says wrong password... I use the pin code of the ROM...
What can I do?
Click to expand...
Click to collapse
Hey, the same is happening to me since today, i'm looking why but i can't find the reason its drivin' me crazy i can't setup encryption...
edit : couldn't achieve to unlock TWRP with a custom ROM encryption, stock ROM encryption with MIUI is working fine tho... If someone has any infos
lcarolo said:
Hello, I installed AOSIP, everything works great but into twrp I can't decrypt data...
I've tried twrp R2.3.2.1 and R2.3.2.5, it says wrong password... I use the pin code of the ROM...
What can I do?
Click to expand...
Click to collapse
@Displayer
Your data from the last install appears to be encrypted. If you have a backup the easiest way to resolve the issue is to format your storage. You could also use the All in One tool and use its encryption removal option. Please keep in mind that it will wipe out all of your memes, so hopefully those are backed up.
tsongming said:
@Displayer
Your data from the last install appears to be encrypted. If you have a backup the easiest way to resolve the issue is to format your storage. You could also use the All in One tool and use its encryption removal option. Please keep in mind that it will wipe out all of your memes, so hopefully those are backed up.
Click to expand...
Click to collapse
I mean, i formatted to have a custom ROM booting, encrypting my data. I can use the phone, my pin code works in android but it's impossible to decrypt with TWRP...
Édit : found that message from argraur on telegram, so basically we have to wait for an updated twrp ? "Android release 9.0.0_r36 (r37) with May security patch has updated FBE encryption that breaks decryption in TWRP."
Displayer said:
I mean, i formatted to have a custom ROM booting, encrypting my data. I can use the phone, my pin code works in android but it's impossible to decrypt with TWRP...
Édit : found that message from argraur on telegram, so basically we have to wait for an updated twrp ? "Android release 9.0.0_r36 (r37) with May security patch has updated FBE encryption that breaks decryption in TWRP."
Click to expand...
Click to collapse
That doesn't even make sense. Twrp will not decrypt your phone.
Install Miui again, backup your data, to your desktop, by manually dragging your files over.
Go here and download DM-VERITY, FORCED ENCRYPTION, AND DISC QUOTA DISABLER you will use it to flash between updates or for dirty flashing Miui updates.
Next go back to TWRP the choose format and type yes reboot to TWRP ( you will se a message that says you have no OS are you sure?) Yes, reboot to TWRP
TWRP is not your issue, go read
and read the first comment here
Format storage, or wait for the TWRP and you still need to the format storage, Again a TWRP update will not resolve the issue. We have all had this exact issue.
I'm using another workaround:
With the all in one tool, we can flash .zip from a PC.
So I could install a custom kernel file from my pc directly into phone without loosing data.
Annoying thing is that I need the PC... Can't flash files that are in phone memory... Not such a big issue...
Another question, can I make a backup from the PC? Used to do it via twrp, but it is not safe with that issue...
lcarolo said:
I'm using another workaround:
With the all in one tool, we can flash .zip from a PC.
So I could install a custom kernel file from my pc directly into phone without loosing data.
Annoying thing is that I need the PC... Can't flash files that are in phone memory... Not such a big issue...
Another question, can I make a backup from the PC? Used to do it via twrp, but it is not safe with that issue...
Click to expand...
Click to collapse
Today i found a TWRP with decryption for may patch working for me here : https://forum.xda-developers.com/mi-8/development/recovery-unofficial-twrp-recovery-t3893823
I think u can pull img if i remember well but now its working for me
Displayer said:
Today i found a TWRP with decryption for may patch working for me here : https://forum.xda-developers.com/mi-8/development/recovery-unofficial-twrp-recovery-t3893823
I think u can pull img if i remember well but now its working for me
Click to expand...
Click to collapse
This twrp is working! Thanks a lot!

How to remove encryption in OrangeFox?

Everytime I boot into recovery it asks for my pin lock code. Entering my pin everytime into the recovery is mildly irritating. Anyway to remove this?
Do I have format data everytime I flash a new rom? It is a pain to backup my data everytime to a PC when flashing a new rom.
rv5750 said:
Everytime I boot into recovery it asks for my pin lock code. Entering my pin everytime into the recovery is mildly irritating. Anyway to remove this?
Click to expand...
Click to collapse
It's a minor inconvenience for the security of your personal data in the phone.
rv5750 said:
Do I have format data everytime I flash a new rom? It is a pain to backup my data everytime to a PC when flashing a new rom.
Click to expand...
Click to collapse
You don't need to format data unless you want to remove encryption, but it's advisable to at least wipe data.
When wiping data TWRP will leave the external storage intact (even though external storage is stored in the data partition). So app and ROM data is lost, but personal data is kept.
When you format data, then personal data in external storage is lost too.
Robbo.5000 said:
It's a minor inconvenience for the security of your personal data in the phone.
Click to expand...
Click to collapse
Is there no way to remove it? The thing is I don't want encryption. I saw a file on K20 Pro telegram group named FCrypt Disabler which disables force encryption. Will that do the trick? When should I flash that file?
rv5750 said:
Is there no way to remove it? The thing is I don't want encryption. I saw a file on K20 Pro telegram group named FCrypt Disabler which disables force encryption. Will that do the trick? When should I flash that file?
Click to expand...
Click to collapse
Are you on official MIUI?
If you're on a custom ROM, then after formatting data you should remain unencrypted without needing to do anything else.
Robbo.5000 said:
Are you on official MIUI?
If you're on a custom ROM, then after formatting data you should remain unencrypted without needing to do anything else.
Click to expand...
Click to collapse
I'm on latest Havoc but I don't know how Orangefox is encrypted.
rv5750 said:
I'm on latest Havoc but I don't know how Orangefox is encrypted.
Click to expand...
Click to collapse
Sorry, I'm forgetting that is now standard to encrypt the phone automatically when setting a PIN for unlocking. Try the script linked in the bottom of this post to disable encryption permanently.
https://forum.xda-developers.com/k2...0s-twrp-status-phh-gsis-t3939325/post79720268
Robbo.5000 said:
Sorry, I'm forgetting that is now standard to encrypt the phone automatically when setting a PIN for unlocking. Try the script linked in the bottom of this post to disable encryption permanently.
https://forum.xda-developers.com/k2...0s-twrp-status-phh-gsis-t3939325/post79720268
Click to expand...
Click to collapse
If I used pattern unlock instead of pin it wouldn't have encrypted the rom?
In the linked thread it says to format data and then flash the file. Suppose I want to install a new rom.
The current process for this phone is:
1. Flash MIUI Chinese rom.
2. Wipe everything except vendor and internal storage.
3. Flash rom of choice and gapps.
4. Format data.
5. Boot the device.
At which step should I flash that file? Flashing the decryption file is after formatting data (step 4), right?
What if I already am on a custom rom? Flashing the file would decrypt the rom or not?
Sorry for asking so many questions. The previous device I had was Redmi Note 4 (mido) so it wasn't necessary to do all these things.
rv5750 said:
If I used pattern unlock instead of pin it wouldn't have encrypted the rom?
In the linked thread it says to format data and then flash the file. Suppose I want to install a new rom.
The current process for this phone is:
1. Flash MIUI Chinese rom.
2. Wipe everything except vendor and internal storage.
3. Flash rom of choice and gapps.
4. Format data.
5. Boot the device.
At which step should I flash that file? Flashing the decryption file is after formatting data (step 4), right?
What if I already am on a custom rom? Flashing the file would decrypt the rom or not?
Sorry for asking so many questions. The previous device I had was Redmi Note 4 (mido) so it wasn't necessary to do all these things.
Click to expand...
Click to collapse
My previous phone was a OnePlus 3, and so this was never an issue with that. After that phone had a fatal accident I had a Redmi 6a for 3 months while I waited for a an all screen with SD855 to be released. All I did with that was install TWRP and Magisk. So I've never actually tried to permanently remove encryption, so don't take what I'm saying as definite.
Not all ROMs require you to format data. I'm on the AOSiP ROM and it wasn't required. I'll move to the Havoc ROM soon, and again it's not required to format data.
My understanding is that you will have an unencrypted phone, even after setting a pin, after flashing that script, so I assume that it would be unnecessary to format data where a ROM install instruction tells you to. This is usually done to ensure the data partition is unencrypted before flashing.
I think setting a pattern also encrypts the phone. I have seen a guide on how to replicate the pattern using the keyboard in TWRP, but can't find it again now.
rv5750 said:
If I used pattern unlock instead of pin it wouldn't have encrypted the rom?
In the linked thread it says to format data and then flash the file. Suppose I want to install a new rom.
The current process for this phone is:
1. Flash MIUI Chinese rom.
2. Wipe everything except vendor and internal storage.
3. Flash rom of choice and gapps.
4. Format data.
5. Boot the device.
At which step should I flash that file? Flashing the decryption file is after formatting data (step 4), right?
What if I already am on a custom rom? Flashing the file would decrypt the rom or not?
Sorry for asking so many questions. The previous device I had was Redmi Note 4 (mido) so it wasn't necessary to do all these things.
Click to expand...
Click to collapse
Flash right before first boot
Robbo.5000 said:
Sorry, I'm forgetting that is now standard to encrypt the phone automatically when setting a PIN for unlocking. Try the script linked in the bottom of this post to disable encryption permanently.
https://forum.xda-developers.com/k2...0s-twrp-status-phh-gsis-t3939325/post79720268
Click to expand...
Click to collapse
Hi,
This scripts DecScript-Universal-v2.zip don't works on eu.rom 20.1.16/21 v3. Stuck in bootloop·
Any other solutions?
Thanks.
sfairmm said:
Hi,
This scripts DecScript-Universal-v2.zip don't works on eu.rom 20.1.16/21 v3. Stuck in bootloop·
Any other solutions?
Thanks.
Click to expand...
Click to collapse
See if the disable force encrypt script in this post works. It's more up to date.
https://forum.xda-developers.com/k2...ners-guide-to-raphaelin-t4020543/post81217503
Robbo.5000 said:
See if the disable force encrypt script in this post works. It's more up to date.
https://forum.xda-developers.com/k2...ners-guide-to-raphaelin-t4020543/post81217503
Click to expand...
Click to collapse
Good!!
I will try and after sharing with you.
Just knowledge, yesterday I flashed the script by @AndyYan, and the device starts again only after the 3 installation attempts. This script works on eu.rom 9.8xx i tested there.
Have nice!
Robbo.5000 said:
Sorry, I'm forgetting that is now standard to encrypt the phone automatically when setting a PIN for unlocking. Try the script linked in the bottom of this post to disable encryption permanently.
https://forum.xda-developers.com/k2...0s-twrp-status-phh-gsis-t3939325/post79720268
Click to expand...
Click to collapse
Yo ITS work...but now i cant use lockscreen..how to remove the script
Divapranala said:
Yo ITS work...but now i cant use lockscreen..how to remove the script
Click to expand...
Click to collapse
Get the appropriate firmware and vendor file for your phone from here https://downloads.akhilnarang.dev/MIUI/raphael
Flashing this will remove the effects of the script.
Robbo.5000 said:
Are you on official MIUI?
If you're on a custom ROM, then after formatting data you should remain unencrypted without needing to do anything else.
Click to expand...
Click to collapse
I'm running resurrection remix Android 10 on OnePlus 7t pro, formatted data still data partition is encrypted. Recovery: OrangeFox

Categories

Resources