TWRP Invalid Password after MM Update (Z00A) - ZenFone 2 Q&A, Help & Troubleshooting

Hello,
I have recently flashed the Marshmallow update to my phone coming from WW-2.20.40.194. It was encrypted and used a PIN on both the boot and the lock screen. With Lollipop, I can decrypt my phone in TWRP by entering my lock screen PIN. However, neither TWRP 3.0.2.0 nor a TWRP repack (found at: https://drive.google.com/drive/folders/0Byp0425xydUaYzk1anRCak0zZXc) on Marshmallow are able to decrypt the phone, saying the password is invalid. I have tried the lock screen PIN, "default_password", as well as using an app called "SnooperStopper" to change my encryption password to something other than my lock screen PIN, with no luck. Is anyone else experiencing this or have a fix?

If i recall you must unencrypt before any flash. Your encryption key is now lost along with all your data. Sorry.
Sent from my ASUS_Z00AD using XDA Premium HD app

Maybe you'll need to downgrade to L, decrypt the phone, upgrade to M again and encrypt it a second time.
After uploading the M update, Asus also uploaded a rom to downgrade from M to L, so anyone can perform a downgrade just the same way they did the upgrade.

Thanks for the replies! I haven't lost any data, since I backed everything up manually beforehand. However, even if I didn't backup the data, I can still unlock the phone itself (get past the lock screen and to all my files), just not through TWRP's lock screen. I've tried encrypting before and after upgrading to Marshmallow, with the same results.
UPDATE:
Just tried again with TWRP (tethered and untethered) on a clean install, same results. Steps:
Used fastboot to completely erase phone (data, cache, dalvik, system, etc).
Flashed stock recovery for Lollipop (WW-2.20.40.194).
ADB sideloaded WW-2.20.40.194 in stock recovery.
Wiped data and cache again in stock recovery.
ADB sideloaded Marshmallow (WW-4.21.40.134).
Rebooted to system, logged into Google account, set up system, etc.
While setting up system, chose to lock device with PIN.
After setup, encrypted the phone.
Rebooted to bootloader.
Fastboot boot TWRP.
Tried to enter PIN, says invalid. Tried to enter "default_password", says invalid.
Fastboot flash TWRP, same results.

Hi yes, ive had the exact same problem running a nightly build of CM13 / Android 6.0.1. It just tells me the password is wrong. TWRP 3.0.2.0
Personally I think something changed in recent Android builds and TWRP just hasnt figured out that its broken yet. TWRP 3.0.2.0 is almost 6 months old now ...
I need to find a way to update my roms also so this is a problem.

I am glad to hear it is not just me having this issue. I believe this as well, though TWRP 3.0.2.0 worked just fine on an older version of XOSP (CM13-based, I think from a build around December 2015). Something must have changed since then.

I have discovered the problem. You can read all about it here.
http://forum.xda-developers.com/gal...wrp-mount-encrypted-partition-recent-t3468989
tl;dr
Snapdragon 800+ CPU phones (any maybe others) have HW_Crypro (hardware crypto chip) and Android 6 + enables this. Which requires recompiled TWRP with support for HW_Crypto

Doesn't the last TWRP 3.2.3 solve this issue
https://dl.twrp.me/Z00A/
Or have you find a working TWRP build that can decrypt?

Related

Random restarts and then asking for a password (that doesn't exists)

Hello,
I'm having a weird issue with my Note 7 that I didn't have at all until tried to root for the first time....
It randomly restarts, sometimes is very often and sometimes it take a few hours to do it, but when it does it just restarts out of nothing and when Android loads again it asks me for a password that doesn't even exsits
"To start your device, enter your password" (Picture attached)
This started to happen after used the rootable kernel that was published before SuperSU 2.77 Beta but even reflashing the stock firmware, bootloader, modem, CSC it keeps doing it even when my Android is not yet configured (at the first Welcome screen before setting the phone up), so there is no password at all at this point. I've tried my Google account password, but it doesn't work.
This message is the same that comes up when you select "Secure Boot" so you need to enter a password or PIN to decrypt your data and be able to load it, but I don't have that option checked, and could not be checked when the phone is not even configured.
The way to work around this issue is flashing the no-verity-opt-encrypt mod that is not supposed to be needed anymore after SuperSU 2.77 has been released. So flashing this mod will get me into my Android home screen but it will eventually restart again and I need to flash this mod again.
This is what I've tried so far and it keeps happening:
- Flashed the rootable kernel when it was published and the no-verity mod. I formated data as indicated in the post. Then this problem appeared.
- Flashed stock firmware, bootloader, modem, csc thinking this would remove any trace of the mods I flashed, but kept happening.
- Factory reset from the Samsung recovery, had the "no verity" errors sometimes and sometimes not.
- Flashed other firmwares, bootloaders, modems, csc from other countries but for the same model N930F and kept happening.
- Flashed custom ROMs, formated system, data, everything.
- Flashed stock firmware again.
- Flashed custom ROMS again with the new SuperSU 2.77 and keeps happening.
I have done every single flash that actually exists for the Note 7 and formated everything with no luck....
Has anyone have this issue or had it at all at some moment? If so... How did you manage to get rid of this message?
I hope someone can help, If it was faulty phone I think it would restart at any point even in Recovery or Download mode, but only happens inside of Android.
Seems a common problem I think?
http://forum.xda-developers.com/showthread.php?t=3444510
Sent from my Nexus 6P using Tapatalk
Yep, saw that post... But never seen anyone complaining about the phone asking for a password when reboots (only when it crashes) its like it was asking for a password to decrypt the phone.

[Q] Can not enter phone

So, I have a rooted OnePlus 3 with CM 13.1 Snapshot. But wanted to try CM 14.1. So I wipe Cache, Dalvik, Data and system, and install CM 14.1 nightly. After messing with it for a few days its was not daily driver ready for me. So same ting and install CM 13.1 back.
Now, I setup phone and all. I want to go back to TWRP to flash Exsposed. Suddenly it asks for a password (said no thanks in setup) so I assumed it would be my pin, but that was incorrect. I started the phone back up and asked for a start-up pin (even I said no thanks in setup) but that was my pin. So I tried to chance it into a pattern and hoped it would update in TWRP.
I go back to TWRP still incorrect, I go start my phone back up, but now it saying that the startup pattern is incorrect. I'm 100% sure is correct.
Now I can't enter TWRP and/or my phone.
Please help me, thanks.
Did u happen to restore from backup ?
You need clean install, else the pin information might had an issue,
This issue presence in 3.0.2.0 TWRP not sure whther it's been fixed or not.
Solution is dont use PIN (remove it) prior to doing backup

Flashed Codename Phoenix and after 10 mins the passcode stopped being recognised

I clean flashed (wiped data, both caches and system from TWRP) Codename Phoenix, the latest build from Telegram, and flashed the recommended 8.1 Gapps, but didn't flash Magisk as I only had a 15.x build which causes bootloops unless flashed after a 14.x build which I didn't have on my internal storage.
It flashed fine, I began to set everything up and then locked my device. I was able to unlock it with my passcode as normal, but after about 10mins it stopped recognising my passcode and I couldn't unlock with fingerprint either as "additional authentication" was required.
EDIT: Should probably add I also went into trusted agents and disabled "Smart Unlock" or whatever the Google thing is, and enabled Quick Unlock (the thing that automatically unlocks your phone when you get your passcode correct). After that it stopped working.
I came from the latest Open Beta (OB3) of OxygenOS.
I figured- no problem, I'll just restore from a backup that I'd made before flashing Code Phoenix. Unfortunately, TWRP no longer recognises my passcode to decrypt my data, and default_password doesn't work either.
I have no idea what to do. I've flashed the latest blu_spark TWRP build, and there's no difference. Is the only solution to wipe my internal storage?
You enable quick unlock option which mess up with encryption keys. Only option is format data our remove user data from fastboot.
It is best to stay decrypt if you don't know what you are doing?
elliottweaver said:
I clean flashed (wiped data, both caches and system from TWRP) Codename Phoenix, the latest build from Telegram, and flashed the recommended 8.1 Gapps, but didn't flash Magisk as I only had a 15.x build which causes bootloops unless flashed after a 14.x build which I didn't have on my internal storage.
It flashed fine, I began to set everything up and then locked my device. I was able to unlock it with my passcode as normal, but after about 10mins it stopped recognising my passcode and I couldn't unlock with fingerprint either as "additional authentication" was required.
...........................
Click to expand...
Click to collapse
Do you have a backup you can restore?

Phone Encryption

Hello,
I am having issue with my mi mix 2 (chiron), since using custom ROMs (9.0 based). The roms and everything connected with it works fine, but problem comes, when i want to install new OTA update (that is quiet offen, since developer release new version several times per weak). Everytime i boot in recovery (TWRP, last official available version for chiron), data partition is encrypted and i am unable to decrypt it in twrp (twrp says, i have inputed wrong password [i have tried to change to text password, didnt help]). I have also tried different versions of TWRP - same result. The only way how to not lose data is to install update from external storage, which is anoying. Lastly i have tried to search for help here and other forums, but did not find any solution. Does anyone else face this problem and is there any way, how to decrypt data partition in twrp?
Thanks in advance
Marek

Oneplus 5T bootloop

Hi there,
Yesterday I rooted my oneplus 5T and installed TWRP 3.2.1 & masgisk. Then, I´ve installed Pixel experience AOSP which seemed like fairly stable from the description. Everything went fine, the OS started I started configuring it then after setting the password I got the OS having always the setting app to crash. So, I thought well, I can just go to recovery and try once again factory reset. Otherwise, I can mount the recovery and install another ROM. I went to recovery and to my surprise it was asking for a password and mine didn´t work. I tried the factory reset and still the encryption stayed. I found that this version has a decryption problem and all my files were encrypted and not accessible, that was fine, since I had everything backed up. So, I have installed the new version of TWRP which seems to fix this issue after loosing all encrypted file. I have formated the data, system, dalvic and cache and installed once again pixel exerience but the OS keeps on bootloop. Have anybody seen something like this? How should I fix it? My best guess was to reinstall stock OS via adb, but in the past I've rooted a couple of devices and I've never seen something like this.
Thanks in advance

Categories

Resources