Menu

Post image 1
Post image 2
1 / 2
0

Running Native glibc (Debian) Binaries on Android 15 Without PRoot

DEV Community·Paçoca·18 days ago
#khzYO3JV
Reading 0:00
15s threshold

🔧 TL;DR: Android 15 broke PRoot with stricter seccomp filters. After ~10 hours of debugging, I found a working solution using patchelf + LD_PRELOAD= to run native Linux (Debian/glibc) binaries directly on Termux! 🎯 What will you achieve? (Click to expand) By following this guide, you will be able to: ✅ Run GCC, Python, Bun, Git and 300+ more Debian packages natively ✅ Compile code directly on your Android phone ✅ Use Linux development tools without cloud dependencies ✅ Get a true Linux experience on mobile The Problem Android 15 significantly tightened its seccomp security filters. Running any Debian/glibc binary via proot-distro now fails with: Bad system call (SIGSYS) set_robust_list: Function not implemented Enter fullscreen mode Exit fullscreen mode ⚠️ Important: This isn't a configuration issue. The kernel literally blocks the syscalls that PRoot needs to emulate a Linux environment. Every guide said "just use PRoot" → so I spent ~10 hours finding what actually works.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More