This Magisk module can be used to enable adb via WiFi automatically after a reboot using a fixed TCP port 

The script in these modules are shell scripts; the necessary socat binary is compiled for arm64 CPUs.

see 

https://bnsmb.de/My_HowTos_for_Android.html#How_to_enable_adb_via_WiFi_with_a_fixed_TCP_port 

for a description for this Magisk Module

History

03.05.2025 v1.0.0 /bs
  initial release

07.05.2025 v1.1.0 /bs
  the binary real_netstat is now dynamically linked but only for the standard Android OS libraries
  the ACTION button for the module is now a switch to stop or start the port forwarding:
     It enables the restart of socat if it's disabled and stops socat and disables the restart of socat if it's enabled
  the action.sh script now prints messages in the Magisk output window
  the current status of the port forwarding and the port used is now displayed in the description for
     this module in the Magisk Module list
  the TCP port used for the forward is now stored in the file /data/local/tmp/enable_wireless_adb/current_adb_wifi_port
  the script service.sh now waits up to 30 seconds for a working network connection


13.03.2026 v1.2.0 /bs
  the action script now uses only the network interface for the wireless adapter

