
see here

http://bnsmb.de/files/public/My_HowTos_for_Android.html#Documentation_for_the_Magisk_Module_with_Debug_tools

for the documentation for this Magisk Module

 
Notes:

The tmux binary was compiled using the library libandroid-glob from Termux:

https://github.com/termux/termux-packages/tree/master/packages/libandroid-glob

The source code is in the file 

source/libandroid-glob_source.tar

in this module.


The tmux binary in this Magisk Module searches the config files in this order:

/data/local/tmp/etc/tmux.conf
~/.tmux.conf

The tmux binary creates the sockets in 

/data/local/tmp/var/tmp


History
   26.07.2024 1.0.0.0 /bs
     initial release

   28.07.2024 9.1.0.0 /bs
     fixed some typos in customize.sh; removed the parameter -v from the chcon commands

   29.07.2024 9.1.1.0 /bs
     added the script list_bind_mounts.sh
  
   01.08.2024 9.1.1.0 /bs
     added a new version of the script list_bind_mounts.sh

   06.08.2024 9.1.2.0 /bs
     added bgrep (a binary grep; source: https://github.com/tmbinc/bgrep)
     added hexdump (source:https://github.com/wahern/hexdump)
     added bvi (a vi like editor for binary files)
     added bmore (a more for binary files)

   14.10.2024 9.2.0.0 /bs
     changed the directory structure: The tools are now in /system/usr/bin; the libraries are in /system/usr/lib
       and in /system/bin are symbolc links to the tools
     added some tools from the Linux Utils (https://github.com/util-linux/util-linux/):
       sfdisk
       lsblk
       fsck
       mount
       lscpu
       lsipc
       lsclocks
       lsirq
       wipefs
       cfdisk
       losetup
       prlimit
       zramctl
       chpcpu
       chrt
       dmesg
       enosys
       namei
       pipesz
       rev
       uname26
       waitpid
       script

    some tools use a different name so as not to overwrite the original tool from Android:
       chrt.linux_utils
       dmesg.linux_utils
       losetup.linux_utils
       mount.linux_utils

   added
      less
      lesskey
      lessecho

   18.10.2024 9.2.1.0 /bs
      added ack (a grep replacement written in Perl, https://beyondgrep.com/install/
      added tmux 3.5a

   17.11.2024 9.2.2.0 /bs
      ngrep now only uses the libraries provided by the Android OS

   30.11.2024 9.2.3.0 /bs
      added debug code to the service.sh script

   07.12.2024 9.2.3.1 /bs
      the binary script now only needs standard Android libraries

   08.12.2024 9.3.0.0 /bs
      all binaries in the module now only need the standard libraries from the Android OS
      Therefore, they can now run on any Android OS without this Magisk Module

   15.12.2024 9.3.1.0 /bs
      added nano 8.2 (static build in /system/usr/bin/nano)

   23.12.2024 9.3.2.0 /bs
      added lsof 4.99.4
      Note that this lsof lists much more entries then the crippled lsof in toybox and therefor need much more time, example:

ASUS_I006D:/data/local/tmp/develop/lsof-4.99.4 $  lsof  | wc -l
2802

ASUS_I006D:/data/local/tmp/develop/lsof-4.99.4 $ time sudo $PWD/lsof | wc -l                                                                                                                                                                           
1077439
    0m17.22s real     0m00.32s user     0m00.06s system
ASUS_I006D:/data/local/tmp/develop/lsof-4.99.4 $ 

   24.01.2025 9.3.2.1 /bs
     added the script myldd

   15.06.2025 9.3.2.2 /bs
     updated list_bind_mounts to version 1.2.0

   22.06.2025 9.3.3.0 /bs
     added the binaries pstree, killall, and fuser from https://github.com/acg/psmisc
     updated ack to version 3.9.0
     updated nano to version 8.4 
     added umount from the Linux tools; the name for the binary is umount.linux_utils
     losetup, mount, and umount are now statically linked binaries
     added a statically linked bash binary (version .2.37(3))
     updated myldd to version 2.0.0
     the wrapper script used in previous versions is currently not used anymore -- all symbolic links in /system/bin are now direct links to the binaries in /system/usr/bin
     added the tmux config file example /etc/example_tmux.conf

  11.07.2025 9.3.4.0 /bs
     added the script enable_tmux_for_shell_user.sh

  14.07.2025 9.3.4.1 /bs
     updated the script list_bind_mounts.sh to version 1.3.0

  17.09.2025 9.3.4.2 /bs
     updated bvi and bmore to version 1.5.0
     added statically linked binaries for bmore and bvi

  01.10.2025 9.3.4.3 /bs
     added the statically linked binary for gdb 16.3

  12.10.2025 9.3.4.4 /bs
     added the binary 7zz (a 7zz binary with all plugins included)

  04.01.2026 9.3.4.5 /bs
     updated strace to version 6.18
     added btop 1.4.4
     added objdump from GNU Binutils 2.44
     added patchelf from GNU Binutils 2.44
     added readelf 0.18
     added htop 3.4.1 (statically linked; the default config file is /data/local/tmp/etc/htoprc)

  25.03.2026 9.3.4.6 /bs
     added fsmon 1.8.8 (https://github.com/nowsecure/fsmon)
     added hexcurse 1.60.0 (https://github.com/LonnyGomes/hexcurse)
     updated nano to version 8.7.1
     updated ngrep to version V1.48.3
     updated objdump to version 2.45.50 
     updated readelf to version 2.45.50
     added as, ar, ld, nm, objcopy, ranlib, strip from the GNU binutils 2.45.50
     updated 7zz to version 26.00
     removed ack 
     added gdb 17.1 (a statically linked binary)
     added the script compile_assembler_example.sh to compile a small assembler program using as and ld

  10.04.2026 9.3.4.7 /bs
     added pagemon 0.02.06 (https://github.com/ColinIanKing/pagemon)
     added inotifywatch and inotifywait 4.23.9.0 (https://github.com/inotify-tools/inotify-tools)
     updated  list_bind_mounts to version 1.3.1

  23.05.2026 9.3.4.8 /bs
     added mount_dynamic_partitions v1.1.0

  15.06.2026 9.3.4.9 /bs
     tmux is now dynamically linked; tmux_static is a statically linked tmux binary
     updated gdb 17.x to version 17.2
     replaced the inotify* wrapper with the inotify executables
     updated 7zz to version 26.01

  15.07.2026 9.3.4.10 /bs
    added the binaries bpftool_5.16.0 and bpftool_static_5.16.0
    added ltrace 0.8.1 (ltrace_static is a statically linked ltrace binary)
    added bat 0.26.1 (https://github.com/sharkdp/bat; a better replacement for cat)
    added ripgrep 15.1.0 (rg) (https://github.com/BurntSushi/ripgrep, a recursively searching grep)
    added fd 10.4.2 (https://github.com/sharkdp/fd, a replacement for find)
    added procs 0.14.12 (https://github.com/dalance/procs, a replacement for ps)
    added dust 1.2.4 (https://github.com/bootandy/dust, a replacement for du)
    added eza 0.23.5 (https://github.com/eza-community/eza, a replacement for ls)
    added xcp 0.24.8 (https://github.com/tarka/xcp, a companion for the cp command)
    added dua 2.38.0 (https://github.com/Byron, a replacement for du)
    updated btop to version 1.4.7; btop now runs as non-root user (but with limited network statistics)
    updated nano to version 9.1

  19.07.2026 9.3.4.11 /bs
    updated 7zz to version 26.02

