Skip to content

v1.2.8 — validation hang hotfix

Latest

Choose a tag to compare

@kerneldroid kerneldroid released this 08 Nov 04:11

Release 1.2.8 (hotfix)

Fixed

  • "Validating image…" no longer hangs on heavy GSIs. The pre-install compatibility check used to walk the entire image (and decompress it) before showing the report. Multi-gigabyte sparse, gzip, xz and DSU zip images could sit on an endless indeterminate spinner.
  • Sparse images are now read through a seekable chunk index, so ext4 metadata and build.prop are extracted without decoding the whole image.
  • Sequential analysis (raw/EROFS and compressed containers) is capped by a 20-second budget that is enforced in both the read loop and the underlying stream, including zip entry enumeration.
  • The scan stops as soon as the decision properties (SDK + ABI) are collected.
  • A zip package's system image is analyzed inline instead of inflating the archive twice.
  • Added a guard against streams that return zero bytes forever.
  • The card now shows determinate validation progress instead of an indeterminate bar.
  • A partial scan keeps the declared raw size instead of reporting a truncated image size.

Validation

  • 19 JVM unit tests pass, including new coverage for sparse-image random access, ext4 metadata reads from sparse containers, and budget expiry keeping the declared size.
  • CI build passed; release APK is signed with the project release key.
  • Version bumped to 1.2.8 (versionCode 24); updater metadata updated.

Breaking Changes

  • None.