Android 13 /Android/data write access depth limit

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
sk4g
Junior Member
Junior Member
Posts: 3
Joined: 2022-08-28, 21:14 UTC

Android 13 /Android/data write access depth limit

Post 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
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

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

Post 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?
Author of Total Commander
https://www.ghisler.com
sk4g
Junior Member
Junior Member
Posts: 3
Joined: 2022-08-28, 21:14 UTC

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

Post 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)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

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

Post 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.
Author of Total Commander
https://www.ghisler.com
sk4g
Junior Member
Junior Member
Posts: 3
Joined: 2022-08-28, 21:14 UTC

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

Post 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?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

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

Post by *ghisler(Author) »

You should still be able to write to it from a PC or Mac, so ADB should work too.
Author of Total Commander
https://www.ghisler.com
Post Reply