ciubex / dscautorename

Automatically exported from code.google.com/p/dscautorename
12 stars 6 forks source link

Android 11 - renaming does not work anymore #9

Open Keksebacker opened 3 years ago

Keksebacker commented 3 years ago

Mobilephone: Xiaomi Mi 9T Pro Android: 11 (Xiaomi.eu Rom) MIUI 12.5

I've been using your tool for a long time now. On my last phone the functionality is broken since the Android update 10 -> 11

I've checked the permissions and settings and the should be fine. I've already reinstalled the app.

With Android 10 it worked fine on the same phone.

The counter of the app permissions (successfully) is increasing every time i take a picture. But nothing happens regarding the file names.

The manual renaming function in the app gives me the following error message:

"Keine Datei wurde umbenannt.
Bitte überprüfe:
 - wo Kameradateien gespeichert sind und wählen Sie nocheinmal diesen Ordner
 - definierte Datenamenmuster!"

Folder path: /mnt/installer/0/emulated/DCIM/Camera Filename patterns: IMG_*.jpg -> 'IMG-'yyyyMMdd_HHmmss

thezedt commented 2 years ago

On my Android 11 (Xperia 10 III) the application detects and tries to use the /mnt/installer/0/emulated/0/DCIM folder which is read-only without root, instead of the writeable /storage/emulated/0/DCIM (for internal storage). I'm assuming this is why it then fails to rename any files.

Perhaps saving the images to the SD card would be a workaround (depending on how the application detects the paths), however I can't use/test this scenario.