Skip to content

Releases

v0.7.0

Choose a tag to compare

@LIJTA3U LIJTA3U released this 28 Nov 14:55

sparse-to-raw v0.7.0

main-window-en

Stable release of the v0.7.0 feature line.

Version 0.7.0 expands sparse-to-raw from a Sparse image converter into a broader Android firmware image inspection toolkit while retaining the dependency-free Python CLI and the PySide6 desktop GUI.

Highlights

Android Super Image Inspector and Extractor

  • Inspect Android Dynamic Partitions metadata in RAW and Android Sparse super.img inputs.
  • Validate LP geometry and metadata checksums, inspect primary metadata and fall back to backup metadata when necessary.
  • List logical partitions, groups, slots, and extents; extract selected logical partitions.
  • Use the super-info and super-extract CLI commands or the dedicated GUI tool.

Qualcomm QFIL package preflight

  • Use qfil-validate to inspect a QFIL package without creating output images.
  • Check referenced source files, RAW source ranges, Sparse structure and CRCs, sector ranges, overlaps, planned per-LUN outputs, output-name conflicts, and available disk space.
  • Run the same preflight from the GUI before assembling RAW outputs. Patch instructions are parsed and reported, not executed.

AVB / VBMeta Inspector

  • Inspect standalone VBMeta images and images containing an AVB footer.
  • Review header flags, rollback metadata, public-key fingerprints, and supported Property, Hash, Hashtree, Kernel Cmdline, and Chain Partition descriptors.
  • Compare embedded SHA-256 / SHA-512 digests for supported algorithms.
  • Available through vbmeta-info and the GUI Tools menu.

Android Boot Image Inspector

  • Inspect legacy boot headers v0–v2, generic boot headers v3–v4, and vendor_boot v3–v4.
  • Display component sizes and offsets, OS/build fields, kernel and ramdisk format hints, DTB, recovery DTBO, vendor ramdisk fragments, bootconfig, and structural AVB-footer/VBMeta ranges.
  • Available through boot-info and the GUI Tools menu.

Android Ramdisk Inspector

  • Inventory CPIO entries in boot, init_boot, recovery, vendor_boot fragments, and standalone ramdisk archives.
  • Support CPIO newc / crc, CRC checks, concatenated archives, and built-in decompression for gzip, bzip2, XZ, LZMA-alone, and LZ4 frame / legacy streams.
  • Search paths, filter entry categories, preview text and HEX data, inspect UID/GID, export JSON, and safely extract selected paths or the complete archive.
  • Compare two text configuration files side by side in the GUI, highlighting added, deleted, and modified lines.
  • Available through ramdisk-info, ramdisk-extract, and the GUI Tools menu.

GUI and release engineering

  • Keep the main toolbar compact, with less-frequently used tools grouped in the Tools menu.
  • Run long inspection and extraction tasks in background workers with progress and cancellation where supported.
  • Build standalone Windows CLI, one-file GUI, and folder-based GUI packages with a SHA-256 manifest through GitHub Actions.

Windows downloads

The GitHub Release contains:

  • sparse-to-raw.exe — standalone command-line utility.
  • sparse-to-raw-gui.exe — standalone one-file GUI application.
  • sparse-to-raw-gui-windows.zip — folder-based GUI package. Extract the complete archive and keep its directory structure intact.
  • SHA256SUMS.txt — SHA-256 checksums for the three application packages.

The packaged Windows applications do not require Python or PySide6 to be installed separately. For normal GUI use, the folder-based ZIP package is recommended.

Compatibility validation scope

  • Sparse-to-RAW output was compared byte-for-byte with AOSP simg2img.exe on two real factory images: Blackview super.img and Google Pixel userdata_exp.ai.img; both comparisons matched.
  • Super Image inspection and extraction were exercised on Blackview RAW and factory Sparse super.img inputs through both CLI and GUI, with extracted partition SHA-256 values matching between the interfaces.
  • A synthetic multi-extent Super Image fixture covers logical partitions whose extents are physically separated.
  • These checks cover specific inputs and workflows; they are not comprehensive certification for every Sparse producer, Android device, firmware, or Dynamic Partitions layout.

Known limitations

  • Super Image LP metadata versions 10.0–10.2 are supported. Extraction currently requires linear extents to reference block device index 0; multi-image retrofit layouts and arbitrary super_* sets are not supported.
  • The VBMeta Inspector checks supported embedded digests and parses metadata, but does not verify RSA signatures, establish trusted-key authenticity, or compare rollback state with a device.
  • The Boot Image Inspector is read-only. It does not unpack kernel or ramdisk payloads and does not verify AVB signatures.
  • Ramdisk inspection supports CPIO newc / crc. Zstandard and LZO/lzop signatures are detected but those streams are not decompressed in the dependency-free build. Symlinks and special device/socket/FIFO entries are reported in manifests rather than created; ownership, timestamps, directory permissions, SELinux labels, and capabilities are not restored.
  • Ramdisk configuration comparison is limited to text files up to 256 KiB per file; binary and truncated inputs are rejected.
  • QFIL Patch commands are analyzed and reported, not replayed.
  • The application processes files only. It does not flash devices or communicate with connected phones.

For critical firmware workflows, independently verify output images before using them.

sparse-to-raw v0.6.0

Choose a tag to compare

@LIJTA3U LIJTA3U released this 15 Nov 19:58

sparse-to-raw v0.6.0

2026-11-15_22-56-35-Photoroom

Stable release of the v0.6.0 feature line.

Highlights

  • Streaming conversion from RAW to Android Sparse v1.0 with RAW, FILL, and DONT_CARE chunks, CRC32, optional SHA-256, cancellation, and JSON reports.
  • Logical RAW/Sparse comparison without intermediate RAW files, including first-difference offsets and logical SHA-256 hashes.
  • Standalone Sparse Validator for headers, chunk layout, block accounting, CRC32 checkpoints, image checksum, and trailing data.
  • Reusable JSON Batch Profiles for mixed Sparse → RAW, RAW → Sparse, and QFIL queues.
  • Qualcomm QFIL XML analysis and RAW assembly by physical partition. Patch commands are reported but not executed.
  • Structured JSON reports for conversion, output verification, validation, comparison, QFIL, and batch operations.
  • English/Russian CLI and GUI.

Windows downloads

The GitHub Actions Windows workflow builds and attaches:

  • sparse-to-raw.exe — standalone CLI.
  • sparse-to-raw-gui.exe — standalone GUI executable.
  • sparse-to-raw-gui-windows.zip — folder-based GUI package. Extract the complete folder and keep its directory structure intact.
  • SHA256SUMS.txt — SHA-256 checksums for the three application packages.

The packaged application was confirmed to run on a Windows computer without Python installed.

Compatibility validation scope

Byte-for-byte comparison against simg2img.exe was performed on two real Android Sparse images: Blackview factory super.img (approximately 3.6 GB) and Google Pixel factory userdata_exp.ai.img (approximately 6.83 GB). Both comparisons matched. This is a limited validation sample and does not certify every vendor-specific Sparse variant or firmware layout.

Android Dynamic Partitions (super) containers and arbitrary multi-file super_* layouts are outside the tested scope. The 4PDA discussion, posts #5464–#5481 describes a ten-file Vivo V70 Elite super layout and explains why it must not be blindly concatenated with copy /b or assumed to be one standalone Sparse v1 file. This case has not been tested with sparse-to-raw.

Safety and limitations

  • The utility processes files only. It does not flash devices or communicate with connected phones.
  • QFIL patch commands are parsed and included in reports, but they are not executed.
  • --merge-parts is for independent, valid Sparse v1 inputs; it is not a Dynamic Partitions parser or arbitrary split-container reconstruction tool.
  • For critical firmware work, independently verify output images before use.

sparse-to-raw v0.6.0-rc1

Pre-release

Choose a tag to compare

@LIJTA3U LIJTA3U released this 13 Nov 17:16

sparse-to-raw v0.6.0-rc1

This release candidate consolidates the v0.6.0 feature line for final testing.

Highlights

  • Streaming conversion from RAW to Android Sparse v1.0 with RAW, FILL, and DONT_CARE chunks, CRC32, optional SHA-256, cancellation, and JSON reports.
  • Logical RAW/Sparse comparison without creating intermediate RAW files, with first-difference offsets and logical SHA-256 hashes.
  • Standalone Sparse Validator for headers, chunk sizes, block accounting, CRC32 checkpoints, image checksum, and trailing data.
  • Reusable JSON Batch Profiles for mixed Sparse → RAW, RAW → Sparse, and QFIL queues.
  • Qualcomm QFIL XML analysis and RAW assembly by physical partition. Patch commands are reported but not executed.
  • Structured JSON reports for conversion, verification, validation, comparison, QFIL, and batch operations.
  • Bilingual English/Russian CLI and GUI.

Windows downloads

The Windows release workflow builds and attaches:

  • sparse-to-raw.exe — standalone CLI.
  • sparse-to-raw-gui.exe — standalone GUI.
  • sparse-to-raw-gui-windows.zip — folder-based GUI package.
  • SHA256SUMS.txt — SHA-256 checksums for the three application packages.

The GUI ZIP must be extracted as a complete folder. The CLI and GUI binaries are built and smoke-tested by GitHub Actions on Windows; the executables are not part of the source archive.

Important notes

  • Python 3.10+ is required when running from source. The CLI uses only the Python standard library; the GUI requires PySide6.
  • The utility processes files only. It does not flash devices or communicate with connected phones.
  • QFIL patch commands are parsed and reported, not executed.
  • This is a release candidate. Please report regressions before the stable v0.6.0 release.

sparse-to-raw v0.5.0

Choose a tag to compare

@LIJTA3U LIJTA3U released this 02 Nov 13:09

A major update focused on automation, output verification, diagnostics, and improved Android Sparse Image inspection.

What's new

Automatic Sparse Part Discovery

  • Automatically discover independent Sparse parts in a selected directory.
  • Sort chunk indices numerically.
  • Detect missing and duplicate indices.
  • Validate headers and block-size compatibility before merging.

Preflight Validation

  • Check available disk space before conversion.
  • Validate input and output paths.
  • Check write permissions and temporary-file availability.
  • Detect conflicting input and output paths.
  • Estimate storage requirements for batch conversion and merging.

RAW Output Verification

  • Re-read the generated RAW output.
  • Verify the actual output size.
  • Calculate and compare SHA-256 hashes of logical RAW contents.
  • Preserve existing destination files when verification fails.

Advanced Task Queue

  • Reorder queued tasks using drag and drop.
  • Pause and resume the queue between tasks.
  • Cancel or skip individual tasks.
  • Retry selected failed tasks.
  • Filter tasks by status.
  • Monitor overall queue progress.

Diagnostic Center

  • Structured local operation logs.
  • Filters by severity and operation category.
  • Search through diagnostic events.
  • Export privacy-conscious diagnostic ZIP reports.
  • System and runtime information.

Sparse Structure Viewer

  • Inspect RAW, FILL, DONT_CARE, and CRC32 chunks.
  • View chunk indices, file offsets, output offsets, and sizes.
  • Search and filter chunk records.
  • Inspect chunk details.
  • Export complete structure data to CSV and JSON.
  • Background processing with progress reporting and cancellation.
sparse-structure-viewer

GUI Improvements

  • Russian and English operation log messages.
  • Improved Windows taskbar application icon.
  • Refined frame rendering and smoother left-side corners.
  • Preserved the existing dark futuristic interface.

Downloads

  • sparse-to-raw.exe — standalone CLI.
  • sparse-to-raw-gui.exe — standalone Windows GUI.
  • sparse-to-raw-gui-windows.zip — recommended GUI package.

The GUI ZIP contains the application and bundled dependencies. Extract it and run sparse-to-raw-gui.exe.

Testing

The release development was validated with 100 automated core and GUI tests, along with Windows executable smoke tests.

Notes

This project is experimental. Independently verify outputs before using them for critical operations.

Source code: https://github.com/LIJTA3U/sparse-to-raw

Documentation: https://github.com/LIJTA3U/sparse-to-raw#readme

main-window-en

sparse-to-raw v0.4.0

Choose a tag to compare

@LIJTA3U LIJTA3U released this 25 Oct 15:46

What's new

  • English and Russian GUI with persistent settings and recent files.
  • Configurable speed units: MB/s, MiB/s and Mbit/s.
  • Sparse image inspection, validation and JSON reports.
  • Sequential batch conversion queue.
  • Visual merging of independent Sparse parts with manual ordering.
  • Application icon, improved progress reporting and diagnostics.
  • Streaming CLI converter with checksum validation.

Windows downloads

  • sparse-to-raw-gui-windows.zip — recommended package. Extract the ZIP and run sparse-to-raw-gui.exe.
  • sparse-to-raw-gui.exe — standalone executable, if included in the build.

Main window of sparse-to-raw GUI

sparse-to-raw-gui-eng

sparse-to-raw v0.3.0 — GUI Edition

Pre-release

Choose a tag to compare

@LIJTA3U LIJTA3U released this 18 Oct 16:16
40ccc6e

sparse-to-raw v0.3.0 — GUI Edition

Первый релиз графического интерфейса для конвертера Android Sparse Image в RAW.

Добавлено

  • Футуристический настольный интерфейс на PySide6 с тёмной темой, бирюзовыми акцентами и жёлтой геометрической рамкой.
  • Выбор входного Sparse-образа и выходного RAW-файла через графический интерфейс.
  • Перетаскивание файлов в окно приложения.
  • Отображение прогресса конвертации, статистики и журнала операций.
  • Фоновая обработка файлов, чтобы интерфейс оставался отзывчивым.
  • Сборки для Windows: отдельный EXE и ZIP-пакет с приложением и необходимыми библиотеками.

Главное окно sparse-to-raw GUI
sparse-to-raw-gui png

Сохранено

  • Работа через командную строку (CLI).
  • Проверки структуры Sparse-образа и контрольных сумм.
  • Потоковая обработка больших файлов.
  • Защита существующего выходного файла от случайной перезаписи.

Тестирование

Автоматические тесты ядра и GUI smoke-тесты GitHub Actions успешно пройдены.

Примечание

GUI — новая часть проекта. Перед обработкой важных образов рекомендуется сначала проверить их целостность и убедиться, что для выходного файла достаточно места.

sparse-to-raw v0.2.0

sparse-to-raw v0.2.0 Pre-release
Pre-release

Choose a tag to compare

@LIJTA3U LIJTA3U released this 17 Oct 16:37

Новые функции из CHANGELOG.md