Read the problems of it here: https://www.xda-developers.com/android-q-storage-access-framework-scoped-storage/
More explanation from a programming standpoint:
========================
While designing the app, I had never thought that Google will deprecate such a basic thing like Java File. Migrate extensively relies on it and moving from File to a Uri based approach would be a huge trouble. As migrate uses shell scripts, hence raw file paths are absolutely necessary.
Hence I set out to write a library that eases the transformation process. Meet FileX.
https://github.com/SayantanRC/FileX
This library uses DocumentsContract in background, handles all the Uri related stuff and provides familiar functions and fields like
mkdirs()
, createNewFile()
, copyRecursively()
etc.This is an open source library, it is nowhere near stable, but if anyone wants, they can give it a try in their apps. Constructive feedback is welcome.
========================
How does it impact the users?
========================
1. If the FileX library works as intended, Migrate should get native support to backup on SD cards and USB OTG drives.
2. Backups will be much slower than before. It is because Scoped Storage is inherently slow. Depending on ROMs, it may even be more unstable than before; have to wait and see how it plays out...
3. Since Migrate-NG is not distributed via Google Play store, it will continue to offer the current default backup method (under [Internal storage]/Migrate) along with FileX (best of both worlds). Migrate-GPE however, has to target Android 11 and above (blame Google), hence using FileX will be the only option.
========================