TeamWin / Team-Win-Recovery-Project

Core recovery files for the Team Win Recovery Project (T.W.R.P) - this is not up to date, please see https://github.com/TeamWin/android_bootable_recovery/
http://twrp.me
1.95k stars 742 forks source link

TWRP 3.0.2-3 decryption- Password failed please try again #850

Open dromani opened 7 years ago

dromani commented 7 years ago

Xiaomi MI5 Pro 128GB Unlocked bootloader (official unlock) Android 7.1.1 LineageOS 14.1 20170131-NIGHTLY-gemini LineageOS root add-on Root access for Apps an ADB turned on under Developer Options

USE CASE 1

My phone was automatically encrypted at first reboot. I did not select an encryption password. When phone boots up I get "To start Android, enter your password" prompt. I enter "default_password" (without quotes) and Android system starts up. No screen lock enabled.

Regardless of how I get into recovery, the TWRP screen entitled "Mount Decrypt Data" is displayed, with "Enter Password" prompt. I enter "default_password" (without quotes) and click the "proceed" check-mark icon. "Password failed, please try again!" is displayed in red. I click Cancel and go into the main TWRP screen, click "Install", no files or folders are displayed.

USE CASE 2 I have tried the following: Settings - Security - Scree Lock - PIN, select "Require PIN to start device", select a 4-digit PIN number, reboot. Now at the "To start Android, enter your password" boot prompt, I can enter the 4-digit PIN and the decryption is successful, the Android system starts up. HOWEVER, when I try this same 4-digit PIN in the TWRP "Enter Password" prompt, I still get "Password failed, please try again!"

Is there any fix for this?

viliampucik commented 7 years ago

Same here for TWRP 3.1.1-1 on Xiaomi Mi 4c with Android 7. Data decryption still does not work.

halmartin commented 7 years ago

Experiencing the same issue with TWRP 3.1.1-0 on Wingtech wt88047 (Redmi 2). Running Lineage OS 14.1, TWRP is unable to decrypt /data with the valid password.

Relevant lines from dmesg after attempting to decrypt /data:

<4>[ 1151.854984] mmc0: Starting deferred resume
<4>[ 1151.949063] mmc0: Deferred resume completed
<4>[ 1152.733767] QSEECOM: qseecom_load_app: App (keymaste) does'nt exist, loading apps for first time
<3>[ 1152.737744] scm_call failed: func id 0x32000101, ret: -2, syscall returns: 0xffffffa2, 0x0, 0x0
<3>[ 1152.737759] QSEECOM: qseecom_load_app: scm_call to load app failed
<3>[ 1152.737776] QSEECOM: qseecom_ioctl: failed load_app request: -22
<4>[ 1153.491427] QSEECOM: qseecom_load_app: App (keymaste) does'nt exist, loading apps for first time
<3>[ 1153.495167] scm_call failed: func id 0x32000101, ret: -2, syscall returns: 0xffffffa2, 0x0, 0x0
<3>[ 1153.495182] QSEECOM: qseecom_load_app: scm_call to load app failed
<3>[ 1153.495197] QSEECOM: qseecom_ioctl: failed load_app request: -22