Files
mg4-luxury-2022-info/device-info/EXPORT_2026-08-21-vehicle-services.md

7.5 KiB

2026-08-21 SAIC export — engineering-mode SDK and VHAL signal references

Companion to EXPORT_2026-08-21.md. It records the exact engineering-mode AIDL surface and the YF vehicle-property symbols that are actually present in the shipped decompiled APKs, with method names and value references verified against the tracked APK set. It does not claim that any sideloaded app can successfully bind these services.

Engineering-mode AIDL services

All four interfaces live under com.saicmotor.sdk.engmode.* and were observed in device-info/decomp/com.saicmotor.hmi.vehiclesettings/smali_classes2/com/saicmotor/sdk/engmode/:

ISystemSettingsManager

Method Type Return / purpose
engModeStart(boolean) mutator Enter / leave engineering mode
enterAndroidAuto() mutator Trigger Android Auto launch
factoryReset() mutator Wipe device
rebootSystem() mutator Reboot head unit
setADBDebug(boolean) mutator Toggle ADB
setAndroidAutoStatus(boolean) mutator Toggle Android Auto
setAutoSwitchStatus(boolean) mutator Toggle auto-switch
setShowRoom(boolean) mutator Showroom demo mode
setTempRunTime(int) mutator Demo runtime temperature
sendUpgradeFile(String) mutator Submit a local upgrade file
upgradeDAB() mutator Upgrade DAB module
upgradeDSP() mutator Upgrade DSP module
upgradeMCU() mutator Upgrade HU MCU
upgradeRL78() mutator Upgrade RL78 controller
upgradeTouch() mutator Upgrade touch controller
upgradeTBox() mutator Upgrade TBOX
getADBDebugStatus() reader boolean
getAndroidAutoStatus() reader boolean
getAutoSwitchStatus() reader boolean
getBatteryPower() reader float
getCarSpeed() reader float
getChargeStatus() reader int
getCpaaAuthorizedStatus() reader boolean (CPAA = CarPlay audio auth)
getEngModeStackStatus() reader boolean
getGearStatus() reader int
getParkingBrakeStatus() reader int
getPowerRunType() reader int
getPowerSystemStatus() reader int
getShowRoom() reader int
getTempRunTime() reader int
getUpgradeEnvironmentStatus(int) reader boolean (per-target probe)
getWholeVersions() reader WholeVersionBean
registerCarPropertyCallback(ICarPropertyCallback) / unregister… listener Car property changes
registerEngModeStartCallback(IEngModeStartCallBack) / unregister… listener Engineering-mode state
registerFactoryResetCallback(IFactoryResetCallback) / unregister… listener Factory-reset progress
registerTBoxCallback(ITBoxFileSendingCallback) / unregister… listener TBOX file-transfer events
registerTboxInfoCallback(ITboxInfoCallback) / unregister… listener TBOX info updates
registerUpgradeCallback(IUpgradeProgressCallback) / unregister… listener OTA-style upgrade progress

No method named upgradeEps, upgradeAdas, upgradeCamera, or similar exists in this interface. The OTA manifest in REMOTE_CONTROL.md is the authoritative list of ECUs this build supports.

IDIDManager

Method Return Notes
getAssemblyPartNum() String Assembly PN
getHardwarePartNum() String Hardware PN
getSoftwarePartNum() String Software PN
getProductSerialNum() String Product serial (deliberately not echoed in this report)

ILogManager

Method Type Notes
getErrorCode() reader Reads last error code
getSupplierConfigure() reader Supplier configuration string
getVehicleConfigure() reader Vehicle configuration string
getFICMLog() / getFICMLogStatus() / setFICMLogStatus(boolean) reader / mutator FICM log access
exportFICMLog() / exportTBoxLog() / exportDTCInfo() trigger Export logs
registerCallback(ILogProgressCallback) / unregister… listener Log progress
registerDtcCallback(IDtcCallback) / unregister… listener DTC events

IEngineeringMode and other types

IEngineeringMode is the parent binder that exposes getService(String) to obtain the three sub-services above. It is referenced by SystemSettingsManager, DIDManager, and LogManager. There is also ISystemHardwareManager, IAVMManager, and ITunerManager for radio, AVM calibration, and tuner-specific access respectively.

WholeVersionBean fields

The version inventory returned by getWholeVersions() has 15 fields:

Field Meaning
mVinVersion VIN-bound version
mMCUVersion HU MCU firmware
mMPUMajorVersion MediaTek MPU major version
mMPUVersion MediaTek MPU firmware
mAppVersion Head-unit application build
mWifiFirmware Wi-Fi firmware
mBluetoothFirmware Bluetooth firmware
mGPSFirmware GPS firmware
mNavigationEngineVersion Navigation engine
mNavigationMapVersion Navigation map data
mVRVersion Voice-recognition version
mTBoxMCUVersion TBOX MCU
mTBoxModemVersion TBOX cellular modem
mTBoxMPUVersion TBOX MPU
mTBoxBTVersion TBOX Bluetooth
mDspVersion Audio DSP

All 15 fields are writable via matching setters, but the actual values are populated on the engine side and only the getters are useful from the outside.

YF vehicle-property IDs

These constants live in device-info/decomp/com.saicmotor.adapterservice/smali/android/hardware/automotive/YFvehicle/V2_0/YFVehicleProperty.smali:

Constant Hex Related area
AAD_LANE_DEPARTURE_WARNING 0x2140a104 ADAS — LDW
AAD_LDWLKA_HAPTIC_WARNING 0x2140a16a ADAS — haptic LDW/LKA
AAD_AEB_PEDESTRIAN_SWITCH 0x2140a16b ADAS — AEB pedestrian
SENSOR_PEPSAVLBLY 0x21401582 PEPS availability
SENSOR_SASAVLBLY 0x21401598 Steering-angle sensor availability
ID_AAD_LANE_DEPARTURE_WARNING 0x2140a104 Same as AAD_* — VHAL ID mirror
ID_AAD_LDWLKA_HAPTIC_WARNING 0x2140a16a Same as AAD_*
ID_AAD_AEB_PEDESTRIAN_SWITCH 0x2140a16b Same as AAD_*

The mirrored ID_* symbols are defined in smali/android/car/hardware/CarAdvancedAssistedDrivingManager.smali as the public CarAdvancedAssistedDrivingManager car-property IDs. They are not CAN frame IDs or firmware identifiers — they are the Android VHAL property IDs the head unit uses to talk about those ADAS and steering-sensor concepts.

OTA target table (verified)

ECU DID software ID
HU 0x7A8 avn-os
TBOX-MPU 0x711 tbox_soc
TBOX-MCU 0x711 tbox_mcu
AVN-MPU 0x7A8 avn
AVN-DSP 0x7A8 avn_dsp

Source: the export's packages/apk/com_abupdate_ota/assets/aecus.xml, identical to the embedded assets/aecus.xml of the tracked Abupdate APK. MQTT broker: 192.168.225.1:7090 (head unit ↔ TBOX), project ep21.

Practical caveat

All of the methods above are statically present in the SDK. The exporter did not call any of them. From a normal sideloaded app the host package (com.saicmotor.hmi.eol, com.saicmotor.hmi.vehiclesettings) would still gate the binder with permission checks, and the underlying service is built to be reachable only from system-uid callers. None of these APIs is an ECU-flash path; the OTA allowlist above is.