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. If adblink determines that the file location /sdcard/Android/data is sandboxed it will instruct Kodi to look for its data at /sdcard/kodi_data/ via the text file /sdcard/xbmc_env.properties file which adblink will create. Kodi will read this file at startup to determine its data's location.
Additionally, when restoring a backup to a Android 11 device, adblink will 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.
If you need to grant or revoke the MANAGE_EXTERNAL_STORAGE permission manually, you can do this for Kodi or any app via adblink's Utility menu function: "Set app permissions".
If you have questions or comments, please email jocala@jocala.com or visit one of the forums. adbLink produces a log file, adblink.log, with each run. Include it in your email or post if you're having problems.