Skip to content

No external folder created after excuted termux-setup-storage #3508

Closed Answered by wei-z-git
wei-z-git asked this question in Q&A
Discussion options

You must be logged in to vote

Luckily, I found another way to access /mnt/media_rw/xxxx-xxxx after I asked chatgpt...
So I don`t have to access it through /storage

  1. rooted device, installed openssl & openssh
  2. pkg install rsu & excute rsuinto root user.
  3. Update $PREFIX/etc/ssh/ssh_config add PermitRootLogin yes
~ # cat $PREFIX/etc/ssh/ssh_config
SendEnv LANG
PermitRootLogin yes
  1. set password to root user passwd
  2. restart sshd service pkill sshd & sshd
  3. ssh root@<ip_addr> -p 8022
  4. (optional) mount --bind /mnt/media_rw/<device_id>/data/ /storage/emulated/0/sftp_data/external

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wei-z-git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant