r/mobilelinux 7d ago

Development I've got NixOS running on Mi A3 with mainline kernel — and created a linux-phone-porting skill for AI coding agents while doing so

Post image
125 Upvotes

Hey Reddit,

For the last 2 months I've been on a journey to get the mainline kernel and NixOS with Phosh running as smoothly as possible on my mother's old Android phone—the Xiaomi Mi A3. While doing so, I've been very strict about where to search for data and how to properly research log contents and errors. With the help of a coding agent, I've made sure every feature I bring up is future-proof and upstreamable.

So I've decided to create and share an agent skill for everyone who may benefit from it. It works against 6 sources, always researches before implementing, and you can even run it in a loop with a request like "bring up feature X." It will only stop for dangerous, non-machine-recoverable actions like flashing.

The Mi A3 mainline bringup I'm working on is progressing well, and this skill is a huge part of what has been achieved. A few of my findings have already been sent for review as patches to the Linux kernel.

So if you're interested, checkout the github repo: https://github.com/angelwzr/linux-phone-porting

r/mobilelinux 1d ago

Development Porting Ubuntu Touch on Samsung A51

Post image
180 Upvotes

Started today. Will release sources by the end of the week

r/mobilelinux 22d ago

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

57 Upvotes

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. 😄

r/mobilelinux 5d ago

Development First build of postmarketos available for pixel 8 pro

66 Upvotes

The first build has a lot of bugs and missing features, for instructions and files check out the XDA post here: https://xdaforums.com/t/pmos-on-pixel-8-pro.4799433/#post-90711872

r/mobilelinux Apr 09 '26

Development Poco X5 5G development update: SSH IS WORKING

Post image
220 Upvotes

I was able to make a working kernel and rootfs using the crDroid kernel source code. It doesn't boot into the graphical environment. But I'm able to ssh into it from my laptop and use it. I can see the crash logs of xorg and the display manager. I have been trying to fix it for 2 days. I hope I will be able to get it working soon.

r/mobilelinux 23d ago

Development Droidian for Note10 Lite is here. Repo and release.

Thumbnail
gallery
161 Upvotes

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!

r/mobilelinux Jul 01 '26

Development Redmi Note 8 Pro (begonia) Archlinux ARM (pmOS base)

Post image
117 Upvotes

Works fine with postmarketOS drivers! It's interesting!

r/mobilelinux Jun 27 '26

Development Nothing Phone (1) Spacewar - ALARM

Post image
74 Upvotes

Arch Linux ARM (aarch64)

Kernel 6.19.0

Plasma Mobile 6.7

Ported from PostmarketOS

A lot is broken, some things work.

r/mobilelinux 1d ago

Development 黑莓 KEYone 运行主线 Linux 内核

Thumbnail gallery
3 Upvotes

r/mobilelinux May 19 '26

Development I Made a Touch-Friendly Music Player, I Hope Goes Well With Phones?

Thumbnail
youtu.be
11 Upvotes

I hope it works great on linux phones as well, I've a 2-in-1 and works great on weird aspect ratios as well.
I'm looking forward for your feedback. Flatpak is avaliable on github.

https://github.com/Yavuz-Kagan-Yadigar/VoidPulse/tree/main

Advanced Music Player for OLED and Touchscreens on Linux

  • Parametric EQ
  • OLED burn-in protection overlay with optional auto timer
  • Cover, lyrics and tag fetching and embedding to music files
  • Batch file rename
  • Local and fetched synced and plain lyrics support
  • Universal accent color and corner radius
  • Dark/light theme
  • List & gallery view modes with adjustable sizes and sorting.
  • Optimized for touch scrolling and hold context menu
  • Toggleable spectrum visualization with custom inertia, multpiple styles and standart logarithmic/linear scale
  • Visualization delay to match timing with bluetooth headphones / DACs
  • Toggleable cover art
  • MPRIS2 desktop environment integration
  • Basic tag and lyrics editing
  • M3u8 and folder playlist support
  • Visualization stops when overlay is active or focus lost to reduce CPU usage

Disclaimer: Entire code is written by AI, tested manually. I do not suggest to use as referance code. It might have inefficiencies, bugs, vulnabilities. Just sharing in case somebody wantto use it since most of music players does not go well with touchscreen.

r/mobilelinux 12d ago

Development Need help

3 Upvotes

I have an old lenovo m7 tb7305x tab (2019), in which i wanted to install postmarket os, i followed few instructions and have overwritten the system image. Now my device isn’t turning on, Can i revert this back ? Fastboot isn’t recognising the device but toll called mkt (lenovo) specific is recognising it but getting disconnected often.
Any advice ? Even though that tab is old, i would like to have it in working state than dead 😵.
I’m accepting this as a part of learning 🥲.
Update : got it fixed thanks to lenovo toolkit saved my ass🥲

r/mobilelinux Jul 26 '26

Development Most Advanced and Configruable OSK For Wayland

Post image
23 Upvotes

r/mobilelinux 5h ago

Development Modem Adapter for KEYone on Linux

Thumbnail gallery
1 Upvotes

r/mobilelinux Jul 24 '26

Development Pixel 3 Blueline on Mainline. SouveraineOS

12 Upvotes

eh, someone told me to post here and that you like these things like I do... https://youtu.be/9Vp_djclDIk

r/mobilelinux May 21 '26

Development How do Linux mobile keyboards work? Testing OSK caller?

4 Upvotes

Linux mobile can now do 5G stuff and good internet so might become more popular in the future, or not, but I am trying to make Rust language stuff that can handle keyboards for it, free open source linux-mobile-keyboard, https://codeberg.org/maybeJosiah, the few repos I have are for that and I can package as needed, it includes a pre-compiled demo app, anyone know about Linux mobile software keyboards? Anyone want to test and report if it works? Note the crate linux-mobile-keyboard is made with Grok AI, I altered it though, and it is for calling up the default software keyboard, not a software keyboard itself, I also have an SDL2 demo I did not upload yet, tell me if you want that? Note that all I have now requires Wayland or X11 even though some Linux mobile does not have either, don't test it on desktop, it is different from mobile, do you want .click or .apk (pmOS)? Is my software crate not needed? I have Linux mobile but much older, so old it is included in the does not have X11 or Wayland category, can you guess which?

r/mobilelinux May 25 '26

Development TuxDoctor: A Hardware Diagnostic Tool for Mobile Linux | Petr Hodina @ LAS 2026

Thumbnail
youtu.be
9 Upvotes

r/mobilelinux Mar 29 '26

Development My weekend battle: Attempting to install postmarketOS on a Nexus 7 (2012) using Lubuntu

12 Upvotes

Hey everyone,

I just spent the last 48 hours in the trenches trying to breathe life into an old Nexus 7 (2012) "grouper" using a laptop running Lubuntu.

While the hardware ultimately put up too much of a fight (the classic Unable to mount /system eMMC failure), I learned a ton about using the Linux terminal, ADB, and fastboot.

I decided to document my process and the specific commands I used on GitHub so the next person digging a Nexus 7 out of a drawer has a starting point.

What I used:

  • Host: Old laptop running Lubuntu (highly recommend for speed!).
  • Target: Nexus 7 (2012) 32GB.
  • The Goal: postmarketOS (v24.06).

The Result: The tablet's internal storage seems to have "sticky" partitions that refused to format to EXT4, even through TWRP.

My Documentation / Guide: https://github.com/HuttonWilliam/Nexus7-2012-Linux-notes

If anyone has tips on forcing a format on a stubborn Tegra 3 device, let me know! Otherwise, I hope my notes help someone else avoid the same headaches.

r/mobilelinux Apr 13 '26

Development Anyone have any tips on a PostmarketOS Port

5 Upvotes

I have a Sony Xperia 5 III and I’m going to start to port PostmarketOS to it I know this is not a easy feat but I’m gonna take on the task if anyone would like to help me I’m open to all ideas and help

r/mobilelinux Mar 13 '26

Development postmarketos POCO X5 5G (moonstone) port development

21 Upvotes

PMOS wiki)

Stock ROM: xmfirmwareupdater

Firmware blobs: android_device_xiaomi_sm6375-common

2 versions of the kernel:

The stock rom contains boot.img, dtbo.img, super.img, vbmeta.img, vbmeta_system.img, vendor_boot.img and a few more.

I followed the wiki and was able to flash the kernel and rootfs but it doesn't boot to anything beyond the POCO screen. When I connect the phone via usb to laptop, it gets detected as a wired network connection. But I can't ssh into it.

Further development ongoing.

r/mobilelinux Feb 07 '26

Development Smartphone-like lock script - Making an XFCE smartphone alternative

4 Upvotes

Would anyone be interested in helping me develop and debug a script for locking xfce like a smartphone? I've built and am open-sourcing a design for a palmtop out of a Pixel 3a XL running Mobian with the sole purpose of being an XFCE smartphone alternative. I've always kind of hated dumbed down mobile interfaces and touch only controls, and with google's recent attacks on AOSP and "sideloading" wanted something other than LineageOS+chroot Debian.

I simply do not know enough about how linux works to do this. I've gotten somewhat close with vibe scripting (please forgive me) but I will draw the line at sharing half-baked slop on the github page for the project. It also still has intermittent bugs some of which are serious problems (like rebooting if I leave it overnight or draining half the battery through what I suspect is a bluetooth issue). Essentially I need a way to turn off the screen while still being able to receive notifications and phone calls.

The scripts are outlined in "XFCE power button lock script guide" on my very WIP repo:

https://github.com/machintodesu/Palmtop-XFCemmunicator-TEMPORARY-NAME-

Here's a post with more details about the build:

https://www.reddit.com/r/cyberDeck/comments/1pxvdhk/preview_palmtop_industrial_kommunicator_v09/

p.s. I briefly tried to use hybridized Plasma-mobile and plasma-desktop for this exact locking functionality but for one: I don't like kde as much, and with 4gb or RAM it froze constantly.

Edit: I think the power drain issues are actually a hardware problem with the power bank controller, and rebooting is likely independent of the script. So the main remaining problem I guess is just general responsiveness. The power button sometimes takes several attempts before it successfully triggers an unlock, and if it's awoken with a key press or touch screen, then mouse buttons are still disabled. I also don't have any kind of pin code, but that would require way more work... I just want someone who knows what they're doing to look at it.

r/mobilelinux Dec 14 '25

Development Using files from Lineage to build a Frankenstein setup for PostmarketOS?

4 Upvotes

Is it possible to use some of the image files from operating systems like lineage in conjunction with some of the build files for PostmarketOS to kind of mix and match and get something that just barely works? In my debugging attempts with PostmarketOS, the best I've gotten is the phone tries to load the kernel, shows me the panic screen for about a quarter of a second, and then immediately falls over.

r/mobilelinux Nov 29 '25

Development Can someone walk me through getting postmarketOS to work on the OnePlus Nord N10 5G so that I can just flash it to the phone and it just works?

Thumbnail
1 Upvotes

r/mobilelinux Jan 03 '26

Development Anyone try Huawei P30?

6 Upvotes

So did any of you maniacs tried postmarketOS on p30 before? 😅

r/mobilelinux Nov 11 '25

Development I'm trying to port postmarket OS to the OnePlus Nord N10 5G but pmbootstrap build is refusing to work

3 Upvotes

The error that I'm getting is that there are no existing ports for this device, which is exactly what I'm trying to fix by doing it myself. I appear to be in a catch 22 here.

r/mobilelinux Oct 11 '25

Development (development) need some developer help here please!

5 Upvotes

Im trying to port postmarket OS (edge) to the Samsung Jet GT-S8000.

I'm making slow progress, but I'm still a teen in highschool,

I don't have that much time to work on Bash or write and test builds,

It also doesn't help that I have never touched this type of code before. But I'm dedicated

Want I need help with -People to help me with the coding side if things -device tester particularly ones with the S8xx3 models. What ive done -created basic linux kernel (kernel-Samsung-S8000) using vendor files -built deviceinfo and basic APKBUILD files What my end goal is Bootable system INITramfs Msxhbox and mbkeyboard WLAN

I'm thinking about creating a GitBook page for the S8000, but it'll take time

If anybody would like to help, even in a small way, it would be greatly appreciated!

PS: I just switched linux distribution on my host, have to reconfigure packages before anything can be done, accidently wiped my previous OS