Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL

mateusseiboth/android_device_pc_x86_64

System Tools

Build and install LineageOS on ordinary x86_64 PCs, booting from a folder via GRUB.

130
9
Python
Apache-2.0
4 days old

What this is

This is a LineageOS 24.0 (Android 17) device tree for lineage_pc_x86_64. It builds a system image and a live ISO that run Android on ordinary PCs, installed into a folder on an existing partition and booted through GRUB, following the Android-x86/BlissOS approach. The tree also carries PC-oriented components: a folder/live initrd (pc-init), an installer with a root service, Mesa-based graphics with drm_hwcomposer, AIDL audio over ALSA, Wi-Fi/Bluetooth/camera HALs, a boot log rendered as a terminal, and a Linux terminal based on the Android Virtualization Framework.

The software listed in the README includes desktop-oriented apps such as Files, Terminal, Printers, Disks, Remote desktop, Task manager and Diagnostics, plus forked SystemUI/Launcher3 code for a desktop experience (app projects).

Build and boot

You build inside a LineageOS 24.0 source tree, overlaying this device tree and its companion projects via the local manifest:

repo init -u https://github.com/LineageOS/android.git -b lineage-24.0 --git-lfs
mkdir -p .repo/local_manifests
curl -o .repo/local_manifests/pc.xml https://raw.githubusercontent.com/mateusseiboth/android_device_pc_x86_64/lineage-24.0/local_manifest.xml
repo sync
device/pc/pc_x86_64/patches/apply.sh

Then create a Secure Boot key pair and fetch Fedora's shim, build the kernel, lunch lineage_pc_x86_64-cp2a-userdebug, build systemimage, and package the ISO with iso/build_iso.py (build steps). The tree refuses a build without keys and requires host tools such as grub2-mkimage, sbsign, xorriso, mtools and LLVM/clang 22 for Mesa's Intel drivers.

To try it before installing, iso/run_vm.sh boots the ISO in QEMU/KVM with UEFI firmware and a virtio-vga-gl display; --disk adds a virtual disk and --no-iso boots the installed system (VM options).

Install layout and limits

The installer places the system under <partition>/lineage/ with kernel, initrd.img, system.img/data.img or extracted folders, and writes a UEFI boot entry for shim or a BIOS GRUB boot sector (install layout). Extracted system folders need a Linux filesystem such as ext4, f2fs or btrfs; on NTFS/exFAT use the image files. Booting is controlled by kernel arguments like pc.src, pc.live, pc.id and pc.previous.

In the README's own status table, boot, HALs, graphics and the boot log have only been checked in QEMU/KVM; real GPUs and real hardware HALs are not yet verified, the Linux terminal is built but not run, and SELinux is permissive while policy is completed (status). ARM-only apps depend on Google's proprietary NDK translation, included only when a local folder provides it. The public build ships microG instead of Google services; a Google apps add-on can be built from an image you own, but Google's apps may not be redistributed.

HotRepo's take

The repository only has a short HotRepo record: it entered the Python new-projects list on 2026-11-28 with 111 stars and 9 forks, gaining 10 stars in about an hour (snapshot). That is too little history to judge momentum. What stands out is the breadth of the device tree itself: a folder install with Secure Boot via shim and MOK, a desktop UI fork set, and PC apps such as Files and Terminal, while the README honestly separates what has been checked in QEMU from what has not been verified on real hardware.

Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.