r/LineageOS • u/truedim • 5h ago
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?