Skip to content

BINARIES

github-actions[bot] edited this page Nov 26, 2026 · 3 revisions

Languages: English | العربية | Čeština | Deutsch | Español | فارسی | Français | हिन्दी | Bahasa Indonesia | Italiano | 日本語 | 한국어 | Nederlands | Polski | Português | Русский | Svenska | ไทย | Türkçe | Українська | Tiếng Việt | 中文


Languages: English · العربية · Čeština · Deutsch · Español · فارسی · Français · हिन्दी · Bahasa Indonesia · Italiano · 日本語 · 한국어 · Nederlands · Polski · Português · Русский · Svenska · ไทย · Türkçe · Українська · Tiếng Việt · 中文


Bundled binaries: provenance and auditing

Principles

  • Nothing opaque ships. Every bundled binary is fetched at build time from its official upstream, never pulled from a device, and every file carries a sha256 so the payload can be reproduced.
  • Binaries are bundled for all four ABIs (arm64-v8a, armeabi-v7a, x86, x86_64), the flash installer prunes to the device's one.
  • They run standalone: each binary's shared-library closure is shipped alongside and the engine sets LD_LIBRARY_PATH to the bundled lib/, so there is no dependency on Termux being installed.

What ships, and from where

Binary From Why
jq (+ lib/) the Termux package repository (packages.termux.dev/apt), official .deb the engine speaks JSON; jq parses args and builds replies.
abx2xml / xml2abx rhythmcache/android-xml-converter release decode/encode Android binary XML (ABX) for the packages.xml install-source spoof, where the device lacks /system/bin/abx2xml (pre-A12). The device's own converter is preferred when present.
vdlu/verify/<abi>/ed25519-mini the canonical VDLiveUpdate engine verify the ed25519 signature on flashless (VDLU) updates, without OpenSSL.

The build step is .github/scripts/build_bin.sh: it resolves the Termux package plus its transitive dependencies, extracts the .debs, copies the wanted binaries and the shared-library closure each one needs (resolved with readelf), then fetches the standalone ABX converter.

The on-device manifest: PROVENANCE.json

Each bin/<abi>/ carries a PROVENANCE.json listing every shipped file (path, size, sha256) and the upstream source of each (package, version, URL, archive sha256). It survives the on-device ABI prune, so the audit trail ships with the module itself.

How to verify

  1. Open bin/<abi>/PROVENANCE.json on the device or in the flashable zip.
  2. Re-fetch each pinned source from the URL it records.
  3. Extract and compare the sha256 of each file against the manifest.

The flashable zip additionally carries a .sha256 companion next to every shipped file, customize.sh verifies them at flash time and aborts on any mismatch (a corrupted or truncated zip).

Reporting

Found a mismatch or a provenance concern? Report it privately - see SECURITY.md.


This documentation was generated with Claude (Anthropic) and is maintained by VD171. Corrections and improvements are welcome, see CONTRIBUTING.md.

Clone this wiki locally