New [21.6.23] FC in Settings.apk


Diorgenes

Members
Jun 17, 2016
34
20
@Igor Eisberg @ingbrzy I already have a screen lock, when I try to enter screen lock modes (PIN, pattern or password) the Settings app closes
How to reproduce: Settings > Passwords & security > Screen lock > In my case I draw the pattern.
Device: Mi 10T
Rom version: (21.6.23)
Full Logcat

Code:
06-27 20:18:26.537   654   706 I vold    : Bind mounting /mnt/runtime/full/emulated to /mnt/pass_through/0/emulated
06-27 20:18:26.547  1947  2619 I chatty  : uid=1000(system) backup expire 2 lines
06-27 20:18:26.560  1947  2162 I chatty  : uid=1000(system) android.bg expire 98 lines
06-27 20:18:26.597  1947  2163 I chatty  : uid=1000(system) ActivityManager expire 146 lines
06-27 20:18:26.626  1947  2164 I chatty  : uid=1000(system) ActivityManager expire 28 lines
06-27 20:18:26.643  1947  2384 I chatty  : uid=1000(system) Binder:1947_4 expire 7 lines
06-27 20:18:26.645  2734  3826 W BpBinder: PerfMonitor binderTransact :  time=1325ms interface=com.android.internal.widget.ILockSettings code=10
06-27 20:18:26.650  2734  3826 E miui_keyguard_password: checkPasswordForUsers failed
06-27 20:18:26.650  2734  3826 E miui_keyguard_password: java.lang.NullPointerException: Attempt to get length of null array
06-27 20:18:26.650  2734  3826 E miui_keyguard_password:     at android.os.Parcel.createExceptionOrNull(Unknown Source:25)
06-27 20:18:26.650  2734  3826 E miui_keyguard_password:     at android.os.Parcel.createException(Unknown Source:0)
06-27 20:18:26.650  2734  3826 E miui_keyguard_password:     at android.os.Parcel.readException(Unknown Source:11)
06-27 20:18:26.650  2734  3826 E miui_keyguard_password:     at android.os.Parcel.readException(Unknown Source:10)
06-27 20:18:26.650  2734  3826 E miui_keyguard_password:     at com.android.internal.widget.ILockSettings$Stub$Proxy.checkCredential(Unknown Source:72)
06-27 20:18:26.650  2734  3826 E miui_keyguard_password:     at com.android.internal.widget.LockPatternUtils.checkCredential(Unknown Source:12)
06-27 20:18:26.650  2734  3826 E miui_keyguard_password:     at com.android.keyguard.MiuiLockPatternChecker$1.checkCredential(Unknown Source:12)
06-27 20:18:26.650  2734  3826 E miui_keyguard_password:     at com.android.keyguard.MiuiLockPatternChecker$1.doInBackground(Unknown Source:23)
06-27 20:18:26.650  2734  3826 E miui_keyguard_password:     at com.android.keyguard.MiuiLockPatternChecker$1.doInBackground(Unknown Source:2)
06-27 20:18:26.650  2734  3826 E miui_keyguard_password:     at android.os.AsyncTask$3.call(Unknown Source:20)
06-27 20:18:26.650  2734  3826 E miui_keyguard_password:     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
06-27 20:18:26.650  2734  3826 E miui_keyguard_password:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
06-27 20:18:26.650  2734  3826 E miui_keyguard_password:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
06-27 20:18:26.650  2734  3826 E miui_keyguard_password:     at java.lang.Thread.run(Thread.java:923)
06-27 20:18:26.650  2734  3826 E miui_keyguard_password: Caused by: android.os.RemoteException: Remote stack trace:
06-27 20:18:26.650  2734  3826 E miui_keyguard_password:     at com.android.server.locksettings.SyntheticPasswordManager$PasswordData.fromBytes(Unknown Source:5)
06-27 20:18:26.650  2734  3826 E miui_keyguard_password:     at com.android.server.locksettings.SyntheticPasswordManager.unwrapPasswordBasedSyntheticPassword(Unknown Source:21)
06-27 20:18:26.650  2734  3826 E miui_keyguard_password:     at com.android.server.locksettings.LockSettingsService.spBasedDoVerifyCredential(Unknown Source:159)
06-27 20:18:26.650  2734  3826 E miui_keyguard_password:     at com.android.server.locksettings.LockSettingsService.doVerifyCredential(Unknown Source:44)
06-27 20:18:26.650  2734  3826 E miui_keyguard_password:     at com.android.server.locksettings.LockSettingsService.unlockChildProfile(Unknown Source:10)
06-27 20:18:26.650  2734  3826 E miui_keyguard_password:
06-27 20:18:26.803  3086  3086 W BpBinder: PerfMonitor binderTransact :  time=225ms interface=com.android.internal.appwidget.IAppWidgetService code=1
06-27 20:18:26.824  3086  3086 I Timeline: Timeline: Activity_launch_request time:47106
06-27 20:18:26.826  1947  2706 I chatty  : uid=1000(system) Binder:1947_6 expire 2 lines
06-27 20:18:26.859  1947  3545 I chatty  : uid=1000(system) Binder:1947_A expire 1 line
06-27 20:18:26.861  4798  4798 W BpBinder: PerfMonitor binderTransact :  time=285ms interface=android.app.IActivityManager code=18
06-27 20:18:26.862  4805  4805 W BpBinder: PerfMonitor binderTransact :  time=282ms interface=android.app.IActivityManager code=18
06-27 20:18:26.862  2995  4706 W BpBinder: PerfMonitor binderTransact :  time=267ms interface=android.app.IActivityManager code=15
 
Last edited:
Remove also /data/system/package_cache
I tried, the only thing possible to mess with the phone now is the settings app, whether or not I set a new screen lock, twrp is unable to decrypt the data.
I have attached the logcat of the errors I have, but I think I will have to format all the data.
Errors
 
Last edited:
I tried, the only thing possible to mess with the phone now is the settings app, whether or not I set a new screen lock, twrp is unable to decrypt the data.
I have attached the logcat of the errors I have, but I think I will have to format all the data.
Errors
I'm not a TWRP developer... and your log is not publicly accessible.