RadioControl v1.0.0 — KernelSU-Next module for radio engineering
Shannon 5400 AT command terminal, BCM4390 WiFi mode switching, carrier config override, debugfs browser, RF thermal monitoring, CP debug, Thread/Wonder radio, satellite/NTN test support. Verified on Pixel 10 Pro Fold (Tensor G5 / laguna).
This commit is contained in:
23
uninstall.sh
Executable file
23
uninstall.sh
Executable file
@@ -0,0 +1,23 @@
|
||||
#!/system/bin/sh
|
||||
# RadioControl — cleanup on uninstall
|
||||
|
||||
CONFIG_DIR="/data/adb/radiocontrol"
|
||||
PID_FILE="$CONFIG_DIR/webui.pid"
|
||||
|
||||
# Stop WebUI server
|
||||
if [ -f "$PID_FILE" ]; then
|
||||
kill $(cat "$PID_FILE") 2>/dev/null
|
||||
fi
|
||||
|
||||
# Restore WiFi to managed mode
|
||||
for iface in wlan0 wlan1 wifi0; do
|
||||
if [ -d "/sys/class/net/$iface" ]; then
|
||||
ip link set "$iface" down 2>/dev/null
|
||||
iw dev "$iface" set type managed 2>/dev/null
|
||||
ip link set "$iface" up 2>/dev/null
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# Remove persistent config
|
||||
rm -rf "$CONFIG_DIR"
|
||||
Reference in New Issue
Block a user