cswl / tsu

Gain root shell on Termux.
ISC License
626 stars 154 forks source link

tsu, No superuser binary detected #70

Closed kotleni closed 4 years ago

kotleni commented 4 years ago

изображение

supersu

Just su - works

pakbaz-dev commented 4 years ago

Commit https://github.com/cswl/tsu/commit/5543412247ec8209e4ce776db2c7871f4fe3841b should fix this issue which will be included in the next release. Try this and check if it solves the issue:

sed -E 's/^SU_BINARY_SEARCH=\(.*\)/SU_BINARY_SEARCH=("\/system\/xbin\/su" "\/system\/bin\/su" "\/su\/bin\/su")/' "$(whereis -b tsu | cut -d' ' -f 2)" > new_tsu && cp new_tsu "$(whereis -b tsu | cut -d' ' -f 2)" && rm new_tsu
kotleni commented 4 years ago

Yes, this is work. Su bin located in /su/bin/su