Commit Graph

10 Commits

Author SHA1 Message Date
Jason A. Donenfeld
db23fe725f 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>
2018-12-24 00:05:07 +01:00
Oliver Schmidhauser
7f1e6c977a unset LD_PRELOAD in su because magist 16.4 is 32 bit only 2018-05-03 22:46:20 +02:00
Fredrik Fornwall
89956f70a1 termux-tools: Search in /system/bin for su
Fixes #723.
2017-02-03 00:04:26 +01:00
Fredrik Fornwall
4c29f84f59 termux-tools: Fix quoting in su (fixes #244) 2017-01-25 11:50:20 +01:00
Fredrik Fornwall
57efacaf26 termux-tools: Add /magisk/.core/bin/su path to su
Fixes #168.
2016-11-25 20:12:52 -05:00
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.
2016-09-12 06:11:18 -04:00
Fredrik Fornwall
0ee447355b termux-tools: Try a more functional su wrapper 2016-08-31 17:39:18 -04:00
Fredrik Fornwall
a5421dbdf6 termux-tools: Search in more places for su 2016-03-28 13:07:00 -04:00
Fredrik Fornwall
391aa3d473 termux-tools: Update su script, add getprop 2016-03-23 13:11:21 -04:00
Fredrik Fornwall
5c7e02d7de termux-tools: Add su wrapper 2016-03-23 12:45:54 -04:00