Plugin OnionOS pour Miyoo Mini / Mini Plus qui permet de quitter OnionOS et démarrer TelmiOS directement depuis le menu Apps, sans passer par le menu Bifrost au redémarrage.
🤖 Ce projet a été entièrement vibe codé avec Claude Code — l'IA de développement d'Anthropic.
⚠️ Prérequis : Ce plugin nécessite le dualboot Miyoo-Bifrost installé sur la carte SD.
📱 OnionOS → Apps → Switch TelmiOS → Confirmer → 💫 Reboot → TelmiOS
- 🔍 Vérifie que TelmiOS est bien installé sur la carte SD
- 💬 Affiche un écran de confirmation natif OnionOS
- ✅ A = Confirmer → écrit le choix + flag autoboot → reboot
- ❌ B = Annuler → retour au menu OnionOS, rien n'est modifié
- ⚡ Au redémarrage, le menu Bifrost est sauté automatiquement → TelmiOS démarre directement
SwitchToTelmiOS/
├── 📄 config.json ← Déclaration de l'app pour OnionOS
├── 📜 launch.sh ← Script principal (vérification + confirmation + switch)
└── 📁 res/
└── 🖼️ icon.png ← Icône 96×96 de l'app
Le plugin utilise le mode Autoboot de Bifrost. Si tu utilises une ancienne version de Bifrost, mets à jour le fichier runtime.sh :
- 📥 Copie le fichier
DualBoot/.tmp_update/runtime.shde ce repo - 📋 Colle-le sur la carte SD dans
SD:\.tmp_update\runtime.sh(remplace l'ancien)
✅ Si tu viens d'installer Bifrost depuis le repo principal, cette mise à jour est déjà incluse.
- 📥 Télécharge ce repo (bouton vert Code → Download ZIP)
- 📁 Copie le dossier
SwitchToTelmiOS/sur la carte SD dans :
SD:\App\SwitchToTelmiOS\
Ta carte SD doit ressembler à ça :
SD:\
├── 📁 .tmp_update\ ← Bifrost (dualboot)
├── 📁 App\
│ ├── 📁 Terminal\ ← App OnionOS existante
│ ├── 📁 Tweaks\ ← App OnionOS existante
│ └── 📁 SwitchToTelmiOS\ ← ⭐ LE PLUGIN
│ ├── config.json
│ ├── launch.sh
│ └── res/
│ └── icon.png
├── 📁 onion\ ← OnionOS
├── 📁 telmios\ ← TelmiOS
└── ...
- 💾 Éjecte proprement la carte SD
- 📱 Insère-la dans le Miyoo Mini
- 🚀 Démarre sur OnionOS → va dans Apps → Switch TelmiOS
- ✅ Confirme avec A → la console redémarre directement dans TelmiOS !
Avant de basculer, le plugin vérifie que TelmiOS est correctement installé :
| Vérification | Chemin vérifié |
|---|---|
| 📁 Dossier TelmiOS | telmios/ |
| 📁 Système TelmiOS | telmios/.tmp_update/ |
| 📜 Script de démarrage | telmios/.tmp_update/runtime.sh |
| ⚙️ Binaires | telmios/.tmp_update/bin/ |
| 📚 Librairies | telmios/.tmp_update/lib/ |
Si un élément manque → message d'erreur affiché → aucune modification n'est faite.
Le plugin écrit deux fichiers sur la carte SD puis redémarre :
.bootchoice→ contienttelmios(le dualboot Bifrost lit ce fichier pour savoir quel OS lancer).autoboot→ flag one-shot qui indique à Bifrost de sauter le menu interactif et de lancer directement l'OS dans.bootchoice
Au prochain démarrage, Bifrost voit .autoboot, le supprime, et lance TelmiOS sans attente ni interaction.
| Problème | Solution |
|---|---|
| L'app n'apparaît pas dans OnionOS | Vérifie que SD:\App\SwitchToTelmiOS\config.json existe |
| L'app dit "TelmiOS introuvable" | Vérifie que SD:\telmios\.tmp_update\runtime.sh existe |
| Le menu Bifrost s'affiche au reboot | Le runtime.sh de Bifrost n'est pas à jour — remplace-le (voir Étape 1) |
| Erreur silencieuse (retour menu) | Consulte le log : SD:\.tmp_update\logs\switch_telmios.log |
- 🏠 Dualboot Bifrost : github.com/mkl159/Miyoo-Bifrost-
- 🧅 OnionOS : github.com/OnionUI/Onion
- 📖 TelmiOS : github.com/DantSu/Telmi-story-teller
Projet communautaire non officiel. OnionOS et TelmiOS sont des projets indépendants.
OnionOS plugin for Miyoo Mini / Mini Plus that lets you leave OnionOS and boot into TelmiOS directly from the Apps menu, skipping the Bifrost boot menu entirely on restart.
🤖 This project was entirely vibe coded with Claude Code — Anthropic's AI development tool.
⚠️ Prerequisite: This plugin requires the Miyoo-Bifrost dualboot installed on the SD card.
📱 OnionOS → Apps → Switch TelmiOS → Confirm → 💫 Reboot → TelmiOS
- 🔍 Checks that TelmiOS is properly installed on the SD card
- 💬 Shows a native OnionOS confirmation dialog
- ✅ A = Confirm → writes choice + autoboot flag → reboot
- ❌ B = Cancel → back to OnionOS menu, nothing is modified
- ⚡ On restart, the Bifrost menu is automatically skipped → TelmiOS boots directly
SwitchToTelmiOS/
├── 📄 config.json ← App declaration for OnionOS
├── 📜 launch.sh ← Main script (verify + confirm + switch)
└── 📁 res/
└── 🖼️ icon.png ← 96×96 app icon
The plugin uses Bifrost's Autoboot mode. If you're on an older Bifrost version, update runtime.sh:
- 📥 Copy the
DualBoot/.tmp_update/runtime.shfile from this repo - 📋 Paste it on the SD card at
SD:\.tmp_update\runtime.sh(replace existing)
✅ If you just installed Bifrost from the main repo, this update is already included.
- 📥 Download this repo (green Code → Download ZIP button)
- 📁 Copy the
SwitchToTelmiOS/folder to the SD card at:
SD:\App\SwitchToTelmiOS\
Your SD card should look like this:
SD:\
├── 📁 .tmp_update\ ← Bifrost (dualboot)
├── 📁 App\
│ ├── 📁 Terminal\ ← Existing OnionOS app
│ ├── 📁 Tweaks\ ← Existing OnionOS app
│ └── 📁 SwitchToTelmiOS\ ← ⭐ THE PLUGIN
│ ├── config.json
│ ├── launch.sh
│ └── res/
│ └── icon.png
├── 📁 onion\ ← OnionOS
├── 📁 telmios\ ← TelmiOS
└── ...
- 💾 Safely eject the SD card
- 📱 Insert it into the Miyoo Mini
- 🚀 Boot into OnionOS → go to Apps → Switch TelmiOS
- ✅ Confirm with A → the console reboots directly into TelmiOS!
Before switching, the plugin verifies TelmiOS is properly installed:
| Check | Path verified |
|---|---|
| 📁 TelmiOS folder | telmios/ |
| 📁 TelmiOS system | telmios/.tmp_update/ |
| 📜 Startup script | telmios/.tmp_update/runtime.sh |
| ⚙️ Binaries | telmios/.tmp_update/bin/ |
| 📚 Libraries | telmios/.tmp_update/lib/ |
If anything is missing → error message displayed → no changes are made.
The plugin writes two files to the SD card then reboots:
.bootchoice→ containstelmios(the Bifrost dualboot reads this to know which OS to launch).autoboot→ one-shot flag telling Bifrost to skip the interactive menu and directly launch the OS from.bootchoice
On next boot, Bifrost sees .autoboot, deletes it, and launches TelmiOS without any wait or interaction.
| Issue | Solution |
|---|---|
| App doesn't appear in OnionOS | Check that SD:\App\SwitchToTelmiOS\config.json exists |
| App says "TelmiOS not found" | Check that SD:\telmios\.tmp_update\runtime.sh exists |
| Bifrost menu shows on reboot | Bifrost runtime.sh is outdated — replace it (see Step 1) |
| Silent error (back to menu) | Check the log: SD:\.tmp_update\logs\switch_telmios.log |
- 🏠 Bifrost Dualboot: github.com/mkl159/Miyoo-Bifrost-
- 🧅 OnionOS: github.com/OnionUI/Onion
- 📖 TelmiOS: github.com/DantSu/Telmi-story-teller
Unofficial community project. OnionOS and TelmiOS are independent projects.