r/Android
•
u/mateusseiboth
•
8d ago
•
1
1
News LineageOS 24 (Android 17) for PC (With Googlebook interface)
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.
EDIT: Linux support is ok now, working with X11 and Wayland apps, you can choose a distro on the app and install any graphic app, it's will appear on the menu
Screenshots: https://imgur.com/a/asxGcln
ISO: https://sourceforge.net/projects/capivaos/files/android-17/ (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.
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
7
u/Yahiroz Pixel 10 Pro | OnePlus Watch 2 7d ago
Worth sharing this in r/Androidx86 too, it's been a long while since I've see an Android x86 project this promising.
4
u/ExpensiveCarry1 7d ago
So cool to have android on PC. Minimum specs required??
4
u/knightboss1 5d ago
Just installed it on my 13th gen Intel laptop . Works good . Looking forward for regular updates and installing play store
2
u/Unlikely-Ad3364 Xperia 5 V, crDroid 13 | crDroid maintainer 7d ago
seems like kang of 0xcafebabe's LineageOS x86 work.
2
u/PsychologicalPost894 7d ago
Does it work with a mini PC with a Ryzen 5 6600H?
2
u/Lion_4K 6d ago
Does It works with openGApps?
2
u/Original_Thing8770 5d ago
Could you please add USB persistence?
2
u/ApprehensivePair3146 2d ago edited 2d ago
I’ve managed to get this running on VirtualBox!
It’s a bit unstable, but it’s working for now.
I’ll share my hardware details and settings. I hope this proves useful to someone!
•Host computer information
Model: GALLERIA GCR-2070RGF
CPU: Core i7-9750H
GPU: RTX2070 with Max-Q Design 8GB
RAM: 64GB
Storage: 2TB
OS: Windows 11 Home 26H2
•Guest OS information
capivaos lineage-pc-gaps-20261201-2051
•Virtual Box settings (Sections where the default settings remain unchanged have been omitted)
RAM: 12GB
Storage: 32GB
Processor: 6
Video Memory: 256MB
Graphics controller: VMSVGA
3D acceleration: ON
Pointing Device: PS/2 mouse (The cursor is not displayed with other settings)
UEFI: ON (If this setting remains off, the screen will not be displayed in full-screen mode and black margins will appear on the screen)
・other settings
I changed the graphics settings on the host Windows system, added VirtualBoxVM.exe, and selected ‘High Performance(RTX2070)’.
•
u/Admirable-Ad-7285 22h ago
I have tested the installation on my Surge Tab PH-101 / ViewPad 10i. The hardware configuration includes an Intel BayTrail-M N2910 processor, 4GB of DDR3 RAM, a 128GB NGFF SSD, and a 1280x800 touchscreen. Testing shows that the touchscreen, Bluetooth, Wi-Fi, and microphone all function correctly. However, the front and rear cameras do not work, some options in the system settings are not fully translated into Chinese, and the system does not run very smoothly (likely due to insufficient CPU performance). Upon checking the system details, I found that CPU and memory usage are not particularly high; nonetheless, I would recommend using a higher-performance device—something like an N5015—for this installation. Regardless, I am grateful for the developer's hard work.
11
u/DerDave 7d ago
Cool stuff! I wonder if upstream Lineageos is interested in something like this
1
u/Maleficent-Bet-2943 7d ago
bro i tried to boot but it fails my system specs
Device name INBOOK_X1_NEO
Processor Intel(R) Celeron(R) N5100 @ 1.10GHz (1.10 GHz)
Installed RAM 8.00 GB (7.75 GB usable)
Graphics card Intel(R) UHD Graphics (512 MB)
Storage 162 GB of 238 GB used
1
u/Creative-Reindeer298 5d ago
Can I run it on my PC an AMD athlon x4 with 4gb ddr3 and a gt 440 GPU
1
u/verify-stuff 4d ago
i cant download the iso because sourceforge server is slow
1
u/CommunicationGood976 4d ago
Can you upload it to Pixeldrain or smth, SourceForge servers are crazy slow
1
u/Upset-Part-6965 4d ago
Hi, could you please add this file to MediaFire, Mega, Google Drive, or GoFiles?
1
u/Difficult_Unit6661 4d ago
I tried on USB on my ASUS UX310UA and im having Wi-Fi issues (Fails to connect.) I'm on 6th Gen i5 with 40 GB RAM. Any possibility of fixes? I'll send any recordings or proof.
1
u/pakitter 3d ago
Will this work on Acer C720 chrombook ?
1
u/MBaliver Z Flip 7, A9 and Watch Ultra 3d ago
Any videos?
1
u/Upset-Part-6965 3d ago
I burned the ISO using Rufus, but when I try to boot from it on my PC, it gives a "failed to load image" error. How can I fix this, and could you please post the installation instructions?
1
u/NoCarpenter3097 3d ago
Would love to see this as an Android rom for tablets
1
u/Remarkable-Work-8902 2d ago
The sound isn't working, please help.
1
u/UnicodeFiend 1d ago
I tried it on my HP Tablet 608 G1 (Cherry Trail), and the live ISO worked, though audio didn't (all I got was a single pop during boot). Booted from USB, the USB device I was using was enough of a bottleneck that I can't make any judgements on the performance.
Once installed, it can't find the eMMC disk device to boot from. By replacing "quiet" with "ignore_loglevel", I can see that there's no indication of it loading an SD bus driver or an SD disk device driver.
Something interesting about this tablet is that it actually has a dual-role USB controller, but it doesn't have automatic role switching.
•
u/vladfaratz 14h ago edited 14h ago
I'm gonna try it on my old Hp Pavilion X2 Detachable to how it behaves. I see that there are 2 iso's, one with microg and one with google. You said in the post that we'll have to provide our files for gapps but then what does that iso with gapps has? Do you recommend NikG?
3
u/Original_Thing8770 7d ago
This is so nice!!!!
2
u/vaibh03 6d ago
Cool stuff! Every day, I'm amazed by the crazy and creative things people build like this. Will try this.
2
u/ApprehensivePair3146 2d ago
I’ve managed to get this running on VirtualBox!
It’s a bit unstable, but it’s working for now.
I’ll share my hardware details and settings. I hope this proves useful to someone!
•Host computer information
Model: GALLERIA GCR-2070RGF
CPU: Core i7-9750H
GPU: RTX2070 with Max-Q Design 8GB
RAM: 64GB
Storage: 2TB
OS: Windows 11 Home 26H2
•Guest OS information
capivaos lineage-pc-gaps-20261201-2051
•Virtual Box settings (Sections where the default settings remain unchanged have been omitted)
RAM: 12GB
Storage: 32GB
Processor: 6
Video Memory: 256MB
Graphics controller: VMSVGA
3D acceleration: ON
Pointing Device: PS/2 mouse (The cursor is not displayed with other settings)
UEFI: ON (If this setting remains off, the screen will not be displayed in full-screen mode and black margins will appear on the screen)
2
u/Admirable-Ad-7285 1d ago
I will test it on a Win8 tablet from 12 years ago with N2910+4G RAM
1
u/ImportantSense5572 7d ago
it comes with some androide apps like youtube and other
1
u/Fragrant-Mouse2931 6d ago edited 6d ago
One question. It can be rooted with magisik or kernel su?
1
u/AtAF-Arts 5d ago
Installed it on my Lenovo IdeaPad Duet 3. It works well.
I had to fix a touchscreen issue where the input was recognised in portrait while display displayed content in landscape (fixed with ADB on an another laptop, wireless debugging and making an .idc with root access)
The device is pretty weak (Intel Celeron, 4 GB RAM, Intel iGPU), but it runs this OS rather smoothly.
New life for the tabtop, as an android tablet lol.
1
u/Upset-Part-6965 4d ago
Hi, could you please add this file to MediaFire, Mega, Google Drive, or GoFile?
1
u/Ayman_Assaf 4d ago
Does anyone know an alternative download mirror for LineageOS 24 for PC? SourceForge only gives me a US mirror, and speeds in Europe are terrible (10–40KB/s). Any help would be appreciated
1
u/b2loo 4d ago
This is awesome to see! I wish I still had a guinea pig laptop to try this on. I may end up repairing one I have just to try it out. May even replace my Galaxy Tab S7 (Currently running LineageOS 24) with a decent laptop running this!
Are you planning any long-term support for this?
1
u/Positive-Welcome5232 4d ago
Looks amazing, keep it up
1
u/Karad01 3d ago
I5 5200u hd 4200 if i know right ,in the latest version wifi ,bt working ,only one problem ,the the taskbar not appears , Only for a milisecond ,else than that ,very great
1
u/Agitated-Equipment25 1d ago
tested on an hp 240 g4 with Core i3-4005U, lauches good live mode, and installs ok, touchpad doesn't respond very well at the first load screen but everything else seems to work fine. I still haven't tested the camera or mic, but the os works flawlessly, great work
0
u/Charming_Studio_505 7d ago
-4
u/AnonymousInternet82 7d ago
0
u/koronol 5d ago
I can verify that the msi modern 15 h doesn't work specs:Intel Core i7 14 gen 16gb ram 512gb rom Intel UHD graphics The problem isn't graphics actually graphics are great but it can't write the efi
0
u/Artistic_Waltz606 7d ago
One question: can this be installed alongside Windows as a dual boot? But I saw that the system comes with MicroG and F-Droid as alternatives. But is it possible to get the system together with MicroG and F-Droid instead of Google Play services?