Skip to content

Releases

v4.5.0-adb

Choose a tag to compare

@tsuchinaka tsuchinaka released this 03 Dec 10:40

DFRoot A36 v4.5.0-adb (versionCode 39), arm64 only.

  • One persistent crash_dump64/splicehelper process handles the whole vendor patch pass over three pipes instead of forking and exec'ing the helper twice per 4 KB chunk.
  • ViewModel batches log lines, state writes and log-file appends on a dedicated writer thread.
  • BootId is cached; Probes.prop uses SystemProperties.get when available; runAndRead drains chatty children; unchanged supervisor scripts are left alone.
  • New Open on unlock option brings DFRoot to the front on unlock/wake. The root supervisor grants SYSTEM_ALERT_WINDOW for the background-start exemption.
  • SHA-256: 9ccab2720ac65d8bde76d9d1514b45eadc51911b9245218cd0580df4fe0fa9f7
  • Build and unit tests passed locally; this revision was not tested on hardware.

DFRoot A36 v4.4.1-adb

Choose a tag to compare

@github-actions github-actions released this 29 Nov 22:58

Full Changelog: v4.4.0-sim...v4.4.1-adb

DFRoot A36 v4.4.0-sim

Choose a tag to compare

@github-actions github-actions released this 29 Nov 22:40

Full Changelog: v4.3.4-ui...v4.4.0-sim

DFRoot A36 v4.3.4-ui

Choose a tag to compare

@github-actions github-actions released this 28 Nov 19:19

Full Changelog: v4.3.3-ui...v4.3.4-ui

DFRoot A36 v4.3.3-ui

Choose a tag to compare

@github-actions github-actions released this 28 Nov 18:49

Full Changelog: v4.3.2-ui...v4.3.3-ui

DFRoot A36 v4.3.2-ui

Choose a tag to compare

@github-actions github-actions released this 28 Nov 10:58

Root-side status + device-log fixes

The attached log showed two independent problems:

  1. Patch #2 failed at the first vendor read: read_vendor at 0x0 short read (4096). splicehelper read modes wrote to fd 0 while the parent listened
    on stdout (fd 1), so the helper exited 0 and the parent read zero bytes.
  2. Cleanup then "restored" 5664 bytes of libbinderdebug.so even though no
    original bytes had been read, writing uninitialized heap data. That restore
    path is now guarded by the actual saved-byte count.

Also fixed:

  • PostRoot.tick upgrades a pre-4.3.1 supervisor even when its legacy heartbeat
    is fresh. Previously the healthy fast path skipped launchScript forever,
    so /dev/dfroot-status was never published and every new row stayed unknown.
  • An Upgrade supervisor button appears when the root side is unpublished
    and su answers.
  • The primary button is disabled while root is live, and runChain re-probes
    before running the exploit, so another manual run cannot patch an already
    rooted kernel.

Install

Install in place, then reboot once. The reboot clears the vendor page cache
that 4.3.1 may have corrupted during the bad restore.

After reboot, open the app. If su is live and the root-side card is still
unknown, tap Upgrade supervisor; the keeper also upgrades automatically
within two minutes. The status line is:

adb shell cat /dev/dfroot-status

If su is dead, let the boot chain run: patch #2 now reads the vendor chunk from
the pipe the parent actually listens on.

Not tested on hardware beyond the supplied log. CI build/tests/artifact checks
passed.

DFRoot A36 v4.3.1-ui

Choose a tag to compare

@github-actions github-actions released this 28 Nov 10:39

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.

DFRoot A36 v4.3.0-ui

Choose a tag to compare

@github-actions github-actions released this 25 Nov 10:39

UI wave

  • Home surfaces the chain state from root-stage: rooted, needs-reboot,
    no-allowlist, stalled, or a live retry countdown.
  • A root-side card reports heartbeat age, supervisor, watchdog, kernel module,
    exploit mutex and boot scripts.
  • Run card: real phase text plus a live elapsed timer. Last pass: rc, duration,
    action.
  • Actions: confirmed reboot on needs-reboot; manager deep link and copy-su on
    no-allowlist.
  • Auto-root intent is mirrored to device-protected storage and the supervisor
    honours it, so toggling it off is not undone every two minutes.
  • Bottom navigation, whole-row switches, status colour tokens, log severity
    colours and per-pass dividers.
  • Diagnostics includes chain, root side, KG last and sup.log.

Not tested on hardware. The root-side card in this release had a false-negative
bug fixed by 4.3.1: the app process could not read root-owned paths and rendered
SELinux denial as "absent".

DFRoot A36 v4.2.0-persist

Choose a tag to compare

@github-actions github-actions released this 25 Nov 09:50

Boot persistence hardening: the chain can now re-enter stage 2 after a
failed pass in the same boot, stale /dev/dfm* markers no longer poison
later retries, and the keep service runs in its own process with a
root-side supervisor plus an independent watchdog.

Native

  • libc.S drops the /dev/df mutex on every hard stage-2 failure and
    treats finit_module -EEXIST as loaded.
  • exp.c snapshots marker ctimes before the trigger, reads each chunk
    once for retries, forks instead of clone(CLONE_VM|CLONE_VFORK), and
    restores crash_dump64 and libbinderdebug.so after the chain.

App

  • File-locked chain claim across processes; KeepService in :chain.
  • BootChain uses tryLock, a bounded 60 s mutex wait, needs-reboot and
    no-allowlist states, and a slow backoff after repeated failures.
  • Supervisor v2 re-enables its own components, clears a force-stopped
    package, and clears a poisoned mutex when su is dead.
  • KG pass moved off the keep tick.
  • RootReceiver queues the pass instead of running it in a broadcast.

Not tested on hardware. Chain B (CVE-2026-43499) is not included.

c005e55ef079a9ce5e432deae149b3b6ca750a4ebf45b7f01ac01f5fe20964cf dfroot.apk

DFRoot A36 v4.1.0-perf

Choose a tag to compare

@tsuchinaka tsuchinaka released this 24 Nov 10:38

Internal performance build for SM-A366E.

  • Native patching keeps 4 KB page-cache references per chunk and reuses one datagram pipe, cutting crash_dump helper execs from one per 16-byte block to a few per chunk.
  • Stage 2 reports ksud exec success/failure through a CLOEXEC status pipe instead of a fixed wait.
  • JNI validates key sizes, ICV length, port, socket type, path length and uses MFD_CLOEXEC.
  • UI probes only while visible, reuses a fresh root heartbeat for five minutes, caches manager/KG/last-pass state and moves log I/O off the main thread.
  • Keep service stops when auto-root is off and root is dead; duplicate chain requests are coalesced.
  • Logs rotate at 512 KB and the log view renders lazily.
  • Native and Java metrics counters are included in diagnostics.
  • versionCode 30, versionName 4.1.0-perf.

APK is re-signed with the existing DFRoot A36 key so it updates over v4.0.0-kg.
SHA-256: cd07f6c09b7e5fdee2601c6332fbfc2e584ddb1c1a3ce864c0f695ee760e790d

No hardware validation: the device was not connected.