Skip to content

Releases: VR-25/migrator

v2021.7.16-beta (202107160)

16 Jul 13:34
Compare
Choose a tag to compare
Pre-release
- APKs are no longer hard-linked (crash due to SELinux).
- Data dir is /sdcard/Documents/vr25/migrator/.
- Exclude thumbnails, input method and adb settings from backups.
- General optimizations
- Installer prints changelog and other info.
- Inverted changelog order.
- Move option is -M to prevent confusion (formerly -m).
- Updated documentation & bundled terminal.

Merged pull request #5 from SebastianApel/master

  Enhancements:

  - Backup /data/media/0/Android/data/${pkg} [used for pictures by ch.threema.app]
  - And also restore it later into the correct location (including setting the correct user & perms)
  - Also backup widget configuration and roles of apps into _sysdata
  - Wifi Config is at a different location in Android 11 - make sure it's backed up
  - Better approach to restoring _sysdata (handle case where file does not exist [in some cases])

  Bugfixes:

  - In recovery mode, /data/user/0 does not exist (at least on my phone) - /data/data works
  - Apps were crashing without RestoreCon of /data/data/$pkg - added that

v2020.9.24-beta (202009240)

24 Sep 09:25
Compare
Choose a tag to compare
Pre-release
- Do not remount / rw if it's not tmpfs.
- Fixed backup import issue.

v2020.9.13-beta.1 (202009131)

13 Sep 16:19
Compare
Choose a tag to compare
Pre-release
- Enhanced system data backup and restore logic.
- General fixes & optimizations
- Parse "codePath" from /data/system/package.xml.
- Updated data migration tutorial.

Release Notes
  - Please test whether system data backup and restore work as expected.
  - This version fixes several issues that affected encrypted devices and Android 11 in particular.
  - Nothing was done in regards to the "MIUI 12" bootloop issue. The root cause is still unknown.

v2020.9.11-beta (202009110)

11 Sep 15:39
Compare
Choose a tag to compare
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".

v2020.8.28-beta (202008280)

28 Aug 09:28
Compare
Choose a tag to compare
Pre-release
Fixed compressed/encrypted export issues.

v2020.8.27-beta.1 (202008271)

27 Aug 14:30
Compare
Choose a tag to compare
Pre-release
Fixed restore "data_de only" not working (Android keyboard (AOSP) was affected).

Fixed settings restore issues on Nougat.

Force all apps to reregister for push notifications (Google Cloud Messaging)
-n|--notifications

Suppress unimportant errors when restoring system data (D).

v2020.8.27-beta (202008270)

27 Aug 07:57
Compare
Choose a tag to compare
Pre-release
Export backups to $base_dir/migrator_exported/ to prevent accidental data loss while auto-removing backups of uninstalled packages.

Filter out packages already backed up ("M -bn" or "M -b --new").

Misc safety patches

v2020.8.26-beta (202008260)

26 Aug 17:11
Compare
Choose a tag to compare
Pre-release
A comma can be used in place of "|" for regex alternation (e.g., "M -b faceb,instag,whatsa").

Added tips on using rsync in auto-backup config to sync backups over an ssh tunnel.

Read package names from list, with regex support (e.g., "M -b /path/to/file", "M -b --" (for /sdcard/Download/migrator/packages.list)).

Remove backups of uninstalled apps from export directory as well.

Don't overwrite the log file if its size is less than 2M.
Performance enhancements
Skip unistalled packages from <list>".
Unlike -rE, -bE now implies D too.
Updated documentation.
Updated bundled terminal (Magisk variant).

v2020.8.17-beta (202008170)

17 Aug 12:09
Compare
Choose a tag to compare
Pre-release
Enhanced auto-backup logic
General fixes & optimizations
More intuitive auto-backup config syntax
Updated backup automation info (config, Tasker script and more)

v2020.7.20-beta.1 (202007201)

20 Jul 06:15
Compare
Choose a tag to compare
Pre-release
General fixes & optimizations

Packages to be backed up can be read from a file (+ filepath or -v . + filepath).
The "-v ." construct is meant for excluding user apps.
However, excluded apps can still be overridden by the list following the + sign.

Updated encryption information.