v2020.9.11-beta (202009110)
Pre-release
Pre-release
- "-m" option and M sub-option (as in -beM) to move hard link backups to /data/media/0/, so that they survive factory resets. When launched without the -m (move) option, Migrator automatically moves hard link backups back to /data/migrator/local/, for convenience. /data/migrator/ is inconvenient, but more private than /data/media/ and /data/media/0/. - Auto-generate sample /sdcard/Download/migrator/packages.list. - Backup/restore LineageOS-specific Android settings as well. - copy README.md to /sdcard/Download/migrator/. - Enforce Unix line endings (LF) in /data/migrator.conf before parsing it. This ensures config files written on Windows Notepad or other CRLF-loving editors still work as expected. - Exported backups are now imported to local/ as opposed to imported/ in /data/migrator/. This means the "i" flag, as in -ri is no longer necessary/valid. - Fixed: "migrator" executable inaccessible or not found. - Removed long options (e.g., --backup --app) to reduce overhead. Other performance enhancements were made on top of that. - System data (D) is no longer hard-linked. Regular copies are made instead. Android dislikes otherwise. - Two flags changed: A --> b (both (app and data)), E --> e (everything). - Updated documentation. This includes data migrator tutorial, flag mnemonics (e.g., -rb = restore both (app and data)) and more. As hard as the text may seem, read the damn thing anyway and give me some feedback on it... please! Release Notes - MIUI users who face the "reboot to fastboot" issue should refrain from flashing the zip for now. - I recommend extracting zip_file/migrator.sh and running it as is - until the cause of that issue is identified and eliminated. - Usage example: "su -c sh /path/to/migrator.sh -be" - An alias can be appended to Termux's .bashrc to save time and effort, e.g., alias M="su -c sh /sdcard/Download/migrator.sh".