termux-app icon indicating copy to clipboard operation
termux-app copied to clipboard

[Bug]: Bad Address, can't cd into /sdcard !!

Open rexackermann opened this issue 1 month ago • 2 comments

Problem description

I cant get into internal storage, by cd storage/shared or cd /sdcard. If I try it, it says cd: bad address: /sdcard.

Steps to reproduce the behavior.

Not sure what caused it. At first rebooting solve the issue. But doesn't solve now. And my phone's rooted with magisk.

What is the expected behavior?

cd to the target dir.

System information

  • Termux application version: 118.3
  • Android OS version: HyperOS 1.0 (Android 14)
  • Device model: Redmi 12

rexackermann avatar Nov 20 '25 18:11 rexackermann

Try disabling termux storage permission and granting it again, but likely a device specific issue.

agnostic-apollo avatar Nov 20 '25 18:11 agnostic-apollo

I did it, didn't work the 1st time around. For a different reason I cloned the app, than deleted the clone and gave storage permission again and if worked. BUT after rebooting the problem returned.

Cloning app, and granting permission again seems to solve problem until next reboot.

rexackermann avatar Nov 21 '25 17:11 rexackermann