phhusson / treble_experimentations

Notes about tinkering with Android Project Treble
3.41k stars 659 forks source link

[10.0 v200.d] [Nokia 1] "locksettings" doesn't work and crashes the system if you try to set a new password #788

Open 0x15f2d opened 5 years ago

0x15f2d commented 5 years ago

If you try to put a PIN. It will hang the system and ask for one that doesn't exist >> Reset the phone.

Put a pattern will also hang the system and reboot, but it doesnt ask for it.

Put a password will produces either one of those 2 problem above.

Clearing it will cause this:

FRT:/ # locksettings clear android.os.DeadObjectException at android.os.BinderProxy.transactNative(Native Method) at android.os.BinderProxy.transact(BinderProxy.java:510) at android.os.BinderProxy.shellCommand(BinderProxy.java:609) at com.android.commands.locksettings.LockSettingsCmd.onRun(LockSettingsCmd.java:74) at com.android.internal.os.BaseCommand.run(BaseCommand.java:56) at com.android.commands.locksettings.LockSettingsCmd.main(LockSettingsCmd.java:62) at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method) at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:338)

phhusson commented 5 years ago

does it work on v119?

Le dim. 20 oct. 2019 à 21:33, 0x15f2d notifications@github.com a écrit :

If you try to put a PIN. It will hang the system and ask for one that doesn't exist >> Reset the phone.

Put a pattern will also hang the system and reboot, but it doesnt ask for it.

Put a password will produces either one of those 2 problem above.

Clearing it will cause this:

FRT:/ # locksettings clear android.os.DeadObjectException at android.os.BinderProxy.transactNative(Native Method) at android.os.BinderProxy.transact(BinderProxy.java:510) at android.os.BinderProxy.shellCommand(BinderProxy.java:609) at com.android.commands.locksettings.LockSettingsCmd.onRun(LockSettingsCmd.java:74) at com.android.internal.os.BaseCommand.run(BaseCommand.java:56) at com.android.commands.locksettings.LockSettingsCmd.main(LockSettingsCmd.java:62) at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method) at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:338)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/788?email_source=notifications&email_token=AAAA4OTTUJTWM7M54X3O6CTQPSXAPA5CNFSM4JCVXBC2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HTAQCWQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OX4GH7XHP3E7NXBWRLQPSXAPANCNFSM4JCVXBCQ .

0x15f2d commented 5 years ago

my phone can't flash it due to lack of memory but i can assure that android 9 works well with my device. except secure boot password confirmation before booting the actual system (if you typed wrong password it will say the phone's userdata broken and needs a factory reset. but rebooting it and typing the correct password will boot the os normally).

this will not happen on android 8 gsi though.

the vendor and boot that compatible with all of your gsi images is just android 8's boot and vendor.

0x15f2d commented 4 years ago

does it work on v119?

@phhusson No it doesn't work and yeah I dumped the phone anyway. It was strict hardware encryption by Nokia I guess. Or incompatibility with encryption.