Install
One command over USB. It takes about five minutes, and the first thing it does is save the stock system to your computer.
This replaces your Brick's operating system. Amalthea is not an app or an overlay: the installer overwrites the Brick's boot partition and root partition with Amalthea Linux, a custom distribution. The gaming frontend, the emulators and every other stock feature will be gone until you restore the stock system.
You do this at your own risk. Amalthea is free software and comes with no warranty of any kind (GNU GPL v3, sections 15 and 16). It has been developed and tested on one TRIMUI Brick (TG3040) running stock firmware 1.0.6; other stock versions are untested, and the installer warns you if yours differs. This project is not affiliated with or endorsed by TRIMUI.
Why there is no browser installer
My FM-1 firmwares install from a web page over USB MIDI. Amalthea replaces a whole operating system: the installer
has to back up about 515 MB of partitions to your computer, check them, stage new images on the Brick and drive a
reboot into a RAM installer. That is done more safely by a small script with full access to your files, so the
installer is a download you run once. It does everything on its own; you only type yes.
Experimental: a browser installer for Chrome and Edge now runs the same steps over WebUSB. It has not yet been tested on a real Brick; until it has, use the installer below.
What you need
- A TRIMUI Brick (TG3040) on the stock firmware, charged to at least 50 %.
- A USB-C data cable (a charge-only cable will not work) and a computer with macOS, Linux or Windows.
- ADB (Android platform-tools). If it is not installed, the installer offers to download Google's platform-tools into its own folder. The stock firmware already exposes ADB over USB; nothing has to be enabled.
- About 600 MB of free space on the computer, for the stock backup.
Installing
- Download amalthea-<build>-installer.zip from the latest release and unzip it.
- Switch the Brick on and let the stock system start. Connect it to the computer with the USB-C cable.
- Run the installer:
macOS and Linux
Open a terminal in the unzipped folder and run:
./install.shOn macOS you can type
cdin Terminal, drag the folder onto the window and press Return, then run the command. On Linux, if ADB reports no permissions, install your distribution'sandroid-udev-rules(orandroid-sdk-platform-tools-common) and reconnect.Windows
Double-click install.bat. If Windows does not see the Brick, install the Google USB Driver and reconnect.
- Read the notice and type
yes. From here on the installer works alone:- it checks the device: a TG3040, the expected partition sizes, the battery;
- it copies the stock boot and root partitions to the Brick's internal storage, then to your computer, into backup-<serial>, and checks them by SHA-256. Keep this folder: it is how you go back to stock;
- it copies Amalthea to the Brick and verifies every file;
- it writes the Amalthea boot partition, reads it back, and restarts the Brick;
- Amalthea's boot manager writes the new root filesystem from RAM, checks it, and starts Amalthea.
- The Brick shows the Amalthea logo, then the home screen. The installer says Done. Read the manual, open TRACKER and hold X.
What is written, and what is not
| Part of the Brick | What happens |
|---|---|
| Boot partition (p4, 15 MB) | Replaced: the stock kernel, unchanged, with Amalthea's boot manager |
| Root partition (p5, 500 MB) | Replaced: Amalthea Linux |
| Internal data (/mnt/UDISK) | Kept. Amalthea adds its folders and your sessions there |
| Stock settings partition | Kept, unused; back in use after a restore |
| SD card | Not mounted, not written |
| Bootloader, partition table | Never touched |
Each write is verified by SHA-256 before the next step. If anything fails before the boot partition is written, the Brick still runs the stock system. If the root write is interrupted afterwards, the boot manager never starts a half-written system: it waits in a recovery shell reachable over USB, and running the installer again finishes the job.
Updating
Download the newer release and run its installer the same way, with Amalthea on the home screen (the FX RACK and LIFEBLOOD appliances use the USB port for the FM-1). Save your work on the Brick first: like every start, the instruments restart blank. The installer copies your saved sessions to the computer (sessions-<serial>-<date>) before it changes anything. When only the instruments changed, it restarts them without restarting the Brick.
Going back to the stock system
Connect the Brick (Amalthea on the home screen) and run, from the same installer folder:
macOS and Linux
./restore.sh
If the backup is elsewhere: ./restore.sh path/to/backup-folder
Windows
Double-click restore.bat (or restore.bat -Backup path\to\backup-folder).
The Brick restarts into Amalthea's RAM recovery, writes your stock root and boot partitions back, checks both and restarts into the stock system, with its settings as you left them. Your Amalthea sessions stay in internal storage.
Troubleshooting
- No Brick found
- Use a data cable and another port; on Windows install the Google USB Driver; on Linux the udev rules above. Under Amalthea, stay on the home screen.
- Battery below 50 %
- Charge it and run the installer again; nothing has been changed.
- Untested stock firmware
- The installer names your stock version and asks before going on. Amalthea brings its own kernel, but only 1.0.6 has been tested.
- Stopped in recovery
- The installer prints the reason. Run it again to retry, or run the restore script. Nothing on internal storage is lost.
- Lost the backup folder
- A copy also stays on the Brick, in
/mnt/UDISK/amalthea-stock-backup; the restore script uses it when the folder is missing.
Problems, questions: GitHub issues. Please include the installer's output.
Building it yourself
Everything except the retained vendor files is built from the
source: the appliance in app/, Amalthea Linux in
system/, the installer in installer/. The vendor files kept in the images are listed in
VENDOR-COMPONENTS.txt.