For the purpose of protecting users’ private information, Android has continuously tightened the permissions that various applications can obtain. From the user’s point of view, we no longer need to rack our brains and fight wits with apps that excessively ask for permissions. This is undoubtedly a great benefit brought by the new system.
But everything has two sides. After the system is upgraded to Android 10, users who used various clipboard tools in the past will find that many clipboard extension applications can no longer work normally, because Android 10 restricts the application’s background clipboard content acquisition behavior.
What if you want to continue using these tools on Android 10? Just need to use ADB commands provided by related apps.
With the help of ADB permissions, some applications can bypass system restrictions and continue to monitor the clipboard in the background.
Take the ‘Clip Stack‘ as an example. After connecting the mobile phone to the computer, we need to turn on the developer mode of the mobile phone, enable the “USB debugging” function, and grant the computer USB debugging permission. Then open the command-line tool on the computer and execute the following commands according to the prompts given by the application:
adb -d shell appops set com.catchingnow.tinyclipboardmanager SYSTEM_ALERT_WINDOW allow;
adb -d shell pm grant com.catchingnow.tinyclipboardmanager android.permission.READ_LOGS;
adb shell am force-stop com.catchingnow.tinyclipboardmanager;
After the execution, the ‘Clip Stack‘ will be closed, and we can manually open the application again to take effect.