On android 13 (API level 33) the app needs "MANAGE_EXTERNAL_STORAGE" permission. When granted with adb, it works as expected