backup / restore a device without root
set a desktop backup password ( settings -> development -> desktop backup password)
make the backup
adb backup -apk -shared -all -system -f fullbackup.ab
restore the backup
adb shell pm list users
adb backup restore
some adb help
https://source.android.com/docs/devices/admin/multi-user
$ adb shell bu help backup [-user USER_ID] [-f FILE] [-apk|-noapk] [-obb|-noobb] [-shared|-noshared] [-all] [-system|-nosystem] [-keyvalue|-nokeyvalue] [PACKAGE...] write an archive of the device's data to FILE [default=backup.adb] package list optional if -all/-shared are supplied -user: user ID for which to perform the operation (default - system user) -apk/-noapk: do/don't back up .apk files (default -noapk) -obb/-noobb: do/don't back up .obb files (default -noobb) -shared|-noshared: do/don't back up shared storage (default -noshared) -all: back up all installed applications -system|-nosystem: include system apps in -all (default -system) -keyvalue|-nokeyvalue: include apps that perform key/value backups. (default -nokeyvalue) restore [-user USER_ID] FILE restore device contents from FILE -user: user ID for which to perform the operation (default - system user) $ adb shell pm list users Users: UserInfo{0:Owner:13} running
real linux on your android device:
postmarketos
to install apps:
- yalp store
- f-droid
nice apps
- newpipe: plays youtube in background without ads
- osmand: offline navigation / maps
- revolution irc: internet relay chat
nextcloud apps (untested)
- nextcloud
- nextcloud talk
- nextcloud bookmarks
- save to nextcloud bookmarks