Preparation
- Install ADB (Android Debug Bridge, check tutorias online)
- Then install a linux subsystem (https://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/) not neccessary on Linux or Mac OS
- Install Openssl and Python (check the internet for tutorials)
Steps:
- Connect your device with a cable to your computer and enable Developer option (please google how to do that)
- Allow access to your device once you connect the cable
- in the Terminal call:
adb backup -noapk de.halfreal.clipboardactions
(this will copy a backup from ClipboardActions on your device called backup.ab) - on linux subsystem :
dd if=backup.ab bs=24 skip=1|openssl zlib -d | tar -xvf -
or on Mac OS:dd if=backup.ab bs=1 skip=24 | python -c "import zlib,sys;sys.stdout.write(zlib.decompress(sys.stdin.read()))" | tar -xvf -
sqlite3 -header -csv apps/de.halfreal.clipboardactions/db/ClipboardActions "select * from clips;"
(this creates a csv file that should be compatible with the ClipboardActions import function)- Reinstall the latest version of ClipboardActions and use the import function to import that file.