NEW IN v1.2 (development version): navigation bar, SystemUI size, Recents spacing and status-bar clock/traffic patches · ROCO K706 platform · renamed AHU-StockMod
AHU-StockMod v1.2-dev
(formerly QCM6125-BUILDER)
Build your own modified, signed OTA for the XTRONS IQP94M245P / HCT LF2 and other HCT QCM6125 head units (Android 13) – offline, from the stock update.zip, with a guided text interface. v1.2 also opens ROCO K706 packages (UNISOC, Android 10).
What is this?
A single-file Linux tool that takes the stock update.zip and produces a flash-ready update.zip with exactly the apps and patches you choose. No Android build tree, no manual image editing. For QCM6125 it never writes to the device; the K706 install step is the only place where it does, with a confirmation for every action. It never touches the MCU.
What is new in v1.2
- Navigation bar size – keys 120 dp instead of 80 dp, icons 44 dp instead of 32 dp. Tried on a unit: works.
- SystemUI size – status-bar clock 22 sp instead of 14 sp, Quick Settings with 3 columns and bigger tiles. Tried on a unit: works.
- Recents spacing –
roomy (more air, bigger touch targets) or tight. Tried on a unit: roomy works. - Status-bar extras – clock with weekday or date, optional network-traffic readout (down/up per second). Applied only if the stock SystemUI APK matches. Tried on a unit: weekday + traffic readout works.
- Split-screen gate – switches on the HCT split-screen flag on panels where stock has it off. On my unit it was already on, so it changes nothing there.
- Recents grid and Settings patches made at build time – the tool applies them to the stock APK of your own firmware (checked by SHA-256, same signing key as the stock app) instead of shipping modified manufacturer APKs. The status-bar patch files are still shipped.
- ROCO K706 platform – the same interface opens a K706 block-OTA update.zip: debloat with Universal Android Debloater hints, a package signed with your own keys, offline verification, bootstrap (own recovery + vbmeta, readable from your unit over ADB) and an install step. Verified offline; the install step has run against a simulated unit.
- Interface and project – key bar and confirmations, no redraw while idle, cleaning of config and cache from the start page, in-app license status, renamed to AHU-StockMod, GPL-3.0-or-later.
- Not working and removed after testing: a smaller volume dialog and more volume steps (the HCT volume UI and the MCU use their own 0–30 scale).
- Known issue: in about one of four boots SystemUI crashes once at startup (NaN translationZ in the stock notification code, also without these patches) and restarts by itself.
- All v1.2 patches are off by default. The full list is in CHANGELOG.md.
What was new in v1.1
- Firmware profiles per brand – the tool recognises a package by the build fingerprint in its OTA metadata and tells you, before anything is extracted, what it is and whether it fits your unit: supported build profile, experimental or analysis only.
- Dasaita and M.I.C. profiles – Dasaita G13 (zst27_sc138_13, 20260811, V1 and V2.1) and the M.I.C. Snapdragon 665 line (Android 13: V1, V1 without MFI chip, V2, V2.1) can be built for units of the same brand and the same device version. M.I.C. Android 12 and 10 packages are recognised and analysed only. XTRONS LF2 V1 (20260430) has an experimental profile as well.
- Your unit first – the first step asks for your manufacturer and device version (Settings → About, the suffix of the build number, for example V2 or V2.1). Cross-brand builds are off: keep your own brand and generation and optimise that.
- Analysis from the command line –
python3 ahu-stockmod-v1.2-dev.pyz analyze update.zip --unit "M.I.C." --unit-version V2 opens any HCT QCM6125 update.zip without extracting it and reports build, device version, /data layout, customer layer and partition budget. - Magisk boot from your own boot.img – for experimental firmware, Magisk boot and vbmeta are created from the package's own boot image (checked against the LF2 reference), not taken from a prebuilt file.
- Patches only where they fit – the patched Launcher3QuickStep and Settings are applied only if the stock APK is byte-identical to the one they were made for; otherwise they switch off automatically (n/a on this firmware). Overview scaling, Vulcan, HCT Tools, root visibility and Magisk work on every profile.
- Root visible to apps in the image –
/system/xbin is set to mode 0755 (the stock image has 0750, so apps like Shizuku could not find Magisk's su). - Safer debloat – the system file picker (DocumentsUI) is now protected: without it apps crash when they open or import files. Customer apps of other brands are mapped to their LF2 counterparts, so descriptions, risk ratings and protection also work there.
- TUI – new layout engine (nothing is cut off on small terminals), shorter Inputs step, risk wording in the package lists, and much faster key response.
- Smaller bundle – 121 MiB instead of 143 MiB; helper files are unpacked to
~/.cache/qcm6125-builder (v1.2: ~/.cache/ahu-stockmod).
Highlights
- One file + your update.zip – put
ahu-stockmod-v1.2-dev.pyz and the stock update.zip in one folder, run it, done. Everything else is bundled. - Guided TUI in four steps: Inputs → Debloat → Patches → Review & Build, with grouped lists, a detail panel, a risk/stage filter and a live build log. Wide terminals get a master-detail layout.
- Debloat with explanations – all app folders of the image (185 on LF2), each with a short description, the size on disk, and a risk rating (SAFE / FEATURE / RISK / REQUIRED, modelled after the Universal Android Debloater levels, rated by hand – not taken from the UAD database; guessed entries are marked “(?)”). The header shows how many apps you remove and the estimated space you free.
- Package lists – mark many apps at once: Telephony, SIM/eSIM, NFC, Google apps, Google services, head-unit multimedia, cameras, utilities, printing, wallpapers, Qualcomm telemetry, factory tools, backup, phone projection, optional hardware (cameras, TPMS, CD/DVD, TV tuner, iPod, fan, AV-IN, NFC) and the risk lists. The filter lists originate from Universal Android Debloater Next Generation; the descriptions and risk ratings for this firmware were reviewed and maintained separately for this tool.
- Safety net – core head-unit apps (launcher/recents, SystemUI, Settings, HCT manager, CAN bus, DSP/amplifier setup, Bluetooth phone and music, radio, system file picker, package installer, WebView, keyboard, network stack, …) are flagged and the build asks for an explicit confirmation before they are removed. Important apps (browser, file manager, maps, Play services, gallery, …) get a hint with recommended alternatives. Per-app notes explain side effects (for example: “remove Play services only together with GSF and Play Store”).
- Your own APKs – drop extra APKs into the same folder; the tool detects them (package name via aapt2, arm64 check) and preinstalls them into the ROM. HCT Tools offers them after the first boot – nothing installs silently.
- Patches (switchable) – Recents grid (options: big main tile on/off, always-visible close-all button), overview scaling overlay, Settings with the Developer options tile always visible, root visible to apps, Vulcan launcher as replacement home screen, HCT Tools (installer + built-in English manual of the HCT firmware research), Magisk boot (root daemon).
- Magisk root – the Magisk app can be preinstalled optionally; root is exposed through
/system/xbin/su for apps such as Shizuku. Magisk root plus Zygisk work on the tested IQP94M245P. - Checks you can rely on – dynamic-partition size budget (the group limit from the stock manifest, 6140 MiB on these firmwares) is enforced; every file written into the images is read back and compared; payload signature, hashes and the AVB chain are verified; the finished update.zip is signed.
- Clean output – the output folder contains only
update.zip, build.log and verify.json.s
Supported firmware
Supported build profile (tested on a device): XTRONS LF2 SC138 V2_13 (20260717) – build fingerprint Doro/S10A/QCM6125:13/S10A_123/eng.hct.20260717.154837:userdebug/release-keys.
Experimental (built and verified offline, not flashed by me; you confirm this in the tool before it builds, and only for a unit of the same brand and device version):
- XTRONS LF2 SC138 V1_13 (20260430)
- Dasaita G13 zst27_sc138_13 V1 and V2.1 (20260811)
- M.I.C. Snapdragon 665, Android 13: V1 (20260305), V1 without CarPlay/MFI (20260116), V2 (20260309), V2.1 (20260305)
Analysis only: M.I.C. Android 12 (20240411) and Android 10 (20220518).
ROCO K706: QF001 Jitu2 version 16.10.2026 is the reference package (verified offline, see Status).
Everything else is rejected before building. The MCU is never touched, and the tool does not build cross-brand packages.
What the device version means
The device version (V1 / V2 / V2.1) identifies the firmware generation, not just the /data layout. Comparing the boot-related partitions (xbl, tz, rpm, devcfg) of the packages shows:
- V1 = XTRONS V1 = Dasaita V1 = M.I.C. V1 (same tz/rpm,
/data is f2fs + file-based encryption). - V2 = XTRONS V2 = M.I.C. V2 (f2fs + FBE). V2.1 = Dasaita V2.1 = M.I.C. V2.1 (
/data is plain ext4). - V2 and V2.1 share the boot firmware; V2.1 is the ext4 variant of generation 2. Going from V2 to V2.1 would reformat
/data, and the HCT updater check (“Device version (V2) does not match update package version (V2.1)”) rejects exactly that. - tz/rpm are identical across brands within one generation. The dtbo is hardware (audio and pinctrl nodes differ between brands) and is always taken from your own stock.
The Android layer of all these packages is the same HCT build (same 13 partitions, same dynamic-partition group, same vendor base, Android 13 on an Android 11 vendor). Only the customer layer differs: launcher, Bluetooth, radio, music and DSP apps, the customer id, the kernel build and the MCU family. That is why the tool maps those customer apps to their LF2 counterparts. Packages of another brand are not built; the HCT updater and recovery check device version and customer and reject incompatible packages anyway.
Compatibility / other XTRONS models
Tested:
- XTRONS IQP94M245P – HCT firmware LF2 SC138 V2_13 (20260717) (QCM6125, Android 13 on an Android 11 vendor base)
Reportedly the same Android firmware, not tested by me: according to firmware-request replies attributed to XTRONS support in the XTRONS Facebook group, the same Android package was supplied for these models:
- IQ92MTVP
- IQ94MTVP
- IQP9253BP
- IQ84A3AP
- IQP12ACHLP
- TIQ742P
This points to a shared HCT/QCM6125 software branch. It does not prove that the MCU firmware is interchangeable, and the tool never touches the MCU. Before you build, check that your unit reports the same fingerprint as above; the tool tells you what it recognised.
Requirements
- Linux x86_64 with glibc ≥ 2.17 (Arch/CachyOS tested; Ubuntu 22.04+, Debian 11+, Fedora should work; Alpine/musl and ARM are not supported)
- Python ≥ 3.9 (with curses, lzma, bz2), e2fsprogs (debugfs, e2fsck, resize2fs, dumpe2fs), Java ≥ 11
- ~12 GiB free disk space (an Android 13 package needs roughly 6–9 GB unpacked); helper files are cached in
~/.cache/ahu-stockmod (about 215 MB) - A terminal with true colour (for example Konsole, kitty, GNOME Terminal) shows the full theme; other terminals use a 256-colour approximation (
QCM_COLORS=256 forces it).
The tool checks all of this itself and prints the install command for your distro.
How to use
mkdir ~/rom && cd ~/rom
cp /path/to/ahu-stockmod-v1.2-dev.pyz .
cp /path/to/update.zip . # the stock update.zip of your unit
cp my-extra-app.apk . # optional: apps to preinstall
python3 ahu-stockmod-v1.2-dev.pyz
- Inputs – check your manufacturer and device version (
m, v), press e to extract the update.zip; the firmware verdict, dependencies and your extra APKs are checked (a shows the APK list). Experimental firmware needs x to confirm. - Debloat –
Space toggles an app, Tab switches the stage filter, f the risk filter, l opens the package lists. - Patches – switch patches, the Recents options and your APKs on/off. A K706 package gives six steps (Inputs, Debloat, Patches (off), Review & Build, Bootstrap, Install).
- Review & Build – read the warnings, confirm critical apps with
c if needed, press Enter to build (d shows the full lists). About 3–5 minutes on a modern PC.
The result is out/<profile>/update.zip. There is also a plain CLI (analyze, plan, check, build, sizes, …) – python3 ahu-stockmod-v1.2-dev.pyz --help.
Flashing
- Copy
update.zip to the root of a FAT32 USB stick (the file must stay below 4 GB) and install it from recovery (Apply update from SD card or USB). - Keep the original update.zip of your unit; it is the way back.
- Recovery access when stuck in a bootloop is described in the HCT Tools manual (RST pinhole method).
Status
v1.2: navigation bar size, SystemUI size, Recents spacing and the status-bar extras were tried on my XTRONS unit as Magisk modules (one variant each); a complete v1.2 image has not been flashed yet. K706 is verified offline.
The generated update.zip is built and verified offline (payload signature, AVB chain, filesystem check, read-back of every written file). On my IQP94M245P I flashed a ROM built with this tool from a USB stick in recovery (with a data wipe): it boots, Magisk root and Zygisk work, and the preinstalled apps and the Recents changes work.
- Only the XTRONS LF2 SC138 V2_13 build has been tested on a device. The experimental profiles (XTRONS V1, Dasaita, M.I.C.) were built and checked offline only; the Magisk preinit device of other brands is taken from the XTRONS value.
- Signed with the AOSP test keys, like the stock package (same OTA certificate as the stock).
- The default result is not identical to the preinstalled set of the stock; you choose what is removed and what is added.
- Rating and description of the apps are my own assessment from names and general Android/Qualcomm knowledge – “(?)” means guessed. Please report wrong entries.
What is in the bundle / third-party components
- Android host tools (avbtool, fec, aapt2, signapk) and AOSP test keys
- Magisk (boot image tooling with the Magisk daemon, plus the Magisk app as an optional preinstalled app)
- Vulcan launcher (replacement home screen)
- HCT Tools (own app: installer + manual, English)
- Patch files for the status-bar extras (modified HCT SystemUI classes); the Launcher3QuickStep and Settings patches are applied to your own stock APK at build time
All third-party parts keep their own licenses.
Download
Firmware downloads
Dasaita G13 (zst27_sc138_13, 20260811) – stock packages (Dropbox, update.zip):
M.I.C. Snapdragon 665 Stock packages for the M.I.C. profiles above, from the manufacturer's update page (https://www.mic-autoradio.com/pages/updates, section “QCM 6125 / Snapdragon 665”). The ZIPs are wrappers: unpack them and use the update.zip inside. Choose the version that matches your unit (Settings → About → tap the build number three times shows V1 / V2 / V2.1).
The manufacturer's own notes apply: the Android 12 package is only for units that already run Android 12, and Android 13 V1 needs Android 12/13 firmware from 2024 or later. I only analysed these files; the builder never flashes anything.
ROCO K706 (QF001, UNISOC UIS7862S, Android 10)
XTRONS
- LF2 SC138 V2_13 (20260717) – the tested firmware: download