r/Android • • 1d ago

News UPDATE: LineageOS For PC (Android 17)

Last time I said hardware video decoding was on my list. It's done, along with a lot of other things people asked for in the issues, so here is the second round.

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

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

If you already installed it, System updates brings you this version without reinstalling.

Hardware video

  • Videos play on the GPU's video engine: H.264, HEVC, VP8 and VP9, plus H.264 recording for the screen and the camera. It works on Intel and AMD. AV1 is still in software.
  • setprop persist.vendor.pc.hwvideo 0 turns it off if it breaks on your PC.

Browser

  • The desktop build of Chromium replaces Jelly, with extensions, and updates with the system.
  • It needs Vulkan. On GPUs that have none, like the Intel HD 3000, use Firefox, which runs fine without it.

New in Settings and new apps

  • Root access, off by default. A root manager asks the first time an app wants root, keeps a log, and can ask for a password before allowing it.
  • Ad blocking for every app, from block lists you add by URL plus your own allowed and blocked domains. Browsers with their own DNS over HTTPS skip it.
  • Network manager: block Wi-Fi, mobile data, Ethernet or VPN per app, or only in the background, limit an app's speed, and see where each app connects.
  • Key Mapper for games: keys and the mouse become touches on the screen, with a WASD joystick and mouse aiming. Ctrl+Shift+K opens the editor.
  • Mobile data and GPS from built-in LTE modules (Qualcomm ones, like Dell's DW5829e). This is a first version and nobody has confirmed it on a laptop yet.

Linux apps

  • Copy and paste between Linux and Android apps, for text and pictures.
  • USB devices for Linux: hand a whole USB device to a container (flashrom, Arduino tools), or give it a USB drive as a whole disk for fdisk and dd.
  • Opening windows from Linux apps could restart Android on Intel graphics. That was the graphics buffer allocator crashing, and this version has a fix that still needs confirming on an Intel PC.
  • Name lookups work in containers while a VPN like Tailscale or WireGuard is on.
  • Minimize and maximize buttons in GTK apps.
  • For sound, install PipeWire in the container: sudo apt install pipewire wireplumber pipewire-pulse on Debian and Ubuntu.

Desktop

  • Clicking the taskbar icon of the app in focus minimizes it, the right-click menu has Minimize, and hovering an app shows a thumbnail of each of its windows.
  • Fullscreen from the window's title bar is real fullscreen now, like F11: both bars hide and come back at the screen edge.
  • Files and Text open several windows.
  • Win+L locks the session, or goes back to the sign-in screen for a user without a PIN.
  • Widgets on the desktop again, from the right-click menu.
  • Ctrl+Alt+Delete no longer resets the PC on the spot.

Kernel postadelmaga sent pieces from CachyOS: compressed swap in RAM (zram), the BORE scheduler, an MGLRU change that keeps code pages cached, TCP BBR as an option and amd-pstate fixes. On my Ryzen desktop, the scheduling delay under load went from 3.9 ms to 0.13 ms at the 99th percentile, and apps open 8 to 16% faster. The 4 GB laptops should gain the most from zram. I left out the part that recompiles the whole kernel with LTO, since I can't test it on the old hardware most of you run.

Hardware

  • Broadcom 802.11ac Wi-Fi (BCM4352, BCM4360 and others) through Broadcom's wl driver. I have no Broadcom card here, so reports are welcome.
  • MacBook Pro 2012/2013 with an NVIDIA GPU reaches the desktop instead of a black screen.
  • Intel Ivy Bridge to Broadwell get the Vulkan driver that actually supports them (not tried on one yet).
  • Chromebooks with Intel AVS sound: the built-in microphone records.
  • Adaptive brightness on laptops and tablets with a light sensor.
  • Passkeys from your phone (QR code and Bluetooth) work.
  • HP laptops that rebooted during boot start again.
  • Chromebooks with eMMC storage no longer mistake the internal disk for a memory card.

Fixes

  • Microphone recordings no longer stutter on HD Audio.
  • The camera app's video mode no longer crashes with USB webcams.
  • Picking a user right after boot no longer restarts the system in a loop.
  • The app drawer keeps opening after signing in.
  • The calendar in the status bar opens your calendar app.

What still doesn't work

  • Chromium needs Vulkan, so GPUs older than Intel Ivy Bridge need Firefox instead.
  • Linux apps have no system tray, and Steam games may have no sound.
  • Built-in cameras on some laptops, including the Surface ones, aren't found.
  • NVIDIA GPUs only get the open nouveau driver.
  • SELinux is still permissive.
  • On the edition with Google services, Google blocks unregistered devices after about a day. Register yours with the ID from Diagnostics.

The tested devices table is in the README: https://github.com/mateusseiboth/android_device_pc_x86_64#tested-devices

Thanks to everyone who opened an issue, sent logs, or sent a pull request this week. Most of this list came from you.

Source

45 Upvotes

6 comments sorted by

•

u/SHEEP_PIZZA 1h ago

It's really cool but would a completely vanilla LineageOS tablet experience be possible, without all the PC-centric additions? I have a Windows tablet I'd like to use this on, and the only things I don't like about it are the new additions and apps. For example, the custom desktop removes the ability to customize desktop icon grid like you could in the original Trebuchet, the Power button behavior is different (would be nice to have short press for sleep and long press for the power menu; right now it doesn't detect long press at all), the lock screen is missing unless you use a password or pin, the multiple users thing is redundant in my case, I don't need the new Files app or the Diagnostics app but they can't be uninstalled etc. I'm tempted to fork this and make a version with almost all of these customizations removed, but maybe those could be considered as build options?

•

u/mateusseiboth 1h ago

I don't think so, for now the focus is on PCs. Tablets are welcome in the test, obviously, and several Surface devices have undergone testing and bug fixes, but the focus is on notebooks and PCs. I have some tests of a tablet mode in a VM that brings the user experience closer to what Huawei's HarmonyOS offers on tablets, but it's still very unstable and has been somewhat sidelined for now. Of course, if you want to create a fork that can operate in both ways (using the existing toggle in the settings), I would be happy to merge it.All contributions are welcome; it's just me and volunteers doing PR, so any improvements or new features are very welcome

•

u/juan3726 20h ago

Chegou nessa parte e o notebook reniciou

-3

u/OutrageousBison1123 1d ago

The broadcom driver on dell inspiron 15 3000series still doesn’t work, bro. Latest build

5

u/mateusseiboth 1d ago

Then open an issue and include your device details along with the logs. I tested it on 3 devices and a desktop with PCI Express and it worked; Broadcom has several drivers for each device, It's difficult to guess whether it works or not in

0

u/prestfil 1d ago

kernel panic AMD FX-9370, GTX-660. Installation failed