GrapheneOS / os-issue-tracker

Issue tracker for GrapheneOS Android Open Source Project hardening work. Standalone projects like Auditor, AttestationServer and hardened_malloc have their own dedicated trackers.
https://grapheneos.org/
365 stars 21 forks source link

New issue with KDEConnect (1.32.3) and GrapheneOS (2024092900)? #4090

Closed wjlonien closed 2 months ago

wjlonien commented 2 months ago

Got it this morning, since then KDEConnect keeps crashing. Please see https://discuss.grapheneos.org/d/16118-grapheneos-version-2024092900-released/23 or here:

type: crash osVersion: google/bluejay/bluejay:14/AP2A.240905.003.F1/2024092900:user/release-keys package: org.kde.kdeconnect_tp:13203 process: org.kde.kdeconnect_tp processUptime: 333 + 354 ms installer: com.android.packageinstaller

java.lang.SecurityException: Settings key: is only readable to apps with targetSdkVersion lower than or equal to: 33 at android.provider.Settings$NameValueCache.getStringForUser(Settings.java:3562) at android.provider.Settings$Secure.getStringForUser(Settings.java:6974) at android.provider.Settings$Secure.getString(Settings.java:6940) at org.kde.kdeconnect.Plugins.RemoteKeyboardPlugin.RemoteKeyboardPlugin.checkRequiredPermissions(RemoteKeyboardPlugin.java:417) at org.kde.kdeconnect.Device.addPlugin(Device.kt:558) at org.kde.kdeconnect.Device.reloadPluginsFromSettings(Device.kt:629) at org.kde.kdeconnect.Device.addLink(Device.kt:337) at org.kde.kdeconnect.KdeConnect$connectionListener$1.onConnectionReceived(KdeConnect.kt:156) at org.kde.kdeconnect.Backends.BaseLinkProvider.onConnectionReceived(BaseLinkProvider.java:42) at org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider.addOrUpdateLink(LanLinkProvider.java:286) at org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider.lambda$identityPacketReceived$0(LanLinkProvider.java:246) at org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider.$r8$lambda$ffuZOFU1qk4o1cE14ZuWQYJam9A(LanLinkProvider.java:0) at org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider$$ExternalSyntheticLambda6.handshakeCompleted(R8$$SyntheticClass:0) at com.android.org.conscrypt.AbstractConscryptSocket.notifyHandshakeCompletedListeners(AbstractConscryptSocket.java:607) at com.android.org.conscrypt.ConscryptEngineSocket.doHandshake(ConscryptEngineSocket.java:270) at com.android.org.conscrypt.ConscryptEngineSocket.startHandshake(ConscryptEngineSocket.java:218) at org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider.identityPacketReceived(LanLinkProvider.java:259) at org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider.tcpPacketReceived(LanLinkProvider.java:119) at org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider.lambda$setupTcpListener$3(LanLinkProvider.java:346) at org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider.$r8$lambda$fPOfB-9YGQBHf7IKMxU23L4W5VA(LanLinkProvider.java:0) at org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider$$ExternalSyntheticLambda5.run(R8$$SyntheticClass:0) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644) at java.lang.Thread.run(Thread.java:1012)

thestinger commented 2 months ago

It's a KDE Connect bug. They broke support for Android 14+. You need to update to their new release.

https://github.com/KDE/kdeconnect-android/commit/63d1d15c4fb02dadf0a28ad3358150e14970f94d