-
-
Notifications
You must be signed in to change notification settings - Fork 66
Closed
FossifyOrg/commons
#298Labels
ASAPIssue needs to be fixed as soon as possibleIssue needs to be fixed as soon as possiblebugSomething is not workingSomething is not working
Description
Checklist
- I can reproduce the bug with the latest version given here.
- I made sure that there are no existing issues - open or closed - to which I could contribute my information.
- I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
- I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
- I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
- This issue contains only one bug.
- I have read and understood the contribution guidelines.
Affected app version
1.0.0
Affected Android/Custom ROM version
Android 14 (GrapheneOS)
Affected device model
Google Pixel 5
How did you install the app?
F-Droid / IzzyOnDroid
Steps to reproduce the bug
- Install the app
- Enable the keyboard and set it as the default keyboard
- (Make sure to enable "USB-Debugging" in the developer options and add your computer to the trusted devices, otherwise you might not be able to use your device again without factory resetting it.)
- Reboot the device
- Swipe up on the unlock screen and attempt to unlock the device
Expected behavior
Keyboard should appear and allow the decryption of the device.
Actual behavior
Keyboard crashes. It is almost impossible to switch to another keyboard, as the keyboard selector disappears immediately.
Screenshots/Screen recordings
No response
Additional information
My attempt to get an adb logcat from the crash:
07-24 17:30:19.846 4387 4408 W org.fossify.keyboard: Cleared Reference was only reachable from finalizer (only reported once)
07-24 17:30:20.626 4387 4387 D CompatibilityChangeReporter: Compat change id reported: 171228096; UID 10299; state: ENABLED
07-24 17:30:20.629 4387 4387 D CompatibilityChangeReporter: Compat change id reported: 210923482; UID 10299; state: ENABLED
07-24 17:30:20.629 4387 4387 D CompatibilityChangeReporter: Compat change id reported: 63938206; UID 10299; state: DISABLED
07-24 17:30:20.657 4387 4387 E RecyclerView: Cannot scroll to position a LayoutManager set. Call setLayoutManager with a non-null argument.
07-24 17:30:20.665 4387 4387 E RecyclerView: Cannot scroll to position a LayoutManager set. Call setLayoutManager with a non-null argument.
07-24 17:30:20.686 4387 4416 I AdrenoGLES-0: QUALCOMM build : 4783c89, I46ff5fc46f
07-24 17:30:20.686 4387 4416 I AdrenoGLES-0: Build Date : 11/30/20
07-24 17:30:20.686 4387 4416 I AdrenoGLES-0: OpenGL ES Shader Compiler Version: EV031.31.04.01
07-24 17:30:20.686 4387 4416 I AdrenoGLES-0: Local Branch : QPR2
07-24 17:30:20.686 4387 4416 I AdrenoGLES-0: Remote Branch :
07-24 17:30:20.686 4387 4416 I AdrenoGLES-0: Remote Branch :
07-24 17:30:20.686 4387 4416 I AdrenoGLES-0: Reconstruct Branch :
07-24 17:30:20.686 4387 4416 I AdrenoGLES-0: Build Config : S P 10.0.4 AArch64
07-24 17:30:20.686 4387 4416 I AdrenoGLES-0: Driver Path : /vendor/lib64/egl/libGLESv2_adreno.so
07-24 17:30:20.686 4387 4387 W View : requestLayout() improperly called by android.widget.LinearLayout{5345a30 V.E...... ......ID 0,0-695,81 #7f09033f app:id/suggestions_items_holder} during layout: running second layout pass
07-24 17:30:20.686 4387 4387 W View : requestLayout() improperly called by android.widget.TextView{be536a9 V.ED..... ......ID 303,0-391,81 #7f0900cd app:id/clipboard_value} during layout: running second layout pass
07-24 17:30:20.698 4387 4416 I AdrenoGLES-0: PFP: 0x016dd093, ME: 0x00000000
07-24 17:30:20.701 4387 4416 W AdrenoUtils: <ReadGpuID_from_sysfs:197>: Failed to open /sys/class/kgsl/kgsl-3d0/gpu_model
07-24 17:30:20.701 4387 4416 W AdrenoUtils: <ReadGpuID:221>: Failed to read chip ID from gpu_model. Fallback to use the GSL path
07-24 17:30:20.800 4387 4387 W ContextImpl: Failed to ensure /data/user/0/org.fossify.keyboard/shared_prefs: mkdir failed: errno 126 (Required key not available)
07-24 17:30:20.800 4387 4387 D AndroidRuntime: Shutting down VM
07-24 17:30:20.800 4387 4387 E AndroidRuntime: FATAL EXCEPTION: main
07-24 17:30:20.800 4387 4387 E AndroidRuntime: Process: org.fossify.keyboard, PID: 4387
07-24 17:30:20.800 4387 4387 E AndroidRuntime: java.lang.IllegalStateException: SharedPreferences in credential encrypted storage are not available until after user (id 0) is unlocked
07-24 17:30:20.800 4387 4387 E AndroidRuntime: at android.app.ContextImpl.getSharedPreferences(ContextImpl.java:611)
07-24 17:30:20.800 4387 4387 E AndroidRuntime: at android.app.ContextImpl.getSharedPreferences(ContextImpl.java:594)
07-24 17:30:20.800 4387 4387 E AndroidRuntime: at android.content.ContextWrapper.getSharedPreferences(ContextWrapper.java:223)
07-24 17:30:20.800 4387 4387 E AndroidRuntime: at x9.b.<init>(SourceFile:14)
07-24 17:30:20.800 4387 4387 E AndroidRuntime: at o2.f.W(SourceFile:8)
07-24 17:30:20.800 4387 4387 E AndroidRuntime: at u8.y.v0(SourceFile:6)
07-24 17:30:20.800 4387 4387 E AndroidRuntime: at fa.l.<init>(SourceFile:19)
07-24 17:30:20.800 4387 4387 E AndroidRuntime: at org.fossify.keyboard.views.MyKeyboardView.setupEmojiAdapter(SourceFile:391)
07-24 17:30:20.800 4387 4387 E AndroidRuntime: at org.fossify.keyboard.views.MyKeyboardView.c(SourceFile:1)
07-24 17:30:20.800 4387 4387 E AndroidRuntime: at g.m0.run(SourceFile:49)
07-24 17:30:20.800 4387 4387 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:959)
07-24 17:30:20.800 4387 4387 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:100)
07-24 17:30:20.800 4387 4387 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:232)
07-24 17:30:20.800 4387 4387 E AndroidRuntime: at android.os.Looper.loop(Looper.java:317)
07-24 17:30:20.800 4387 4387 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8623)
07-24 17:30:20.800 4387 4387 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-24 17:30:20.800 4387 4387 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
07-24 17:30:20.800 4387 4387 E AndroidRuntime: at com.android.internal.os.ExecInit.main(ExecInit.java:50)
07-24 17:30:20.800 4387 4387 E AndroidRuntime: at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
07-24 17:30:20.800 4387 4387 E AndroidRuntime: at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:369)
07-24 17:30:20.803 4387 4387 I Process : Sending signal. PID: 4387 SIG: 9
07-24 17:30:20.837 1001 1001 I Zygote : Process 4387 exited due to signal 9 (Killed)
07-24 17:30:20.838 1673 3410 I ActivityManager: Process org.fossify.keyboard (pid 4387) has died: vis BFGS
07-24 17:30:20.838 1673 1824 I libprocessgroup: Removed cgroup /sys/fs/cgroup/uid_10299/pid_4387
07-24 17:30:20.851 1673 1796 W ActivityManager: setHasOverlayUi called on unknown pid: 4387
To unlock the device via ADB you can execute the following commands:
adb shell input text PASSWORD
adb shell input keyevent 66
Since I use GrapheneOS, I have also verified that this issue occurs with "Exploit protection compatibility mode" enabled and disabled.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ASAPIssue needs to be fixed as soon as possibleIssue needs to be fixed as soon as possiblebugSomething is not workingSomething is not working