pasword twrp to decrypt - Xiaomi Mi 5 Questions & Answers

Hi,
I have twrp and want to decrypt the datapartition but twrp need a pasword to decrypt . I tried the password of the locking screen, the Lokingscrean Pin and sim Pin. But nothing works . (TWRP 3.0.2.1 "megabest")
What can i do?
kind regards gandalf

[email protected] said:
Hi,
I have twrp and want to decrypt the datapartition but twrp need a pasword to decrypt . I tried the password of the locking screen, the Lokingscrean Pin and sim Pin. But nothing works . (TWRP 3.0.2.1 "megabest")
What can i do?
kind regards gandalf
Click to expand...
Click to collapse
I think you need to format data.
Sent from my MI 5 using XDA Premium HD app

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

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.

Decryption problem!! Help!

Hello guys ,
i am a newbie, i wanted to go for custom rom lineage os for op3t since i was fascinated by my friend's customisation.
i am in a stock rom with december patch 2017 updated.
i went to install twrp and headache started where i ended up decryption problem.
i havent set any password for twrp but it prompts for password. tried and tired of other bluesparks custom twrp also
before i go ahead with format/erase data (everything) i have a question can i able to decrypt mounted storage ??
none of the posts i found have clearly mentioned .. i tries updated twrp from webiste also but of nos usee
anybody's kind enough to explain procedures to be followed
Thx in advance
If TWRP requires you to insert a PW when you haven't one, try "default_password".
try the commands
fastboot format userdata
fastboot format cache
fastboot format system
fastboot erase boot
fastboot reboot
then reboot phone to recovery by pressing the volume keys and select recovery.
If you're able to boot into system, go to Settings > Security and set a password. You will be prompted then whether you want to use this password during boot, select Yes. This way TWRP should accept the password.
ersandeepkr said:
try the commands
fastboot format userdata
fastboot format cache
fastboot format system
fastboot erase boot
fastboot reboot
Click to expand...
Click to collapse
Your tip be like: destroy most partitions on the phone and reboot.
Why even erase boot? Never do this.
Anusha Rao said:
Hello guys ,
i am a newbie, i wanted to go for custom rom lineage os for op3t since i was fascinated by my friend's customisation.
i am in a stock rom with december patch 2017 updated.
i went to install twrp and headache started where i ended up decryption problem.
i havent set any password for twrp but it prompts for password. tried and tired of other bluesparks custom twrp also
before i go ahead with format/erase data (everything) i have a question can i able to decrypt mounted storage ??
none of the posts i found have clearly mentioned .. i tries updated twrp from webiste also but of nos usee
anybody's kind enough to explain procedures to be followed
Thx in advance
Click to expand...
Click to collapse
Password it ask for is the one you have set for lockscreen in last OS you used, just enter the same pin or password you used in last OS and it will decrypt
If default password doesn't work you need to wipe internal storage using above commands given by @ersandeepkr
Anusha Rao said:
Hello guys ,
i am a newbie, i wanted to go for custom rom lineage os for op3t since i was fascinated by my friend's customisation.
i am in a stock rom with december patch 2017 updated.
i went to install twrp and headache started where i ended up decryption problem.
i havent set any password for twrp but it prompts for password. tried and tired of other bluesparks custom twrp also
before i go ahead with format/erase data (everything) i have a question can i able to decrypt mounted storage ??
none of the posts i found have clearly mentioned .. i tries updated twrp from webiste also but of nos usee
anybody's kind enough to explain procedures to be followed
Thx in advance
Click to expand...
Click to collapse
I would definitely not wipe anything. I would first:
Set my password again (you can use the same one you are currently using) in Settings>Security>Screen lock and select the Require password to start option.
Then boot into TWRP and see if your password decrypts the data.
I would also only use either the latest official TWRP from https://dl.twrp.me/oneplus3/
Or the Blu Spark v8.61 TWRP from https://forum.xda-developers.com/on...vice-development/kernel-t3404970/post67463496
Sent from my OnePlus3T using XDA Labs
przemcio510 said:
If you're able to boot into system, go to Settings > Security and set a password. You will be prompted then whether you want to use this password during boot, select Yes. This way TWRP should accept the password.
Your tip be like: destroy most partitions on the phone and reboot.
Why even erase boot? Never do this.
Click to expand...
Click to collapse
I have used above commands without any problem.
The most dangerous command that will destroy your phone is
"fastboot erase bootloader"
and not the boot.
ersandeepkr said:
The most dangerous command that will destroy your phone is
"fastboot erase bootloader"
and not the boot.
Click to expand...
Click to collapse
Still you shouldn't provide such tips to other, espiecially those less skilled.
przemcio510 said:
Still you shouldn't provide such tips to other, espiecially those less skilled.
Click to expand...
Click to collapse
ok

LineageOS Update on Encrypted phone without passcode

Hello,
I'm using LineageOS 15.1 with TWRP. Since some time I do not have to enter my encryption code when phone is going to recovery for updating LineageOS. This is strange because phone is encrypted. Did I miss something or is something wrong with my encryption?!
dbsoundz said:
Hello,
I'm using LineageOS 15.1 with TWRP. Since some time I do not have to enter my encryption code when phone is going to recovery for updating LineageOS. This is strange because phone is encrypted. Did I miss something or is something wrong with my encryption?!
Click to expand...
Click to collapse
It is possible to have the phone encrypted but with a default password (this is how the photos comes when you buy it).
You can check if it's encrypted in Settings>Security.
You can add an on-boot password by setting your password again and requiring it for startup. Then you'll need the password to decrypt the phone in TWRP and when you boot the device.
Sent from my OnePlus3T using XDA Labs
Hello @BillGoss,
thanks for your answer.
My phone is encrypted and I have set a password. I do also have to enter it while booting. Just twrp doesn't want one when updating. That's the strange thing.
dbsoundz said:
Hello @BillGoss,
thanks for your answer.
My phone is encrypted and I have set a password. I do also have to enter it while booting. Just twrp doesn't want one when updating. That's the strange thing.
Click to expand...
Click to collapse
Do you get this screen when you reboot your phone?
Sent from my OnePlus3T using XDA Labs
Yes, I do when booting phone normal.
I also have to enter it when booting to TWRP.
But I don't have to enter it when installing updates through LineageOS Updater in Android any more since a while.
dbsoundz said:
Yes, I do when booting phone normal.
I also have to enter it when booting to TWRP.
But I don't have to enter it when installing updates through LineageOS Updater in Android any more since a while.
Click to expand...
Click to collapse
So if you manually boot into TWRP you get prompted for the password. Good, that makes sense.
I have never used the updater, but since a rom update only requires access to the system and boot partitions, which aren't encrypted, it's theoretically possible to do the update without needing your password.
But I expect that you get prompted for the password when the phone reboots after the update has been installed.
Sent from my OnePlus3T using XDA Labs

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!

Categories

Resources