Skip to content

DFRoot A36 v4.3.1-ui

Choose a tag to compare

@github-actions github-actions released this 28 Nov 10:39
· 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, not absent; the mutex remains a direct stat.
  • PostRoot.heartbeatFresh() uses the published status, so the keep tick stops
    paying a su launch 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-status

If the file is missing, start the keeper explicitly:

am start-foreground-service -n df.root/.KeepService

Not tested on hardware.