Skip to content

Release MG4Control v2.7.0 - #253

Open
SliDeeN wants to merge 146 commits into
mainfrom
beta
Open

SliDeeN wants to merge 146 commits into
mainfrom
beta

Conversation

@SliDeeN

@SliDeeN SliDeeN commented Nov 16, 2026

Copy link
Copy Markdown
Owner

✨ New features

🎨 New look

  • Complete redesign: the main menu is a column on the side, sub-tabs are pills, text and buttons are larger, with new colours and a new blue icon.
  • Menu side: Auto (follows the steering wheel), Left or Right — Settings › Interface.
  • Long lists get a search field; every screen reopens the last sub-tab you used.
  • Button labels go on two lines when there is room, otherwise they end with "…".

🤖 My automations (new, experimental)

  • Build your own automations: When / And if / Then, with ready-made templates (heated wheel or seat off after a while [IMPROVEMENT] Auto turn-off timer for heated steering wheel and seats #173, brightness from the sun Brilho automático #198, ABRP by profile…). The existing automations stay as they are.
  • Triggers: every vehicle sensor (switches on or off, goes above or below, changes, "For how long?"), time, every X minutes, sunrise / sunset, READY, P / D, charging, doors, phone, active profile, screen start-up…
  • Conditions: time, days, season, places (GPS), variables, random…
  • Actions: vehicle and climate settings, brightness, volume, media, windows, beep or your own sounds (USB drive), open or close an app, Android home / back / settings page, custom shortcut, variables, wait until, Yes/No question, navigation, run or stop another automation…
  • History with the real result of each action, run and ignored counters, copy / cut / paste, master switch.
  • Export / import (Downloads, USB drive or a folder of your choice) that keeps the links to places, profiles, sounds and shortcuts.
  • Experimental: not every combination has been tried in the car yet — your feedback is welcome.

🎛️ Shortcuts

  • Hardware buttons: one card per key with Short / Long / Double, per profile; keys can be renamed.
  • Quick settings pop-up ([IMPROVEMENT] Quick access interface #197): up to 8 tiles of your choice (lane assist, cruise / limiter, regeneration, battery heating, drive mode, seats, A/C…). A two-value tile toggles in one tap, the others open their values in a bubble.
  • Drive mode cycle ([IMPROVEMENT] add shortcut : Cycle drive mode (Sport, Normal, Eco...) #207): only the modes you choose, in your order, also while driving.
  • New action: run one of your automations.
  • A function's setting page also shows when it is on a floating button or used by an automation; the Car keeper page is always there.

🔘 Floating buttons

🖥️ Driver display V2 (#229)

🛡️ Car keeper — surveillance (#180)

  • With MG4-360-Camera-App, recording starts with surveillance and stops with it; a REC badge shows the recorded time.
  • "Surveillance camera" card: detected app, automatic recording, USB drive test with free space and estimated recording time.
  • The surveillance screen can follow the Normal / Dim / Off setting; Off is now fully black.
  • Power drawn from the battery shown in watts ([IMPROVEMENT] Surveillance Mode Consumption Power #210).

📊 Statistics

  • Trips per profile: a trip is split by the profile in use ("Mixed" when it changes), with a Profile filter.
  • Graph of each trip: consumption, with speed and elevation bands.
  • CSV export of trips and charges (Downloads, USB drive or a folder of your choice).
  • Distance measured every second; lists shown 50 at a time.

🗺️ ABRP (#188, online version)

  • Live data to A Better Route Planner: accounts typed in or imported from a USB drive, adjustable sending rate (down to 1 min when parked, [IMPROVEMENT] Update delay for ABRP #232), automation offered after adding an account.

📱 Android Auto / CarPlay (#251)

  • New option (Settings › Advanced settings, off by default): a phone plugged in before the screen starts is announced to the car again at start-up and wake-up, so Android Auto or CarPlay starts without unplugging it.
  • The Android Auto / CarPlay shortcut does the same when a phone is plugged in but no projection starts.

📺 Full-screen apps (#248)

  • Choose apps (Waze, ABRP…) for which the car's top bar, side bar or both are hidden — Settings › Advanced settings, off by default.
  • Swipe from the edge of the screen to bring the bar back for a few seconds. May conflict with custom launchers that also manage full screen. With MG4Dash, version 1.7.3 beta 24 or later is required.

🌡️ Climate

⚙️ Settings

  • Distance unit: Auto, km or miles, everywhere (Statistics, driver display, bubbles, charging pop-up).
  • Brightness down to 0 % on SWI133, SWI68 and SWI165 (the screen stays lit).
  • Silent updates: the update installs by itself and the app restarts.
  • Profiles: Duplicate, Rename and Delete from the ⋮ menu of each card.
  • New languages: Polish and Norwegian (thanks to magneroald, [IMPROVEMENT] Norwegian translation #239).
  • SWI173 supported natively ([IMPROVEMENT] Official support for the SWI173 firmware #175); a compatibility mode chosen by hand for an unrecognised firmware is dropped once it is recognised.
  • Diagnostic: "Save…" also offers a USB drive or a folder of your choice; 2000 log lines kept.

🔄 Changes

  • One Pedal ([IMPROVEMENT] Return to before shortcut action #226): the second press brings back the previous regeneration level ("As before"); a fixed level can still be chosen.
  • Car keeper pop-up: set up by touch only; surveillance needs a dashcam app, or your explicit agreement to run without video.
  • "Speak a text aloud" is no longer offered (the car has no standard voice engine).
  • The "Enable" switch is only on the Hardware buttons tab and only affects the steering-wheel keys.

🛠️ Fixes

SliDeeN and others added 30 commits November 2, 2026 08:39
versionName 2.7.0, versionCode 21.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SWI173 (A9, system apps suffixed _eh32_ind) is now detected and handled
as SWI131, without compatibility mode. Checked against the SWI69 and
SWI131 system extracts:
- the 85 carapi methods called by reflection all exist in the SWI173
  launcher library, and no carapi constant changes value;
- the transaction codes called directly are identical
  (ICarAdapterService, ICarAudioService, ICarGeneralCallback);
- the stock apps use the same 96 vehicle property IDs as SWI131 (the 7
  extra ones of SWI69 are only read by the diagnostic probes);
- media, radio and car adapter components exist, AllGo RemoteUIService
  is byte-identical.

A compatibility mode forced while a firmware was unrecognised (SWI173
users, DBI68 before the sensoyg fork) is now dropped once detection
recognises it, so the app returns to automatic detection.

Full suite with JDK 17: 884 tests per flavor, 0 failures.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Common base:
- DiAuto-style palette in light and dark themes; the driver display
  keeps its previous colours (new cluster_* colours).
- Softer shapes: card radius 20 dp, screen buttons 12/14/16 dp (pop-ups
  and dialogs keep their own style).
- SegmentSwitch: the 69 switches of the screens become "No | Yes"
  segments. It is a Switch subclass, so the code reading them is
  unchanged. "No"/"Yes" strings in 7 languages.
- RailButton: category rails 250 dp wide, 60 dp tabs with an icon that
  follows the text colour (ic_rail_*, Tabler outlines, MIT).
- Top bar: Dashboard tab added first, approved tab order, active tab
  with a card background, active profile and battery level on the right.
- Small texts 13 sp -> 15 sp.

Per tab:
- Dashboard: drive modes as five large tiles with icons, sections as
  bordered cards, climate temperature and fan side by side.
- Profiles: three-column card grid, drag in four directions, active
  profile framed and badged.
- Automation: new rail (Profiles, Climate, Screen, When leaving, Sounds),
  cards regrouped unchanged; a tab whose cards are all hidden disappears.
- Settings > Interface: general settings two per row.

Full suite with JDK 17: 884 tests per flavor, 0 failures.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- New "My automations" tab in the Automation rail: list of rules with
  on/off switch, When / If / Then summary, last run, Test and Delete;
  creation from four templates until the editor lands (step 2).
- Rule model (triggers, nested AND / OR / NOT conditions, actions with
  If / Else, Wait, Stop) stored as JSON, 30 rules at most.
- Engine reads only the signals active rules need, every 2 s, and only
  when a rule has a state or time trigger. Three-valued logic: a rule
  runs only on a clear TRUE; "becomes true" needs a false first.
- SET writes moved from the service to VehicleCommands, shared by the
  external API and the engine (same checks, same driving lock).
- Strings in 7 languages, 20 new unit tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Main menu moves to a 184 dp column on the left (icon above label, two
  lines max); the top bar is gone. The logo returns to the dashboard,
  which no longer has its own entry; five taps still unlock Diagnostic.
- Sub-tabs of the six screens become a scrollable row of pills above the
  content (Widget.MG4.CategoryTab, setCategoryTabActive).
- Removed: active profile and battery in the top bar, Close buttons on
  Profiles / Shortcuts / Settings, Settings title.
- DiAuto sizes on the app screens (not pop-ups): text about +20 %,
  buttons 52 -> 64 dp, Yes/No segments 64 dp / 21 sp, cards radius 24.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Full-screen editor (CustomRuleEditFragment): name and switch, then
  When (event, value becomes true for N s, time), And if (nested
  All / Any / None groups, value, time range, weekdays), Then (set,
  shortcut, profile, wait, message, stop, nested If/Else and Repeat)
  and Options (if running, cooldown, READY only). Row menu: edit, move,
  duplicate, delete. Values set with -/+ steppers, no keyboard.
- Nothing is written before Save; leaving with changes asks first; Test
  runs the version on screen, saved or not; Journal shows the last run.
- Engine: Repeat action (max 20), translated journal kept with the last
  run, OPEN_APP / OPEN_CUSTOM_APP refused.
- New: blank automation or template opens the editor; shortcut list
  shared with the Shortcuts tab (ShortcutCatalog); words moved to
  AndroidRuleWords; strings in 7 languages; tests for Repeat and journal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Shortcuts: the full-width "enable steering wheel shortcuts" banner
  becomes a "Steering wheel No/Yes" switch at the end of the sub-tab
  row (proposal A); the pills are dimmed with the content when off.
  Separator line under the old banner removed.
- Statistics: switching sub-tab scrolls back to the top.
- Menu side (Settings > Interface): Auto / Left / Right. Auto reads the
  driver position from the car configuration word 0x2170421e (byte 0:
  0 left, else right, -1 unset), as SaicAdapterService does on SWI69;
  unreadable keeps the menu on the left. On the right, the menu column
  moves after the content and the pills align to the right edge.
  Diagnostic probe logs the reading (MG4_UI).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…#201)

Shortcuts
- "Hardware buttons" replaces the Shortcuts / Advanced / List sub-tabs:
  capture status banner, per-profile scope, one card per key with
  Short / Long / Double. The star buttons keep their classic settings;
  a double press or a per-profile setting copies them to advanced first.
- New shortcut action RUN_RULE (51) for keys and floating bubbles.

My automations
- Lot 1: about 40 new signals (regen, one pedal, ADAS, detailed climate,
  seats, lock, key away, brightness, volume, night, time since READY,
  data usage, charge limit, plug, firmware, projection); time-of-year,
  random, variable conditions; every-X-minutes, value-changes and manual
  triggers plus ready-made ones (charging, plug, lock, phone, key);
  actions for brightness, volume, ADAS and climate settings, media,
  windows, windows of the app, sound, app, custom shortcut, other
  automation, variables, wait-until, Yes/No question.
- Lot 2 (to validate in the car): places (GPS, time-only updates, last
  fix kept regardless of age), sunrise/sunset, Wi-Fi, Bluetooth,
  hotspot (state from getWifiApState, start confirmed, as DiAuto does),
  text-to-speech, navigation.
- Page: master switch, history, variables, places, JSON export/import.

UI
- Profile card: "Set as default" aligned with the other buttons.
- AEB / lane assist Yes/No centred in their cards.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The car's T-Box GPS feeds the Android "fused" provider, which is missing
from the provider list but works; the "gps" provider had no fix at all
(diagnostic of 2026-11-02). Positions are now read from fused first, then
gps, network and passive; following subscribes to fused and gps without
checking the provider list; "Save the current position" asks for a fresh
fix (fused, then gps, up to 8 s) when none is known.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…201)

- My automations editor: the choices of one action (add, edit, row menu)
  follow one another in a single window (Assistant). Back shows the
  previous step with its choice highlighted, from the second step on;
  Cancel stays. Value windows (number, time, text…) get Back too.
- Hardware buttons: every card has a ⋮ menu (Rename, Original name,
  Remove for added keys); the rename field is prefilled with the name of
  the Android key of the same code, as a suggestion only. Card titles are
  56 dp high so star cards line up with added keys.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Quitté par l'accueil ou une autre appli (pas par « Masquer »), l'écran
restait ouvert en arrière-plan et le raccourci ne faisait que le
rallumer : impossible d'y revenir jusqu'à la fin du programme. Il est
désormais toujours relancé (singleInstance → onNewIntent, rallumé).

Journal ajouté pour l'affichage « format téléphone » vu parfois en mode
chien : taille réelle de la fenêtre à chaque changement, écran annoncé,
échelle et mode multi-fenêtre.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Annulé pendant le décompte, l'écran de fin devenait visible avant d'être
rempli : le temps que l'activité se ferme, un « Fermer » seul apparaissait
sur fond noir. L'annulation vide désormais l'écran, montre le toast et le
ferme, sans passer par la vue de fin.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The master switch and its divider sat at the end of the sub-tab row on
every sub-tab. They are now shown only on the first one, "Hardware
buttons". When the switch is off the pills are greyed out, so it can
never be hidden while off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The vertical line between the left menu column and the content area is
gone, on both menu sides.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Long labels were handled differently from one button to the next: most
wrapped and got clipped by the fixed button height, some were cut to one
line, a few shrank. New common rule (ButtonLines): two lines when the
button's real height can hold them, otherwise one, with an ellipsis
beyond that. Worked out at each layout from the button height and the
line height, so it follows the language and the text size setting.
Wrap-content buttons always get two lines; auto-sizing buttons are left
alone.

Applied to every MaterialButton in the main window, to app dialogs and to
the hardware button action tiles. On-screen overlays are not covered.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
New "Export" button next to "Delete everything" in Statistics > General >
History. It opens a window with three destinations: Downloads (default,
Download/MG4Control), the USB drive (shown only when one is plugged in,
with its name and free space) and "Other folder…" through the Android
folder picker, kept with a persistent permission. The last choice is
remembered.

Two files, mg4control_trips_<date>.csv and mg4control_charges_<date>.csv:
UTF-8 BOM, ";" separator, decimal comma except in English, English
column names with units, empty cell for unknown values, chronological
order. WRITE_MEDIA_STORAGE added for writing to the USB drive.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
#206)

Car test on SWI133: Downloads and "Other folder…" worked, but the direct
USB export failed because an app cannot create a folder at the root of a
removable volume on Android 9 (mkdirs refused on /storage/<uuid>), while
the same drive picked in the folder picker was written without trouble.

The USB tile now writes through the Android external storage provider
directly, without the picker (MANAGE_DOCUMENTS, granted to the
platform-signed app, replaces WRITE_MEDIA_STORAGE). The MG4Control folder
is created on the drive if needed. A file with the same name is now
overwritten instead of being duplicated as "name (1).csv", for the chosen
folder too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… tap card titles to expand

- Shortcuts > Floating buttons (mockup C): the switch sits right under
  the profile choice and is named after that profile ("Floating buttons
  for Paul", or "Show floating buttons" with no profile). A sentence
  explains the current state (shown on top of every app / hidden). The
  profile row text is clearer. Translated in 7 languages.
- Dashboard: the heated steering wheel toggle is centred vertically in
  its card.
- Automation: tapping a card title expands or collapses it, like the
  chevron.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
New shortcut action "Drive mode cycle" (id 52): it goes only through the
modes the user picked, in the chosen order, instead of the full round of
the car's own button. Eco, Normal, Sport, Snow and Custom are offered on
every firmware; the shortcut works while driving.

- "Mode cycle" sub-tab in Shortcuts, shown once the action is assigned,
  built like the regen cycle page: tap the modes in order, the rank shows
  on each button, Clear / Save, at least two modes. Default cycle when
  nothing is saved: Eco, Normal, Sport.
- On each press the mode is read from the car; the next one in the cycle
  is applied, or the first one when the current mode is not in the cycle
  or unreadable. A toast names the new mode.
- Floating buttons show the current mode.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reported by a user: garage mode left the modules on the driver display.
The cluster overlay never checked garage mode. It now shows nothing in
garage mode (pre-climate card included), and switching the mode on or
off refreshes the driver display right away. The garage mode description
mentions the driver display, in 7 languages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reported by the SWI173 tester: turning shortcuts on did not stick, the
switch was back to off when coming back to the screen. The listener only
saved when the switch reported a pressed state, which the SegmentSwitch
from the redesign never does, so "Yes" was never saved (on every
firmware; users who had enabled shortcuts before kept their setting).
Every user change is now saved; only the state set when the screen opens
is ignored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…light

- Shortcuts: no warning window after turning the master switch on.
- The master switch only greys the Hardware buttons page; pills and the
  other sub-tabs (floating buttons with their own switch, cycles, car
  keeper, custom shortcuts) stay usable. It only ever gated the
  steering wheel keys.
- Profiles: the applied profile card is highlighted right after the tap,
  without waiting for the writes to finish or switching tabs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The diagnostic window's "Download" button becomes "Save…" (mockup B): it
opens the same destination window as the statistics export — Downloads
(Download/MG4Control), the USB drive when one is plugged in, or another
folder from the Android picker. The last choice is shared by both.
StatsExportDialog becomes the generic ExportDialog (file renamed in the
previous commit). The removed shortcut warning texts and the old download
texts are deleted in 7 languages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…or cause

SWI173 tester log: a profile turned the A/C off and the car read back 0,
but the next profile found it on again. Leaving AUTO through the fan
speed, or changing recirculation, after the A/C step can switch it back
on. The profile climate block now waits 800 ms at the end, reads the A/C
again and sets it back as requested (no press when it is already right).

Vehicle settings calls that fail logged "exc: null" (setLasWarningSound
on SWI173): the log now gives the cause hidden under the reflection
exception, with the arguments.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The pre-climate, dog mode and surveillance screens show the live power in
watts in their status line (mockup A): "Consumption 1,850 W" next to the
outside temperature and battery on the pre-climate screen, and
"battery 78 % · 240 W" in the dog mode and surveillance status lines.

Battery voltage x current, read once a second, averaged over the last 5
readings and rounded to 10 W (PowerSmoother). Nothing is shown while the
reading is unavailable or the car is charging. The countdown and end
screens are unchanged. Translated in 7 languages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The car turns the A/C back on whenever the setpoint changes, even in
manual mode with the A/C off, on every firmware. New option in
Settings > Advanced ("Climate · A/C"), off by default:

- Changes made by MG4Control (dashboard, HVAC popup, shortcuts,
  automations, profiles, pre-climate): the A/C is read just before the
  setpoint is written; if it was off, it is read again 700 ms after the
  last change and turned off again if the car switched it on.
- Changes made on the car's screen (on trial): while the option is on,
  the climate is read once a second; an A/C going from off to on within
  1.5 s of a setpoint change not written by MG4Control is turned off
  once per change.

Never in AUTO, with the front defrost on, climate off or in garage mode.
A/C commands are now serialised so two series of presses cannot mix.
Translated in 7 languages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eal setting pages

User report: launching Car keeper from the profile picker tile, with no
button assigned to it, left its settings page (lock delay, battery
threshold, screen mode, driver display card, reminder) hidden. The Car
keeper sub-tab is now always shown on a known firmware.

The setting pages of the cycles (regen, drive modes, profiles, audio
sources) also appear when the function is on a floating button of any
profile, not only on a hardware button.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
In 2.7.0-beta.1 "Edit" seemed to do nothing: the edit panel opened at the
bottom of the page, below the screen, since the redesign made everything
taller. The panel now opens inside the card of the bubble being edited,
in its place in the list, with an accent frame:

- heading "Edit "<bubble title>"" instead of "Button n", updated live;
- one card open at a time; in it "Edit" becomes "Close" and "Delete" is
  hidden; the Close button at the bottom of the panel is gone;
- the page scrolls to the open card, also after "Add";
- while editing, rows are repainted in place instead of rebuilding the
  list, so typing the title keeps the keyboard.

Translated in 7 languages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bubbles now use the 2.7.0 redesign blue (#A6C8FF) instead of sky blue.
The colour can be chosen (mockup A with the picker of mockup B):

- "Bubble colour" in the floating buttons options, for every bubble of
  every profile, and "Colour" in each bubble's edit panel ("Default"
  follows the general colour);
- nine swatches, a "Custom…" swatch opening a picker (light / dark
  square and hue bar, by touch), the colour code shown and editable,
  and "Default";
- the colour drives the outline, the filled "on" bubble (text switches
  to dark or light to stay readable), the value flash and the halo; the
  orange outline while moving is unchanged.

BubbleColors holds the palette, hex code, text contrast and HSV maths,
with tests. Translated in 7 languages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SliDeeN and others added 22 commits November 14, 2026 13:27
… OFF->ON

- Android restored the dashboard switches' saved state after their
  listeners were set, so coming back to the dashboard rewrote TSR, AEB,
  ELK... in the car (11 listeners fired in the test). Dashboard switches
  no longer save their state; it always comes from a car read.
  Test: DashboardSwitchRestoreTest.
- SWI133 setTsrMode(true) restored the saved overspeed / speed-limit
  tones even when TSR was already on, overriding the profile (speed limit
  tone turned back on). It now restores them only on a real OFF->ON.
- Diagnostic: new "SWI133 speed alerts" section reading 0x1010027 and both
  signal pairs (0x503004e/4f and 0x503005b/5c) used by the stock settings
  app, to find which one follows the car's screen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
90 corrected texts from the contributor's updated nb_strings.xml, merged
text by text into the current file (his copy predates 45 newer strings,
which keep their translation, and still had 2 removed ones). Main changes:
"kjøretøy" -> "bil", READY kept in English, "Forbehandling",
"Sjåførskjermen", "Skiltgjenkjenning", "Frontkollisjonsassistent",
"TILPASSET", "Trigger". Three small fixes on top: "Denne bilen",
"bilen din", and "VIL KUNNE TA KONTROLL" (was "KUN", i.e. "only").
Placeholders and escaping checked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…bar (#222)

- New "Black" fill (#000000) next to Dark / Tinted / Light: at 100 %
  opacity a bubble blends into the black top bar.
- New per-bubble "Width": Automatic (as before) or Fixed, 60-240 dp, so an
  information bubble no longer changes width with its value; a longer text
  ends with "…". Copied with the rest of the appearance.
- Top bar: the climate tab and the start of the bar are no longer
  reserved; a bubble is placed where it is dropped, avoiding only the other
  bubbles of the bar.
- Strings in 9 languages; test BubbleWidthBlackTest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
At start-up the SAIC cluster projection app can miss its one-shot
"LVDS ready" signal (its page resumes before the car service connects),
so the cluster keeps its native page until the next tab change.

- ClusterReadySignal: read/write 0x21407b01 (media) and 0x21407b16
  (navigation), same values and order as McuDataRepository.sendFicmReady.
- ClusterModuleOverlay: 3 s after each window pose, resend the signal on
  the Music or Navigation tab; log both signals on each tab change (and
  1.5 s later) and the time since boot when the window is posted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Three more corrections from magneroald: adv_sc_step_key "1 · Knapp",
adv_sc_need_key "Velg en knapp å konfigurere først", adv_sc_key_unknown
"Knapp %1$d" ("nøkkel" means a car or API key, these are buttons).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…by 50

Simulator:
- Bubble editor (#222): Black fill next to Dark / Tinted / Light, Width
  (Automatic or Fixed 60-240 dp, step 10, 110 to start); a fixed-width
  bubble keeps its width and ends a long text with "…".
- SWI173 in the firmware picker (handled as SWI131, driver display module
  on the variant with SAIC's cluster app).
- Statistics: trips and charges lists 50 at a time with "Show 50 more" /
  "Show all"; distances, speeds and consumption follow the distance unit;
  speed and elevation bands can be shown together.
- Driver display settings per profile: follows the followed profile,
  marks values that differ between selected profiles.
- Car keeper screens: scheduled cycles, start time, surveillance screen
  without a camera.
- Strings regenerated (9 languages, Norwegian corrections from #250).
Site (FR/EN): bubbles placed anywhere in the top bar, black fill and fixed
width, trip/charge lists by 50, SWI173 notes in the compatibility table.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Yes/No switch as in SegmentSwitch: 64 dp, 21 sp, each half picks its
  value; no vertical line next to the menu.
- Driver display editor: S/M/L sizes, km/miles per slot, full-width slot,
  consumption and regen colours, units per info, drag to swap, info
  picker in its own window with the app's list and order
  (ClusterInfo.choices: trip infos, BubbleInfo.FIRST, other signals,
  filtered per firmware like InfoIcons.readable); power in kW without a
  sign and energy with 2 decimals in kWh, as in the app.
- Car keeper popup: fan level bar, current settings at the bottom.
- Quick settings: "+ Choose tiles" cell while fewer than 8 tiles.
- Shortcuts to automation cards open the right sub-tab; empty CSV export
  shows the app's message; version read from the page.
- Real QR codes for GitHub, GitLab and the latest release.
- Site: drag to move in the driver display editor.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AllGo checks the USB devices only once, when its service starts, so a phone
already plugged in can be missed by Android Auto and CarPlay. MG4Control now
re-sends USB_DEVICE_ATTACHED (same method as AA Kick), which restarts both
paths in AllGo:

- Advanced setting, off by default: at startup and on wake from a real sleep.
- Android Auto / CarPlay shortcut: with no session but a phone on USB, it
  re-detects the phone and opens the projection when it starts.

Two attempts at most (announce, then USB reset + announce), nothing when a
projection is already open, Android phones left to AA Kick when installed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…251)

A phone still in accessory mode from a previous session (e.g. after sleep)
is only rediscovered by AllGo when plugged in, so the re-detection now sends
it the "device attached" announcement too instead of only waiting; the second
attempt resets its USB port. A phone switched by our own first attempt is
left alone so the switch is not broken.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Re-read AllGo right before the USB reset: reset only when it confirms no
  session; stop if it does not answer.
- Garage mode stops any re-detection; startup/wake re-detections also stop
  when the option is turned off or the service stops (checked at start and
  before the reset). Scheduled checks are removed when the service stops.
- A shortcut press during an automatic re-detection joins it and gets its
  result; if that run was left to AA Kick or cancelled for a reason that does
  not apply to the shortcut, the press starts its own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
)

New card in Settings > Interface (off by default): pick apps and, for each,
Normal / Banner / Bar / All. Applied through Settings.Global policy_control,
shared with MG4Dash under a common rule agreed with its developer:

- ImmersivePolicy (pure Kotlin, shared with MG4Dash): one Global key per owner,
  each owner only removes its own packages and those of uninstalled owners,
  per-section merge (full/status/navigation/preconfirms), dead sections
  dropped, Android Auto and CarPlay never added; 20 agreed cases tested.
- ImmersiveApps: pass at service start and on every change, writes in the
  agreed order, single re-read 5 s later. Paused while an MG4Dash version
  without the merge is installed (fusion versionCode not known yet).
- Selection window with search; apps MG4Dash already hides fully are flagged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- hasStake: with nothing to add, nothing of ours to remove and no key left by
  an uninstalled owner, policy_control is left untouched (never "tidied").
  While paused for an old MG4Dash, only our own leftovers are removed.
- A refused Settings.Global write stops the pass and keeps the tracking keys;
  one retry 5 s later.
- Tests R1-R4 reproduce four shared-rule defects (partial mode lost, stuck
  entry after concurrent removals, empty section dropped, wildcards covering
  Android Auto/CarPlay); ignored until the rule change is agreed with MG4Dash.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Every pass re-adds what all installed owners claim (partial modes survive).
- Shared immersive_managed key: anything one of us wrote and nobody claims
  any more is removed, even after two simultaneous removals.
- Empty .status/.navigation kept while immersive.full targets something,
  empty .preconfirms while full or navigation does; sections holding only
  -package entries count as empty.
- Android Auto and CarPlay excluded next to * / apps, exclusions dropped
  once the wildcard is gone.
- hasStake also true for AA/CarPlay in clear or unclaimed managed entries.
- MG4Dash 292 (1.7.3 beta 24) required; MG4Dash install/update/removal
  triggers a pass.
- Tests R1-R7 enabled, test 06 updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With MG4Dash < 292 installed, MG4Control only removes its own leftovers:
hasStake ignores Android Auto/CarPlay in clear, and plan leaves the rest
of the value untouched (no AA/CarPlay removal, no dedup, no dead-section
drop, no wildcard exclusions, same order), dropping only a section our
removal empties. New optional cleanupOnly parameter; tests R8/R9.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Revert the cleanupOnly parameter of the shared rule (back to v2 as sent to
the MG4Dash developer): the pause is MG4Control-only. With MG4Dash < 292
installed, MG4Control no longer applies the shared rule; ImmersiveCleanup
removes only the entries our own key identifies (minus those another
installed owner claims), leaves everything else as is, then clears our
key. Nothing is written without our key; immersive_managed is untouched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each time the switch is turned on, a warning dialog explains that the
feature changes a shared Android setting and may conflict with custom
launchers or other apps managing full screen, with the edge-swipe tip
(left or right edge depending on the driver side). Cancel or dismiss
puts the switch back off without writing anything. A swipe reminder
stays under the switch while the option is on. 7 strings in 9 languages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ix (#248)

- Move the full-screen apps card from Settings > Interface (where it fell
  into the driver display block) to Settings > Advanced, under the
  Android Auto / CarPlay card.
- OverlayKit.fond now mutates a resource background before repainting
  it: colouring the dialog's Save button repainted the shared tile
  drawable, turning the search field, Cancel and later dialogs' tiles to
  the accent colour. Regression test ImmersiveDialogTileTest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 30 new things: "Phone plugged in before start-up" (Advanced card,
  shortcut re-detection) and "Full-screen apps" (Advanced card under
  Android Auto / CarPlay, warning on each activation with the swipe tip,
  per-app Normal / Banner / Bar / All window).
- strings.js regenerated from the app resources.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every French UI string (41 occurrences in 38 strings), the website
source and generated pages, the simulator and the French README now say
"application(s)" rather than the informal "appli(s)".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ver side in the virtual vehicle (#248)

- Full-screen apps window rebuilt like ImmersiveAppsDialog: adjust icon,
  search by name or package, hint, 76 dp rows with 500 dp segments,
  "Already full screen by MG4Dash" line, empty state.
- Virtual vehicle: MG4Dash version (not installed / older / compatible)
  and steering wheel side, to try the pause warning, the MG4Dash line and
  the left / right swipe tip.
- Site text: MG4Dash requirement reworded, hint about the new controls.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Android Auto / CarPlay: shortcut re-detection and the "phone plugged in
  before start-up" option (#251).
- New "Full-screen apps" section (#248): modes per app, warning, swipe tip,
  common rule with MG4Dash (1.7.3 beta 24 required).
- Surveillance without a camera and "Also apply to surveillance"; bubble
  black fill, width and free placement (#222); automation results and
  import links; lists by 50; profile Duplicate / Rename; new files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@SliDeeN SliDeeN self-assigned this Nov 16, 2026
Comment thread docs/assets/js/site.js Resolved
SliDeeN and others added 6 commits November 16, 2026 11:34
Nine permissions added since 2.6.10 were missing from the allowlist, which
failed the gate on the 2.7.0 release PR. Each one is documented with its use:
- location: automation places and sun times, auto brightness, trip graph,
  ABRP (online only, off by default);
- Wi-Fi, Bluetooth and tethering on/off actions of My automations (#201);
- shared storage: profile backup, automation sounds, Statistics CSV export,
  and MANAGE_DOCUMENTS for the USB drive export (#206).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
#254)

- New RuleSignal.ALTITUDE (metres, rounded): the most recent known location
  carrying an altitude, from the car's GPS (already confirmed in the car by
  the trip graph elevation band). Kept fresh while driving by the Statistics
  tracking, and by the location follow-up when an automation reads it.
- Information bubbles and driver display slots: "Altitude" with a mountain
  icon, in feet when the distance unit is miles (per-slot km/mi choice on the
  driver display, like speed and range).
- My automations: value in the Places category, 0-4000 m in steps of 50 m.
- Label in 9 languages; test for the m/ft conversion and the choices.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
)

Feedback from a CarPlay tester: no CarPlay at startup, and the shortcut
said "no phone" a second before CarPlay became available. Wired CarPlay
does a USB role switch (UsbCarPlayDevice in DeviceManagerService): once
it starts, the iPhone becomes the USB host and leaves the head unit's
device list, which our second attempt read as "no phone".

- An unreachable AllGo no longer stops the re-detection (read as "no
  session"), at startup and from the shortcut; only an open session does.
- Startup / wake: when no phone is on USB yet, look for it every 4 s for
  one minute, like AA Kick; a phone appearing already in Android Auto mode
  is left to AllGo and only its session is awaited.
- iPhone: 30 s wait per attempt; an iPhone leaving USB after our
  announcement is the CarPlay role switch, so no reset and no "no phone",
  the session is awaited and the shortcut opens CarPlay when it comes.
- UsbPhoneRule.stillThere with its test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Turning the option on did nothing until the next startup or wake, so a
tester who enabled it with the phone already plugged in had to use the
shortcut. Now, if a phone is on USB, a re-detection starts right away
(new ACTIVATION origin): silent, single USB look, not left to AA Kick
(which only acts at boot), cancelled if the option is turned off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- values-cs: the 1958 app strings translated from English (formal "vy",
  Czech quotes, one/few/many/other plurals); formats, escapes and
  formatted="false" checked against values-en.
- AppLanguage: "cs" supported, so a car set to Czech starts the app in
  Czech at first launch without the picker.
- "Čeština" button in Settings › Languages and in the first-launch picker;
  both grids now 2 rows of 5 (FR EN DE ES PT / IT TR PL NB CS).
- settings_language_cs in all 10 languages; AppLanguage and
  ChargePopupLayout tests cover Czech.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
, #257, #251)

- Site: 10 languages, 31 new things, new "Altitude as an information"
  card with its demo; information bubbles, driver display, car language
  and phone re-detection cards updated (activation, one-minute search,
  CarPlay role switch, shortcut opening the projection).
- Simulator: Czech strings (strings2js reads values-cs), language grids
  in 2 rows of 5; virtual-car altitude (feet with miles) in bubbles,
  driver display slots and automation triggers/conditions (Places, 0 to
  4000 m by 50 m).
- README (EN and FR): phone re-detection changes, altitude, Czech,
  10 languages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants