Use a password manager, and only use long random passwords. Use a 4+ word random passphrase for the master password (for good randomness: throw a dice 5 times and look at the corresponding word at https://www.eff.org/files/2016/07/18/eff_large_wordlist.txt, then repeat another 3 times).\ KeePass is one of the most trusted password managers. Bitwarden is also excellent and simpler to use.
Disable fingerprint login for CDC.
Make regular backups of your phone.
Turn on phone encryption (really easy on Android, look at the settings).
Don't leave your phone unattended.\ If you get really careless and suspect someone else got access to your phone, don't take chances: perform a factory reset immediately, and restore your data from your backup. This includes the airport and border customs taking your phone for "checking". If anyone takes it and you don't know what they did to it, don't take chances and do a factory reset immediately.\ If you follow my advice of making regular backups, it shouldn't take you too long to restore everything anyway. https://github.com/machiav3lli/oandbackupx is good for this, and can automate backups on a schedule. I think Google has a tool for backups in Drive if you prefer to have Google handle it, look it up.
Permission denied
for what?
Doesn't the backup app set proper ownership automatically on restore? Titanium backup does, but it's not being updated anymore.
Some issues at link. Make sure you are updated above 5.0.0
. Not sure what it means by Termux plugins.
https://github.com/machiav3lli/oandbackupx/blob/main/ISSUES.md
>I am running this restore script from the built-in terminal because I do not have termux restored yet.
If you haven't restored, then /data/data/com.termux
wouldn't exist. Scope storage is only for shared storage stuff, not for /data/data
. And su
runs outside of any target API restrictions. The only issue could be selinux but since you say its working from failsafe, then running from another root terminal should be same.
Like I said, you can't pass any command to failsafe, you will need to type manually or possibly use something like input
command with root or AutoInput
.
>Will RUN_COMMAND work
If ownership is wrong, then termux app will not be able to read ~/.termux/termux.properties
file, so it will not execute the intent.
Oh sorry it seems sometimes F-droid links can't be accessed from browsers
Tubelab Source https://framagit.org/tom79/fedilab-tube
Backup Manager source https://github.com/machiav3lli/oandbackupx
Maybe your problem was that the application could not yet restore data if the backup is on an external SD card. The developer seems to have already solved this problem for future releases: https://github.com/machiav3lli/oandbackupx/pull/137
I recently upgraded from LOS 16 to 17.1 on Poco F1 (clean install) and all apps recovered fine with data when I moved the backup to the internal SD card.
Sorry, the app is out of date on F-Droid -- the changelog for 3.0.0 confused me there and I assumed that 1.2.0-universal
was some internal build number. I'll try again with https://github.com/machiav3lli/oandbackupx/releases/tag/3.0.0
I've contacted the mods to flair this post accordingly.
Small update. While testing the version 1.2.0 from F-Droid I encountered some errors (operation not permitted) when creating backups. This has to do with how special files (named pipes and symlinks) are handled.
However, there's a newer version 2.0 available on Github directly, which doesn't report those errors. Check https://github.com/machiav3lli/oandbackupx/releases and expand the "assets" section. Download the apk from Github. Or just wait until F-Droid gets an update.