Cannot change Phone Encryption - Xiaomi Mi 5 Questions & Answers

Hi. I set up an encryption in my phone, which asks for the password during booting the phone or booting into recovery. I don't have a problem with it, just want to change it.
Question: How do I change it? The button is grayed out.
Currently on Resurrection Remix 5.8.3

Format data in TWRP

Potato997 said:
Format data in TWRP
Click to expand...
Click to collapse
Will try that. Thanks!

Related

how to decrypt in twrp?

I have my 3t unlocked and twrp flashed, but every time I boot into it, it indicates not able to decrypt data partition. Even after flashing with sideload, the pin which I set in preinstalled OS couldn't unlock it. Tried to disable boot up pin didn't help me out. Any hints?
Thankc
zphou said:
I have my 3t unlocked and twrp flashed, but every time I boot into it, it indicates not able to decrypt data partition. Even after flashing with sideload, the pin which I set in preinstalled OS couldn't unlock it. Tried to disable boot up pin didn't help me out. Any hints?
Thankc
Click to expand...
Click to collapse
Did you flashed dm-verity zip disabler or SuperSU zip before boot to system...?
cultofluna said:
Did you flashed dm-verity zip disabler or SuperSU zip before boot to system...?
Click to expand...
Click to collapse
It sounds like he just wants TWRP to be able to access his encrypted data, not to actually wipe and decrypt.
jcadduono said:
If your device isn't decrypting in TWRP, chances are you still have the old crypto key format from the 3.5.1 release firmware.
You can solve this by updating to 3.5.3 and changing your boot up password in your device OS's settings.
By changing your password after updating to 3.5.3 or newer, your OS will rewrite your crypto key to be compatible with TWRP.
You are free to disable your password after this if you don't want one, and TWRP will decrypt with the default password.
Click to expand...
Click to collapse
@zphou Did you do that stuff, like the TWRP thread tells you to?
Sounds like you need to factory reset. Thats how you remove encryption. Ive done it before on my other phone. Perhaps make a quick manual backup of the folders on your phone or use the splendid Huawei Backup app on the play store and throw that on your PC before resetting. You can restore apps to the exact state as before your reset. Encryption should be removed afterwards.
josephcsible said:
It sounds like he just wants TWRP to be able to access his encrypted data, not to actually wipe and decrypt.
@zphou Did you do that stuff, like the TWRP thread tells you to?
Click to expand...
Click to collapse
Yes. I followed the instructions and now with latest public beta, which is 7.0. I still can not access to data partition in recovery. Luckly, I could flash 3rd party rom with sideload, the only issue is not able to boot into system. So I have to flash the public 7.0 beta.

Factory Reset After Booting to System from TWRP

Hello,
I flashed TWRP-3.0.3-1 and the latest Resurrection Remix OS and gapps, went through set up process, no problems.
However, whenever I go to TWRP and then boot to System from there, it does a factory reset and I'm back at the Welcome screen (and also prompts me to log in to my Google account as a result of being factory reset).
How do I fix this?
Thanks in advance
Mr Mop said:
Hello,
I flashed TWRP-3.0.3-1 and the latest Resurrection Remix OS and gapps, went through set up process, no problems.
However, whenever I go to TWRP and then boot to System from there, it does a factory reset and I'm back at the Welcome screen (and also prompts me to log in to my Google account as a result of being factory reset).
How do I fix this?
Thanks in advance
Click to expand...
Click to collapse
use the recovery 3.0.4.0
Mr Mop said:
Hello,
I flashed TWRP-3.0.3-1 and the latest Resurrection Remix OS and gapps, went through set up process, no problems.
However, whenever I go to TWRP and then boot to System from there, it does a factory reset and I'm back at the Welcome screen (and also prompts me to log in to my Google account as a result of being factory reset).
How do I fix this?
Thanks in advance
Click to expand...
Click to collapse
I read through the RR thread and many people have mentioned formatting your data partition from f2fs to ext4 file system. This should solve your problem.
pooch11 said:
I read through the RR thread and many people have mentioned formatting your data partition from f2fs to ext4 file system. This should solve your problem.
Click to expand...
Click to collapse
Just tried that and it worked, thanks!

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

TWRP requires password out of nowhere

Just wanted to update my EX kernel with the kernel manager app, it reboots to TWRP and than requires password.
I've never set a password to TWRP and my PIN doesn't work. It also happened to my brother's 3T, that's so weird.
I would like to know if there is any solution that doesn't include factory reset or re-flashing TWRP.
Thanks from advanced, Lidor.
Update:
I tried to disable the PIN when you boot up the device. Now TWRP doesn't even work. It just shows the logo...
Guess I will have to re-flash TWRP... Just tell me if I am right.
HeroPlane said:
Just wanted to update my EX kernel with the kernel manager app, it reboots to TWRP and than requires password.
I've never set a password to TWRP and my PIN doesn't work. It also happened to my brother's 3T, that's so weird.
I would like to know if there is any solution that doesn't include factory reset or re-flashing TWRP.
Thanks from advanced, Lidor.
Update:
I tried to disable the PIN when you boot up the device. Now TWRP doesn't even work. It just shows the logo...
Guess I will have to re-flash TWRP... Just tell me if I am right.
Click to expand...
Click to collapse
Hmm random encryption?
sakumaxp said:
Hmm random encryption?
Click to expand...
Click to collapse
I guess so.
My TWRP is just useless now.
HeroPlane said:
I guess so.
My TWRP is just useless now.
Click to expand...
Click to collapse
I guess factory reset and then start from scratch? IDK what else you can do
Try reflash twrp to yr phone.
If you are on oxygen os twrp will take time to load (without pin enabled) as OOS uses f2fs format which is relatively newer format and allegedly considered better than more traditional ext4 format
So if twrp logo shows after booting in recovery then wait for sometime (can take upto 10 min)

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.

Categories

Resources