Repository navigation
HMG-API 1.0.2 fixes the slow NEMESIS start after a restart. If you're on 1.0.0 or 1.0.1 with NEMESIS, update.
Fixed
- NEMESIS starts on time. With 1.0.0 and 1.0.1, NEMESIS Manager showed "daemon not running" and no packages for about two minutes after every restart, and NEMESIS packages that act at boot (for example one that dismisses the startup notice) could miss their moment. HMG-API's boot hook runs just before NEMESIS's own start, and it waited on one of HMG-API's background jobs. 1.0.1's fix didn't reach that job on the cars. Now HMG-API's boot hook is a single line that returns at once, and HMG-API's own boot steps run alongside NEMESIS instead of before it. Thanks to @AwsomeFox for tracking down the cause (#74).
- HMG-API starts with NEMESIS too. HMG-API's NEMESIS package now has a boot service, so HMG-API starts even when a NEMESIS install or update has rewritten the boot script without HMG-API's hook. In NEMESIS Manager → Services it shows as
hmgapi/boot, "stopped": that's normal, it starts HMG-API and exits.
If the head unit was restarted during those two minutes a few times, HMG-API's boot guard may have counted those as failed starts and switched hooks off. The HMG-API app says so; Troubleshooting → The head unit restarted over and over has the reset.
Updating
From 1.0.0 or 1.0.1, either: put hmgapi-1.0.2-update.zip in HMGAPI/updates/ on a USB stick and use HMG-API app → Check USB updates; or unzip hmgapi-1.0.2-nemesis.zip onto a stick and update HMG-API from NEMESIS Manager's Package Store. Then restart the head unit once. Your mods and settings stay. The mods, hook maps and catalogue are the same as 1.0.0.
Tested
- On a car: 2023 Kia EV6, US, 260507, NEMESIS 1.16.7. Before: NEMESIS started about two minutes after power-on. With 1.0.2: NEMESIS was up 17 seconds after power-on on each of three restarts; HMG-API's boot steps run once per restart and finish at once; the NEMESIS sync runs on schedule; mods and hooks run as before.
- Off the car: every test, including new ones for the boot hook, the boot service and a background job holding
hmgapid sh.
Known issues are the same as 1.0.0.
Reporting
Open an issue and attach a Car Report. Please don't post your VIN, serial numbers or phone numbers; nothing needs them.