After reviewing this, I used termux-setup-storage
on my phone and Andy Android emulator.
After running the above command, I am able to view root directory with ls
on Andy emulator but not on phone.
INFO:
Android version 7.1.1
Xperia XZ
SoftBank locked the phone BIOS (or whatever it was) so I can't root it.
Storage permissions are granted.
What else can I try to use ls
on root directory on my phone?