Native-Clip-Board icon indicating copy to clipboard operation
Native-Clip-Board copied to clipboard

Easy way to work on android 10 !

Open Farman2019 opened this issue 3 years ago • 24 comments

Dear developers, There is many clipboard apps but your app is the best i have tried many now iam using your app for more than 3 yrs. As you already know your app is not working with android 10.now i face big problem without clipboard. for your app inorder to work there is easy solution if you encode your app to work with the following Adb commands it will work fine on android 10 https://www.webplover.com/blog/android-10-clipboard-solution/ Now iam using Clip stalk and Clipto they both implemented the above adb codes and they are working fine on my android 10 but they are very bad in user IU and i dont love them. When i want to run these three adb commands in second Grant pemission it says the apo doesn't request grant permission. I think its easy for you to make your app behave like the above two one. Please please work on it Thanks

Farman2019 avatar Dec 19 '20 04:12 Farman2019

a temporary solution is install Riru - Clipboard Whitelist from magisk, that will allow this application access clipboard on Android 10

rhjdvsgsgks avatar Dec 19 '20 05:12 rhjdvsgsgks

But how to do that?my phone is huawei p30 pro which is unrootable! Also this great app needs to be updated since 2015 have not been updated please i wanna to be activated again.

Farman2019 avatar Dec 23 '20 21:12 Farman2019

@rhjdvsgsgks I have installed Riru - Clipboard Whitelist, but Native-Clip-Board can't access clipboard on Android 11, Magisk+LSPosed.

StrollStars avatar Oct 30 '21 08:10 StrollStars

I have installed Riru - Clipboard Whitelist, but Native-Clip-Board can't access clipboard on Android 11, Magisk+LSPosed.

did you add native clipboard in clipboard whitelist application?

rhjdvsgsgks avatar Oct 30 '21 15:10 rhjdvsgsgks

I have installed Riru - Clipboard Whitelist, but Native-Clip-Board can't access clipboard on Android 11, Magisk+LSPosed.

did you add native clipboard in clipboard whitelist application?

Yes, of course. Does Riru - Clipboard Whitelist support Android11?

StrollStars avatar Oct 31 '21 03:10 StrollStars

I have installed Riru - Clipboard Whitelist, but Native-Clip-Board can't access clipboard on Android 11, Magisk+LSPosed.

did you add native clipboard in clipboard whitelist application?

Yes, of course. Does Riru - Clipboard Whitelist support Android11?

at least it works fine on my android 11 device. which version of riru and clipboard whitelist are you using?

rhjdvsgsgks avatar Oct 31 '21 06:10 rhjdvsgsgks

@rhjdvsgsgks Android:LineageOS 18.1 Riru:v26.1.3 Riru-ClipboardWhitelist:v10

Will it conflict with other APPs?

StrollStars avatar Nov 01 '21 15:11 StrollStars

Android:LineageOS 18.1 Riru:v26.1.3 Riru-ClipboardWhitelist:v10

Will it conflict with other APPs?

both version same as you, maybe you need create a issue on https://github.com/Kr328/Riru-ClipboardWhitelist . in my knowledge, i find nothing will conflict with this. just some guess, did you both enabled riru and zygisk?

rhjdvsgsgks avatar Nov 01 '21 22:11 rhjdvsgsgks

@rhjdvsgsgks Thanks for your help, these versions are the latest. I have posted a similar issue over there before this issue, and saw other people also have this problem, but I did not expect you to be able to run normally. Riru is enabled, What is the zygisk?

StrollStars avatar Nov 02 '21 13:11 StrollStars

Thanks for your help, these versions are the latest. I have posted a similar issue over there before this issue, and saw other people also have this problem, but I did not expect you to be able to run normally. Riru is enabled, What is the zygisk?

i remember it, seems like someone send me a moded version and he get it from https://t.me/kr328_riru_modules zygisk is a feature of magisk, may conflict wIth riru

rhjdvsgsgks avatar Nov 02 '21 15:11 rhjdvsgsgks

@rhjdvsgsgks The modules from https://t.me/kr328_riru_modules are too old, I dare not install it on the new version of riru. I have not find a place to enable or disable zygisk, but I think about permission. Have you turned on the compatibility mode of the Native-Clip-Board?

StrollStars avatar Nov 02 '21 15:11 StrollStars

The modules from https://t.me/kr328_riru_modules are too old, I dare not install it on the new version of riru.

it version is v10 and no problem with newest riru.

I have not find a place to enable or disable zygisk

it only existing on canary branch. i don't need to care about it if not in your magisk settings

but I think about permission. Have you turned on the compatibility mode of the Native-Clip-Board?

no

rhjdvsgsgks avatar Nov 02 '21 18:11 rhjdvsgsgks

@rhjdvsgsgks What did you use to load Native-Clip-Board? EXPosed or LSPosed or others?

StrollStars avatar Nov 03 '21 14:11 StrollStars

What did you use to load Native-Clip-Board? EXPosed or LSPosed or others?

accessibility

rhjdvsgsgks avatar Nov 03 '21 17:11 rhjdvsgsgks

@rhjdvsgsgks Sorry, I mean, I guess the Xposed framework has a problem loading the clipboard, so I ask you EXPosed or LSPosed which one do you use? Because magisk needs a manager when loading XP framework apps.

StrollStars avatar Nov 04 '21 13:11 StrollStars

Sorry, I mean, I guess the Xposed framework has a problem loading the clipboard, so I ask you EXPosed or LSPosed which one do you use? Because magisk needs a manager when loading XP framework apps.

lsposed 1.6.2

rhjdvsgsgks avatar Nov 04 '21 16:11 rhjdvsgsgks

@rhjdvsgsgks My Riru, Riru-ClipboardWhitelist and lsposed are the same as yours, so I suspect it is a system problem.

StrollStars avatar Nov 06 '21 04:11 StrollStars

My Riru, Riru-ClipboardWhitelist and lsposed are the same as yours, so I suspect it is a system problem.

my system is lineage os 18.1 official build. the only difference between you and me is im using clipboard whitelist module from that group.

rhjdvsgsgks avatar Nov 07 '21 00:11 rhjdvsgsgks

@rhjdvsgsgks At first I came to the channel florrow the link you gave, and then I found that the link provided was github, which was the same as what I used. I watched the channel again later and joined the group and found that there were shared files. I installed the zip, which is v8, and then entered the APP and automatically added LSPosed and Native-Clip-Board, of which LSPosed was manually left out by me before. The APP says:

Applications cannot detect that the clipboard and they may still assume that clipboard is unavailable.

Then I upgraded the clipboard whitelist to v10, but unfortunately Native-Clip-Board is still unavailable.

StrollStars avatar Nov 07 '21 03:11 StrollStars

@rhjdvsgsgks Thank you very much, there is no problem with the system and the application, I adding applications is wrong. First, Riru - Clipboard Whitelist need to add LSPosed and Native-Clip-Board. Second, Native-Clip-Board in LSPosed need to add the application you want to copy, I only added the system framework before.

StrollStars avatar Nov 07 '21 05:11 StrollStars

Thank you very much, there is no problem with the system and the application, I adding applications is wrong. First, Riru - Clipboard Whitelist need to add LSPosed and Native-Clip-Board. Second, Native-Clip-Board in LSPosed need to add the application you want to copy, I only added the system framework before.

depends on your says, it maybe hidden api relevant issue (lsposed can "unlock" hidden api), a modded version which in that group should fixed that, but i can't confirm that because guest user not allowed by telegram to preview private group via invite link

rhjdvsgsgks avatar Nov 07 '21 09:11 rhjdvsgsgks

@rhjdvsgsgks It doesn't matter, at least the problem with the clipboard is resolved, and Telegram ignores it, thanks again.

StrollStars avatar Nov 08 '21 15:11 StrollStars

Can it work without root? I followed these adb command but output say app isn't requested most of these command. (pls don't mind i skipped "adb shell" just here)

appops set com.dhm47.nativeclipboard SYSTEM_ALERT_WINDOW allow

pm grant com.dhm47.nativeclipboard android.permission.WRITE_SECURE_SETTINGS

pm grant com.dhm47.nativeclipboard android.permission.READ_LOGS

adb shell am force-stop com.dhm47.nativeclipboard

mycal123 avatar Feb 02 '22 16:02 mycal123