Skip to content

HMG-API 1.1.0-rc.10

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 25 Nov 21:43
daa0837

HMG-API 1.1.0-rc.10 is the tenth release candidate. It fixes a case where updating to rc.9 left Android unable to start. It happened on NEMESIS 1.17, on units where an older HMG-API had been installed after it first refused. 1.1.0 will be this code unless a blocker turns up. This RC hasn't been checked on a car yet, so please report how it goes.

It comes with the same mods as rc.9: Wireless CarPlay + Android Auto 2.2.0-rc.9, ADB 1.0.1-rc.1, and NEMESIS in the app menu.

On NEMESIS 1.17: use this RC, not rc.9, if an older install was refused at first

On NEMESIS 1.17, HMG-API 1.0.x and RCs up to rc.8 refused to install ("app_process md5 f0fa894f… isn't a known stock build"). That file is NEMESIS's own script, not a stock one. Installing past that refusal made HMG-API keep NEMESIS's script as its "stock" copy. Updating such a unit to rc.9 then overwrote the last stock file on it, and Android no longer started (#397, a Korean 2020 K5).

  • If that's your unit and you haven't updated to rc.9 yet: update straight to this RC. It finds the stock file NEMESIS kept and installs from that.
  • If you already updated such a unit to rc.9 and Android doesn't start: no stock file is left on the unit, and HMG-API can't bring one back. Read #397 first. The way back is the official firmware for your exact car and region, or a dealer reflash. Don't use the recovery stick there on such a unit.
  • If your install was never refused, or you aren't on NEMESIS 1.17: nothing changes for you.

What's new since 1.1.0-rc.9

  • The install repairs a unit an older release installed over NEMESIS's script (#406, by @zpoon). It installs again from the stock file NEMESIS kept, as a new install. That file is in app_process.real, or back at app_process if NEMESIS was uninstalled since. When no stock file is left, the install and the uninstall both say so and change nothing.

  • HMG-API only ever keeps a real stock binary as app_process (#407, by @AwsomeFox, from the reviews of #406 by @isaacwisdom and others). A wrapper, NEMESIS's script, another script or an empty file is refused before anything on /system changes.

    • Backups are copied and checked before they're kept, so an install that is cut off (a full /data, a pulled stick) can't leave a short backup behind.
    • When a backup isn't stock, the uninstall puts back the stock copy the wrapper runs instead.
  • An app_process HMG-API doesn't know is always refused now (#411), at install and at uninstall, with nothing changed. The message asks you to open an issue with the line it shows (below), and we add that build.

  • Which builds HMG-API knows (#410). Every Gen5W system image we could check ships the same stock app_process, so these cars install as they are:

    • US and Canada: Kia EV6; Hyundai Ioniq 5; Hyundai Elantra, Sonata, Santa Fe, Kona, Ioniq, Venue, Veloster N and Palisade 2020-22; Kia K5, Sorento, Stinger, Soul, Seltos 2021, Niro 2020-22, Cadenza and Telluride 2020-21.
    • Korea: Kia K5, Sorento, Stinger, Seltos, Soul, Niro, Mohave, K7, Morning and Ray; Hyundai Ioniq 5.

    Not checked yet: Genesis; India; the newer Kia builds (Sportage, Carnival, Telluride 2022+, Niro 2023+, Forte, Seltos 2024, Niro EV); the newer Hyundai builds (Ioniq 6, Palisade 2023+, the newer Elantra and Kona); and in Korea, the EV6, the K3 and Hyundai's other models. They may well ship the same file. If the install refuses on your car, please send us the line it shows (below).

  • A new test runs the install and uninstall through every order of events (#407): installs, uninstalls, restarts, NEMESIS 1.17 installed and removed, firmware reinstalls and factory resets. It runs both this release's scripts and 1.0.2's, rc.8's and rc.9's. It finds #397's K5 with rc.9's scripts, and nothing with this release's.

  • The full list is in the CHANGELOG.

Installing

  • From 1.0.x, the beta or an earlier RC: put hmgapi-1.1.0-rc.10-update.zip in HMGAPI/updates/ on a USB stick, then HMG-API app → Check USB updates. Restart the head unit once afterwards. Your mods and settings stay. The mods are the same as in rc.9, so there's nothing else to update if you're on rc.9.
  • With NEMESIS: unzip hmgapi-1.1.0-rc.10-nemesis.zip onto a stick and update from NEMESIS Manager's Package Store.
  • New install, or after a firmware update: follow Installing HMG-API, with hmgapi-1.1.0-rc.10-usb.zip.

What to test

  • On NEMESIS 1.17 especially: update or install, then restart twice. The app should show 1.1.0-rc.10 and "Hooks on", and your mods should run. If you can, uninstall, restart twice, and check that Android still starts. Then install again.
  • Without NEMESIS 1.17: the same update, a restart, and your mods still running.
  • /data/hmgapi/install.log says which file HMG-API used. Attach it, or use Record a problem.

Known issues

  • Bluetooth Audio can take audio focus at a cold start before CarPlay or Android Auto is up. A fix is in review (wireless #56).
  • The rest are the same as in 1.0.0. For example, a USB stick left in the port can start wired Android Auto and stop wireless from connecting, so take the stick out after installing.

Going back to 1.0.2

Not on NEMESIS 1.17: 1.0.2's installer and uninstaller don't know LivePatch, and its uninstall there can leave Android unable to start.

Otherwise, 1.0.2 is the release to go back to. The app won't install an older HMG-API over a newer one, so either:

  • With adb: adb push hmgapi-1.0.2-update.zip /data/local/tmp/, then adb shell hmgapid engine update-hmgapi /data/local/tmp/hmgapi-1.0.2-update.zip --force. Restart the head unit.
  • Without adb: uninstall HMG-API (Uninstalling, without PURGE, so your mods and settings stay), restart, then install 1.0.2 as new.

Wireless 2.2.0-rc.9 needs HMG-API 1.1.0-rc.8 or newer, so going back to 1.0.2 means going back to wireless 2.1.0 too: remove the mod in the app and apply, then install wireless-carplay-aa-2.1.0.zip from 1.0.2's release with Check USB updates.

Reporting

Open an issue with your car, its head unit software (e.g. 260507), the HMG-API version, your NEMESIS version and your mods, and a Car Report if you can.

If the install or uninstall says your app_process "isn't a known stock build": nothing was changed. HMG-API hasn't checked your car's software build yet (on a USB install, the message on the screen says so). Please open an issue with the line from HMGAPI/install.log on the stick (or /data/hmgapi/install.log), your car and its head unit software version (e.g. 260507). We check that build and add it.