Page 1 of 1

Android 13 /Android/data write access depth limit

Posted: 2022-08-28, 21:53 UTC
by sk4g
I am using a Pixel 6a on Android 13.
Is there a two folder depth limit to write access in nested folders inside /Android/data/
I can write as deep as the blue highlighted area but can only read the subsequent folders
/Android/data/org.xbmc.kodi/files/.kodi/addons

Tried it in VLC's app data directory with the same results

Re: Android 13 /Android/data write access depth limit

Posted: 2022-09-05, 10:02 UTC
by ghisler(Author)
I'm getting mixed feedback regarding Android/data on Android 13:
1. Some users claim that they still can access Android/data if they allowed access to it on Android 12.
2. Some others claim that they can enter the folder but not do anything there.

The beta version uses a different access method when the user didn't give access to Android/data while still on Android 12:
It lets the user give access to each individual subfolder in Android/data, in your case that would be org.xbmc.kodi.
I have just tested this approach in the Android 13 emulator, and I can create multiple subfolders without problems and copy files from/to them. Rename and delete also work.

How does your Android/data folder look like? Do the folders look like regular folders or like this:
-> org.xbmc.kodi
with the arrow sign -> in front of the name?

Re: Android 13 /Android/data write access depth limit

Posted: 2022-09-05, 17:59 UTC
by sk4g
Thanks for the reply, Chris. The Android/data folders do have the -> in front of the name and the folder icons have a gear inside them. When trying to access a folder in this path I get the following message, which I believe then prompts me to select a folder using virtual folders.

“Write protected!
On Android >=5, the external
SD card is write protected.
You need to choose the directory from a special
Android dialog to give Total Commander write rights."

I am on Android 13 August 5 security update, non beta channel. Upgraded from Android 12, but do not think I granted the folder access while on 12. Using Total Commander beta 3.40b4d (2080)

Re: Android 13 /Android/data write access depth limit

Posted: 2022-09-06, 06:42 UTC
by ghisler(Author)
When you get the -> prefixes, you already get the new access method for Android 13. In the emulator I do not see any kind of directory depth limit in these folders.

Are you able to
1. Create new folders under Android/data/files?
2. If yes, are you able to write to the folders you created yourself?
3. Can you try with a folder of a different app? For example, I have a folder Android/data/com.android.chrome/files/Download and I can copy files to it.

Re: Android 13 /Android/data write access depth limit

Posted: 2022-09-12, 07:02 UTC
by sk4g
I tried copying into the chrome folder you suggested and was able to do so.

Tried copying from subfolders in a org.xbmc.kodi backup to /Android/data/org.xbmc.kodi/ and received permission errors.
Deleted the /Android/data/org.xbmc.kodi/files subfolder and copied the sub folder over from a backup and was able to do so without permission issues.

Thanks for the troubleshooting help.
Do you know if there is a way to write into /Android/data via adb?

Re: Android 13 /Android/data write access depth limit

Posted: 2022-09-13, 11:40 UTC
by ghisler(Author)
You should still be able to write to it from a PC or Mac, so ADB should work too.