Driver Manager v2.0.0 - LSPosed-style rewrite
Complete rewrite with: - Per-app driver scoping via mount namespace isolation (LSPosed-style) - System-wide driver mode selection - .ko kernel module manager with autoload and dependency tracking - Driver integrity protection (monitor/enforce modes) - Driver registry with auto-discovery and SHA256 hashing - LSPosed-style dark WebUI with 6 tabs: Dashboard, Drivers, Apps, Modules, Protection, Logs - RESTful API handler for WebUI communication - Zygote process monitor for auto-applying scopes to new app launches Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
23
uninstall.sh
Normal file
23
uninstall.sh
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/system/bin/sh
|
||||
# Driver Manager v2 - Uninstall Script
|
||||
# Runs when module is removed via KernelSU
|
||||
|
||||
MODDIR=${0%/*}
|
||||
|
||||
# Kill running processes
|
||||
for pidfile in "$MODDIR"/run/*.pid; do
|
||||
[ -f "$pidfile" ] && kill $(cat "$pidfile") 2>/dev/null
|
||||
done
|
||||
|
||||
# Unmount any active driver scopes
|
||||
if [ -f "$MODDIR/scripts/scope_manager.sh" ]; then
|
||||
sh "$MODDIR/scripts/scope_manager.sh" unmount_all 2>/dev/null
|
||||
fi
|
||||
|
||||
# Unload managed kernel modules
|
||||
if [ -f "$MODDIR/scripts/ko_manager.sh" ]; then
|
||||
sh "$MODDIR/scripts/ko_manager.sh" unload_all 2>/dev/null
|
||||
fi
|
||||
|
||||
# Config and data stay in /data/adb/modules/driver-manager/
|
||||
# which KernelSU cleans up automatically
|
||||
Reference in New Issue
Block a user