cswl / tsu

Gain root shell on Termux.
ISC License
646 stars 155 forks source link

/system/bin/sh: env: not found #77

Open ghost opened 3 years ago

ghost commented 3 years ago

hi, I try to use root in termux for a python module "psutil" and "django", There is a tutorial that uses "termux-sudo" to use these modules, but then it gave me permission denied when running a command outside of sudo. so I try to get root in termux using tsu outside of sudo. but I get this error: $ tsu /system/bin/sh: env: not found Screenshot_20210125-185121.jpeg I am rooted using MediaTek Easy root and I already gave termux root user permissions using magisk Screenshot_20210125-185028.jpeg

DSolo03 commented 3 years ago

Found solution. In tsu file set full path to env anywhere env => /data/data/com.termux/files/usr/bin/env Worked for me

LPtexas-cub commented 2 years ago

Hi, did you solve the problem? I have the same problem with you.

chen7ang commented 1 year ago

input tsu --dbg ,you will find solution