Fork-based supervisor ensures the interceptor process survives crashes. pingBinder() liveness check on pre-transact returns DEAD_OBJECT to callers when interceptor is down, preventing real TEE state from leaking during the restart window. action.sh clears persistent key storage via KSU Action button. uninstall.sh kills daemon processes and removes module artifacts while preserving target.txt and keybox configuration.
6 lines
105 B
Bash
6 lines
105 B
Bash
MODDIR=${0%/*}
|
|
cd $MODDIR
|
|
|
|
# Fork-based supervisor for instant restart
|
|
./supervisor ./daemon "$MODDIR" &
|