# π§ Linux-Droid16
**Run Debian XFCE on GrapheneOS / Android 16 β no root, no virtualization**
This project lets you install and run a full **Debian desktop** on Android 16 (including GrapheneOS) using only the built-in **Android Terminal** and the **Run VNC** viewer.
Everything runs inside **userland** (`proot`), so itβs safe and reversible.
---
## π Quick Start
### 1οΈβ£ Clone the repository
Open the **Android 16 Terminal** app and run:
```bash
pkg update -y
pkg install -y git
git clone https://github.com/if-ai/linux-droid16.git
cd linux-droid16Make both scripts executable:
chmod +x phase1_setup.sh phase2_3_one_shot.shRun the first script to install proot-distro, create Debian, and a launcher:
bash phase1_setup.shWhen it finishes, start Debian:
./debian-login.shNow youβre inside Debian. Run the second script:
bash /root/linux-droid16/phase2_3_one_shot.sh(or adjust the path if you cloned elsewhere)
It will:
- Install XFCE desktop + TigerVNC
- Ask you to set a VNC password
- Create
start-vnc.shandstop-vnc.shhelpers
When complete, start your desktop:
./start-vnc.shThen open Run VNC and connect to:
Address: 127.0.0.1
Port: 5901
Password: (the one you set)
To stop later:
./stop-vnc.shInside Debian you can install Node.js (via nvm) and run local apps:
apt install -y curl
curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
. ~/.nvm/nvm.sh
nvm install --lts
node -v
npm -vThen run your app:
node app.jsAccess it from Android at:
http://127.0.0.1:<port>
linux-droid16/
βββ phase1_setup.sh # Run in Android Terminal
βββ phase2_3_one_shot.sh # Run inside Debian
βββ debian-login.sh # Auto-generated launcher
βββ start-vnc.sh # Created by script (run GUI)
βββ stop-vnc.sh # Created by script (stop GUI)
Terminal closes when enabling VNC service:
Thatβs the original Ubuntu-16 installer. Use these scripts instead β they stay in userland and donβt touch virtualization.
Black screen in VNC:
chmod +x ~/.vnc/xstartup
./stop-vnc.sh && ./start-vnc.shReset Debian environment:
proot-distro remove debian
proot-distro install debianMIT License
Repository: https://github.com/if-ai/linux-droid16 Author: ImpactFrames (if@impactframes.ai)