No description
  • Kotlin 64.7%
  • Java 25%
  • C 8.2%
  • Python 1.5%
  • C++ 0.4%
  • Other 0.1%
Find a file
2026-11-03 21:50:38 +03:00
analysis-tools Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
gradle/wrapper Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
mapkit-stubs Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
mirror Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
open-headunit Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
tools Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
validation Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
.gitignore apk 2026-11-03 21:43:08 +03:00
BACKGROUND-RESEARCH.md Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
base (2).apk apk 2026-11-03 21:43:08 +03:00
base.apk apk 2026-11-03 21:43:08 +03:00
build.gradle Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
car-frameworks-service.jar 1 2026-11-03 21:17:51 +03:00
DIAGNOSTICS.md Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
DIM-SERVICE-FINDINGS.md Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
DIMProtocolService.apk apk 2026-11-03 21:43:08 +03:00
DPI-INVESTIGATION.md Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
dpmapi.jar 1 2026-11-03 21:17:51 +03:00
ecarx-carservice-starter.jar 1 2026-11-03 21:17:51 +03:00
ecarx-theme-launcher-service.jar 1 2026-11-03 21:17:51 +03:00
ecarx.adaptapi.jar 1 2026-11-03 21:17:51 +03:00
ecarx.car.audio.jar 1 2026-11-03 21:17:51 +03:00
ecarx.car.jar 1 2026-11-03 21:17:51 +03:00
ecarx.jar 1 2026-11-03 21:17:51 +03:00
ECarXCarService.apk apk 2026-11-03 21:43:08 +03:00
EXPORT-MANIFEST.json Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
FIRMWARE-HUD-INTEGRATION.md Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
FIRMWARE-NAVIGATION-RESEARCH.md Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
GMC-INSPECTION.md Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
gradle.properties Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
gradlew Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
gradlew.bat Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
INDEPENDENT-MAP.md Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
MConfig+_v48.2.apk apk 2026-11-03 21:43:08 +03:00
mHUD_v.7.3.apk apk 2026-11-03 21:43:08 +03:00
NATIVE-NAVIGATION.md Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
NOTICE.md Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
oneOS_HUD.apk apk 2026-11-03 21:43:08 +03:00
oneOS_NaviServiceUI.apk apk 2026-11-03 21:43:08 +03:00
oneOS_NaviServiceUIPSD.apk apk 2026-11-03 21:43:08 +03:00
OpenHeadunit-Monjaro-MConfig-test.apk apk2 2026-11-03 21:50:38 +03:00
OPTIMIZATION.md Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
OVERLAYS.md Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
PROJECT-STATUS.md Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
README.md Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
RESEARCH.md Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
restore-apks.py apk2 2026-11-03 21:50:38 +03:00
settings.gradle Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
STARTUP-PERFORMANCE.md Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
TILE-LOADING-PERFORMANCE.md Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
UPSTREAMS.json Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
VALIDATION.md Import Monjaro cluster integration, firmware research, and tests 2026-11-02 18:21:26 +00:00
Yandex-Maps-Monjaro-Cluster-v0.3.3-test.apk.part1 apk2 2026-11-03 21:50:38 +03:00
Yandex-Maps-Monjaro-Cluster-v0.3.3-test.apk.part2 apk2 2026-11-03 21:50:38 +03:00
Yandex-Maps-Monjaro-Cluster-v0.3.8-hud-test.apk.part1 apk2 2026-11-03 21:50:38 +03:00
Yandex-Maps-Monjaro-Cluster-v0.3.8-hud-test.apk.part2 apk2 2026-11-03 21:50:38 +03:00
ЯK_MonjaroMOD_v30.3.0_M+mHUD_v2.2.apk apk 2026-11-03 21:43:08 +03:00

This repository preserves the Monjaro work from the shared workspace. Yandex Cluster is at the root; the separate Android Auto port is under open-headunit/. See PROJECT-STATUS.md and UPSTREAMS.json.

Monjaro Yandex Cluster — v0.3.8 direct firmware HUD test

v0.3.8 sends live Yandex maneuver, next-road and distance information directly to the supplied GMC firmware's HUD Drive/AR receivers, plus remaining time/ETA to its main launcher navigation widget. No GMC helper reading Yandex or MHUD is needed. It starts/stops with the independent cluster session and survives Home. HUD ETA, projected AR animations and native cluster text output are not added. See FIRMWARE-HUD-INTEGRATION.md for verified receiver coverage and limits. No extra HUD activation command is needed; use the existing Drive/AR HUD mode. The sender does not change the HUD mode or calibration.

v0.3.7 calculates the selected transport mode and requests another mode when its tab is opened. Other tabs remain available; their estimates are no longer precomputed. This tests whether background routing competes with cold map loading. The whole-route overview remains unchanged. It is not a measured storage/cache fix. See TILE-LOADING-PERFORMANCE.md.

The user has tested only through v0.3.3. v0.3.6 adds measured padding for countdown arrows, a direct-SDK lane guidance panel and a speed-limit-only sign near/below the temperature area. Native arrow recommendations and BUS/TRAM/BIKE labels are kept. Signs are selected ahead on the current route within 1.2 km, with no lane-count truncation or invented recommendation. Missing/expired position data clears them.

The cluster opens only for an active route. Finish closes it; cancellation closes it after a two-second missing-route grace period. The next route reopens it while automatic mode remains armed. Rerouting with an active route is retained. Home continues to keep an active route's cluster map visible. No ADB is needed.

Safe helper optimizations reduce redundant native writes and view redraws; actual startup/GPU/CPU gains are not measured on the car. See STARTUP-PERFORMANCE.md. Native cluster-text transport remains research-only. The supplied firmware API's apparent arrow/road/ETA setters only log. Direct HUD/widget support instead uses the existing modified-firmware receivers. See NATIVE-NAVIGATION.md and FIRMWARE-NAVIGATION-RESEARCH.md for the bytecode findings and remaining transport.

This revision includes static gradients behind the top status row, bottom instruments and right gear indicator. Pale fades follow the daytime map; dark fades follow the nighttime map. The centre is transparent. The gradient follows the cluster map’s actual night-mode value, including while backgrounded. If the map theme remains unchanged until returning to Yandex, the gradient also remains unchanged. No ADB activation.

The previous revision reapplies the cluster focus after native camera setup, start/resume, surface creation and resize. Its monitor restores it if the SDK resets the point. The user reports that the earlier one-time anchor write left the arrow centred. This correction is locally tested; actual arrow placement needs head-unit testing.

Open Yandex Cluster on the main display. The separate cluster map starts automatically when the app has an active navigation route. Android Home keeps the independent map running. Normal use needs no ADB or MConfig commands. The new Home behavior and native overlay output still need head-unit testing. The user already confirmed the earlier independent camera works at XL.

Install and use

  1. Download both Monjaro-Cluster-v0.3.8-mobile.z01 and Monjaro-Cluster-v0.3.8-mobile.zip into the same folder. In ZArchiver, open the .zip and extract the APK. Both parts are required.
  2. Install the APK as an update to Yandex Cluster. Keep its app data; do not uninstall. The original Monjaro mod can remain installed separately.
  3. Open Yandex Cluster on the main screen. If Android asks for Display over other apps, allow it and return. Allow the usual navigation location permissions.
  4. Start a route. The cluster appears automatically once Yandex supplies its navigation session. Press Android Home to test continuity.
  5. To stop the cluster, tap Hide in its persistent notification. Opening or returning to the main map starts it again. Swiping the app task away also releases the cluster; force-stopping ends its process.
Item Value
APK Yandex-Maps-Monjaro-Cluster-v0.3.8-hud-test.apk
Launcher label Yandex Cluster
Package com.monjaro.yandexmaps.cluster
versionCode 739564650
Original mod retained separately ru.yandex.yandexmaps
Cluster map area Android display 2, 1920×720 at top left

The first main-map opening after this update selects independent camera, native 1920×720 at 20 fps, cluster DPI multiplier 1.0 and arrow/focus at 75% of map height (540 pixels from its top). That is halfway from centre toward the bottom. Later saved advanced settings remain usable. The original map-scale menu selection, including XL, is preserved. GMC controls Android UI density; the legacy mod's resource-density override stays disabled. If GMC settings are per-app, apply its UI sizing to this separate package as needed.

Included behavior

The main display keeps its full interface. The cluster has its own map window, following camera and frame cap. Panning on the main map does not pan the cluster. Both use the existing Yandex navigation; no second GPS subscription, route engine or MHUD output is introduced. Main-view stop/destruction no longer tears down the independent map. Its weak source reference clears while backgrounded.

Road events and speed cameras use the existing event feed, source visibility settings and bundled app artwork with application context. Traffic-light badges use the navigation's live signal, seconds, direction and geographic position. They clear after five seconds without live updates rather than predicting a countdown. Camera and countdown layers are enabled automatically, subject to the main app's settings, available data and SDK zoom rules. Badge artwork is specific to the cluster and does not exactly reproduce the main widget.

The cluster has a quiet foreground-service notification while active. Its own renderer and the global MapKit engine stay running on Home; the primary renderer can stop normally. Route calculation, voice and navigation lifetime remain owned by Yandex. This service does not boot-start or recreate a dead route/process.

MHUD remains disabled. Cluster-only 3D buildings, models and shadows remain off. The compatibility build preserves original SDK startup and analytics/ad behavior: previous broad suppression caused a reported startup crash. No measured on-car CPU, GPU or RAM saving is claimed. Two native map windows still add rendering load.

Research: BACKGROUND-RESEARCH.md, OVERLAYS.md, INDEPENDENT-MAP.md, DPI-INVESTIGATION.md. Checks: VALIDATION.md.

Advanced integration

Broadcast controls remain available for existing integrations, but installation and normal operation do not require them. Open the app first: the helper receiver is registered when a MapView is constructed.

Action prefix com.monjaro.yandexcluster. Effect
SHOW Show with saved options or supplied extras
HIDE Stop cluster rendering and restore an owned firmware mode
TOGGLE Show/hide with saved options
STATUS Toast and detailed helper status log
SET_RENDERER Set primary-map backend for its next launch; boolean enabled
SHOW extra Values / purpose
camera independent or mirror; new automatic preset independent
profile native, quality, balanced, eco; automatic preset native
dpi_scale float 0.75…2, independent only; automatic preset 1
anchor_y float 0…1; automatic preset 0.75
mirror_only boolean; skip firmware calls; default false
Profile Cluster buffer Map fps cap
native 1920×720 20
quality 1920×720 30
balanced 1280×480 20
eco 960×360 15

The window remains 1920×720. Smaller buffers soften labels. Higher DPI changes symbol sizing, not pixel count. dpi_scale=1 preserves native main-map scale: S/L=1, XL=1.5, XXL=2. A multiplier of 1.25 with XL would be 1.875. Changing the original density menu still deliberately restarts the app once.

Shared-camera mirror is an advanced fallback and remains foreground-only. It needs the primary TextureView backend, shares panning/zoom and cannot provide independent scale. Existing renderer preferences are preserved. Normal automatic independent mode does not require changing the primary backend.

Driver/other-app firmware mode changes win. The helper switches navigation mode 3, then about 100 ms later sends sendMessageToDIM(2,8,8,{1}). Cleanup restores a previous mode only when this helper changed it and mode 3 remains selected. A force-killed process cannot execute Java cleanup; factory/MConfig controls may be needed to reset the cluster mode. Missing display or navigation waits without moving the main activity to the cluster. New native SDK/JNI behavior requires head-unit validation; local tests do not execute the proprietary renderer.

Build

Only the exact supplied 30.3.0 Monjaro mod is accepted: SHA256 0fe762eacc041b5718b61cc465a22e6dec77a5c1751e3f0ad3d86a1cab004f1f. JDK 17+ (tested with 21), Android platform/build-tools 36, Python 3 and smali/baksmali/dexlib2 2.5.2 and Kotlin stdlib 2.0.21 (compiler classpath only) are required. Gradle 8.14.4, AGP 8.13.2 and Robolectric 4.14.1 run the tests. SDK contracts are compile/test only, never shipped.

export JAVA_HOME=/path/to/jdk
export ANDROID_HOME=/path/to/android-sdk
python3 tools/build_lite.py original.apk output.apk --variant compatibility \
  --ui-density firmware --routing-mode selected --kotlin-stdlib /path/to/kotlin-stdlib-2.0.21.jar \
  --smali /path/to/smali-tools --keystore /path/to/key \
  --alias your-alias --ks-pass env:KEYSTORE_PASSWORD
./gradlew :mirror:testDebugUnitTest
python3 -m unittest discover -s tools -p 'test_*.py' -v

Run the Python final-artifact checks after the APK build finishes. The builder checks real input SDK signatures, class preservation, identity/provider isolation, native/assets preservation, DEX structure, resources, alignment and signature. Source bundles exclude proprietary APK/DEX/native inputs, photos, signing keys and credentials. Historical Lite suppression remains tooling only.