Repository navigation
DFRoot A36 v4.3.2-ui
·
15 commits
to master
since this release
Root-side status + device-log fixes
The attached log showed two independent problems:
- Patch #2 failed at the first vendor read:
read_vendor at 0x0 short read (4096).splicehelperread modes wrote to fd 0 while the parent listened
on stdout (fd 1), so the helper exited 0 and the parent read zero bytes. - Cleanup then "restored" 5664 bytes of
libbinderdebug.soeven 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.tickupgrades a pre-4.3.1 supervisor even when its legacy heartbeat
is fresh. Previously the healthy fast path skippedlaunchScriptforever,
so/dev/dfroot-statuswas 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
runChainre-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-statusIf 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.