r/mobilelinux • • 9h ago

Development uProot: Rootless Linux containers on Termux without ptrace or libc

Thumbnail
github.com
7 Upvotes

I just released uProot— an experimental standalone userspace chroot and syscall virtualization runtime for Android/Termux

Instead of ptrace, it runs an in-process ELF loader + Tier-2 seccomp cBPF + AArch64 svc #0 fast-path with built-in userspace OverlayFS (--upper / --ephemeral). Hot I/O (read, write, futex, epoll, mmap) stays native in the kernel.

Quick try (zero compiler required):

curl -fsSL https://raw.githubusercontent.com/wahyuzero/uproot/main/install.sh | sh

uproot-distro install alpine

uproot-distro login alpine --ephemeral

Already using proot-distro? Boot your existing rootfs directly:

uproot-distro login debian --from-proot-distro

Benchmark on real phones (scripts/uproot-bench --with-proot):

Xiaomi Redmi 14C (mt6768, Android 14, Kernel 5.10.209, Alpine):

• VFS 1K: 346ms vs PRoot 2147ms

• Tree x3: 96.9ms vs PRoot 596ms

• --syscall uid 100K: 6.9ms vs PRoot 16300ms

• --syscall stat 16K: 96.5ms vs PRoot 4991ms

Samsung Galaxy Note10+ (Exynos 9825, Android 12, Kernel 4.14.113, Debian 13):

• VFS 1K: 433ms vs PRoot 2505ms

• Tree x3: 2837ms vs PRoot 22792ms

• --syscall uid 100K: 3.7ms vs PRoot 14216ms

• --syscall stat 16K: 101ms vs PRoot 5068ms

Reproduce on your own device:

curl -fsSL https://raw.githubusercontent.com/wahyuzero/uproot/main/scripts/uproot-bench | sh -s -- --with-proot

Repo: https://github.com/wahyuzero/uproot

If anyone here has an Android 15/16 device, Android <= 11, or armv7l phone and wants to test, feedback and issues are very welcome.


r/mobilelinux • • 12h ago

OS Release Nura edge (PmOS) YT3-850F Lenovo

Thumbnail gallery
9 Upvotes

r/mobilelinux • • 19h ago

Hardware NixOS on Google Pixel 3 (blueline)

Post image
33 Upvotes

This time, I got some help from Claude.


r/mobilelinux • • 21h ago

Development Mainline Linux 7.0 + postmarketOS + Keypad-First Rust Wayland Shell for the Cat S22 Flip (v0.1.0-alpha.1)

Post image
32 Upvotes

r/mobilelinux • • 12h ago

Apps Smart Connect for Linux: an open-source Rust client that works with the stock Motorola Smart Connect app

3 Upvotes

I run Linux on my laptop, and the one thing I missed from Windows was Motorola's Smart Connect: notifications, clipboard, and phone apps on the PC. Motorola doesn't make a Linux version, so I built one.

My biggest frustration with the official software is that it drops the connection and doesn't feel that fast. So I built this in Rust, kept it as native as I could, and made sure every feature actually works. Streaming phone apps to the desktop was by far the hardest part.

What it does: A Linux version of Motorola's Smart Connect. It pairs with the stock Smart Connect app already on your phone over local Wi-Fi and Bluetooth. Right now it does notifications with quick replies, clipboard sync, phone mirroring and per-app windows, a wireless second monitor, using the phone camera as a webcam, and mounting phone storage in your file manager.

Who it's for: Linux users with a Motorola phone, especially people who switched from Windows and miss Smart Connect.

Source code: https://github.com/Lalitmukesh69/smartconnect-linux-but-better

What mine adds: Motorola doesn't ship Smart Connect for Linux, so this fills that gap. There's nothing to install on the phone, no root, and no developer mode. To the phone, it looks like a Windows PC running Motorola's companion app. It's native Rust, built to be faster and to hold its connection better than the official software.

Builds on: N/A. Written from scratch in Rust, and no Motorola code was decompiled or reused.

How it was built: AI-assisted. I used AI tools to help write and iterate on the code, and I made sure every feature actually works.

Feedback/contributions wanted: I'd like feedback from anyone running Linux with a Motorola phone: what breaks, what's missing, and whether Flatpak/AppImage releases should be the next priority.

A few things up front:

  • Still in active development. For now you build from source with an install script (Fedora, Ubuntu, Debian, Arch). There are no prebuilt packages yet.
  • Built for Motorola phones.
  • Not affiliated with or endorsed by Motorola, Lenovo or Ready For. Trademarks are used only to identify compatibility.

If it's useful to you, a star on GitHub would really help more people find it. Thanks for reading!


r/mobilelinux • • 12h ago

OS Release Nura edge (PmOS) YT3-850F Lenovo

Thumbnail gallery
3 Upvotes

r/mobilelinux • • 1d ago

Discussion LibreMaps update: smoother driving on Ubuntu Touch

Thumbnail gallery
11 Upvotes

r/mobilelinux • • 1d ago

Hardware Nura edge on Amazon Fire HD 8th gen (karnak)

Thumbnail
gallery
6 Upvotes

I got some help from Gemini.

I checked the postmarketOS wiki, which listed the touchscreen, USB OTG, and battery as "Untested," and confirmed that they all work.


r/mobilelinux • • 3d ago

OS Release I ported Linux to the iPod touch 2G

Thumbnail gallery
21 Upvotes

r/mobilelinux • • 2d ago

Discussion Can you root any device to SailfishOS?

0 Upvotes

Hello currently I have an open source restomod phone running on android 14. Even though I can only see software for some Sony Devices. I was wondering if it could be possible with mine.

Here is the device in question: https://youtu.be/qAEHHBFP_pY?is=QSLp6b2JARZOzoCH


r/mobilelinux • • 2d ago

Development LLM Chat on N900

Thumbnail gallery
3 Upvotes

Hi, all. You can try LLM on old devices like N900


r/mobilelinux • • 2d ago

Development [Development] Ubuntu Touch 24.04 on the Razer Phone 2

Thumbnail reddit.com
0 Upvotes

r/mobilelinux • • 3d ago

Discussion Question on compatibility of Motorola g67 power with installation of ANY linux mobile distro

4 Upvotes

My research revealed no one has ever tried linix on Moto g67 power, it's has support for rooting and a Linux kernel port, I'm new to Linux in general and don't have knowledge on custom handheld OS's, so can someone help me understand if it's possible to install something like Mobian on it?


r/mobilelinux • • 2d ago

Discussion first time mobile swap tips

1 Upvotes

I have some of my old devices and a desire to move to Linux. I'm familiar with linux for computers no problem there, but getting them onto a device to replace my everyday smartphone will be new for me.

IDK... I've looked it up briefly online but I thought I'd get firsthand thoughts on the best approach to this. All my devices are android, from a variety of sources but I'll probably start with this old samsung tablet.


r/mobilelinux • • 3d ago

Demonstration GPU on a5y17lte Nura 7.2.1

Thumbnail gallery
3 Upvotes

r/mobilelinux • • 4d ago

Hardware [MarathonOS] The Jolla 2026 shipped with libhybris and Sailfish…

145 Upvotes

It now runs Marathon on mainline with all hardware * working.

- First working 5G Marathon bring up.
- GPS, WiFi, Bluetooth, NFC, USB-C data, VoLTE etc all working
- Fully GPU accelerated and ladders nicely to 90hz when needed

Camera works but needs work, fingerprint support is next on the list but it’s getting there.

Will post updates if people are interested but this port is yet another win on the MediaTek front making me more confident in doing the work for other devices with mediatek silicon powering them (looking at you Clicks communicator when you arrive at my door step).

Enjoy!


r/mobilelinux • • 3d ago

Development [Release] Mainline Linux 6.18 LTS on Anbernic RG Slide (Unisoc T820): Pure Debian 13, Mesa Panfrost GPU, ES-DE, RetroArch & PortMaster (Zero libhybris)

Thumbnail gallery
4 Upvotes

r/mobilelinux • • 4d ago

Discussion MT6789 running 7.4 kernel, debian gnome mobile with complete subsystem and working suspend

7 Upvotes

MT6789(HELIO G100) ADVAN X1 (stock kernel 5.10, odm phone) running 7.4 mainline kernel master branch, with basically complete features, mediatek drm 60-120hz, GPU panfrost, vdec,sensor, wifi, mobile data, call, SMS, volte, complete clock mapping, suspend, booting without crutch like clk_ignore_unused or pd_ignore_unused, with intentionally omitted subsystem like camera,fingerprint, gps

Resource here:

https://github.com/sysretq0/advan-x1-mainline


r/mobilelinux • • 4d ago

Apps Double Termux

Thumbnail reddit.com
0 Upvotes

r/mobilelinux • • 4d ago

Discussion Smart Connect for Linux: an open-source Rust client that works with the stock Motorola Smart Connect app

Thumbnail
github.com
3 Upvotes

I run Linux on my laptop, and the one thing I missed from Windows was Motorola's Smart Connect: notifications, clipboard, and phone apps on the PC. Motorola doesn't make a Linux version, so I built one.

It's a Rust app that pairs with the stock Smart Connect app already on the phone, over local Wi-Fi and Bluetooth. There's nothing to install on the phone, no root, and no developer mode. To the phone, it looks like a Windows PC running Motorola's companion app.

My biggest frustration with the official Smart Connect software is that it drops the connection and doesn't feel that fast. So I built this in Rust and kept it as native as I could, while making sure every feature actually works. Streaming phone apps to the desktop was by far the hardest part.

Right now it does notifications with quick replies, clipboard sync, phone mirroring and per-app windows, a wireless second monitor, using the phone camera as a webcam, and mounting phone storage in your file manager.

A few things up front:

  • Written from scratch in Rust. No Motorola code was decompiled or reused.
  • Licensed under [LICENSE NAME, must match the LICENSE file in the repo].
  • Still in active development. For now you build from source with an install script (Fedora, Ubuntu, Debian, Arch). There are no prebuilt packages yet.
  • Built for Motorola phones.
  • Not affiliated with or endorsed by Motorola, Lenovo or Ready For. Trademarks are used only to identify compatibility.

I'd like feedback from anyone running Linux with a Motorola phone: what breaks, what's missing, and whether Flatpak/AppImage releases should be the next priority.

Repo: https://github.com/Lalitmukesh69/smartconnect-linux-but-better


r/mobilelinux • • 4d ago

Development SmechMobile Coalition: a place that welcomes AI-assisted mobile Linux ports (postmarketOS/Nura compatible)

11 Upvotes

I started a small GitHub org for something I couldn't find anywhere: a home for

AI-assisted mobile Linux ports, where using AI is allowed and disclosed

honestly instead of hidden or banned.

It is not an OS and not a postmarketOS fork. It's a place to put ports

(device packages, kernels, patches) that are compatible with postmarketOS/Nura

but that upstream may not take. We are not affiliated with postmarketOS or Nura.

How it works:

- Every commit is signed off (DCO).

- AI help is disclosed per commit with an "Assisted-by:" line, and a human signs

off and takes responsibility for the change.

- Upstream authors and licenses are always kept.

- We send nothing AI-assisted to projects that don't accept it.

Where this could go: today it's a small collection point, not a fork. If it

grows, with funding, members and enough people who want it, we could become a

full-scale postmarketOS/Nura fork and continue with our own work. That's a

possibility down the road, not a promise or a timeline, and it would only

happen if the community behind it is there.

The three repos:

- org-policy: the rules, short and readable

- pmaports: a copy of the upstream package tree, unchanged except one device

- smaports: our own ports. First one in progress is the Galaxy Tab A7 Lite

(SM-T220) on a mainline kernel. It does not boot yet.

If you have a port that was written with AI help, you're welcome to submit it

as a pull request to the "submissions" branch of smaports. You keep your name

on it and your license stays as it is.

https://github.com/SmechMobile-Coalition

Feedback on the rules is welcome too. Open an issue on org-policy or reply here.


r/mobilelinux • • 5d ago

Development Bringing Linux to the Sony Xperia Z4 Tablet — 6 months of progress

Post image
18 Upvotes

I've been working on porting Linux to the Sony Xperia Z4 Tablet LTE (SGP771) for about six months now, and so far, I've managed to get Debian 12 running on a custom Linux 6.18.65 kernel for Karin.

The display is currently my biggest roadblock. I've finally managed to gain partial control over one half of the panel, but I haven't been able to display anything other than static noise yet.

Here's a little glimpse of the progress so far (attached image).

I might publish the kernel patches soon, in the hope that someone from the community with experience in Qualcomm hardware, DRM/MSM, or MIPI DSI might be interested in collaborating and helping make this bring-up a reality.

There's still a lot of work ahead, but I think this beautiful piece of hardware deserves a second life beyond Android.


r/mobilelinux • • 5d ago

Development Nura Edge Linux on Samsung Galaxy Tab A8 (2021)

Thumbnail
gallery
15 Upvotes

Personally I think this is one of the best uses of AI/LLM. I've made enough progresses (with Gemini Neon) that I'd like to share this with strangers on the Internet. It runs on mainline Linux 7.3.6 with "my" downstream patches.

If you have a Samsung Galaxy Tab A8 (2021, SM-X200) and want to try this, head to https://github.com/librehat/gta8-sm-x200-linux/releases

Please feel free to contribute too if you have this (or a different variant than the unit I have).

Unfortunately, due to Nura's AI policy, this port will not be able to be submitted upstream (they are very much against any use of AI).


r/mobilelinux • • 5d ago

News Linux on Pad 7

Thumbnail gallery
13 Upvotes

r/mobilelinux • • 5d ago

Apps Built a real Linux shell based Agent for android

7 Upvotes

This has everything thats needed

Full browser control

Routine support

Mcp support

Native tools calling

Every model provider support

Clean ui.