How ahsaboy/magisk-netbird works
Magisk NetBird wraps the official NetBird daemon for Android. The main workflow is installing the module, configuring it, joining a network through the service command, and maintaining connectivity and status across reboots and network changes. The graph also preserves documented CA trust, resolver, ACTION-button, and uninstall behavior. Source excerpts were unavailable, so relationships are limited to those stated in the README; the daemon binary is represented by its existing enclosing directory.
Main entry points: netbird NetBird daemon · netbird.service Service commands · module-status.sh Status watcher · action.sh ACTION refresh
Components 18
Module setup
- Magisk installer
META-INF/com/google/android/update-binary - Install customization
customize.sh
NetBird runtime
- Runtime settings
netbird/settings.sh - Environment template
netbird/netbird.env.example - Service commands
netbird/scripts/netbird.service - Boot service
service.sh - NetBird daemon
netbird - Daemon state
- NetBird management
Status and maintenance
- Status watcher
netbird/scripts/module-status.sh - ACTION refresh
action.sh - Custom CA trust
netbird/scripts/cert-trust.sh - Rule cleanup
uninstall.sh - Dynamic module status
module.prop
Android platform
- Android networking
- Linux resolver config
system/etc/resolv.conf - User CA certificates
Other components
- Root operator
Connections 18
- Root operator → Service commands: runs commands
README.md - Magisk installer → Install customization: installs module
- Install customization → NetBird daemon: installs binaries
- Service commands → Runtime settings: loads defaults
README.md - Service commands → Environment template: loads overrides
README.md - Service commands → NetBird daemon: controls daemon
README.md - Boot service → NetBird daemon: starts daemon
- NetBird daemon → Daemon state: stores state
README.md - NetBird daemon → NetBird management: connects to
README.md - NetBird daemon → Linux resolver config: uses resolver
README.md - ACTION refresh → Custom CA trust: refreshes trust
README.md - ACTION refresh → Android networking: refreshes rules
README.md - ACTION refresh → Service commands: prints status
README.md - Custom CA trust → User CA certificates: loads certificates
README.md - Status watcher → NetBird daemon: probes and restarts
README.md - Status watcher → Android networking: reapplies route rule
README.md - Status watcher → Dynamic module status: refreshes status
README.md - Rule cleanup → Android networking: removes added rules
README.md