mrrfv / open-android-backup

Back up your device without vendor lock-ins, using insecure software or root. Supports encryption and compression out of the box. Works cross-platform.
http://openandroidbackup.me/
GNU General Public License v3.0
674 stars 37 forks source link

MIUI and .nomedia files #18

Closed uwe-ho closed 1 year ago

uwe-ho commented 1 year ago

In .../Android/data folders of MIUI exist .nomedia files for which I did not find any way to delete or them or change their permissions. Due to lacking read access 'adb pull' is stopped after running into them and the whole run attempt is over. This way, personally I would write some for loop with additional checks ... (because I couldn't find any adb option to ignore errors for pull; presumably my ignorance, sorry). Thanks. BTW: MIUI is not so nice concerning permanent install / uninstall, at least not with me. Hence, I installed the apk manually once after copying to phone and removed the (un)installs from the script.

mrrfv commented 1 year ago

This is related to issue #15, which has been abandoned by its original author. I'll try to find an alternative way to export the internal storage, as adb pull has proven to be very unreliable in my recent tests.

mrrfv commented 1 year ago

I just found an alternative way to copy everything off an Android device and it's a thousand times better than adb pull, but it'll take a while before this fix gets pushed to master as it'll change the way backed up data are laid out in the archives themselves (unless I find a workaround), potentially causing compatibility issues with older backups or versions of this script. This might be a good time to rename this project.

mrrfv commented 1 year ago

Feel free to reopen this issue if you still encounter problems with the script.