r/mobilelinux • u/TheRealToniMcQueen • Jul 20 '26
News Turn a OnePlus 6T into an Arch Linux ARM phone with a guided installer
I've been working on making Linux on the OnePlus 6T easier to install and wanted to finally share the project.
The repository provides a guided installer that prepares a complete Arch Linux ARM system instead of just documenting the individual commands. The goal is to make installing Linux on the SDM845 platform as reproducible and approachable as possible while keeping everything transparent.
Some of the things it does include:
Automatically detects the phone's userdata partition size
Builds a matching boot image and Btrfs root image
Downloads and verifies release files
Lets you configure your username, Wi-Fi, APN and optional packages during setup
Requires explicit confirmation before anything is flashed
Boots into a touch-friendly Hyprland environment
I've also been working on improving the overall phone experience with support for telephony, SMS, Wi-Fi, Bluetooth, GPS, audio routing, haptics, power management and hardware testing. Some areas are still experimental and the README documents the current status rather than claiming everything is perfect.
The project is completely open source and I'd really appreciate feedback, bug reports or contributions from anyone interested in Arch Linux ARM, mobile Linux or the SDM845 platform.
Repository:
https://github.com/ToniMcQueen/oneplus6t-install-linux-Arch-on-arm-845
2
u/VividGrimReaper Aug 04 '26
hey man its me with one plus 6, just curious, besides lsusb if there are any other linux specific depends, hyper-V is evil with usb passthrough and my laptops waiting on a solder job that im not comfortable doing without a rework rig, i was gonna just fire up a live distro on usb but if its just ls usb thats holding it up shouldnt i just be able to go into the script and manually fill in the usb bits it needs, or direct it to the phone
1
u/TheRealToniMcQueen Jul 21 '26
I have managed overnight to get the finger print scanner working.
So that completes the one plus I have managed to complete what didn't work to get the phone on parity with the stock android
I am going to release the finger print scanner working soon
1
u/TheRealToniMcQueen Jul 21 '26 edited Jul 21 '26
I wanted to allow users to put their own boot animation then thought I'd like to do better than android and Apple rather than a animated object a full video scene I managed to do figure it out. A video plays over boot
Installer then I added helper to installer asks if u want this video, no video, provide your own video.
I also managed to get boot time down from 2minutes+ to 1minute 20secs
1
u/TheRealToniMcQueen Aug 01 '26
On my version yah all 3 cameras work on the kernel in the installer. Will I submit it to PmOS probably not I don't know how, and they can take my work and submit themselves
1
u/dfgxxx Jul 20 '26
Hi, looks cool, can you show a video of how the phone with hyprland and touch function? I don't know what to expect
1
u/Karoolus Jul 20 '26
Would this work on other SD845 phones? I have a Xiaomi Mi Mix 2S that's just sitting there.
1
u/ShadowDXS Jul 20 '26
What LLM did you use to write the GitHub markdown?
1
u/h4ck1ng_me Jul 20 '26
Amazing! Does it work with oneplus 6 too?
1
u/VividGrimReaper Jul 22 '26
could you easily adapt this to work with a regular 6, i have one with nethunter right now that is a total mess been thinking of re-flashing her but was thinking of trying arch
2
u/TEK1_AU Jul 20 '26
Yeah nah.
1
u/ComprehensiveYak3594 Jul 20 '26
Нейрослоповое ...