Question How to unlock traditional storage access in Android 14 or higher?

Search This thread

Hendrix7

Senior Member
Nov 18, 2023
194
46
Traditional storage access (also known as legacy storage access and ioctl storage access) has these Linux-based features that Google Storage Access Framework (SAF) does not have:

  • hard links
  • symbolic links
  • sparse files
  • Preserve last modified time (mtime) of moved folders.

These features are necessary if you wish to use your smartphone like a Linux computer. Google made SAF for the masses of users, not the minority of power users. Hence it lacks the aforementioned features.

Google SAF is just a middleman between apps and the traditional storage access. Additionally, Google SAF has the undesirable behaviour of resetting the last modified time attribute (mtime) of directories to right now when moving them. In Linux, only the inode change time (ctime) is supposed to change when a directory is moved. The last modified time (mtime) must only change if a file is added or removed or renamed inside the directory, and is preserved when the directory itself is moved. This is also the behaviour of Windows.

Is it possible to give individual apps traditional storage access or only all apps at once? I would like to give Termux (terminal app) traditional storage access. Is there a way to accomplish this?

If it is not possible to give individual apps legacy storage access, I would be fine with giving all apps legacy storage access too.

[I release this post into the public domain under CC0 1.0.]