Jason A. Donenfeld
479b8f9828
termux-tools: use proper su search order
This mirrors the search order in the standard Android PATH, so that the
right tool is used consistently. This makes it easier for something like
Kernel Assisted Superuser to co-exist with Magisk.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Oliver Schmidhauser
ea368bb55d
unset LD_PRELOAD in su because magist 16.4 is 32 bit only
7 years ago
Fredrik Fornwall
89956f70a1
termux-tools: Search in /system/bin for su
Fixes #723 .
8 years ago
Fredrik Fornwall
4c29f84f59
termux-tools: Fix quoting in su ( fixes #244 )
8 years ago
Fredrik Fornwall
57efacaf26
termux-tools: Add /magisk/.core/bin/su path to su
Fixes #168 .
8 years ago
Fredrik Fornwall
4cb7ec814f
termux-tools: Update su
Search for /sbin/su, and remove termux-specific environment
so that system tools can be used for the root session.
8 years ago
Fredrik Fornwall
0ee447355b
termux-tools: Try a more functional su wrapper
8 years ago
Fredrik Fornwall
a5421dbdf6
termux-tools: Search in more places for su
9 years ago
Fredrik Fornwall
391aa3d473
termux-tools: Update su script, add getprop
9 years ago
Fredrik Fornwall
5c7e02d7de
termux-tools: Add su wrapper
9 years ago