Magisk-Modules-Alt-Repo / BuiltIn-BusyBox

Systemless Magisk module that installs and symlinks BusyBox with its applets to the Magisk built-in busybox binary
GNU General Public License v2.0
198 stars 13 forks source link

Add support for KernelSU #5

Closed natsumerinchan closed 1 year ago

natsumerinchan commented 1 year ago

Here is the effect. Related issue: https://github.com/Magisk-Modules-Alt-Repo/BuiltIn-BusyBox/issues/3

[celica@arch BuiltIn-BusyBox]$ adb -s a9d45561 shell
OP5154L1:/ $ su
OP5154L1:/ # ls -al /system/bin | grep busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 [[ -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 acpid -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 adjtimex -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 ar -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 arch -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 arp -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 ascii -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 ash -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 base32 -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 bbconfig -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 beep -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 blkdiscard -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 brctl -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 chat -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 chvt -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 conspy -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 crc32 -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 crond -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 crontab -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 cttyhack -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 dc -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 deallocvt -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 depmod -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 dhcprelay -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 dnsd -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 dnsdomainname -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 dumpkmap -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 dumpleases -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 ed -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 eject -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 ether-wake -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 factor -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 fakeidentd -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 fatattr -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 fbset -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 fbsplash -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 fdflush -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 fdformat -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 fdisk -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 fgconsole -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 findfs -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 flash_eraseall -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 flash_lock -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 flash_unlock -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 fold -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 freeramdisk -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 fsck -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 fsck.minix -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 fsfreeze -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 fstrim -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 ftpd -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 ftpget -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 ftpput -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 fuser -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 getopt -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 hd -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 hdparm -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 hexdump -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 hexedit -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 httpd -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 hush -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 ifdown -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 ifenslave -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 ifplugd -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 ifup -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 inetd -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 iostat -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 ipaddr -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 ipcalc -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 ipcrm -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 ipcs -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 iplink -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 ipneigh -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 iproute -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 iprule -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 iptunnel -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 kbd_mode -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 killall5 -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 klogd -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 less -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 link -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 loadfont -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 loadkmap -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 logread -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 lsscsi -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 lzcat -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 lzma -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 lzop -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 lzopcat -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 makedevs -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 makemime -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 man -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 mesg -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 mim -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 mkdosfs -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 mkfs.minix -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 mkfs.reiser -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 mkfs.vfat -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 mpstat -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 nameif -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 nanddump -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 nandwrite -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 nbd-client -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 nmeter -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 nologin -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 nslookup -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 nuke -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 openvt -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 partprobe -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 pipe_progress -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 pivot_root -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 popmaildir -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 poweroff -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 powertop -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 pscan -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 pstree -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 pwdx -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 raidautorun -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 rdate -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 rdev -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 readprofile -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 reformime -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 reset -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 resize -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 resume -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 rev -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 rfkill -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 route -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 run-init -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 run-parts -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 rx -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 script -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 scriptreplay -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 selinuxenabled -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 sendmail -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 sestatus -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 setconsole -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 setfattr -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 setfont -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 setkeycodes -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 setlogcons -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 setpriv -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 setserial -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 setuidgid -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 sha3sum -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 showkey -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 shred -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 shuf -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 slattach -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 smemcap -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 ssl_client -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 start-stop-daemon -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 sum -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 svok -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 switch_root -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 syslogd -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 tcpsvd -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 telnet -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 telnetd -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 tftp -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 tftpd -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 traceroute -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 ts -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 ttysize -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 tunctl -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 ubiattach -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 ubidetach -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 ubimkvol -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 ubirename -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 ubirmvol -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 ubirsvol -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 ubiupdatevol -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 udhcpc -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 udhcpc6 -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 udhcpd -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 udpsvd -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 uevent -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 uncompress -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 unexpand -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 unlzma -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 unlzop -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 unxz -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 vconfig -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 vi -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 volname -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 watchdog -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 wget -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 whois -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 xz -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 xzcat -> /data/adb/ksu/bin/busybox
lrwxrwxrwx 1 root root       25 1970-02-17 07:59 zcip -> /data/adb/ksu/bin/busybox
OP5154L1:/ #                                                                                                                                                                                                                                  OP5154L1:/ #