Install the SDK¶
The SDK is a mibpkg package named mibsdk. Install it once per unit. Plugins are separate packages and
can be installed, updated and removed without reinstalling the SDK.
Get the package¶
The package is dist/build/dist/mibsdk-<version>.mpk inside an SDK checkout:
This build needs the stock lsd.jar and DSITracer.jar, which cannot be distributed with the SDK. See
Building the SDK if you need to produce the package yourself. If a
release asset is published for your version, use that instead.
Install it¶
Open mibpkg's web interface from your phone (the address is shown in GEM → mibpkg), upload the
.mpk and install it. mibpkg lists the permissions in plain words and asks you to approve them.
mibpkg exits with status 3 and lists the permissions until you re-run it with the approval.
The exact upload flow is described in the mibpkg README.
What the installer changes¶
All changes are on the writable app partition; no IFS reflash is needed.
- Adds the three SDK jars:
mibsdk-runtime.jar,mibsdk-adapter-hqc.jarandmibsdk-rt-retrotranslator.jar. - Adds the permission catalog.
- Adds a bundle and a DSITracer configurator.
- Adds the
HMICar=andHMISystem=lines the HMI reads. - Writes
grants.propertiesfor plugin permissions.
Uninstalling the package restores the stock files byte for byte. It does not delete plugin data unless you ask it to.
Verify¶
- Restart the HMI or wait for the next boot.
- Open MENU → Plugins. You should see Installed, Updates, Available, Networking and Settings. Installing a plugin puts it under Installed, and its own settings are under Settings.
- If the SDK could not initialise, the page header says Plugins (safe mode) and no plugin runs.
Check
/tmp/mibsdk.logor runinstaller/mibsdk-dev log <unit-ip>.
The SDK starts loading plugins 30 seconds after boot by default. A jar installed or pushed later loads within a few seconds.
Uninstall¶
installer/mibsdk-dev uninstall <unit-ip> # keep plugin data
installer/mibsdk-dev uninstall --purge <unit-ip> # remove plugin data too
Before uninstalling, make sure no plugin holds a vehicle override. --force exists for the case where
one does, but the stock value should be restored first.