Launcher crashes after unlocking screen on fresh install

I decided to give /e/ a try after having trouble with stock LineageOS. I reflashed my phone back to the latest OOS (9.0.9) and then did a full wipe (everything except internal storage/sdcard) and flashed /e/ via sideload. The install didn’t give any errors and the phone booted fine, but when I enter my unlock pattern once it’s booted, the screen goes black for a second then just goes back to the lock screen. I assumed this means the launcher is crashing.

Anyone else ever had this issue, or got any suggestions on how to solve it?

Hi @kninja is it possible for you to swipe down and get into settings…if yes try to get to App & notifications >> Bliss Launcher >> Storage >> Clear storage + Cache and check if this issue is resolved

1 Like

Thank you for the quick response, but no it is not possible, I cannot even unlock the phone to get access to the notification bar or settings. As I said, when I enter my unlock pattern after the phone boots the screen goes black for a second then just flicks straight back to the lock screen.

I tried clearing davlik and cache from TWRP but that has not helped either.

…and now reflashing over the top has inexplicably deleted the encryption keys for my internal storage so I’ve just lost all my data. Fantastic.

I’m sorry for you. This does not sound good. And I’m afraid that even if the following might help, it’s possibly already to late…
I had the same symptoms as you describe and the link below helped in my case (removing some files in TWRP file manager):

1 Like

I just tried to upgrade my Samsung Galaxy S7 to 1.3 version (stable build), and exactly the same, the unlock is not working (I saw a message saying that Interface App has crashed).
Any idea of what I could try ?

I tried to update with 1.0, 1.1, 1.2 same behavior.

I can see in the logcat output that there is this exception:

09-22 23:11:35.396  3740  6768 W System.err: android.security.keystore.KeyPermanentlyInvalidatedException: Key permanently invalidated
09-22 23:11:35.396  3740  6768 W System.err: 	at android.security.KeyStore.getInvalidKeyException(KeyStore.java:1368)
09-22 23:11:35.396  3740  6768 W System.err: 	at android.security.KeyStore.getInvalidKeyException(KeyStore.java:1413)
09-22 23:11:35.397  3740  6768 W System.err: 	at android.security.keystore.KeyStoreCryptoOperationUtils.getInvalidKeyExceptionForInit(KeyStoreCryptoOperationUtils.java:54)
09-22 23:11:35.397  3740  6768 W System.err: 	at android.security.keystore.KeyStoreCryptoOperationUtils.getExceptionForCipherInit(KeyStoreCryptoOperationUtils.java:89)
09-22 23:11:35.397  3740  6768 W System.err: 	at android.security.keystore.AndroidKeyStoreCipherSpiBase.ensureKeystoreOperationInitialized(AndroidKeyStoreCipherSpiBase.java:265)
09-22 23:11:35.397  3740  6768 W System.err: 	at android.security.keystore.AndroidKeyStoreCipherSpiBase.engineInit(AndroidKeyStoreCipherSpiBase.java:148)
09-22 23:11:35.397  3740  6768 W System.err: 	at javax.crypto.Cipher.tryTransformWithProvider(Cipher.java:2980)
09-22 23:11:35.397  3740  6768 W System.err: 	at javax.crypto.Cipher.tryCombinations(Cipher.java:2891)
09-22 23:11:35.397  3740  6768 W System.err: 	at javax.crypto.Cipher$SpiAndProviderUpdater.updateAndGetSpiAndProvider(Cipher.java:2796)
09-22 23:11:35.397  3740  6768 W System.err: 	at javax.crypto.Cipher.chooseProvider(Cipher.java:773)
09-22 23:11:35.397  3740  6768 W System.err: 	at javax.crypto.Cipher.init(Cipher.java:1288)
09-22 23:11:35.397  3740  6768 W System.err: 	at javax.crypto.Cipher.init(Cipher.java:1223)
09-22 23:11:35.398  3740  6768 W System.err: 	at com.android.server.locksettings.SyntheticPasswordCrypto.decrypt(SyntheticPasswordCrypto.java:65)
09-22 23:11:35.398  3740  6768 W System.err: 	at com.android.server.locksettings.SyntheticPasswordCrypto.decryptBlob(SyntheticPasswordCrypto.java:144)
09-22 23:11:35.398  3740  6768 W System.err: 	at com.android.server.locksettings.SyntheticPasswordManager.decryptSPBlob(SyntheticPasswordManager.java:1137)
09-22 23:11:35.398  3740  6768 W System.err: 	at com.android.server.locksettings.SyntheticPasswordManager.unwrapSyntheticPasswordBlob(SyntheticPasswordManager.java:998)
09-22 23:11:35.398  3740  6768 W System.err: 	at com.android.server.locksettings.SyntheticPasswordManager.unwrapPasswordBasedSyntheticPassword(SyntheticPasswordManager.java:927)
09-22 23:11:35.398  3740  6768 W System.err: 	at com.android.server.locksettings.LockSettingsService.spBasedDoVerifyCredential(LockSettingsService.java:2664)
09-22 23:11:35.398  3740  6768 W System.err: 	at com.android.server.locksettings.LockSettingsService.doVerifyCredential(LockSettingsService.java:1901)
09-22 23:11:35.398  3740  6768 W System.err: 	at com.android.server.locksettings.LockSettingsService.doVerifyCredential(LockSettingsService.java:1880)
09-22 23:11:35.398  3740  6768 W System.err: 	at com.android.server.locksettings.LockSettingsService.checkCredential(LockSettingsService.java:1858)
09-22 23:11:35.398  3740  6768 W System.err: 	at com.android.internal.widget.ILockSettings$Stub.onTransact(ILockSettings.java:527)
09-22 23:11:35.398  3740  6768 W System.err: 	at android.os.Binder.execTransactInternal(Binder.java:1021)
09-22 23:11:35.399  3740  6768 W System.err: 	at android.os.Binder.execTransact(Binder.java:994)
09-22 23:11:35.400  3740  6768 E JavaBinder: *** Uncaught remote exception!  (Exceptions are not yet supported across processes.)
09-22 23:11:35.400  3740  6768 E JavaBinder: java.lang.RuntimeException: Failed to decrypt blob
09-22 23:11:35.400  3740  6768 E JavaBinder: 	at com.android.server.locksettings.SyntheticPasswordCrypto.decryptBlob(SyntheticPasswordCrypto.java:152)
09-22 23:11:35.400  3740  6768 E JavaBinder: 	at com.android.server.locksettings.SyntheticPasswordManager.decryptSPBlob(SyntheticPasswordManager.java:1137)
09-22 23:11:35.400  3740  6768 E JavaBinder: 	at com.android.server.locksettings.SyntheticPasswordManager.unwrapSyntheticPasswordBlob(SyntheticPasswordManager.java:998)
09-22 23:11:35.400  3740  6768 E JavaBinder: 	at com.android.server.locksettings.SyntheticPasswordManager.unwrapPasswordBasedSyntheticPassword(SyntheticPasswordManager.java:927)
09-22 23:11:35.400  3740  6768 E JavaBinder: 	at com.android.server.locksettings.LockSettingsService.spBasedDoVerifyCredential(LockSettingsService.java:2664)
09-22 23:11:35.400  3740  6768 E JavaBinder: 	at com.android.server.locksettings.LockSettingsService.doVerifyCredential(LockSettingsService.java:1901)
09-22 23:11:35.400  3740  6768 E JavaBinder: 	at com.android.server.locksettings.LockSettingsService.doVerifyCredential(LockSettingsService.java:1880)
09-22 23:11:35.400  3740  6768 E JavaBinder: 	at com.android.server.locksettings.LockSettingsService.checkCredential(LockSettingsService.java:1858)
09-22 23:11:35.400  3740  6768 E JavaBinder: 	at com.android.internal.widget.ILockSettings$Stub.onTransact(ILockSettings.java:527)
09-22 23:11:35.400  3740  6768 E JavaBinder: 	at android.os.Binder.execTransactInternal(Binder.java:1021)
09-22 23:11:35.400  3740  6768 E JavaBinder: 	at android.os.Binder.execTransact(Binder.java:994)
09-22 23:11:35.400  3740  6768 E JavaBinder: Caused by: android.security.keystore.KeyPermanentlyInvalidatedException: Key permanently invalidated
09-22 23:11:35.400  3740  6768 E JavaBinder: 	at android.security.KeyStore.getInvalidKeyException(KeyStore.java:1368)
09-22 23:11:35.400  3740  6768 E JavaBinder: 	at android.security.KeyStore.getInvalidKeyException(KeyStore.java:1413)
09-22 23:11:35.400  3740  6768 E JavaBinder: 	at android.security.keystore.KeyStoreCryptoOperationUtils.getInvalidKeyExceptionForInit(KeyStoreCryptoOperationUtils.java:54)
09-22 23:11:35.400  3740  6768 E JavaBinder: 	at android.security.keystore.KeyStoreCryptoOperationUtils.getExceptionForCipherInit(KeyStoreCryptoOperationUtils.java:89)
09-22 23:11:35.400  3740  6768 E JavaBinder: 	at android.security.keystore.AndroidKeyStoreCipherSpiBase.ensureKeystoreOperationInitialized(AndroidKeyStoreCipherSpiBase.java:265)
09-22 23:11:35.400  3740  6768 E JavaBinder: 	at android.security.keystore.AndroidKeyStoreCipherSpiBase.engineInit(AndroidKeyStoreCipherSpiBase.java:148)
09-22 23:11:35.400  3740  6768 E JavaBinder: 	at javax.crypto.Cipher.tryTransformWithProvider(Cipher.java:2980)
09-22 23:11:35.400  3740  6768 E JavaBinder: 	at javax.crypto.Cipher.tryCombinations(Cipher.java:2891)
09-22 23:11:35.400  3740  6768 E JavaBinder: 	at javax.crypto.Cipher$SpiAndProviderUpdater.updateAndGetSpiAndProvider(Cipher.java:2796)
09-22 23:11:35.400  3740  6768 E JavaBinder: 	at javax.crypto.Cipher.chooseProvider(Cipher.java:773)
09-22 23:11:35.400  3740  6768 E JavaBinder: 	at javax.crypto.Cipher.init(Cipher.java:1288)
09-22 23:11:35.400  3740  6768 E JavaBinder: 	at javax.crypto.Cipher.init(Cipher.java:1223)
09-22 23:11:35.400  3740  6768 E JavaBinder: 	at com.android.server.locksettings.SyntheticPasswordCrypto.decrypt(SyntheticPasswordCrypto.java:65)
09-22 23:11:35.400  3740  6768 E JavaBinder: 	at com.android.server.locksettings.SyntheticPasswordCrypto.decryptBlob(SyntheticPasswordCrypto.java:144)
09-22 23:11:35.400  3740  6768 E JavaBinder: 	... 10 more