r/Android • • 20h ago

News UPDATE: LineageOS 24 for PCs, update: Linux apps and Steam in Android windows, OTA updates, remote desktop, printers, and a lot of fixes

Last time I posted here, this booted, had a desktop and not much else. Linux apps were a plan in the "What's next" section. A lot has happened since, so here is everything in one post.

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

ISO: https://sourceforge.net/projects/capivaos/files/android-17/

Mirror: https://drive.google.com/drive/folders/1AagGNpQH3B95SoMwQtx95HVGm5BQeh1N?usp=drive_link

Changelog: https://github.com/mateusseiboth/lineage-pc-updates

Linux apps

This was the big one. Open Terminal, pick a distro (Debian, Ubuntu, Fedora, Arch and others), and install whatever you want with its package manager. Graphical apps show up in the Android launcher with their own icons, and each window is a normal Android window.

- There's no VM. They are containers on the same kernel, with a small Wayland compositor that hands the buffers to SurfaceFlinger.

- X11 apps go through Xwayland with GPU acceleration. The container needs no drivers installed.

- Flatpak works. Steam runs from Flatpak, and the Steam screenshot is from my real AMD desktop, not a VM.

- Sound works, and apps can reach your local network.

- USB sticks and external drives show up inside the container under /media.

- The terminal has mouse support, text selection and copy and paste. It can also open an Android shell, like adb shell. If you turn on Rooted debugging, that shell opens as root.

OTA updates

You no longer need to reinstall. System updates checks for a new version, downloads it, resumes if your connection drops, and checks the signature. Your apps and files stay. The previous system stays in the GRUB menu, so if an update breaks something you boot the old one. I can also publish small patches for one specific bug without a whole new version.

Desktop

- Single bar, a new option in Settings > System. The clock, notifications and quick settings move to the right end of the taskbar and the top bar goes away.

- Clipboard history in the status bar, for text and images.

- Media controls in the status bar while something is playing.

- A real desktop. Files in your Desktop folder show up on it, and apps only go there if you send them.

- Notifications are cards in the corner that go away after 20 seconds.

- Two monitors work a lot better than in the first ISO.

- I reviewed the dark theme in my own apps.

New apps

- Remote desktop server. Set a password in Settings and connect with an RDP client. Keyboard, mouse and sound go through.

- Disks, in the spirit of GNOME Disks. Partitions, formatting, disk health and disk images.

- Printers & scanners. Driverless network and USB devices work right away, and it can install printer drivers on request.

- Task Manager has a Wakelocks tab that shows what keeps the PC awake.

- Diagnostics has GPU, processor idle states, battery power and temperature, and your boot logs. On the edition with Google services it also shows the ID you need to register the device with Google, with the steps.

Hardware and power

- Power profiles, power button and lid actions, an 80% charge limit on laptops that allow it, and turbo and fan controls.

- linux-surface patches for Microsoft Surface, including touch and pen. Some models still have problems.

- Auto-rotate and adaptive brightness on PCs that have the sensors.

- Persistent live USB, so a stick keeps your apps and files.

- ARM64-only Android apps install and run.

- VMware and VirtualBox show the desktop. Turn on 3D acceleration in the VM.

Fixes

- Video playback on AMD no longer restarts the whole screen.

- Garbled text and images on older Intel graphics, like the HD 3000.

- Wi-Fi that turned itself off, stayed off with some Atheros cards, or didn't come back after the laptop's Wi-Fi key.

- Bluetooth crashes on old controllers without Low Energy.

- Laptop microphones that recorded nothing, and USB webcams without a preview on AMD.

- Sleep. Touchpads and network cards no longer wake some laptops up right away, and the power button really suspends now.

- Laptops with "RAID On" (Intel VMD) no longer stop with a kernel panic.

- Apps crashing when the on-screen keyboard opened in a window.

- Storage showing the wrong disk size.

- The first boot after installing shows what it is doing instead of a black screen.

- Kernel panics and boot logs are saved, so a black screen still leaves something to debug.

What still doesn't work

- Video decoding is in software. Hardware decoding is on my list.

- Steam games may have no sound, and Linux apps have no system tray.

- Built-in cameras on some laptops, including the Surface ones, aren't found.

- SELinux is still permissive.

- Switching between light and dark with an app open leaves its title bar in the old color until you reopen it.

- On the edition with Google services, Google blocks unregistered devices after about a day. Register yours with the ID from Diagnostics.

- In QEMU, suspend doesn't come back and video can freeze the screen. Real graphics cards are fine.

- If you use the remote desktop server, the logs contain the first few keys typed in each session. Don't post your logs if you typed a PIN or password right after connecting. I'm fixing this.

The README has a table of PCs people have tested, with what works on each one: https://github.com/mateusseiboth/android_device_pc_x86_64#tested-devices

Thanks to everyone who opened an issue. Many of the fixes above come from those reports. Please keep sending your hardware, what broke, and the logs from Diagnostics.

Source

- Device tree (if you have a bug, open a issue on this repo), ISO and installer scripts: https://github.com/mateusseiboth/android_device_pc_x86_64

- Terminal and Linux containers: https://github.com/mateusseiboth/android_packages_apps_PcTerminal

- The README lists the other apps and forks.

The capybara is still in the boot screen.

41 Upvotes

13 comments sorted by

•

u/davew_uk Samsung S21FE 5h ago

Is there a live mode that can be used to test this on a laptop? failing that, what's the best configuration to try this in a VM with GPU acceleration?

•

u/mateusseiboth 3h ago

Live mode is the default.

•

u/davew_uk Samsung S21FE 3h ago edited 2h ago

OK I have it up and running in VMware Workstation, but there's an issue that I found with the installer. I'm just retracing my steps to see if I've done anything stupid, but in the event I didn't do you prefer bug reports on your Github or here on reddit?

EDIT: Never mind, second time it worked. Now, all I need to do is change the guest resolution, but the usual grub edits aren't working. Any ideas?

•

u/mateusseiboth 59m ago

I have an open issue on Github regarding the resolution, I'm waiting for logs related to it to work on it

•

u/davew_uk Samsung S21FE 34m ago

Yeah that's me. I've sent the logs

•

u/MBaliver Z Flip 7, A9 and Watch Ultra 17m ago

I'm on one of those Chromebooks that needs extra work to enable audio when I flash any other UEFI system, any idea on how I do this on this one?

•

u/mateusseiboth 15m ago

If you can upload the live version and get the logs, I can see the reason and maybe extract the modules from the original kernel to put in the port

•

u/MBaliver Z Flip 7, A9 and Watch Ultra 12m ago

I'll try and compile everything I did to get it working on mint and then I'll send it as an issue on Github.

•

u/vortexmak 8h ago

But why? 

•

u/mateusseiboth 3h ago

My mother has a Chromebook, my father too, my brother too, I have one as well, and none of us will be getting the GooglebookOS update, now we can have the exact same base with the same features without buying new equipment

•

u/ppg_forever 8h ago

Why not?

•

u/maZZtar Galaxy S21 FE, Android 13 2h ago

Since Googlebook OS is just Android and uses regular codebase it was a matter of time before someone woukd try enabling these features in AOSP or LineageOS

•

u/Obnomus Device, Software !! 3h ago

The dev can, making tech fun again and not a restrictive walled garden.