Files
FlipperDroid/uninstall.sh
sssnake be81a92d44 Initial commit — FlipperDroid v0.1.0-poc
KernelSU module + Flipper Zero FAP that bridges both devices into a
unified pentesting platform over USB CDC serial / BT rfcomm.

Android side: bridge daemon, WebUI (:8089), bind mount namespace
isolation stealth engine. Flipper side: proper FAP with 4-view GUI,
GPIO/SubGHz/IR/file command handlers, async event streaming.
2026-03-31 21:26:58 -07:00

22 lines
545 B
Bash

#!/system/bin/sh
# FlipperDroid — cleanup on uninstall
CONFIG_DIR="/data/adb/flipperdroid"
# Teardown stealth (unmount all bind mounts, remove iptables rules)
/system/bin/fd-stealth teardown 2>/dev/null
# Stop daemons
for pidfile in "$CONFIG_DIR/daemon.pid" "$CONFIG_DIR/bridge.pid" \
"$CONFIG_DIR/monitor.pid" "$CONFIG_DIR/listener.pid"; do
if [ -f "$pidfile" ]; then
kill $(cat "$pidfile") 2>/dev/null
fi
done
# Release rfcomm if bound
rfcomm release 0 2>/dev/null
# Remove persistent config
rm -rf "$CONFIG_DIR"