Skip to content

v16 — ⚡ HD-Player integrity patch ~80× faster (byte-identical)

Choose a tag to compare

@Jordan231111 Jordan231111 released this 03 Jun 19:08
· 13 commits to main since this release

Pure performance + safety release — no rooting-behavior or payload changes. Identical inputs → identical outputs, proven byte-for-byte against the original algorithm.

⚡ The HD-Player integrity patch went from ~23 s to under 2 s

It only ever flips 2 bytes — but it used to read, scan, and rewrite the entire ~27 MB HD-Player.exe. Now:

  • Scan ~80× faster — the 6× whole-file anchor scan + the .text CALL;TEST;JZ scan traded ~177 M interpreted byte-steps for native [Array]::IndexOf. Real 27 MB binary: 20,159 ms → 248 ms.
  • Writes 2 bytes, not 27 MB — a FileStream seek patches each site in place instead of rewriting the whole file.
  • Reads the 21 MB single-file .cmd once, not 3× — the orchestrator's self-read is memoized.
  • Zero new dependencies — it all rides the in-box Windows PowerShell / .NET runtime the tool already uses. Nothing to install, nothing from BlueStacks.

🧪 Proven safe, not just claimed

New tests/Run-Patch-Equivalence.ps1 pins a frozen copy of the original algorithm as an oracle and asserts the optimized engine is byte-identical on synthetic PEs and the real HD-Player.exe — same 1675 candidates, same validated site, same patched bytes (including a full-scale re-patch) — and prints the before/after bench. CI is green across the engine, resolver, Magisk, and equivalence suites.

Same update-proof matching as before: dynamic PE parse + the stable CALL;TEST;JZ idiom + "Verified/Failed the disk integrity!" anchor validation. Only how it scans changed — never what it matches.

⬇️ Download blueStackRoot.cmd — one file (~20 MB), real Magisk APK embedded. Nothing else to download.