Skip to content

Mapping the car's data: MICOM and the community CAN work ​

The head unit never sees the CAN buses directly. Its MICOM (a microcontroller on the bus) passes selected signals to Android as MICOM frames: a category (CID), a function code and a data block. The car's framework names them after Hyundai's own CAN messages and signals (EV_GW_EV_P_02, VCU_BATT_COND_IND_STA, DATC_OUT_TEMP_SNSR …), and its services turn them into the getters HMG-API's readings use.

The community has mapped the same data from the other side, on the bus:

HMG-API uses none of their code; this page links their findings to the head unit's side. Nothing here sends anything on the bus: HMG-API only listens to the MICOM, and commands go through the car's own services (vehicle-commands.md).

What is already linked ​

Community (bus)Head unitHMG-API
0x4ED Navigation_Precond_Status (head unit to car: distance to charger, precondition flag)HEV setBattCondRouteDis, setBattCondRemainTime, setBattCondEvStation: the navigation's own path to that framecommand conditioning (same values and order as Launchpad)
0x0C7 Toggle_Battery_Preconditioning (injected on M-CAN by the kit)not sent by HMG-API (own CAN frame)conditioning reaches the same result through the head unit's own frame
0x2AD BMS_Precond_StatusHEV EV_BATTERYCONDITIONING; VCU_BATT_COND_IND_STA in the navigation battery packetreading hv.conditioning
0x496 / 0x475 Driver / Passenger_Seat_HeatingUSM getFrontSeatHeat_DrvState / AstStatereadings seat_heat.driver, seat_heat.passenger; command seat_heat
0x418 Steering_Wheel_HeatingVR set_StrgWhlHeated_Cmd_AVN (command side)command wheel_heat; state: USM SWRC_SET resp (0x9127) byte 3 / BODY 0xc40d byte 0, 1 on, 0 off, sent only on a change (confirmed on a US EV6, 2026-10-31)
0x448 Steering_Wheel_Buttonskey events (KEYCODE_SHORTCUT_SWRC_CUSTOM, MUTE, VOLUME_* …)"input" bindings
0x036 GEAR_STATUSsystem service getGearPStatusreading gear.park
0x1F1 PARK_BRAKEsystem service getParkingBrakeStatusreading parking_brake
0x435 VEH_SPEEDtelematics CAN service getCarSpeedreading speed
0x0EA STEERINGgetSasAngleValreading steering.angle
0x065 Brake_Pedal, 0x2B5 Throttle_PosgetCylPrsrVal, getAccelPdlValreadings brake.pressure, pedal.accel
0x3A0 TPMS_BROADCAST (psi per tyre)only status bytes as getters (get*TirePressureStatus)to find (record it)
0x227 DRIVE_MODEBCM drive mode listener (EGMP uses it)to find a getter or frame
0x465 CLIMATE_CTRL, outside temperatureDATC services; DATC_OUT_TEMP_SNSR in the navigation battery packetto find (record it)

Recording on the head unit ​

Owner and developers only (root or the HMG-API app):

hmgapid micom-watch all          # or categories in hex: micom-watch 88 c2
hmgapid micom-watch              # what it watches
hmgapid micom-log > micom.log    # the last 64 KB (the file: /data/hmgapi/logs/hmgapi/micom.log)
hmgapid micom-watch off

HMG-API's vehicle service registers with the car's own raw data service (MICOMDATA_SERVICE) and writes <ms since boot> <cid> <function> <data hex> per frame. It never watches the telematics category (c5: modem, account, phone numbers), and in every frame a run of 8 or more printable characters (a VIN, a serial, a name) is written as __, so a recording can be shared. Off the car:

tools/micom-catalogue.py <deodexed automotive.jar> --json ev6.json   # the car's names (keep it private)
tools/micom-decode.py micom.log ev6.json --changes                   # which bytes moved, when

Record one thing at a time (seat heat on, a door, the charge cable, conditioning) with the time noted, as the Ioniq5_CAN notes advise for bus logs: a test and a control. A byte that follows the action is the signal; the community DBC gives its bus id and scale. A signal found this way becomes a reading once it's in the hook map for every car.

HMG-API is free, made by volunteers. AGPL-3.0.