Skip to content

Transferring Data

Owais Shaikh edited this page Feb 28, 2024 · 15 revisions

Adding items

Wristkey supports importing data from multiple sources (such as Bitwarden, andOTP and Aegis). With Bitwarden, a JSON file is parsed and the totp field is extracted from each account. For website QR codes, the QR Code is scanned and the resulting otpauth:// URL is parsed.

For Bitwarden, andOTP and Aegis, make sure you export data as an unexported JSON file, then place it on your device storage and follow the steps below to import or transfer data. You can use it as a standalone app on your phone too this way.

Transferring data

If you have an older Android Wear watch is paired to an Android phone, you can use a third-party Wear OS file manager like myWear File Explorer or Nav Explorer to transfer JSON files from your phone's storage to your watch.

If your device has a camera, you can just use that to scan a 2FA QR code.

From your phone

If you're using Wristkey on your Wear OS watch, or on a non-Wear OS Android device (such as an Android phone or an Android-based smartwatch), you can transfer data via Wi-Fi easily. This does not require the devices to be paired via Bluetooth.

If you want to transfer data from your phone to your watch, make sure both devices are on the same Wi-Fi network. Then follow the following steps:

  1. Open the app on your phone and tap on Add data. Make sure you have some data added already to transfer it. You can import from a file, enter data manually or scan a 2FA QR code.

Wi-Fi Transfer screen

  1. If you have some data added on your phone, go to Add data → Transfer via Wi-Fi on both devices. If you are sending from your phone, select the 'Send' option on your phone and the 'Receive' option on your watch and scroll down to view the QR code and IP address.

sendreceive

  1. If you're sending from your phone, use the camera on it to scan the QR code displayed on the receiving device. If you're sending from a watch or your device has no camera, just enter the IP and port displayed on the receiver in the text box.

  2. Wait for a few seconds for the transfer to finish. The app will restart on both devices upon completion.

If you want to transfer from your watch to your phone, simply reverse the above process.

From your computer via ADB

  1. Enable ADB Debugging on your watch by going to Settings → System → About and tapping 'Build Number' 7 times.

  2. Go back and tap on Developer Settings, then scroll down and enable 'ADB Debugging'.

  3. Make sure Wristkey has storage permissions. On your watch, go to Settings → Apps & notifications → App info → Wristkey → Permissions and enable 'Storage'.

ADB over USB

  1. Connect your watch to your computer via USB. When prompted on watch, tap 'Always allow from this computer'.

ADB over Wi-Fi

  1. Make sure both devices are on the same Wi-Fi network. Enable 'ADB over Wi-Fi' on your watch by going to Settings → System → About and tapping 'Build Number' 7 times.

  2. Connect your Android phone / tablet to your computer via USB. Then open a new terminal and run the following commands

    adb connect <device ip>:5555
    

ADB over Bluetooth

  1. Enable Bluetooth Debugging on your watch in Developer Options.

  2. Now on your Android phone / tablet, open the Wear OS app and tap the top right menu button and tap on 'Settings'.

  3. Enable 'Debugging over Bluetooth'. You’ll should see

    Host: disconnected
    Target: connected
    
  4. Connect your Android phone / tablet to your computer via USB. Then open a new terminal and run the following commands

    adb forward tcp:4444 localabstract:/adb-hub
    adb connect localhost:4444
    
  5. On your phone, the Wear OS app should display

    Host: connected
    Target: connected
    

Place your exported JSON file on the main directory of your watch (/sdcard/) via the following commands

adb push <file>/data/local/tmp/
adb shell run-as app.wristkey cp /data/local/tmp/<file> files/

If you get an error such as the one below:

cp: files/<file>: No such file or directory

or

cp: files/: Is a directory

simply create the directory by typing

adb shell run-as app.wristkey mkdir files/

delete the file when done

adb shell rm /data/local/tmp/<file>

or

adb shell run-as app.wristkey rm -rf files/