r/Androidheadunits • u/InvalidLength • 1h ago
[TOOL][QCM6125][A13] QCM6125-BUILDER v1.0 — Debloat, Patch & Build Signed OTAs

Build your own modified, signed OTA for the XTRONS IQP94M245P / HCT LF2 and other (QCM6125, Android 13) – offline, from the stock update.zip, with a guided text interface.
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. It never touches the device and never touches the MCU.
Highlights
- One file + your update.zip – put
qcm6125-builder.pyzand the stockupdate.zipin 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 185 app folders of the image, 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 is refused until you explicitly confirm. Important apps (browser, file manager, maps, Play services, gallery, …) get a warning 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 (
/system/xbinmode 0755, so apps like Shizuku can find Magisk'ssu), Vulcan launcher as replacement home screen, HCT Tools (installer + built-in English manual of the HCT firmware research), Magisk boot (root daemon). - Magisk root – v1.0 uses prebuilt Magisk boot/vbmeta inputs matched to the supported LF2 firmware; the Magisk app can be preinstalled optionally, root is exposed through `/system/xbin/su` for apps such as Shizuku, and 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 this firmware) 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.logandverify.json.
Supported firmware
Only LF2 SC138 V2_13 (20260717) – build fingerprint Doro/S10A/QCM6125:13/S10A_123/eng.hct.20260717.154837:userdebug/release-keys. The bundled patches and boot image only fit this build; the tool refuses any other firmware.
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 rejects any other firmware before building. If you run one of these models, please report your result.
Want your model added? Post:
- model name / seller and the firmware version shown in Settings
- the output of
getprop ro.build.fingerprint,ro.product.customer.id,ro.build.device.versionandro.product.device - whether your update.zip is a full A/B OTA (contains
payload.bin)
Screenshots
Step 1 – Inputs

Step 2 – Debloat

Package lists

Step 3 – Patches

Step 4 – Review & Build

Current development (v1.1, experimental)
While looking for the video problem I compared the XTRONS LF2 package with the Dasaita G13 packages (zst27_sc138_13, build 20260811). What I found:
- The Android layer is the same HCT build: same 13 partitions, same dynamic-partition group, same vendor properties, same OTA signing certificate, same panel configuration. Only the customer layer differs: launcher, Bluetooth, radio and DSP apps (
LF2*vsZST27*), the customer id, a newer kernel build, and the MCU family (XTRONSHCTGS_HCTvs DasaitaMTCHS_HA4Z). - The device version (V1/V2/V2.1) is not just a label. It encodes the filesystem of
/data: Dasaita V1 uses f2fs with file-based/metadata encryption, Dasaita V2.1 uses plain ext4. The XTRONS LF2 vendor fstab is byte-identical to the Dasaita V1 one, so the XTRONS “V2” corresponds to the Dasaita “V1” layout, not to V2.1. That is what the HCT updater check (“Device version (V2) does not match update package version (V2.1)”) protects: flashing V2.1 would switch/datafrom f2fs to ext4. - The dtbo contains hardware-specific audio/pinctrl nodes (different between XTRONS and Dasaita), so a foreign dtbo changes the audio configuration. The builder always keeps the dtbo of your own stock.
- I have not flashed any Dasaita package on an XTRONS unit and do not recommend it: the MCU and customer coupling (steering keys, CAN, DSP, Bluetooth, Zlink) is unknown, and the update tools check the device version and the MCU customer. Never flash another vendor's MCU image. The XTRONS unit above is the only tested one.
What is being built for v1.1:
- A start question for your unit's manufacturer and firmware profiles per brand, so that the tool knows which firmware counts as supported for you.
- An analysis mode that opens other HCT QCM6125 update.zip files (for example Dasaita) without extracting them and tells you what differs (build, device version,
/datalayout, customer layer, partition budget). A command-line version exists already:qcm6125-builder analyze update.zip --unit XTRONS. - The Magisk boot image created from the firmware's own
boot.imginstead of a prebuilt file. - Clearly marked experimental builds for other firmware.
- Only as an explicit opt-in: an override of the HCT device-version check, and only where the
/datalayout is identical. The MCU is never touched. - Find and fix the video problem (see above), and more verified models once people report their results.
None of the v1.1 features are in the v1.0 download below.
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; the folder must be writable (~300 MB helper-file cache)
- A terminal with true colour (for example Konsole, kitty, GNOME Terminal) shows the full theme; other terminals use a 256-colour approximation.
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/qcm6125-builder.pyz .
cp /path/to/update.zip . # the stock LF2 V2_13 update.zip
cp my-extra-app.apk . # optional: apps to preinstall
python3 qcm6125-builder.pyz- Inputs – press
eto extract the update.zip; firmware, dependencies and your extra APKs are checked (ashows the APK list). - Debloat –
Spacetoggles an app,Tabswitches the stage filter,fthe risk filter,lopens the package lists. - Patches – switch patches, the Recents options and your APKs on/off.
- Review & Build – read the warnings, confirm critical apps with
cif needed, pressEnterto build (dshows the full lists). About 3–5 minutes on a modern PC.
The result is out/<profile>/update.zip. There is also a plain CLI (plan, check, build, sizes, …) – python3 qcm6125-builder.pyz --help.
Flashing
- Copy
update.zipto 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). - Do not choose “Wipe data / factory reset” unless you want to lose everything.
- Keep the original update.zip – it is the known way back.
- Recovery access when stuck in a bootloop is described in the HCT Tools manual (RST pinhole method).
Status – please read
Use at your own risk. 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. Video playback is broken (see above).
- Signed with the AOSP test keys, like the stock package (same OTA certificate as the stock).
- Magisk boot/vbmeta are prebuilt inputs in v1.0; the tool does not create them yet.
- 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 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)
- Patched Launcher3QuickStep and Settings of the stock firmware
All third-party parts keep their own licenses.
Download
- qcm6125-builder.pyz (v1.0) + SHA-256: https://nx.obscurenexus.com/index.php/s/XTTat27KQXnMgnE
- ROM LF2 SC138 V2_13 (20260717): download
Feedback wanted
Which apps did you remove, what broke, which descriptions or risk ratings are wrong? Does video work on your unmodified stock? Posting your build.log and the saved profile (config/profiles/<name>.profile.json) helps a lot.
