jocala.com content starts below.

Scoped Storage

Google's Android 11, and Amazon's Fire OS 8.1 implement "Scoped Storage" which removes the ability of the adb program to access /sdcard/Android/data/.

This has the unfortunate side-effect of preventing adblink from accessing Kodi's data located at /sdcard/Android/data/org.xbmc.kodi. This means no backup/restore, no cloning, no edit of xml files, etc.

Luckily, Kodi allows us to relocate its data to an accessible location via the text file /sdcard/xbmc_env.properties. Kodi looks for this file at startup, and reads it to find the location for its data.

You can create /sdcard/kodi_data/ and xbmc_env.properties via the kodi menu function, Create kodi_data. adblink will also create the file and directory when restoring a backup to a scoped storage device.

Finally, in order for Kodi to access local storage outside of its sandbox the MANAGE_EXTERNAL_STORAGE permission must be set to "allow" which will permit Kodi to read the xbmc_env.properties file at startup. Kodi should ask for this permission at first run but if you miss doing this you may have to change the permission via the device's applications settings routine.

Home