Hello all,
A month ago I installed LineageOS 16, specifically 20190823-nightly
, and it’s been working fine until this morning.
This morning, I opened an app, then decided to close it, so I pressed the square button to bring up the list of all running apps. The screen went momentarily black, and then I was greeted with the locked screen. There was also a message saying that my SD card was missing and I should replace it.
After opening the phone, fidgeting with the SD card and restarting a few times, the SD card message went away.
However, what didn’t go away was that when I try to unlock, the system UI seems to crash, I get a black screen for a second, and then it goes back to the locked screen.
Using adb logcat
, I found that this error happens every time I try to unlock:
09-23 21:06:07.856 11260 12169 E AndroidRuntime: FATAL EXCEPTION: AsyncTask #6
09-23 21:06:07.856 11260 12169 E AndroidRuntime: Process: com.android.systemui, PID: 11260
09-23 21:06:07.856 11260 12169 E AndroidRuntime: java.lang.RuntimeException: An error occurred while executing doInBackground()
09-23 21:06:07.856 11260 12169 E AndroidRuntime: | at android.os.AsyncTask$3.done(AsyncTask.java:354)
09-23 21:06:07.856 11260 12169 E AndroidRuntime: | at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
09-23 21:06:07.856 11260 12169 E AndroidRuntime: | at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
09-23 21:06:07.856 11260 12169 E AndroidRuntime: | at java.util.concurrent.FutureTask.run(FutureTask.java:271)
09-23 21:06:07.856 11260 12169 E AndroidRuntime: | at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
09-23 21:06:07.856 11260 12169 E AndroidRuntime: | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
09-23 21:06:07.856 11260 12169 E AndroidRuntime: | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
09-23 21:06:07.856 11260 12169 E AndroidRuntime: | at java.lang.Thread.run(Thread.java:764)
09-23 21:06:07.856 11260 12169 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int com.android.internal.widget.VerifyCredentialResponse.getResponseCode()' on a null object reference
09-23 21:06:07.856 11260 12169 E AndroidRuntime: | at com.android.internal.widget.LockPatternUtils.checkCredential(LockPatternUtils.java:382)
09-23 21:06:07.856 11260 12169 E AndroidRuntime: | at com.android.internal.widget.LockPatternUtils.checkPattern(LockPatternUtils.java:431)
09-23 21:06:07.856 11260 12169 E AndroidRuntime: | at com.android.internal.widget.LockPatternChecker$2.doInBackground(LockPatternChecker.java:124)
09-23 21:06:07.856 11260 12169 E AndroidRuntime: | at com.android.internal.widget.LockPatternChecker$2.doInBackground(LockPatternChecker.java:110)
09-23 21:06:07.856 11260 12169 E AndroidRuntime: | at android.os.AsyncTask$2.call(AsyncTask.java:333)
09-23 21:06:07.856 11260 12169 E AndroidRuntime: | at java.util.concurrent.FutureTask.run(FutureTask.java:266)
09-23 21:06:07.856 11260 12169 E AndroidRuntime: | ... 4 more
(I can post a full logcat if needed)
I don’t know what to do. I have the backup I made before I installed LineageOS 16 (made with the stock FairphoneOS 19), but that one’s from a month ago and I’ve got plenty of new data I don’t want to lose. Can I somehow recover my OS without losing my data?
I’m somewhat familiar with TWRP and recovery, although not much. I flashed a new OS into my phone for the first time a month ago.
Any help would be appreciated.