3 Commits

Author SHA1 Message Date
sssnake
11d2a3d784 Add supervisor to keep enforcement + detection daemons alive
cgwatch.sh respawns ratlock/cgdetect within ~30s if either dies (crash,
OOM, accidental kill), so the guard self-heals instead of staying down
until the next reboot. service.sh now launches the supervisor after the
RIL-up wait rather than starting the two daemons directly.
2026-07-12 11:34:49 -07:00
sssnake
a5700eddce Fix detector daemon status check and dumpsys-hang stale status
action.sh: use short pgrep patterns so the enforcement/detector 'running'
check resolves correctly instead of falsely reporting 'not running'.
cgdetect.sh: wrap dumpsys telephony.registry in timeout so a blocking
registry read can no longer freeze the status file and stall the frame
counter.
2026-07-12 11:09:41 -07:00
sssnake
9a3e3a0501 CellGuard: LTE/5G-NR lock + IMSI-catcher detection KSU module
- cgcap.ko: cpif CP-frame capture via kprobe/kallsyms, stock-GKI build
- ratlock.sh: hold modem to LTE+NR(5G), block 2G/3G downgrade
- cgdetect.sh: always-on behavioral cell-site-simulator detection
- cgctl.sh + WebUI: block/detect toggles, status + alerts
- build-stock-gki.sh: reproducible stock-GKI module build pipeline
2026-07-12 09:21:54 -07:00