[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-107747":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":25,"topics":26,"createdAt":10,"pushedAt":42,"updatedAt":43,"readmeContent":44,"aiSummary":45,"trendingCount":16,"starSnapshotCount":16,"syncStatus":46,"lastSyncTime":47,"discoverSource":48},107747,"tessera-linux","daryan044\u002Ftessera-linux","daryan044","Run Linux desktop apps on Android as native-looking apps: Debian and Flathub, GPU acceleration, a desktop mode, PRoot or chroot, Material You theming.","https:\u002F\u002Fdaryandev.me\u002Ftessera-linux\u002F",null,"Kotlin",341,16,5,14,0,3,52,104,19,79.61,"GNU General Public License v3.0",false,"main",true,[27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],"android","android-app","chroot","debian","jetpack-compose","linux","linux-apps","linux-on-android","material-you","proot","termux","tessera","turnip","x11","zink","2026-11-22 15:31:27","2026-11-23 15:35:41","\u003Cdiv align=\"center\">\n\n\u003Cimg src=\"docs\u002Ftessera-icon.png\" width=\"120\" alt=\"Tessera icon\">\n\n# Tessera\n\n### A real Linux desktop's apps on your phone. As easy as installing an app.\n\nFirefox, GIMP, VS Code, LibreOffice, all of Debian **and Flathub** on Android, each with its own\nicon, its own window and its own card in Recents, running on the phone's GPU and wearing the\nphone's own colors. No terminal setup, no VNC, no guides to follow.\n\n[![Build](https:\u002F\u002Fgithub.com\u002Fdaryan044\u002Ftessera-linux\u002Factions\u002Fworkflows\u002Fbuild.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fdaryan044\u002Ftessera-linux\u002Factions\u002Fworkflows\u002Fbuild.yml)\n[![License: GPL v3](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-GPLv3-blue.svg)](LICENSE)\n![Android 7+](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FAndroid-7%2B-3DDC84?logo=android&logoColor=white)\n![Root optional](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Froot-optional-8EE3B8)\n![Flathub](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FFlathub-2%2C800%2B%20apps-4A86CF?logo=flathub&logoColor=white)\n![GPU](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FGPU-OpenGL%204.6%20%2B%20Vulkan-E2231A)\n\n**[⬇ Download Tessera 0.6.1 (alpha)](https:\u002F\u002Fgithub.com\u002Fdaryan044\u002Ftessera-linux\u002Freleases\u002Fdownload\u002Fv0.6.1\u002Ftessera-v0.6.1.apk)**\n· [▶ 1-minute demo video](https:\u002F\u002Fgithub.com\u002Fdaryan044\u002Ftessera-linux\u002Freleases\u002Fdownload\u002Fv0.4.0\u002Ftessera-demo.mp4)\n· [All releases](https:\u002F\u002Fgithub.com\u002Fdaryan044\u002Ftessera-linux\u002Freleases)\n\n[\u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002FImranR98\u002FObtainium\u002Fmain\u002Fassets\u002Fgraphics\u002Fbadge_obtainium.png\" alt=\"Get it on Obtainium\" height=\"54\">](https:\u002F\u002Fapps.obtainium.imranr.dev\u002Fredirect?r=obtainium:\u002F\u002Fadd\u002Fhttps:\u002F\u002Fgithub.com\u002Fdaryan044\u002Ftessera-linux)\n\n\u003C\u002Fdiv>\n\n---\n\n\u003Ctable>\n\u003Ctr>\n\u003Ctd width=\"33%\" valign=\"top\">\n\n**📦 Flathub on Android**\u003Cbr>\n2,800+ Flathub apps in a phone app store. No root, no bubblewrap, no user namespaces needed, and\nstill on the GPU.\n\n\u003C\u002Ftd>\n\u003Ctd width=\"33%\" valign=\"top\">\n\n**🎨 Material You for Linux**\u003Cbr>\nGTK, libadwaita, Qt, LibreOffice and Firefox take your wallpaper's colors and follow dark mode,\n**live**, no restart.\n\n\u003C\u002Ftd>\n\u003Ctd width=\"33%\" valign=\"top\">\n\n**🚀 Desktop-class GPU**\u003Cbr>\nOpenGL 4.6 and Vulkan on Adreno through our own Turnip + Zink build. glxgears at ~240 fps.\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd valign=\"top\">\n\n**🪟 One app, one Android app**\u003Cbr>\nEvery Linux app and every one of its windows gets its own Recents card. Pin them to your home\nscreen.\n\n\u003C\u002Ftd>\n\u003Ctd valign=\"top\">\n\n**🔒 A sandbox per app**\u003Cbr>\nFolders, network, sound, USB, root: granted one by one, enforced by the kernel in chroot mode.\n\n\u003C\u002Ftd>\n\u003Ctd valign=\"top\">\n\n**🖱️ Your phone as a PC trackpad**\u003Cbr>\nPair it with a computer over Bluetooth (or USB, with root) and it's a trackpad and keyboard. Or\ncast Linux apps to a TV.\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd valign=\"top\">\n\n**🖥️ A desktop, too**\u003Cbr>\nOne tap for a whole Linux desktop: windows you move and snap, a Material dock and Start menu,\nyour wallpaper and colors.\n\n\u003C\u002Ftd>\n\u003Ctd valign=\"top\">\n\n**🔍 Find any app**\u003Cbr>\nAndroid's own search pill on top of your Linux apps, with full-screen results as you type.\n\n\u003C\u002Ftd>\n\u003Ctd valign=\"top\">\n\n**📁 Files and tasks**\u003Cbr>\nA file manager across Android and Linux, and a task manager with live CPU and memory per app.\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\n## Screenshots\n\n\u003Ctable>\n\u003Ctr>\n\u003Ctd align=\"center\" width=\"25%\">\u003Cimg src=\"docs\u002Fscreenshots\u002Fapps.png\" width=\"200\" alt=\"Your Linux apps, as a launcher, with search and the desktop button\">\u003Cbr>\u003Csub>Your Linux apps, with search and the desktop\u003C\u002Fsub>\u003C\u002Ftd>\n\u003Ctd align=\"center\" width=\"25%\">\u003Cimg src=\"docs\u002Fscreenshots\u002Fstore-flathub.png\" width=\"200\" alt=\"Debian or Flathub, one switch\">\u003Cbr>\u003Csub>Debian or Flathub, one switch\u003C\u002Fsub>\u003C\u002Ftd>\n\u003Ctd align=\"center\" width=\"25%\">\u003Cimg src=\"docs\u002Fscreenshots\u002Fstore-app.png\" width=\"200\" alt=\"Flathub apps, one tap to install\">\u003Cbr>\u003Csub>Flathub apps, one tap to install\u003C\u002Fsub>\u003C\u002Ftd>\n\u003Ctd align=\"center\" width=\"25%\">\u003Cimg src=\"docs\u002Fscreenshots\u002Fpanel.png\" width=\"200\" alt=\"The window panel over LibreOffice\">\u003Cbr>\u003Csub>The window panel over LibreOffice\u003C\u002Fsub>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd align=\"center\" width=\"25%\">\u003Cimg src=\"docs\u002Fscreenshots\u002Fscale.png\" width=\"200\" alt=\"Live scaling, kept per app\">\u003Cbr>\u003Csub>Live scaling, kept per app\u003C\u002Fsub>\u003C\u002Ftd>\n\u003Ctd align=\"center\" width=\"25%\">\u003Cimg src=\"docs\u002Fscreenshots\u002Ftasks.png\" width=\"200\" alt=\"Task manager and Sessions\">\u003Cbr>\u003Csub>Task manager and Sessions\u003C\u002Fsub>\u003C\u002Ftd>\n\u003Ctd align=\"center\" width=\"25%\">\u003Cimg src=\"docs\u002Fscreenshots\u002Ffiles.png\" width=\"200\" alt=\"Files: Android and Linux\">\u003Cbr>\u003Csub>Files: Android and Linux\u003C\u002Fsub>\u003C\u002Ftd>\n\u003Ctd align=\"center\" width=\"25%\">\u003Cimg src=\"docs\u002Fscreenshots\u002Fsetup.png\" width=\"200\" alt=\"Setup: PRoot or chroot\">\u003Cbr>\u003Csub>Setup: PRoot or chroot\u003C\u002Fsub>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\n**The desktop**: windows in your phone's colors, a dock and Start menu, icons on the\ndesktop, Flathub apps too.\n\n\u003Ctable>\n\u003Ctr>\n\u003Ctd align=\"center\" width=\"25%\">\u003Cimg src=\"docs\u002Fscreenshots\u002Fdesktop.png\" width=\"200\" alt=\"Windows side by side: a game and mpv from Flathub\">\u003Cbr>\u003Csub>Windows side by side (mpv from Flathub)\u003C\u002Fsub>\u003C\u002Ftd>\n\u003Ctd align=\"center\" width=\"25%\">\u003Cimg src=\"docs\u002Fscreenshots\u002Fdesktop-start.png\" width=\"200\" alt=\"The Start menu\">\u003Cbr>\u003Csub>The Start menu\u003C\u002Fsub>\u003C\u002Ftd>\n\u003Ctd align=\"center\" width=\"25%\">\u003Cimg src=\"docs\u002Fscreenshots\u002Fdesktop-files.png\" width=\"200\" alt=\"A file manager, maximized to fit the phone\">\u003Cbr>\u003Csub>Too big for the phone? Maximized\u003C\u002Fsub>\u003C\u002Ftd>\n\u003Ctd align=\"center\" width=\"25%\">\u003Cimg src=\"docs\u002Fscreenshots\u002Fdesktop-sheet.png\" width=\"200\" alt=\"The desktop's sheet, like any app's\">\u003Cbr>\u003Csub>Opens like any app\u003C\u002Fsub>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\n**Your phone's theme, on Linux apps.** The same apps in dark mode, before and after Tessera's\ntheming (GTK 3's Nemo and LibreOffice Impress):\n\n\u003Ctable>\n\u003Ctr>\n\u003Ctd align=\"center\" width=\"25%\">\u003Cimg src=\"docs\u002Flook\u002Fbefore\u002Fnemo-dark.png\" width=\"200\" alt=\"Nemo, before\">\u003Cbr>\u003Csub>Nemo, before\u003C\u002Fsub>\u003C\u002Ftd>\n\u003Ctd align=\"center\" width=\"25%\">\u003Cimg src=\"docs\u002Flook\u002Fafter\u002Fnemo-dark.png\" width=\"200\" alt=\"Nemo, themed\">\u003Cbr>\u003Csub>Nemo, themed\u003C\u002Fsub>\u003C\u002Ftd>\n\u003Ctd align=\"center\" width=\"25%\">\u003Cimg src=\"docs\u002Flook\u002Fbefore\u002Flibreoffice-impress-dark.png\" width=\"200\" alt=\"Impress, before\">\u003Cbr>\u003Csub>Impress, before\u003C\u002Fsub>\u003C\u002Ftd>\n\u003Ctd align=\"center\" width=\"25%\">\u003Cimg src=\"docs\u002Flook\u002Fafter\u002Flibreoffice-impress-dark.png\" width=\"200\" alt=\"Impress, themed\">\u003Cbr>\u003Csub>Impress, themed\u003C\u002Fsub>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\n## Why Tessera\n\nRunning Linux on a phone has always meant a terminal app, a pile of commands from a forum post,\na VNC viewer showing a whole desktop shrunk to a phone screen, and starting over when something\nbreaks. Tessera turns all of that into an app launcher:\n\n1. **Open Tessera and tap Install.** It downloads Debian 13 (digest-verified) and sets it up.\n2. **Pick apps from the Store.** Debian's catalog of nearly 2,000 desktop apps, and with one tap\n   **Flathub's 2,800+**, with icons, screenshots, categories and search. Installs run in the\n   background.\n3. **Tap an app.** It opens in its own window, like any Android app.\n\nThat's it. Everything below happens on its own.\n\n## What makes it different\n\n### 🐚 A full Linux shell, like Termux *(and AnLinux and Andronix in one)*\nTessera isn't only for windowed apps. Its **Terminal** is a complete Linux shell on your phone,\nthe way people use Termux: `apt install` anything from Debian's ~60,000 packages, `ssh` into\nservers, `git`, `python`, `node`, `gcc`, `rust`, `vim`, `tmux`, `htop`, run servers and scripts,\ncompile code. **Root shell** gives you the same as root.\n\nAnLinux and Andronix give you a full distro by pasting scripts into Termux and then a VNC viewer\nfor anything graphical. Tessera does all of it from one app:\n\n| | Termux | AnLinux \u002F Andronix | Tessera |\n|---|---|---|---|\n| Terminal with a real shell | ✅ | via Termux | ✅ built in, extra keys, pinch to zoom |\n| Full Linux distro (Debian, glibc) | ❌ its own package set | ✅ by script, in PRoot | ✅ one tap, PRoot **or chroot**, or your own Droidspaces container |\n| No root needed | ✅ | ✅ | ✅ |\n| Real chroot with root, kernel-enforced sandboxes | ❌ | partly | ✅ |\n| GUI apps | X11 add-on | a whole desktop over VNC | ✅ each app in its own Android window |\n| GPU acceleration | manual setup | ❌ | ✅ OpenGL 4.6 + Vulkan built in |\n| Flathub apps | ❌ | ❌ | ✅ |\n| App store, permissions per app | ❌ | ❌ | ✅ |\n\nAnything you'd do in a Termux session or an Andronix distro, you can do in Tessera's terminal,\nwith the same Linux underneath. The one thing it doesn't copy is Termux's own add-ons, like\nTermux:API's phone sensors and SMS commands.\n\n### 📦 Flathub, on a phone, without root\nFlatpak normally needs **bubblewrap**, which needs **user namespaces**, which Android kernels don't\nhave. So `flatpak run` simply can't work on a phone. Tessera runs Flathub apps anyway:\n- **Flatpak installs, Tessera runs.** `flatpak` downloads apps and runtimes as usual; Tessera then\n  builds each app's world itself: the runtime mounted at `\u002Fusr`, the app at `\u002Fapp`, the runtime's\n  GL drivers where it expects them. In PRoot mode that's done with path translation, **no root\n  at all**; in chroot mode with a private mount namespace; in Droidspaces, inside each launch's\n  private mount namespace in the selected container.\n- **Full integration, not a side door.** A Flathub app gets the same window, Recents cards,\n  keyboard, sound, clipboard, theme and per-app permissions as every Debian app.\n- **On the GPU.** Tessera's own Turnip driver loads inside Flathub's runtimes: OpenGL 4.6 on\n  Adreno, confirmed with Flathub's mpv.\n- **VS Code and other Electron apps.** Apps whose makers ship them apart (VS Code, 1Password)\n  install and start: Tessera stands in for the bubblewrap and zypak steps they expect.\n- **Progress you can follow.** Installs show flatpak's own progress, each runtime it brings and\n  the download speed, and Flathub apps uninstall from the home screen like any other.\n- **Optional, and one tap.** The Store switches between **Debian** and **Flathub**; the first\n  time, one button installs flatpak and adds Flathub. 2,800+ arm64 apps, with screenshots.\n\n### 🎨 Linux apps that look like Android apps\nLinux apps usually look like a 2010 desktop on a phone. Tessera themes them with **your phone's\nMaterial You colors**, taken from your wallpaper, and **follows dark mode live**: flip Android to\ndark and every open Linux app turns dark within seconds, no restart.\n- **GTK 3** with a recolored adw-gtk3, **GTK 4 \u002F libadwaita** through a settings portal Tessera\n  serves itself, **Qt** through its GTK theme, **LibreOffice** on its modern GTK front end,\n  **Firefox** and Chromium apps following light and dark.\n- **A white, rounded pointer** (Bibata) instead of X's sharp black arrow, in every app.\n- Theming is per app: hold any app for **Look and graphics** to leave it out.\n\n### 🖥️ A whole desktop, when you want one\nThe **desktop button** next to the search bar opens a Linux desktop, through the same sheet as any\napp (install, permissions, graphics). Windows move, snap to half the screen and minimize, in the\nstyle of addy-dclxvi's Circela xfwm4 theme redrawn in your phone's colors: title bars that match\nthe apps' own, ring buttons sized for fingers, your wallpaper behind it all. A floating Material\ndock (a rail on the left in landscape) has the Start menu with search, a button per open window\n(hold it to maximize, snap or close) and the clock. Apps opened from the Start menu run inside the\ndesktop, under its permissions. Its Files button and folder icons open Thunar, a full file\nmanager, and apps' \"open folder\" lands there too. It runs xfwm4, installed the first time you open\nit.\n\n### 🔍 Live scaling, per app\nSwipe in the window panel and drag **Scale**: the app re-lays out at the new size *while you\ndrag*, from tiny-and-dense to big-and-touchable, and remembers it for next time.\n\n**Full resolution**, on the same page, has the app draw at the phone's own resolution and enlarge\nits interface itself (GTK, Qt and Firefox), instead of being stretched: sharp text, and video\nwithout the shimmer. It applies from the app's next start.\n\n### 📁 A real file manager\nThe **Files** tab browses phone storage and the whole Linux system side by side: copy, move,\ncompress, extract, edit text, change permissions, open files in Android or Linux apps, install a\n.deb with a tap, or browse as root.\n\n### 📊 Task manager\nEvery Linux process, live CPU and memory per app, and **End task** with a two-tap \"Sure?\" right\non each app's card. It sees everything Tessera runs, its own X servers and root helpers included,\neven ones left behind by an earlier run.\n\nThe **Sessions** page shows each running app's CPU and RAM as meters, a badge when it draws on the\nGPU, and a GPU meter for the whole phone. What apps printed is under **Logs** in the title bar.\n\n### 🪟 Every Linux app is a real Android app\n- Each app gets **its own window** and **its own card in Recents**, named and with its icon;\n  swipe it away to close it.\n- Apps that open several windows (a browser's second window, a settings dialog) get **a Recents\n  card per window**.\n- **Pin Linux apps to your phone's home screen** next to your Android apps.\n- No desktop to drive inside a tiny VNC picture: the app fills the screen, at a readable size.\n\n### ⌨️ Feels native, not emulated\n- **The Android keyboard opens by itself** when you tap into a text field in a Linux app, and\n  hides when you leave it. Tessera listens to the app's accessibility events to know.\n- **Clipboard works both ways** between Linux and Android apps.\n- **Sound** plays through Android, per app.\n- **Touch is touch:** scroll and pinch in Firefox with your fingers, or switch an app to touchpad\n  or mouse mode from its side menu, where **touch and hold right-clicks**.\n- A side menu on every window (swipe from the edge) has what a phone lacks: right click, Esc,\n  Enter, Tab, Ctrl+C, Alt+Tab, F11.\n- **Game controls**: turn them on from a game's side menu for a thumb stick that holds\n  WASD, a look area for mouse-look, and buttons that hold Fire, Run, Jump and Reload, so\n  first-person games that expect a keyboard and mouse play by touch.\n\n### 🚀 Real GPU acceleration on Snapdragon phones\n- Tessera ships its own build of Mesa: **Turnip** (Vulkan for Adreno GPUs, talking to Android's\n  own GPU driver interface) and **Zink** (OpenGL on top of it). Apps get **OpenGL 4.6 and\n  Vulkan** with no setup; on an Adreno 740, glxgears runs at ~240 fps.\n- **Fast at full resolution too:** frames reach the screen through shared memory, in one piece,\n  without tearing. At 1440×2994, glxgears went from 70 to 166 fps and glmark2 from 71 to 159.\n- **Firefox on the GPU:** Tessera turns on its GPU drawing in GPU sessions, so scrolling and video\n  keep up, and video plays at a steady pace in sync with its sound.\n- **Graphics fixes per app:** hold an app's icon (**Look and graphics**) to switch its GPU off or\n  turn on workarounds for driver bugs, named after what you see (\"Fix black blocks\", \"Fix\n  flicker\").\n- **Works for Flathub apps too:** the same driver loads inside Flathub's runtimes.\n\n### 🔒 Every app in its own sandbox\n- Each app runs in a container that gets **only what it's granted**: specific folders (read-only\n  or not), network, sound, a display, devices. Change any of it from the app's page.\n- Three engines, and the app tells you honestly which permissions each one can enforce:\n  - **PRoot mode** works on any phone, no root. Its limits are best-effort.\n  - **Chroot mode** (Magisk, KernelSU and forks like SukiSU, or APatch) enforces every permission\n    with kernel namespaces and an unprivileged user, and runs faster.\n  - **Droidspaces mode** *(root)* runs apps in a container of your own,\n    [below](#-your-own-containers-with-droidspaces-new-experimental).\n\n### 🧊 Your own containers, with Droidspaces *(new, experimental)*\nAlready run Linux containers with [Droidspaces](https:\u002F\u002Fgithub.com\u002Fravindu644\u002FDroidspaces-OSS)?\nPick one in Setup and Tessera runs its apps the way it runs its own: each in an Android window,\nwith its own Recents card, theme, sound, GPU and per-app permissions.\n- **Debian, Ubuntu and their family:** Debian, Ubuntu, Kali, Mint and other systems built on them.\n  Setup reads what each container is and blocks the ones Tessera can't drive yet (Arch is on the\n  [roadmap](docs\u002FROADMAP.md#phase-8-droidspaces-containers)). If the container lacks the tools\n  Tessera's launcher needs, **Install util-linux** adds them.\n- **Each container its own apps.** The Apps tab lists what's in the picked container, its own menu\n  entries included, and nothing installed elsewhere.\n- **The right store.** The Store reads the container's own catalog: Debian's for its release,\n  Ubuntu's archive for Ubuntu and its derivatives, Debian testing's for Kali. When a package\n  a derivative lacks is needed, Debian 13's sources fill the gap at low priority, so nothing the\n  system has is ever replaced.\n- **Flathub inside** too, in the container's own Flathub.\n- It's **less secure than chroot mode**: the rest of the container can reach every app's windows,\n  and apps see all of its devices. Use chroot mode for apps you don't trust. Details in\n  [docs\u002FDROIDSPACES.md](docs\u002FDROIDSPACES.md).\n\n### 📺 Cast to a TV, use the phone as the trackpad\n- Send an app to a TV or monitor, by cable or wireless display, at a resolution that suits it.\n- The phone becomes a **Material 3 trackpad**: move, tap to click, tap-and-hold to drag, two\n  fingers to scroll or right-click, with a dot field that lights up under your fingers. The\n  keyboard still pops up by itself for text fields.\n\n### 🔌 USB devices, drives and flashing tools *(experimental)*\n- Give an app a USB device, and Tessera asks Android's permission and hands it over at launch.\n  Inside, apps use it through libusb as usual, even in PRoot mode, where Android normally keeps\n  apps away from USB entirely.\n- **All USB** for tools like fastboot, adb, heimdall and EDL: in chroot mode the bus is shared\n  live, so a phone that reboots into fastboot under a new number is still there.\n- **USB drives and SD cards** appear where Linux file managers look for them.\n- **adb to this phone** *(a permission, off by default; root)*: Linux apps can run adb against\n  the phone itself, as a PC would.\n\n### 🖱️ The phone as a PC trackpad\n- Pair the phone with a computer over Bluetooth, or plug it in by USB (with root), and it becomes\n  a **trackpad and keyboard** for that PC. No app needed on the computer.\n\n### 🧰 And everything around it\n- **Terminal** and **Root shell**: a full Linux shell, [like Termux](#-a-full-linux-shell-like-termux-and-anlinux-and-andronix-in-one),\n  with extra keys and pinch to zoom.\n- **Shortcuts:** your own commands as icons, in a terminal or a window, optionally as root.\n  Comes with Claude Code, which installs itself on first run.\n- **Apps installed any way show up:** apt in a terminal, a downloaded .deb, all listed.\n- **Missing a library?** When an app stops for a missing library, program, Python module or\n  GObject typelib, Tessera says what it needs, finds the Debian package with it, installs it and\n  opens the app again.\n- **Your network's DNS:** Linux uses Android's DNS servers, so VPNs and networks that only allow\n  their own resolver work. Set your own in the config editor and they stay.\n- **Predictive back** in the launcher: pages shrink and follow your finger as you swipe back.\n- **Config editor** for .bashrc, apt sources, hosts and more, without a terminal.\n- **Keeps running in the background:** a foreground service holds sessions, and Setup lifts\n  Android's background process limit in one tap (with root) or shows the adb command.\n- **Material 3 Expressive** design with dynamic colors, blur and your own tabs, pins and\n  favorites.\n- **Help that knows how Tessera works:** an intro on first run, and when an app misbehaves, the\n  Claude Code shortcut is handed Tessera's architecture, its known failure modes and the output of\n  the apps that just closed — a container can't read Android's log, so Tessera reaches it in.\n  Setup → **Copy diagnostics** puts the same thing on your clipboard for any other assistant. A bug\n  report is drafted for you; posting it stays your decision.\n\n## Getting started\n\n**Requirements:** Android 7 or newer, an arm64 phone (32-bit ARM and x86_64 builds exist but are\nuntested), a few GB of free storage. GPU acceleration needs a Snapdragon (Adreno) GPU. Root is\noptional. Tested on a Xiaomi 13 Ultra and a Samsung Galaxy S26 Ultra, both on Android 16; chroot\nmode with Magisk and with SukiSU.\n\n1. Download the APK: [tessera-v0.6.1.apk](https:\u002F\u002Fgithub.com\u002Fdaryan044\u002Ftessera-linux\u002Freleases\u002Fdownload\u002Fv0.6.1\u002Ftessera-v0.6.1.apk)\n   (alpha; see the [releases](https:\u002F\u002Fgithub.com\u002Fdaryan044\u002Ftessera-linux\u002Freleases) for notes and\n   newer versions), or build it yourself (below). With [Obtainium](https:\u002F\u002Fgithub.com\u002FImranR98\u002FObtainium),\n   add this repository's URL and it keeps Tessera up to date from its releases.\n2. Open Tessera, go to **Setup** and install Debian. Allow it to lift the background process\n   limit when asked, so Android doesn't stop your apps.\n3. Open the **Store**, install an app, and tap it.\n\nTessera can't be on Google Play: it targets Android 9's API level on purpose, because newer levels\nforbid running programs from app storage, which is where Linux lives (the same trade-off Termux\nmakes).\n\n## Status\n\n| Area | State |\n|---|---|\n| Debian install, terminal, background service | ✅ Works |\n| GUI apps in their own windows, a Recents card per window | ✅ Works |\n| Sound, clipboard both ways, automatic keyboard | ✅ Works |\n| Firefox, VS Code, HandBrake | ✅ Work, with GPU acceleration |\n| Store, installs, apps installed with apt or .deb | ✅ Works |\n| GPU acceleration (Turnip + Zink) in PRoot mode | ✅ Works on Adreno 740 |\n| Chroot mode with root | ✅ Works with Magisk and SukiSU (KernelSU forks since 0.5.5), GPU included |\n| Droidspaces containers (Debian, Ubuntu, Kali, Mint…) | 🧪 New; Debian and Flathub apps confirmed in a Kali container; Ubuntu not yet run; Arch and phone adb not yet |\n| Flathub apps (install from the Store, launch, GPU) | ✅ Works in PRoot and chroot; in Droidspaces confirmed in a Kali container |\n| Desktop (xfwm4, dock, Start menu, wallpaper) | ✅ Works |\n| Material You theming, live dark mode (GTK, libadwaita, Qt, LibreOffice, Firefox) | ✅ Works |\n| Live per-app scaling, white pointer, window panel | ✅ Works |\n| Files tab, task manager | ✅ Works |\n| Game controls (stick, mouse-look, hold buttons) | ✅ Works; tested with AntWare from Flathub |\n| Casting to a TV with the phone as trackpad | ✅ Works |\n| The phone as a PC trackpad (USB, Bluetooth) | ✅ Works |\n| USB devices for PRoot apps, all-USB for flashing tools | 🧪 Experimental |\n\nFull detail, item by item: [docs\u002FROADMAP.md](docs\u002FROADMAP.md).\n\n## How it works\n\n```mermaid\nflowchart LR\n    subgraph Android[\"Tessera (Android app)\"]\n        UI[\"Launcher, Store, Setup\u003Cbr\u002F>(Jetpack Compose, Material 3)\"]\n        SM[\"Session manager\u003Cbr\u002F>one container per app\"]\n        X[\"Termux:X11 (our fork)\u003Cbr\u002F>an X server per app, one Android window per X window\"]\n        UI --> SM --> X\n    end\n    subgraph Box[\"Container\"]\n        Deb[\"Debian 13\"]\n        App[\"The Linux app\"]\n        Mesa[\"Mesa: Turnip + Zink\"]\n        App --> Mesa\n    end\n    subgraph Flat[\"Flathub app (its own root)\"]\n        Rt[\"Runtime at \u002Fusr\"]\n        FApp[\"App at \u002Fapp\"]\n    end\n    Box -. \"shares the session:\u003Cbr\u002F>X socket, D-Bus, sound, theme\" .- Flat\n    FApp --> Mesa\n    SM -- \"PRoot (no root)\u003Cbr\u002F>or chroot + namespaces (root)\" --> Box\n    App -- \"X11 socket\" --> X\n    Mesa -- \"\u002Fdev\u002Fkgsl-3d0\" --> GPU[\"Adreno GPU\"]\n```\n\n- **Containers:** PRoot is built from source for Android and ships inside the APK; chroot mode\n  uses a private mount namespace (and a network namespace when network isn't granted), a minimal\n  \u002Fdev and an unprivileged user.\n- **Display:** each app gets its own X server and display, so apps can't see each other's\n  windows. A small window manager keeps the app fullscreen; Tessera follows its windows to give\n  each its own Android task.\n- **Flathub apps:** Debian's flatpak installs them; Tessera runs them in a root of their own\n  (runtime at \u002Fusr, app at \u002Fapp) beside the session's helpers, sharing its X socket, D-Bus and\n  sound, with no bubblewrap. Droidspaces builds that root inside the selected container's private\n  per-app mount namespace; this code path is implemented but still needs device-level testing.\n- **Theming:** a per-session theme (adw-gtk3 recolored from Android's Material colors), xsettingsd,\n  and a small settings portal on the session bus; rewritten live when Android's colors change.\n- **Graphics:** frames from Zink reach the X server as images (Kopper and Vulkan's software\n  presentation path), since Android offers no shared-buffer path for them.\n- **Permissions** come from per-app manifests ([below](#app-manifests)), changed by the user in\n  the app and stored apart from them.\n\n## App manifests\n\nEach launcher entry is a manifest: what to run, and what it may touch.\n\n```json\n{\n  \"id\": \"gimp\",\n  \"name\": \"GIMP\",\n  \"category\": \"Graphics\",\n  \"gui\": true,\n  \"exec\": [\"\u002Fusr\u002Fbin\u002Fgimp\"],\n  \"permissions\": {\n    \"display\": true,\n    \"network\": false,\n    \"devices\": [\"\u002Fdev\u002Fdri\u002FrenderD128\"],\n    \"filesystem\": [\n      { \"path\": \"\u002Fstorage\u002Femulated\u002F0\u002FPictures\", \"mountAt\": \"\u002Fhome\u002Fuser\u002FPictures\", \"readOnly\": false }\n    ]\n  }\n}\n```\n\nStore installs write these for you from each app's desktop file, with permissions that suit its\ncategory. A manifest with `\"desktop\": true` is a whole desktop instead: its `exec` is the window\nmanager, and apps opened from its Start menu run inside it (see `apps\u002Fdesktop.json`).\n\n## Building\n\nJDK 17 and the Android SDK with NDK 29.0.14206865 and CMake 3.31.6.\n\n```\ngit submodule update --init           # Termux:X11 fork (third_party\u002Ftermux-x11)\nscripts\u002Fproot\u002Fbuild.sh                # once: builds PRoot into app\u002Fsrc\u002Fmain\u002FjniLibs\nscripts\u002Fx11\u002Fbuild-native.sh           # once, on Linux or WSL: X server + xkb data into build\u002Fx11\nsudo scripts\u002Fgpu\u002Fbuild-mesa.sh        # optional, on Linux or WSL: the GPU driver\nsudo scripts\u002Fusb\u002Fbuild-usb.sh         # optional, on Linux or WSL: the USB bridge\nscripts\u002Ftheme\u002Fbuild-theme.sh          # optional, anywhere with curl: the GTK theme for Linux apps\n.\u002Fgradlew assembleDebug testDebugUnitTest\n```\n\nThe native builds need a Linux host (WSL is fine); the app itself builds on Windows, macOS or\nLinux. Builds without the optional parts simply lack GPU acceleration or the USB bridge. More on\nthe native pieces: [docs\u002Fnative-binaries.md](docs\u002Fnative-binaries.md).\n\nDebug builds are much slower than releases (Compose runs without its optimizations when an app is\ndebuggable). To try performance on a phone with a debug build installed, `.\u002Fgradlew assembleProfile`\nbuilds a release that's signed with the debug key, so it installs over the debug build and keeps its\ndata.\n\nRelease builds (`.\u002Fgradlew assembleRelease`) are signed with the key in `keystore.properties`\nat the top of the project (`storeFile`, `storePassword`, `keyAlias`, `keyPassword`; never\ncommitted), or the `TESSERA_KEYSTORE*` environment variables; without either, with the debug key.\nGitHub Actions ([build.yml](.github\u002Fworkflows\u002Fbuild.yml)) builds everything from source on each\npush, and publishes a release for a `v*` tag only when the `TESSERA_KEYSTORE_BASE64`,\n`TESSERA_KEYSTORE_PASSWORD`, `TESSERA_KEY_ALIAS` and `TESSERA_KEY_PASSWORD` secrets are set;\notherwise releases are signed and published by hand.\n\n## FAQ\n\n**Do I need root?** No. Everything works in PRoot mode. Root adds chroot mode, which enforces\npermissions properly and runs faster.\n\n**Can it replace Termux, AnLinux or Andronix?** For a Linux shell and Linux apps, yes: the Terminal\nis a full Debian shell (apt, ssh, git, compilers, servers), PRoot needs no root like AnLinux and\nAndronix, and with root you get a real chroot as well. GUI apps open in their own windows instead\nof a VNC desktop. What it doesn't have is Termux's own add-ons such as Termux:API.\n\n**Which apps work?** Desktop apps from Debian's catalog, Flathub's arm64 apps, and anything you\ninstall with apt or as a .deb for arm64. Electron apps like VS Code work.\n\n**Flatpak needs bubblewrap. How does Flathub work here?** Flatpak only installs; Tessera runs the\napps itself, building each one's file system (runtime at \u002Fusr, app at \u002Fapp) with PRoot or a mount\nnamespace instead of bubblewrap. Droidspaces does the same inside its per-app namespace. That also\nmeans no Flatpak sandbox: Tessera's own per-app permissions apply instead.\n\n**Why isn't it on Google Play?** Play requires a newer target API level, and those forbid running\nprograms from app storage, which is what Linux needs. F-Droid has no such rule.\n\n**Chroot mode with KernelSU or SukiSU: installs fail with \"inaccessible or not found\", or stop\nafter downloading.** Both were bugs in 0.5.4 and older; update to 0.5.5. The failures could leave\nthe system with no DNS servers, which 0.5.5 also repairs on its own the next time anything starts.\n\n**My apps stop in the background.** Android 12 and newer limit background processes. Setup shows\nwhether the limit is on, and lifts it in one tap with root, or gives you the adb command.\n\n**An app draws wrong with the GPU on.** Hold its icon, open Look and graphics, and try the fix that\nmatches what you see, or switch its GPU off.\n\n**An app won't start and I can't tell why.** The error is usually in Android's log, which a\ncontainer can't read, so Tessera keeps the output of recently closed apps next to notes on how it\nall works. Open the Claude Code shortcut, which reads both, or use Setup → Copy diagnostics and\npaste it into any AI. Turn it off in Setup if you'd rather nothing were kept; the files never leave\nthe phone on their own, and they do name your apps and folders.\n\n## License\n\nCopyright (C) 2026 Daryan Kamaran Karim\n\nThis program is free software: you can redistribute it and\u002For modify it under the terms of the\nGNU General Public License as published by the Free Software Foundation, either version 3 of the\nLicense, or (at your option) any later version. See [LICENSE](LICENSE).\n\nIt is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the\nimplied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n### Third-party components\n\n| Component | License | Used for |\n|---|---|---|\n| [PRoot](https:\u002F\u002Fgithub.com\u002Ftermux\u002Fproot) (Termux fork) | GPL-2.0-or-later | container engine, built by `scripts\u002Fproot\u002Fbuild.sh` |\n| [talloc](https:\u002F\u002Ftalloc.samba.org) | LGPL-3.0-or-later | PRoot dependency (`scripts\u002Fproot\u002Ftalloc-compat.c` is adapted from Samba) |\n| [Termux:X11](https:\u002F\u002Fgithub.com\u002Ftermux\u002Ftermux-x11) ([our fork](https:\u002F\u002Fgithub.com\u002Fdaryan044\u002Ftermux-x11)) | GPL-3.0 | X server and GUI windows |\n| [Mesa](https:\u002F\u002Fmesa3d.org) | MIT | GPU driver (Turnip, Zink), built by `scripts\u002Fgpu\u002Fbuild-mesa.sh` |\n| [libusb](https:\u002F\u002Flibusb.info) | LGPL-2.1-or-later | USB for PRoot apps, built by `scripts\u002Fusb\u002Fbuild-usb.sh` |\n| [adw-gtk3](https:\u002F\u002Fgithub.com\u002Flassekongo83\u002Fadw-gtk3) | LGPL-2.1 | GTK 3 theme for Linux apps, packed by `scripts\u002Ftheme\u002Fbuild-theme.sh` |\n| [Bibata Cursor](https:\u002F\u002Fgithub.com\u002Fful1e5\u002FBibata_Cursor) | GPL-3.0 | the white pointer, packed by `scripts\u002Ftheme\u002Fbuild-theme.sh` |\n| [Flatpak](https:\u002F\u002Fflatpak.org) \u002F [Flathub](https:\u002F\u002Fflathub.org) | LGPL-2.1-or-later \u002F per app | Flathub apps (installed in the container, not shipped) |\n| [Termux terminal-emulator \u002F terminal-view](https:\u002F\u002Fgithub.com\u002Ftermux\u002Ftermux-app) | Apache-2.0 | terminal |\n| [Haze](https:\u002F\u002Fgithub.com\u002Fchrisbanes\u002Fhaze) | Apache-2.0 | background blur |\n| AndroidX, Jetpack Compose, Material 3 | Apache-2.0 | UI |\n| kotlinx.serialization | Apache-2.0 | manifests |\n| [XZ for Java](https:\u002F\u002Ftukaani.org\u002Fxz\u002Fjava.html) | 0BSD | reading .tar.xz theme archives |\n\n---\n\nClaude Opus 5.5 was used in the process of creating this app.\n","Tessera 是一款在 Android 设备上原生运行 Linux 桌面应用的工具，支持 Debian 和 Flathub 应用生态。它通过 PRoot 或 chroot 实现轻量级容器化，集成 GPU 加速（OpenGL 4.6\u002FVulkan）、X11 显示、Material You 主题适配及桌面模式，使 Linux 应用拥有独立图标、窗口和最近任务卡片。无需 Root（可选）、不依赖 VNC 或终端配置，开箱即用。适用于希望在移动设备上获得类 PC Linux 应用体验的开发者、技术爱好者及需要便携办公环境的用户。",2,"2026-11-24 04:32:48","CREATED_QUERY"]