by trycarlos
Give your old Android a second life. carlOS is an experimental phone OS on Linux: no Google account, no company deciding what you install. With the guides for getting Linux onto your phone.
# Add to your Claude Code skills
git clone https://github.com/trycarlos/carloscarlos is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by trycarlos. Give your old Android a second life. carlOS is an experimental phone OS on Linux: no Google account, no company deciding what you install. With the guides for getting Linux onto your phone. It has 334 GitHub stars.
carlos's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/trycarlos/carlos" and add it to your Claude Code skills directory (see the Installation section above).
carlos is primarily written in HTML. It is open-source under trycarlos on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh carlos against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Your phone is a computer you paid for, and Google still decides what runs on it. carlOS takes it back: no Google account, and no company deciding which apps you can or can't install.
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 runs on Linux: postmarketOS on the phone, NixOS in its own 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.
apk add will install it and apk upgrade keep it current; until then it installs from a build, as DEVELOPMENT.md describes.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 postmarketOS phone: the build, the session and the checks |
nixos/, pkgs/, kernel/, keys/ |
carlOS's own images: NixOS, sealed and signed, with Secure Boot on carlOS's keys |
scripts/ |
Building, signing, booting and checking the 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 |
| 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 |
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.
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.
| 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 |
| 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 |
| 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.
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.
DEVELOPMENT.md covers working on carlOS: the interface in a browser, the backend, the phone build, carlOS's own images and the website.
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).
MIT, see LICENSE. The projects this builds on (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.