Can't do anything with TWRP; Unable to decrypt FBE device - Sony Xperia XZ1 Compact Questions & Answers

I need to restore from a backup. However TWRP keeps giving the error "unable to decrypt FBE device". Also it no longer asks me to enter my PIN. What to do?
Also tried in terminal "twrp decypt [password]" but it said fail to decrypt even though I'm 100% that password is right

cheeklitched said:
Also tried in terminal "twrp decypt [password]" but it said fail to dec
Click to expand...
Click to collapse
I know this is a year old thread, but did you ever end-up solving this issue?

cubancigar11 said:
I know this is a year old thread, but did you ever end-up solving this issue?
Click to expand...
Click to collapse
I must've but forget how. I think it may have been reflash or flash a newer version of TWRP.

Related

TWRP installed but asking for a password. Help required!! (Solved now!!)

While the TWRP is installed (used the one from @codeworkx) - I am not able to wipe dalvic/data/system since it is asking for a password. If the password is skipped, then while wiping it says cannot mount. Help required, if anyone faced similar issue.
debasish497 said:
While the TWRP is installed (used the one from @codeworkx) - I am not able to wipe dalvic/data/system since it is asking for a password. If the password is skipped, then while wiping it says cannot mount. Help required, if anyone faced similar issue.
Click to expand...
Click to collapse
Haven't updated on this one just yet but if you are unlocking the bootloader then you will have to disable the password before unlocking. I am currently on one by Rishabh Rao and is planning on updating today itself. Will inform you after updating.
Just updated the recovery no issue with password. Though there is another issue . It's showing all the touch logs while flashing any file normally or via ADB.
Just format the device
debasish497 said:
While the TWRP is installed (used the one from @codeworkx) - I am not able to wipe dalvic/data/system since it is asking for a password. If the password is skipped, then while wiping it says cannot mount. Help required, if anyone faced similar issue.
Click to expand...
Click to collapse
the password is usually because the data partition is encrypted, you will need to wipe data, to gain access to the data partition to be able to use it in twrp...
Even I am getting the same error, but I am just not able to get rid of it. I was on Lineage 13, then I restored nandroid backup from twrp. after that I started getting this enter password in twrp.
I tried 'fastboot format userdata' and it did nothing, then I factory reset my device from settings, but it is still asking for password.
Then I flashed stock recovery by Rishab, but I got only chinese characters in recovery and could not flash stock rom downloaded from LeEco site.
Please help!
Do you have the downloaded stock rom for le 2...if yes please share it.....

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

Cannot Access Phone through TWRP (encryption issue with update); ROM will not boot

I updated TWRP and now I cannot access my phone through the recovery. It asks for a password; I don't even recall creating one and then won't let me see my encrypted phone. So I cannot flash things or recover my data to my PC before I delete all my data. When I start the phone, the ROM says "Unfortunately, System UI has stopped."
How can I get my data from my phone?
Did you use the latest version of TWRP from here?
https://dl.twrp.me/oneplus3/
If not, use that.
If you did use the version and had the problem, then try the Blu Spark 8.61 version from here
https://forum.xda-developers.com/on...vice-development/kernel-t3404970/post67463496
Sent from my OnePlus3T using XDA Labs
BillGoss said:
Did you use the latest version of TWRP from here?
....
Click to expand...
Click to collapse
Thank you for your help! You're such a ****ing star! I have access to my data and I'll be doing more diligent backup procedures moving forward. Thank you so much!
Basically, the phone would not accept my password to decrypt. I don't recall setting one. I looked around online for a long time and found that I could go into system settings and change the password, only that wasn't an option for me! So I got an app that allowed me to change the password without knowing the current password. That just created a prompt that requested my password each time I started up the phone but did not grant access in TWRP and of course I could not boot my phone because of the system ui error.
So, I installed the first TWRP package you recommended but it still did not accept my password and then I tried the second package and entered the password. It worked! I'm grabbing my data through TWRP as we speak and I'll see about fixing my system ui error from here... Thank you again!

TWRP asks for password after flash

So i got TWRP to flash, but when i boot into it, it asks for a password to decrypt. I cant mount any partitions. I cant wipe delvic or anything
I took my security pin off the phone so.
any ideas, since i cant flash without the password.
Jtaxel said:
So i got TWRP to flash, but when i boot into it, it asks for a password to decrypt. I cant mount any partitions. I cant wipe delvic or anything
I took my security pin off the phone so.
any ideas, since i cant flash without the password.
Click to expand...
Click to collapse
You have to click on the "mount" button in twrp and scroll down to the check box thay says "mount system read only" next to it and un-check it. Then you should be good
Jason M. said:
You have to click on the "mount" button in twrp and scroll down to the check box thay says "mount system read only" next to it and un-check it. Then you should be good
Click to expand...
Click to collapse
I think I had that problem on the 3.2.2 version and flashed the 3.1.1 version and never had a problem
jefffrom said:
I think I had that problem on the 3.2.2 version and flashed the 3.1.1 version and never had a problem
Click to expand...
Click to collapse
There's a 3.2.3 version now that everything works just fine on.
https://github.com/TwrpBuilder/andr...s/tag/TWRP-3.2.3-TwrpBuilder-2018-08-21_14-10
yup had that problem aswell with the 2.2.3 version as well what i did was format before I installed my rom and I was able to install custom rom then

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