Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Unable to setup a PIN code for lock screen

  • /e/ version: 2020050552645
  • Device model: dreamlte
  • When it started to occur: end April
  • Reproducible with the last /e/ version: yes
  • Reproducible with LineageOS: ?

Summary

On last /e/ version for Galaxy S8, we can't set a PIN code or schema on lock screen.

  • The device is unusable
  • The bug is the source of a data loss or a big waste of time
  • The bug concerns a third party app
  • The bug concerns security
  • The bug concerns privacy

The problem

Steps to reproduce

Install /e/ and try to setup a PIN code from Settings > Security > Lock screen

What is the current behavior?

Even if everything seems working, when we come back into settings, it appears that the PIN code was not saved. As a user, I'm not informed that there are new updates for the Apps.

What is the expected correct behavior?

The defined lock screen method have to work.

Technical informations

Relevant logs (adb logcat)

05-07 09:33:20.672  5007  7427 E LockPatternUtils: Unable to save lock password
05-07 09:33:20.672  5007  7427 E LockPatternUtils: java.lang.IllegalArgumentException
05-07 09:33:20.672  5007  7427 E LockPatternUtils: 	at android.os.Parcel.createException(Parcel.java:1954)
05-07 09:33:20.672  5007  7427 E LockPatternUtils: 	at android.os.Parcel.readException(Parcel.java:1918)
05-07 09:33:20.672  5007  7427 E LockPatternUtils: 	at android.os.Parcel.readException(Parcel.java:1868)
05-07 09:33:20.672  5007  7427 E LockPatternUtils: 	at com.android.internal.widget.ILockSettings$Stub$Proxy.setLockCredential(ILockSettings.java:684)
05-07 09:33:20.672  5007  7427 E LockPatternUtils: 	at com.android.internal.widget.LockPatternUtils.saveLockPassword(LockPatternUtils.java:860)
05-07 09:33:20.672  5007  7427 E LockPatternUtils: 	at com.android.settings.password.ChooseLockPassword$SaveAndFinishWorker.saveAndVerifyInBackground(ChooseLockPassword.java:1022)
05-07 09:33:20.672  5007  7427 E LockPatternUtils: 	at com.android.settings.password.SaveChosenLockWorkerBase$Task.doInBackground(SaveChosenLockWorkerBase.java:113)
05-07 09:33:20.672  5007  7427 E LockPatternUtils: 	at com.android.settings.password.SaveChosenLockWorkerBase$Task.doInBackground(SaveChosenLockWorkerBase.java:110)
05-07 09:33:20.672  5007  7427 E LockPatternUtils: 	at android.os.AsyncTask$2.call(AsyncTask.java:333)
05-07 09:33:20.672  5007  7427 E LockPatternUtils: 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
05-07 09:33:20.672  5007  7427 E LockPatternUtils: 	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
05-07 09:33:20.672  5007  7427 E LockPatternUtils: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
05-07 09:33:20.672  5007  7427 E LockPatternUtils: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
05-07 09:33:20.672  5007  7427 E LockPatternUtils: 	at java.lang.Thread.run(Thread.java:764)
05-07 09:33:20.672  5007  7427 E LockPatternUtils: Caused by: android.os.RemoteException: Remote stack trace:
05-07 09:33:20.672  5007  7427 E LockPatternUtils: 	at sun.nio.ch.FileChannelImpl.position(FileChannelImpl.java:316)
05-07 09:33:20.672  5007  7427 E LockPatternUtils: 	at com.android.server.PersistentDataBlockService$2.setFrpCredentialHandle(PersistentDataBlockService.java:630)
05-07 09:33:20.672  5007  7427 E LockPatternUtils: 	at com.android.server.locksettings.LockSettingsStorage.writePersistentDataBlock(LockSettingsStorage.java:637)
05-07 09:33:20.672  5007  7427 E LockPatternUtils: 	at com.android.server.locksettings.SyntheticPasswordManager.synchronizeFrpPassword(SyntheticPasswordManager.java:721)
05-07 09:33:20.672  5007  7427 E LockPatternUtils: 	at com.android.server.locksettings.SyntheticPasswordManager.createPasswordBasedSyntheticPassword(SyntheticPasswordManager.java:662)
05-07 09:33:20.672  5007  7427 E LockPatternUtils: 

Relevant screenshots

Solutions

Workaround

Possible fixes