I'm using WhatsApp chats data as an example to backup to Fedora and then restore after fresh Waydroid installation.
-
Install Android Debug Bridge:
sudo dnf install android-tools
-
Connect to your Waydroid device using
adb:Grab Waydroid IP address from Android Settings -> About phone.
In my case, it's
192.168.240.112.Then connect to your device:
adb connect 192.168.240.112
You may see
failed to authenticatemessage like below:
That's because you need to allow USB debugging.
-
Allow USB debugging on your Waydroid device:
A popup will show up automatically on your Waydroid device, click Allow.
-
Verify connected devices:
Run
adb devicesand you should see your device in the list:
-
Backup WhatsApp chat data:
# Create directory in ~/Downloads mkdir -p ~/Downloads/whatsapp-waydroid-backup # Copy WhatsApp data from your Waydroid device to the above directory adb pull /storage/emulated/0/Android/media/com.whatsapp/WhatsApp ~/Downloads/whatsapp-waydroid-backup
-
Fresh install Waydroid.
-
Install WhatsApp, but do not open it yet after installation (important).
-
Push your saved backup directory back into Waydroid:
adb push ~/Downloads/whatsapp-waydroid-backup /storage/emulated/0/Android/media/com.whatsapp/
When WhatsApp starts, it scans local storage and should detect: Local backup found.
Then you can restore.
Warning
One very important Waydroid caveat:
If Waydroid generates a completely different Android ID/device state, WhatsApp may occasionally refuse local restore until verification completes.
Usually this still works fine after SMS verification.