Solution for clipboard syncing on newer Android versions

Lucas Eduardo lucas59356 at gmail.com
Wed Nov 22 16:01:11 GMT 2023


Firstly, good morning/afternoon/night for you guys and thank you for
making this wonderful piece of software!

>From some time I am having an issue that the Android client can't
listen anymore for system clipboard events. I also use a clipboard
manager on my phone [1] and in newer Androids it now shows a message
like the one in [2] right after you install it. Just now I connected
the dots.

I ran the same adb command replacing its Android package id to the KDE
Connect one (org.kde.kdeconnect_tp) and now stuff is working as it
worked before.

Yeah, it's an inconvenience, but shared clipboard between all stuff is
dangerous so I can understand the decision but there is the solution
for our case.

Basically these are the commands I ran to solve the issue:

```
rhode:/ $ pm list packages| grep kde
package:org.kde.kdeconnect_tp
rhode:/ $ appops set org.kde.kdeconnect_tp SYSTEM_ALERT_WINDOW allow
rhode:/ $ pm grant org.kde.kdeconnect_tp android.permission.READ_LOGS
rhode:/ $ am force-stop org.kde.kdeconnect_tp
```

[1] https://play.google.com/store/apps/details?id=com.catchingnow.tinyclipboardmanager
[2] https://camo.githubusercontent.com/fe3a253c6abb49588153b70b836349eab7426e6f689e8df8808c8e0713647881/68747470733a2f2f692e696d6775722e636f6d2f74754c39484d592e6a7067


More information about the KDEConnect mailing list