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.

When adblink creates the alternate location for Kodi's data, adblink will attempt to set the MANAGE_EXTERNAL_STORAGE permission to "allow" which will permit Kodi to read the xbmc_env.properties file at startup. Otherwise Kodi is not permitted to access local files outside of its sandbox. Note that this isn't always successful. You may have to do this via the device's own app settings routine.

If you need to grant or revoke the MANAGE_EXTERNAL_STORAGE permission manually, you can also try adblink's Utility menu function: "Set app permissions".

Home