Repository navigation
DFRoot A36 v4.3.1-ui
·
18 commits
to master
since this release
Root-side status fix
The card probed /data/dfroot, /data/adb and /sys/module from the app
process. SELinux denies those paths to untrusted_app, so a healthy supervisor
read as absent and the heartbeat as stale. Only /dev/df was readable.
- Supervisor publishes one atomic line to
/dev/dfroot-status: boot id, uptime
heartbeat, supervisor/watchdog pids, scripts/module/mutex/su flags. - Missing state is
unknown, notabsent; the mutex remains a direct stat. PostRoot.heartbeatFresh()uses the published status, so the keep tick stops
paying asulaunch every cycle merely because it cannot read the old file.- App updates kill the old versioned supervisor and start the new one.
- Diagnostics includes the published flag and raw status line.
After installing, open the app and wait 15-30 seconds. If the card still says
unknown while su -c id works, check as root:
cat /dev/dfroot-statusIf the file is missing, start the keeper explicitly:
am start-foreground-service -n df.root/.KeepServiceNot tested on hardware.