Kr328 / Riru-ClipboardWhitelist

A module of Riru/Zygisk. Allowing apps to access the clipboard in the background on Android 10.
GNU General Public License v3.0
351 stars 20 forks source link

clipboard cannot be logged in android 13, logcat says: Denying clipboard access to xxx.xxxx.xxxx, application is not in focus nor is it a system service for user 0 #30

Closed GamerGirlandCo closed 1 year ago

GamerGirlandCo commented 1 year ago

i've tried reinstalling the module and unchecking and rechecking everything i want in the manager app. still doesn't work :/

GamerGirlandCo commented 1 year ago

they say, "if you want something done right, you'll always have to do it yourself"...

Maxwellfire commented 1 year ago

I have this same issue, but since you didn't fork this project, it's very hard to tell what you changed @GamerGirlandCo. If it's a fix to make this work on A13, maybe you could submit a pull request against this repository?

GamerGirlandCo commented 1 year ago

I have this same issue, but since you didn't fork this project, it's very hard to tell what you changed @GamerGirlandCo. If it's a fix to make this work on A13, maybe you could submit a pull request against this repository?

it's an xposed module that hooks the newly added clipboardservice in android's framework and makes its clipboardAccessAllowed method return true. idk how to make this work with zygisk though...

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

tamas646 commented 1 year ago

Same issue on LOS 20 (Android 13).

Error: Denying clipboard access to <package_name>, application is not in focus nor is it a system service for user <user_id>

tamas646 commented 1 year ago

I tried the xposed module modified by @GamerGirlandCo, but for me it's still not working.

Previously I used the zygisk version of this module on LOS 19 (Android 12) which worked fine. Now I updated to LOS 20 and the module stopped working (with the error above).

I disabled the zygisk module in Magisk, installed the modified xposed module (with LSPosed), then rebooted. The issue still persists, the fix did not help. :(

The app I'm trying to use: KDE Connect

GamerGirlandCo commented 1 year ago

@tamas646 try the latest release or some shit like that. should work since i'm hooking both methods instead of just one

tamas646 commented 1 year ago

@GamerGirlandCo still not working with version 1.1 either

GamerGirlandCo commented 1 year ago

@GamerGirlandCo still not working with version 1.1 either

this is probably a stupid question but, have you selected "System Framework" for the module scope?

tamas646 commented 1 year ago

No, I selected "KDE Connect". Selecting "System Framework" and rebooting solved my problem. Thanks.

(Sorry, I never used this module with XPOSED, only with Magisk which doesn't need selecting anything. But thanks again for the tip)

tamas646 commented 1 year ago

As @Maxwellfire suggested it would be great if you could submit a pull request. :) Thanks for the fix.