oandbackup
oandbackup copied to clipboard
oandbackup from adb shell?
I have a phone with broken digitiser which I can still get into using adb shell.
Can I perform a backup using oandbackup from command line as root?
- you can have the "remote control" over your device with the help of adb. See e.g. https://forum.f-droid.org/t/suggested-app-scrcpy-display-and-control-of-android-devices-through-adb/ I've used some others before.
- Having adb+root you can backup whatever you want without oandbackup. The
straight UNIX way would be just
cp -a /data/data/$APPID /sdcard/. The Android way is to useadb backupwhich BTW doesn't require the root but needs some screen interaction so see (1).
It looks interesting to run oandbackup from adb, but I don't know how to do it.
I use for backup:
adb backup "-apk -all -system" -f "${HOME}/MyAndroidBackup_$(date +%F).ab
Also, add -shared if you want to backup your SD-card content too.
It looks interesting to run oandbackup from adb, but I don't know how to do it.
This might be possible if oandbackup had the proper intent. You can open a Feature Request for that.