Back to browse
GitHub Repository

Rootless Linux runtime for Android. Drop-in proot replacement with zero ptrace overhead.

34 stars

Proroot – Zero-overhead proot replacement for Android

by coderredlab·Apr 9, 2026·2 points·1 comment

AI Analysis

●●●BangerWizardryBig Brain

Zero context switches per syscall beats proot's ptrace overhead with LD_PRELOAD trickery.

Strengths
  • LD_PRELOAD + binary patching eliminates ptrace's 2 context switches per syscall.
  • Runs Node.js, Python, Chromium on Android without root—powers real AI agent workloads.
Weaknesses
  • Arm64-only binary releases limit device compatibility across Android ecosystem.
  • Very new project with zero stars—unproven stability at production scale.
Target Audience

Android developers, Linux-on-Android users, mobile AI infrastructure builders

Similar To

proot · Termux · UserLAnd

Post Description

I built a drop-in replacement for proot that runs full Linux userspace (Node.js, Python, Git, Chromium) on Android without root.

proot uses ptrace — 2 context switches per syscall. proroot uses LD_PRELOAD + binary patching — 0 context switches, in-process path translation.

It powers andClaw, an app that turns Android phones into AI agent gateway servers running OpenClaw with a real Chromium browser.

Tested with Node.js 24, Python 3.12, Git, and Chromium headless_shell (Playwright).

Binary release (arm64 .so files): https://github.com/coderredlab/proroot

Similar Projects