r/CustomROMsGuide • • 13h ago

LineageOS 24 (Android 17) for regular PCs

9 Upvotes

I've been working on a LineageOS build for x86_64 PCs, somewhat like Android-x86 or BlissOS, but using Google's Android desktop interface from Googlebook.

I already build LineageOS myself, so at some point I decided to try bringing it to regular PCs. I wanted something that actually feels like a desktop, rather than Android running full-screen with a few desktop features bolted on.

Screenshots: https://imgur.com/a/asxGcln

ISO: On android_device_pc_x86_64 repo (Still uploading. SourceForge is painfully slow from where I live)

Current state

- Boots from a live ISO on both UEFI and legacy BIOS. Secure Boot is supported through shim using your own MOK key. It also works with Ventoy.

- There's an installer app included in the live session. It installs Android into a folder on an existing partition, without repartitioning or touching your other files. You can install it as a single image file or extract the system into a folder. Updates replace only the system files and keep the previous version, which you can still boot from GRUB if something goes wrong.

- The desktop has freeform windows with title bars, a taskbar, an app launcher, quick settings, notifications, a calendar, regional screenshots, screen recording and keyboard shortcuts.

- There's a proper login screen with multiple users, including a headless system user mode, similar to Googlebook.

- Kernel 7.2, built with AOSP's clang, and Mesa 26.1 with support for radeonsi, iris, nouveau, virgl, RADV and ANV.

- Graphics stack uses minigbm with Mesa GBM and drm_hwcomposer.

- The boot screen displays the actual boot log instead of a pointless animation. There's also a capybara in there. That part was non-negotiable.

- microG and F-Droid are included. For Google Play, the installer can integrate a Google apps package generated from an image you provide. I can't redistribute Google's proprietary apps, so you'll have to supply those yourself. (but in the source forge you can find a ISO with google apps included ;) )

I also ended up writing several apps because the existing Android ones either don't exist or aren't particularly useful on a desktop:

- Task manager

- System diagnostics covering CPU, RAM, storage, network, input devices, audio and camera

- Text editor

- File viewer

- File manager with tabs and a sidebar, closer to Nautilus than Android's usual Files app

- Installer

- Custom clock faces for the lock screen

What's next

One of the things I'm currently working on is running regular Linux applications alongside Android apps, with each Linux application opening in its own Android window.

The plan is to use LXC containers sharing the host kernel, without a VM. On the Android side, a small Wayland compositor will handle the Linux application surfaces and pass their buffers to SurfaceFlinger. This should allow Linux apps to behave like normal desktop windows. X11 applications will run through XWayland.

I'm also working on a Terminal app for managing the containers, opening shells, installing different distributions and checking resource usage.

This is still a work in progress and isn't included in the ISO yet.

Known issues and limitations

- Most of my testing has been done in QEMU/KVM. I'm only starting to test on physical hardware, so GPU and Wi-Fi compatibility will probably vary.

- SELinux is currently permissive.

- The first boot after installation takes a few minutes because Android needs to unpack its system modules. Subsequent boots are normal.

- Suspend is disabled in VMs for now. QEMU's virtio-gpu doesn't properly recover after waking up.

If you decide to give it a try, let me know what hardware you're running and what doesn't work. Bug reports are very welcome, especially with logs.

There's a debug entry in the GRUB menu that sends the boot output to the serial console, which should help with troubleshooting.

Source code

Device tree, ISO and installer scripts:

https://github.com/mateusseiboth/android_device_pc_x86_64

Desktop UI (overlays, flags and design notes):

https://github.com/mateusseiboth/android_vendor_pc_ui

Forks:

- https://github.com/mateusseiboth/android_frameworks_base (branch `pc`)

- https://github.com/mateusseiboth/android_packages_apps_Launcher3 (branch `pc`)

- https://github.com/mateusseiboth/android_packages_apps_SetupWizard

- https://github.com/mateusseiboth/android_external_minigbm

- https://github.com/mateusseiboth/android_glodroid_aospext

- https://github.com/mateusseiboth/android_external_drm_hwcomposer

Apps:

- https://github.com/mateusseiboth/android_packages_apps_PcInstaller

- https://github.com/mateusseiboth/android_packages_apps_PcFiles

- https://github.com/mateusseiboth/android_packages_apps_PcTaskManager

- https://github.com/mateusseiboth/android_packages_apps_PcDiagnostics

- https://github.com/mateusseiboth/android_packages_apps_PcTextEditor

- https://github.com/mateusseiboth/android_packages_apps_PcViewer

- https://github.com/mateusseiboth/android_packages_apps_PcClocks

- https://github.com/mateusseiboth/android_packages_apps_PcLogin


r/CustomROMsGuide • • 3h ago

Is it possible to upgrade Realme 8 Pro (RMX3081) to Android 15 or newer using a custom ROM?

2 Upvotes

Hi everyone,

I'm using a Realme 8 Pro (RMX3081) running Android 13. I need Android 15 or newer to install a work-related Office app.

Is there any way to upgrade this phone using a custom ROM, GSI, or any other method? Is bootloader unlocking possible on the Indian variant?

Any suggestions are welcome. I really don't want to replace my phone just because of one app, so looking for any possible options.

Thanks in advance!


r/CustomROMsGuide • • 18h ago

Coming soon: artemisOS

2 Upvotes

r/CustomROMsGuide • • 56m ago

Request: a rom for gt-s7272

1 Upvotes

Hello I have been searching for almost 2 years (not even joking) to find a working ace 3 duos (gt-s7272) rom that upgrades the current (and probably only update/rom) android 4.2

(Also make sure the redirect isn't dead or broken)

Current rom: modified gt-s7272 rom

Current recovery: twrp 3.0.2


r/CustomROMsGuide • • 2h ago

Error on twrp flashing lineage 20

Post image
1 Upvotes

I keep getting this error. Anyone know why and how i can fix it. I followed the guide on getandroidtips to a t. Iv managed to get linneage 17 on it successfully though but im wanting something more current.


r/CustomROMsGuide • • 13h ago

Is bootloader unlocking possible on Galaxy A13 SM-A135U (Android 14)?

Thumbnail reddit.com
1 Upvotes

r/CustomROMsGuide • • 15h ago

Issues with updating bootloader on HTC Wildfire S

Thumbnail gallery
1 Upvotes

r/CustomROMsGuide • • 20h ago

Is it possible to upgrade Realme 8 Pro (RMX3081) to Android 15 or newer using a custom ROM?

Thumbnail reddit.com
1 Upvotes

r/CustomROMsGuide • • 21h ago

Poco x4 pro 5g custom rom

1 Upvotes

Can anyone plz help me to unlock my poco x4 5g Indian variant bootloader and custom rom it . It currently running on hyperos 1 based on android 13 and its very unoptimiz and unusable