r/mobilelinux

▲ 39 r/mobilelinux+2 crossposts

I got a real Linux kernel running as a userspace process on Android — no root, no KVM. Docker runs inside it. (UML ARM64)

UML (ARCH=um) has been x86-only for its entire existence. I've been porting it to arm64: arch/arm64/um/, plus fixing everything in arch/um/ that assumed x86. It builds to a static bionic binary and runs as an ordinary unprivileged aarch64 process in an app sandbox — no root, no host kernel feature, nothing emulated

Userspace instructions execute directly on the CPU. It's a real kernel underneath: own scheduler, own MMU handling, own page cache, Debian 12 rootfs on a disk image. Docker runs inside it for now

What works:

  • Debian 12 boots to a working dockerd in about 3 seconds
  • docker pull / run / exec / logs, a 910 MB image pulls and runs
  • Networking through passt, a userspace TCP/IP stack. No tap device, no CAP_NET_ADMIN
  • Container ports forwarded to the phone's 127.0.0.1, so the phone's browser can open them
  • Loadable modules, out-of-tree drivers, firmware loading
  • USB passthrough — a real RTL8811AU dongle, wlan0 appears and scans
  • Update: Got multi cpu support

Numbers.

Snapdragon 870, medians of 7 interleaved rounds, µs/op. native is the same microbenchmark run directly on Android.

native proot UML
syscall 0.080 0.168 1.987
openat 2.527 27.393 4.501
fault 1.456 1.418 11.076
forkexec 3255 516 1137

Compute is native because it is native — nothing translates the instructions. Against proot it's 6x better on openat and 3x better on forkexec, and worse on syscall and fault. Anything not syscall-bound feels normal.

UPDATE Termux: Works and booted arch & alpine

Source, 38 commits on top of the uml tree: https://github.com/zalexdev/linux-um-arm64

Screenshots are the Docker UI I built to drive it.

https://preview.redd.it/rl98wmdcmpjh1.png?width=576&format=png&auto=webp&s=9291c3618d20a54ea3c06c1d60294f9853e4755c

Soon will be published on: https://github.com/zalexdev/perkons

And soon will be available as new non root engine is https://github.com/zalexdev/strykerapp

reddit.com
u/Emotional_Frame_4140 — 4 days ago
▲ 7 r/mobilelinux+4 crossposts

Looking for the smoothest Custom ROM for Samsung Galaxy Tab S 10.5 LTE (SM-T805)

Hi everyone,

I'm looking for recommendations for the smoothest and most stable custom ROM for my old Samsung Galaxy Tab S 10.5 LTE (SM-T805).

My primary goal is pure performance I want the device to feel as smooth and usable as possible for lightweight daily tasks, media consumption, and web browsing.

Here are the device specs for reference:

Model: Samsung Galaxy Tab S 10.5 LTE (SM-T805)

Chipset: Exynos 5420 Octa

RAM: 3GB

Architecture: armv7l (32-bit)

What I’m looking for:

Priority: Smooth performance, good RAM management, and UI responsiveness.

Android Version: Open to anything (LineageOS 14.1/17.1/etc. or lightweight AOSP) as long as it runs better than stock Marshmallow.

GApps: Planning to use Pico GApps or MicroG to keep it lightweight.

If you are still running this tablet or have flashed it recently, which ROM gave you the best daily-driver experience?

Links to active XDA threads or specific build versions would be greatly appreciated!

Thanks in advance!

reddit.com
u/Able-Farm6295 — 3 days ago

i want to get started on porting linux on my phone

( i read in the rules this is not a support form so if this post is not acceptable can you guide me to somewhere else)

i have been lately been obsessed with trying to run linux on my phone (redmi 13 X, HeloG 91 ultra, maliG52-mc2, a Mediatech phone) there are ways like proot and termux Linux native, but none has hardware acceleration, so i want to get into a rabbit hole and make like postmarket OS on my phone or run a desktop distribution on it. I have no knowledge where to start if someone can guide me, i know cuz it's mediatech phone makes harder but i am interested🫡

reddit.com
u/Choice-Appearance379 — 4 days ago
▲ 1.1k r/mobilelinux+3 crossposts

By leveraging the power of LLM, I managed to port and successfully install native Linux on Samsung Galaxy Note10 Lite (Exynos 9810)

This is a port of Droidian.

SIM, Wi-Fi, Bluetooth, Sound, Mic, Camera, Charging, Touchscreen works.

S-Pen works as well. libinput recognizes sec_e-pen but not yet implemented to work with phosh shell. Still working on it.

Waydroid works surprisingly well and smooth. Not tested enough though. Often YT videos crashes the whole container process.

I will share the repo soon.

u/PointLazy7001 — 7 days ago

Game rcomendations

hello r/mobilelinux i would like some game recomendations on my mi10t pro , i also would like to thank everyone who helped me get this thing working yall are the best , i have steam

reddit.com
u/Troller_blox — 4 days ago

New cell phone

Hey, how are you all? I hope you are doing well. I would like to ask for your help. Recently my cell phone was completely damaged. I am thinking of buying one but I currently do not have the financial resources to buy one that is decent and new. They forced me to keep it on Android, the fact is that I would like you to recommend a good cell phone that is compatible with any of the Linux systems for cell phones such as postmarket, Ubuntu touch, Mobian, etc., my budget is approximately less than 300 dollars, I would greatly appreciate it if you have a good day and greetings

reddit.com
u/Manup1223 — 7 days ago
▲ 55 r/mobilelinux+1 crossposts

I’ve been bringing mainline Linux / postmarketOS to the OnePlus 7T Pro — it’s getting surprisingly far

Hey everyone,

I’ve been working on bringing mainline Linux + postmarketOS + Plasma Mobile to the OnePlus 7T Pro (hotdog), using my own European HD1913 as the test device.

This is not an Android ROM and it’s not Linux running on top of Android. The goal is to boot a normal Linux kernel directly from the OnePlus bootloader and progressively support the phone’s hardware using upstream/mainline-style drivers.

At this point, quite a lot is already working:

✅ Direct boot from the stock OnePlus bootloader

✅ Persistent postmarketOS installation

✅ Native 1440×3120 display

✅ Adreno 640 hardware acceleration

✅ Plasma Mobile

✅ Touchscreen + power/volume buttons

✅ Wi-Fi

✅ Bluetooth

✅ Stereo speakers

✅ Handset microphone

✅ Battery level / voltage / temperature / current reporting

✅ USB networking

✅ USB-C dual role

✅ USB 3 SuperSpeed

✅ USB host through a powered dock

✅ USB mass storage

✅ DisplayPort output at 1440p60

And more recently, the cameras started becoming real rather than theoretical.

The Samsung S5K3M5 telephoto camera can now capture full RAW10 frames at 4208×3120, manual focus works through its actual LC898217XC actuator, libcamera controls exposure, and Plasma Camera can use it.

The Sony IMX586 main camera is also now streaming real 4000×3000 RAW10 frames through the mainline CAMSS pipeline. Libcamera automatic gain control works and Plasma Camera reaches a usable capture-ready state.

There’s still plenty left to do. Suspend/resume is currently broken, telephony isn’t usable yet, the ultra-wide and front cameras still need work, and sensors/NFC/haptics/fingerprint/Warp Charge are at various stages of not implemented or not validated. So this is definitely not a daily-driver OS yet.

The long-term goal is to get the device into a state where the support can be cleaned up/upstreamed and eventually submitted properly to postmarketOS rather than remaining a pile of device-specific hacks.

Project/research repo:

https://github.com/Sr-0w/hotdog-linux-bringup

I mainly wanted to share it here because the 7T Pro is still such a nice piece of hardware, and it’s pretty satisfying seeing it boot a completely different operating system years later. And it is surprisingly still really powerfull

on Linux, it's way faster than my Raspberry Pi 4B in a smaller form factor.

If anyone here has experience with Qualcomm SM8150, CAMSS, modem/WWAN, sensors, libcamera or mainline mobile Linux, contributions/reviews are very welcome.

And yes — the pop-up camera is absolutely on the TODO list. 😄

u/SrOw-_- — 10 days ago
▲ 153 r/mobilelinux+1 crossposts

Droidian for Note10 Lite is here. Repo and release.

About three weeks ago I posted a demo of my Droidian port for the Galaxy Note10 Lite.

Since then I've been working on fixing the unstable and buggy parts of the port.

Release: https://github.com/note10lite-droidian/droidian-samsung-r7/releases

Main org for repos: https://github.com/orgs/note10lite-droidian/repositories

Currently working:

  • Display
  • Touch
  • S Pen (incl. pressure and hover)
  • Camera
  • Speaker and microphone
  • WiFi
  • Mobile data
  • Bluetooth
  • USB networking
  • Waydroid

The full status is in STATUS.md. Every item includes how it was tested.

Call audio doesn't work yet. Calls connect in both directions, but there is no audio. The RIL side still needs to trigger the modem's audio routing.

The phone reboots instead of powering off when the charger is connected.

Both are documented in KNOWN-ISSUES.md along with what I know about them so far.

Installation is manual: Heimdall, TWRP, and ADB. There is no installer yet. INSTALL.md has the complete process, please read it before starting.

I used LLM tooling (Claude Opus 4.8, Sonnet 5) quite a lot during development, especially for debugging, kernel log analysis, commits, coding and tracing some of the systemd and package issues. The fixes themselves were decided and tested on the actual device before being included in the release.

Hope you enjoy!

u/PointLazy7001 — 11 days ago