Termux can access Android’s internal storage, but it cannot execute programs there directly. You have to move them to Termux’s home directory first.
So what about accessing Termux’s home directory the other way around? After Android 11, file managers can no longer see Termux’s home directory. At this point, you can use the “add external storage” method to access files in Termux’s home directory from your phone’s file manager.
The following is about Termux’s home directory. If you want to access Termux’s internal files, such as Proot-distro, you will need root privileges.
Termux’s internal files are located at /data/data/com.termux. For details, see: Termux File Management
1. Let Termux access the Android phone’s internal storage#
- Open Termux and run the following command:
termux-setup-storageA dialog will pop up. After you allow access to the phone’s internal storage, Termux will bind mount the phone’s internal storage to the
storagedirectory. Understoragethere are several common directories; for example,downloadsis the phone’s Downloads directory, whilesharedis the entire internal storage of the phone.Example: move
foo.shfrom the phone’s Downloads directory to Termux’s home directory:
mv storage/shared/downloads/foo.sh ~2. Access Termux’s home directory from the phone file manager#
Download Material Files from F-Droid.
After opening it, tap the left sidebar, add storage, and add external storage.

The phone’s built-in file picker will pop up. Select
Termuxin the left sidebar, then tap Use this folder.
This adds a
termuxshortcut to the sidebar. From now on, you can freely access Termux’s directory through this shortcut.

