[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-110602":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":9,"pushedAt":26,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":15,"starSnapshotCount":15,"syncStatus":30,"lastSyncTime":31,"discoverSource":32},110602,"HMG-API","Open-HMG\u002FHMG-API","Open-HMG","HMG API to unify mods done to Gen5W headunits.",null,"Java",161,35,4,80,0,3,43,102,18,80.63,"GNU Affero General Public License v3.0",false,"main",true,[],"2026-11-23 20:22:12","2026-11-23 15:27:41","\u003Cimg src=\"docs\u002Fimg\u002Fhmg-api.png\" width=\"120\" align=\"right\" alt=\"HMG-API logo\">\n\n# HMG-API\n\n[![Support HMG-API](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FSupport_HMG--API-%E2%9D%A4-bf3989?style=for-the-badge&logo=githubsponsors&logoColor=white)](https:\u002F\u002Fgithub.com\u002FOpen-HMG\u002FHMG-API\u002Fwiki\u002FSupport)\n\n> **HMG-API is free**, made by volunteers. If it saved you a dealer visit or made your drives nicer, please consider [supporting the people who build it](https:\u002F\u002Fgithub.com\u002FOpen-HMG\u002FHMG-API\u002Fwiki\u002FSupport): each maintainer has their own links there. It keeps the testing and new-car ports going.\n\nA mod manager for Hyundai, Kia and Genesis **Gen5W** navigation head units.\n\nMods add features to the head unit (wireless CarPlay and Android Auto with\nturn-by-turn on the cluster and HUD, buttons that do more, side panel pages, and\nmore) without patching its apps. HMG-API hooks the car's own software while it runs,\ngives every mod a switch, settings and a log, and puts back exactly what a mod\nchanged when it's removed.\n\n![The HMG-API app on a Kia EV6](docs\u002Fimg\u002Fscreenshots\u002Fmods.png)\n\n| Settings | Car Report |\n|---|---|\n| ![Settings](docs\u002Fimg\u002Fscreenshots\u002Fsettings.png) | ![Car Report](docs\u002Fimg\u002Fscreenshots\u002Freport.png) |\n\n## Install\n\nDownload the zip for your route from [Releases](https:\u002F\u002Fgithub.com\u002FOpen-HMG\u002FHMG-API\u002Freleases):\na **USB stick** (no computer), **NEMESIS**, or **adb**. Step by step:\n[Installing HMG-API](https:\u002F\u002Fgithub.com\u002FOpen-HMG\u002FHMG-API\u002Fwiki\u002FInstalling-HMG-API).\n\nHMG-API runs on any Gen5W navigation head unit. Cars with a hook map get everything;\non others, mods still install and run, and the app's **Car Report** sends what's\nneeded to add your car ([Supported cars](https:\u002F\u002Fgithub.com\u002FOpen-HMG\u002FHMG-API\u002Fwiki\u002FSupported-cars)).\n\n| Car | Region | Software | Hook map |\n|---|---|---|---|\n| Kia EV6 | USA | 260507 | checked on a car |\n| Kia EV6, Hyundai Ioniq 5 | Canada | 260206 | waiting for a Car Report |\n| Hyundai Ioniq 5 | USA | 260507 | waiting for a Car Report |\n| Hyundai Ioniq 5 (2023 on) | USA | 260903 | waiting for a check on a car |\n\n## Help and requests\n\n[Open an issue](https:\u002F\u002Fgithub.com\u002FOpen-HMG\u002FHMG-API\u002Fissues\u002Fnew\u002Fchoose): something\ndoesn't work, car or firmware support (the Car Report's QR code fills it in), a new\nhook point, or an idea. Guides are in the [wiki](https:\u002F\u002Fgithub.com\u002FOpen-HMG\u002FHMG-API\u002Fwiki).\n\n> **Status: 1.0.2; [1.1.0-beta.1](https:\u002F\u002Fgithub.com\u002FOpen-HMG\u002FHMG-API\u002Freleases\u002Ftag\u002Fv1.1.0-beta.1) is out for testing.** Tested on a US Kia EV6 (260507): the hook runtime,\n> mods, the app, buttons, the side panel, Android Auto turn-by-turn and projection\n> events, the Car Report. CarPlay on HMG-API, the installers on a car without adb, and\n> other cars aren't tested yet. Leafia 1.x (HMG Leafia Plus) is the previous project.\n\n---\n\n## For developers\n\n### Parts\n\n| Folder | What |\n|---|---|\n| `core\u002Fhmgapid` | root daemon and client (static ARM, no libc) |\n| `core\u002Fzygote` | `app_process` wrapper: preloads the hook runtime into the zygote, boot guard |\n| `core\u002Floader` | `libhmgapi_hook.so`: Dalvik method hooks, loads the runtime jar |\n| `core\u002Fruntime` | `hmgapi-hook.jar`: hook API, mod loader, launcher and ★-key extension points |\n| `core\u002Fapp` | the HMG-API app (`hmgapi.app`) |\n| `core\u002Fclient` | `hmgapi-client.jar`: for mods' own apps and services (settings, services, USB folders, notices) |\n| `install\u002F` | installers: `adb\u002F`, `nemesis\u002F`, `usb\u002F` (DSP OTA), shared `common\u002F` |\n| `core\u002Fhookpoints`, `maps\u002F` | the hook point catalogue (stable names; every point and the cars that have it: [docs\u002Fhook-points.md](docs\u002Fhook-points.md)) and each car's map (`maps\u002Fcoverage.json`: which points every car has) |\n| `mods\u002Fexamples` | API examples and test fixtures: `hello`, `hello-service`, `side-panel`, `car-check` and more. The mods HMG-API ships live in their own repos: [Wireless CarPlay + Android Auto](https:\u002F\u002Fgithub.com\u002FOpen-HMG\u002Fhmgapi-wireless-cp-aa), [ADB](https:\u002F\u002Fgithub.com\u002FOpen-HMG\u002Fhmgapi-adb), [adbd](https:\u002F\u002Fgithub.com\u002FOpen-HMG\u002Fhmgapi-adbd), [NEMESIS in the app menu](https:\u002F\u002Fgithub.com\u002FOpen-HMG\u002Fhmgapi-nemesis-shortcut) ([docs\u002Fmod-repos.md](docs\u002Fmod-repos.md)) |\n| `docs\u002F` | `mod-reference.md` (the `mod.json` reference; `tools\u002Fmod-draft.py` drafts one from an existing package), `api-plan.md` (what each community project uses), `vehicle-commands.md`, `micom-map.md`, `car-test.md` (the on-car test session) |\n| `wiki\u002F` | the owners' wiki (GitHub wiki pages: installing, mods, the app, troubleshooting) |\n| `tools\u002F` | `lpatch`, patch makers, build settings |\n\n### Installers\n\n`tools\u002Fmkinstallers.sh` makes three downloads in `out\u002Fdist\u002F`, all carrying the same payload and ending in `install\u002Fcommon\u002Finstall.sh`:\n\n| Download | For |\n|---|---|\n| `hmgapi-\u003Cv>-usb.zip` | a USB stick. Nothing installed yet: Engineering Mode > USB Copy > DSP > Update OTA. NEMESIS installed: its USB install. HMG-API installed: the app's updates (`HMGAPI\u002Fupdates`, with the mods). An empty `HMGAPI\u002FUNINSTALL` file uninstalls through the DSP route. |\n| `hmgapi-\u003Cv>-nemesis.zip` | for NEMESIS: unzipped onto a stick, like NEMESIS's own packages (`NEMESIS.data` installs `packages\u002Fhmgapi.zip`; an update keeps HMG-API and its mods) |\n| `hmgapi-\u003Cv>-nemesis-package.zip` | the NEMESIS package on its own, for NEMESIS's Package Store and `nemesis install` |\n| `hmgapi-\u003Cv>-adb.zip` | `hmgapi-adb.sh install \\| uninstall \\| status` over adb (first install: root from NEMESIS) |\n\nUninstalling puts every file and setting HMG-API or a mod changed back to the stock bytes.\n\n### Build and test\n\n```\n.\u002Fbuild.sh\n```\n\nEverything goes to `out\u002F`. Needs clang + lld, a JDK and the Android SDK (build-tools, a platform `android.jar`). No manufacturer files: the loader links against stand-ins for the head unit's libraries (`core\u002Floader\u002Fsyslib-stubs.sh`, the same bytes as linking the unit's own). Without HMG-API's signing key (`HMGAPI_KEY`) the app is signed with a throwaway key.\n\nGitHub Actions: `ci.yml` builds and runs the off-car tests a push or pull request touches (`tools\u002Ftest-select.py`; every one weekly), and the fast tier on macOS; `release.yml` turns a version tag (`v1.0.0-beta.1`) into a signed draft release (keys in the `release` environment; the bundled mods, by catalogue id in `tools\u002Frelease-mods.txt`, come from their catalogue entries' downloads, SHA-256 and signature checked); `wiki.yml` publishes `wiki\u002F` to the GitHub wiki.\n\n```\ntools\u002Ftest-all.sh\n```\n\nRuns the off-car tests, several at once (`-j N`; ARM code under qemu-arm).\n`tools\u002Ftest-all.sh --fast` runs the ones that need no build and no ARM toolchain,\non Linux or macOS. With stock car files in `~\u002Fhmg-cars` (private,\n[docs\u002Fcar-trees.md](docs\u002Fcar-trees.md)), `tools\u002Fcars.py test` runs every test that needs\nthem on every car you have, and `--report` gives the results to paste in a PR.\n\n## Licence\n\nAGPL-3.0 (see `LICENSE` and `NOTICE.md`).\n","HMG-API 是一款面向现代 Hyundai、Kia 和 Genesis 车型 Gen5W 导航主机的免 root 模组管理框架。它通过运行时 Hook 原生系统进程，为各类功能增强模组（如无线 CarPlay\u002FAndroid Auto、仪表盘\u002F抬头显示导航指引、自定义按钮与侧边栏页面）提供统一开关、配置界面和日志支持，并确保卸载时精准还原系统状态。项目采用轻量级 Java 与原生 ARM 组件协同设计，支持 USB\u002FNEMESIS\u002FADB 多种安装方式，适配未官方支持的车载软件版本，适用于车主自主升级车机功能、规避经销商服务依赖的场景。",2,"2026-11-24 04:39:26","CREATED_QUERY"]