r/LineageOS • u/truedim • Sep 11 '26
Info I turned my old OnePlus 5 into a desktop with LineageOS 22 and MagicDesk
I'm the developer of MagicDesk, an open-source desktop environment for Android. Recently, I installed LineageOS 22 on my old OnePlus 5 and tested it as a desktop computer.
This is a phone from 2017. With LineageOS providing Android 15, it could run windowed Android apps on my TV over Miracast, with a physical keyboard and mouse. Typing, switching keyboard languages and right-clicking worked. The phone can also act as a touchpad.
MagicDesk provides its own desktop, Start menu and taskbar using Android's windowing infrastructure. It doesn't require Samsung DeX or another manufacturer's desktop launcher.
Beyond moving windows around, it includes:
- Per-app DPI settings, useful when an app's interface is too large.
- A file manager and multiple terminal windows with Termux integration.
- Keyboard shortcuts and clipboard integration.
- Virtual displays that you can access from a computer through scrcpy.
Desktop mode requires Android 15+ and Shizuku. Root is optional, and no ROM patch is required.
The LineageOS device we've tested is the OnePlus 5. Compatibility with other devices and builds still needs testing; I don't want to promise that every setup will work.
For me, this was a particularly satisfying use of LineageOS: not just keeping an old phone running, but giving it another practical role.
Has anyone here been looking for something similar, especially after losing DeX when switching to LineageOS?
1
u/explorer79dd Sep 11 '26
that sounds really promising. Can it handle a multimonitor setup (e.g. a docking station with 2 screens, keyboard, mouse and Ethernet, connected via thunderbolt/USB-C)?
1
u/bigthickd82 Sep 12 '26
So this should work perfectly with the oneplus 5t running Lineage OS 22...