# mgu-store An app store for BMW iDrive 7 and iDrive 8 head units (MGU). Browse, install, update and remove apps on the car's screen, from GitHub repositories, web addresses or a USB stick. It installs: - the **Store** app; - the **updater**, which downloads and installs what the Store asks for; - the **deploy tool**, which performs and can roll back every install; - **app privacy**, which keeps installed apps out of the head unit's reports to BMW; - the **renderer**, which draws the Store and other apps' graphics; - **Python**, for apps the head unit builds from source; - the **internet uplink**, for internet through a USB adapter, an LTE stick, a tethered phone or Wi-Fi. On iDrive 8, installs and removals take effect at the next head-unit restart. ## Screenshots The Store: apps and head-unit tools from every source. ![The Store page, listing installed tools and the apps available from the sources](docs/screenshots/store.png) An app's page, with its source, version and Install. ![The page of the Drag Timer app, with its version, source and an Install button](docs/screenshots/app.png) Installed: the apps and tools on the head unit. ![The Installed page, listing the installed apps and head-unit tools with their versions](docs/screenshots/installed.png) Settings: sources, Wi-Fi, accounts and phone access. ![Settings, with the default sources, Wi-Fi, Accounts and Check now](docs/screenshots/settings.png) Adding a GitHub repository: pick its releases, tags or a branch. ![Adding a GitHub repository as a source, offering Releases, Tags and its branches](docs/screenshots/add-source.png) ## Requirements - A computer (Windows 10/11, macOS or Linux, x64 or arm64) with the OpenSSH client, which all three have built in. - Root SSH access to the head unit and root's private key. Tools such as [idrive7-8-ssh-root](https://github.com/cauliflowermossgrape/idrive7-8-ssh-root) set it up over an ENET cable. - A way to reach the head unit's SSH: the car's Wi-Fi hotspot (default address `172.16.222.97`), ENET, or any other SSH route. - The car parked and on stable power until the install finishes. ## Install Connect the computer to the head unit (the car's Wi-Fi hotspot or an ENET cable), then run the installer with root's SSH key: ```sh # macOS, Linux curl -fsSL https://raw.githubusercontent.com/robertnisipeanu/mgu-store/main/deploy/install.sh | sh -s -- first-install --identity ~/.ssh/mgu_root_key ``` ```powershell # Windows PowerShell & ([scriptblock]::Create((irm https://raw.githubusercontent.com/robertnisipeanu/mgu-store/main/deploy/install.ps1))) first-install --identity $HOME\.ssh\mgu_root_key ``` It finds the head unit by itself and says which connection it used. The other commands below (`token`, `usb-repo`, `first-install --from`) run the same way, in place of `first-install …` in the one-liner. When the installer asks `Restart the head unit now? [y/N]`, answer `y` and it restarts the head unit. The Store's tile then appears among the car's apps, and every later update comes through the Store. | Option | What it does | |---|---| | `--identity ` | root's private SSH key | | `--host
`, `--port ` | reach the head unit at this SSH address instead (port 22 unless given); for an SSH config alias, give its port with `--port` | | `--user ` | SSH user (default `root`) | | `--ssh-opt