cswl / tsu

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

Support for AOSP su (without -c argument) #79

Open vgavro opened 3 years ago

vgavro commented 3 years ago

AOSP "su" version never had "-c" flag option, like I see from sources. I tried not to break compatibility with previous tsu version, while trying to determine AOSP su by --help, or (in case for older android versions) you may explicitly set it like SU_AOSP=1 sudo id

vgavro commented 3 years ago

related to https://github.com/cswl/tsu/issues/72

vgavro commented 3 years ago

Besides adding support for aosp su binaries - there are plenty fixes I found which I had to fix, sorry for this LARGE pull request... I hope it could be merged to upstream anyway...

TODO/NOTES:

My proposition - to release next major version (9.0) and rename .suroot to .tsu. Thanks for you time!