-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- "-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".
- Loading branch information
Showing
6 changed files
with
380 additions
and
267 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
Find and bundle static ccrypt binaries | ||
|
||
GMS "can't read media"? | ||
Direct export (no hard links) | ||
|
||
Wizard | ||
Some /data/adb/ symlinks (e.g., /data/adb/acc) are not backed uo or restored | ||
|
||
Some /data/adb/ symlinks (e.g., /data/adb/acc) are not backed up/restored | ||
|
||
Issue on MIUI ROMs? Dirty flash required after Migrator install/upgrade? | ||
automatic backups not working? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.