概要
A web-first mobile OS built on Linux, where websites and PWAs feel like native apps: an open-source ChromeOS for phones.
開発ツール計測したスター増加
- 24時間
- +4
- 7日間
- 履歴を収集中
- 15日間
- 履歴を収集中
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルcarlOS
carlOS is a web-first mobile operating system, built on Linux. Its interface makes websites and Progressive Web Apps look and feel like native apps, with no app store between you and them. Think of it as an open-source ChromeOS for phones, without the Google account.
Experimental. carlOS is a prototype, meant for advanced users for now. Try it in your browser at trycarlos.dev, and put it on a phone you can spare.
| Start | Search | Music | Messages |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
carlOS is a Linux distribution for phones and PCs: its own system, interface, apps, packages and images. Getting Linux onto a phone in the first place is half the work, so this repository holds both: carlOS itself, and the guides, phone notes and agent skill for turning an Android phone into a Linux pocket computer you control.
This repository was android2linux until the project was renamed carlOS: its guides, phone notes and apps carry on here, and its agent skill is now skills/carlos.
Contents
- Install
- What's in this repository
- Phones
- Getting started
- Safety
- Guides
- Apps
- Building carlOS
- Contributing
- License
Install
carlOS is experimental: try it in your browser or a virtual machine first, and put it only on a phone you can spare.
In your browser. trycarlos.dev runs carlOS in a phone on the page, and os.trycarlos.dev runs it on its own, on demo data in the tab.
In a virtual machine (a PC). carlOS's VM image is the same system a phone gets, with the same packages and updates. Download an image from the latest release: carlos-VERSION-x86_64.qcow2 shows carlOS's desktop layout, carlos-VERSION-x86_64-phone.qcow2 a phone's screen. In virt-manager:
- New VM, Import existing disk image, the downloaded file, operating system "Generic Linux"; 4 GB of memory, 2 to 4 CPUs.
- Tick Customize configuration before install, then in Overview set the firmware to the plain UEFI (
OVMF_CODE_4M.fd, not asecbootone: the image is not signed for Secure Boot); keep the disk on VirtIO and the video on Virtio. - Begin installation. It boots into carlOS by itself. The user is
user, with no password: the lock is a swipe, andsudoasks for nothing. A phone-shaped screen taller than yours fits with View, Scale Display, Always.
sudo apk add carlos-phone-screen (or del) switches a VM between the phone's and the desktop's layout, at the next login. Images for Apple Silicon Macs (UTM) are coming.
On a computer or phone that already runs Alpine Linux or postmarketOS with OpenRC. Three commands turn it into carlOS, from carlOS's own signed repository, packages.trycarlos.dev; apk upgrade keeps it current:
sudo wget -O /etc/apk/keys/carlos-packages.rsa.pub https://packages.trycarlos.dev/carlos-packages.rsa.pub
echo https://packages.trycarlos.dev/alpine/v$(cut -d. -f1,2 /etc/alpine-release)/carlos | sudo tee -a /etc/apk/repositories
sudo apk add carlos carlos-autologin
Then restart: carlos-autologin starts the device straight in carlOS; without it, carlOS is a choice on the login screen. carlos-bootsplash adds carlOS's boot splash. sudo apk del carlos carlos-autologin takes it all away again. From Alpine Linux 3.24 (aarch64, x86_64; where Alpine has doas rather than sudo, use doas) or postmarketOS v26.06 with OpenRC (aarch64 phones); carlOS runs on OpenRC, not systemd.
A fresh install. Ready-made images for supported phones, starting with the Xiaomi Redmi Note 9 Pro Max, and an installer at trycarlos.dev/install that flashes them from the browser, are coming. Today it takes Linux first (Getting started), then carlOS as above.
What's in this repository
shell/ |
carlOS's interface: shell/app/ is the page (a Light app), the rest is the backend that runs Chromium and talks to the system |
phone/ |
carlOS on a phone: the build, the session and the checks |
scripts/ |
Building and publishing the packages, and the phone and VM images |
website/ |
trycarlos.dev, with the live demo |
design/ |
The guidelines, the design system and the screens' canvases |
skills/carlos/ |
An agent skill for putting Linux on a phone: the method, the safety rules, and which guide to read when |
| Guides | The method step by step, for any phone, and a list of gotchas |
phones/ |
One folder per phone: what runs on it, how to install it, what works, the fixes it needs |
apps/ |
Web apps reworked for phone screens, with one installer |
AWESOME.md |
The systems, tools, apps and communities this builds on |
Phones
| Phone | Chip | Linux | Status |
|---|---|---|---|
Xiaomi Redmi Note 9 Pro Max (excalibur) |
Snapdragon 720G | Ubuntu Touch 24.04; postmarketOS v26.06 | Both run. postmarketOS needs two fixes for this variant; no charger driver, but it charges from USB-C chargers with a device-tree fix; only the macro camera, with a device tree of its own |
Xiaomi Poco X8 Pro Max (dash) |
Dimensity 9500s | none yet | No Linux port; Linux runs only inside Android |
The full list, generated from each phone's phone.json, is in phones/.
| Ubuntu Touch 24.04 | postmarketOS v26.06 | |
|---|---|---|
![]() |
![]() |
![]() |
| Home screen | App drawer | App grid in Phosh |
Getting started
With an AI assistant. Install the skill so the assistant uses it when you talk about Linux on phones. Link it from a clone rather than copying it: the skill reads the phones/ and apps/ folders next to it, and git pull keeps everything current. For Claude Code:
git clone https://github.com/trycarlos/carlos ~/carlos
mkdir -p ~/.claude/skills
ln -s ~/carlos/skills/carlos ~/.claude/skills/carlos
Then start a session in a working folder and describe what you want, for example "I have a Redmi Note 9 Pro, can it run Linux?" or "my SIM doesn't work on postmarketOS". Other assistants that support agent skills can load the same folder.
Without one. Start with Assess your phone and follow the links.
Safety
Flashing a phone can destroy it and its data. The skill and the guides keep to a few rules: never relock a bootloader on modified software, never flash an image for another codename, never go below the phone's anti-rollback index, and back up before anything that wipes. The assistant explains each step before running it; if it doesn't, ask. You are responsible for your device.
Guides
Process
| Guide | Covers |
|---|---|
| Assess your phone | Whether it can run Linux: codename, ports, unlock policy |
| Unlock a Xiaomi from Linux | Mi Unlock binding, MiUnlockTool with browser login |
| Safe flashing | Read-only checks, verifying ROMs, anti-rollback, never relock |
| Ubuntu Touch | Installer, access, the read-only system, notch fix |
| postmarketOS on an unsupported variant | pmbootstrap from git, the U-Boot match patch, flashing |
| Working from your PC | SSH, adb, screenshots, sudo, pitfalls |
| Communities and AI | Each project's rules, and how to report bugs |
Hardware, by area
| Guide | Area | Covers |
|---|---|---|
| Qualcomm modem debugging | Modem | From DeviceNotReady to a working modem |
| Charging on a mainline Qualcomm kernel | Charging, USB | No charger driver, and a USB-C port set to source only |
| Cameras on a mainline Qualcomm kernel | Cameras | Why no camera shows, which sensors can work, a fix booted from a second entry |
Interface
| Guide | Covers |
|---|---|
| Chromium kiosk, and Chromium in Phosh | Full-screen web UIs with cage; web apps that fit the screen |
| Your own interface, as a session on the login screen | An interface of your own as a session next to Phosh, with a log out back |
Pitfalls from all of them, one line each: Gotchas.
Apps
Many services have no Linux app, only a web app made for a desktop screen. Each folder in apps/ turns one into a phone app: the site in a Chromium window that fits the screen, an extension that adapts the layout where needed, and an icon in the app grid. So far: WhatsApp, with an extension for a one-pane phone layout, and Lichess, which fits as it is. apps/dev/ has the tools to build more.
Building carlOS
DEVELOPMENT.md covers working on carlOS: the interface in a browser, the backend, the phone build, the packages and the website.
Contributing
Phones, apps, guide fixes and scripts are welcome, including a phone that can't run Linux yet. A change starts with an issue and arrives as a pull request; CONTRIBUTING.md has the workflow, what to test and what to leave out. Contributions made with an AI assistant are welcome here; postmarketOS forbids them in its own spaces (Communities and AI).
License
MIT, see LICENSE. The projects this builds on (Alpine Linux, postmarketOS, Ubuntu Touch, U-Boot, the Linux kernel, tqftpserv and others) have their own licenses. This repository contains no firmware: vendor firmware is proprietary and stays on your own machine.
関連プロジェクトを探す
読み込み中…







