usage notes

backup modes: an app can be backed up with only its apk, only its data or both. an app not currently installed can only be restored if the apk is present.

context menu: long press an item in the list of apps to get the context menu.

delete backup: deletes the backup files for the chosen app.

uninstall: somewhat more aggressive than a normal uninstall. in addition to doing a normal uninstall via android commands, uninstalling from oandbackup deletes files the app might have left over in /data/app-lib/. it also works on system apps.

enable / disable: uses the android script `pm` to enable or disable an app. disabling an app removes it from the normal user interface without uninstalling. this can be used for enabling or disabling an app for muliple users at a time (if the device has multiple users enabled). users are identified with an id. 0 is the first user (owner).

multiple users: multi-user is still somewhat experimental but should work. when restoring in a multi-user scenario, `pm install -r $apk` gets called and subsequently the app is disabled for every user who has the app listed in /data/system/user/$user/package-restrictions.xml (unless the app is listed as enabled="1").
this can create problems for users installing the same app at some later point, but is necessary to prevent the app from being installed to all users at the same time. the context menu has an option to enable or disable apps which can be used if other users become unable to use a specific app due to disabling on restore.
enabling and disabling only works after an initial install (not necessarily from oandbackup) or restore of the app.

changelog

changelog

license

oandbackup is licensed under the MIT license and is free to download, modify and share without restrictions

license