LineageOS is a free and open-source operating system for smartphones and tablet computers, based on the Android mobile platform.
This is an unofficial build of LineageOS for the Pixel 2 (walleye). I always liked Lineage (and its predecessor CyanogenMOD) as well as the Google line of phones. Unfortunately having a Google Pixel phone isn't certainty for a lot of custom ROMS anymore, so that's why I decided to compile my own version. It's been quite challeging, but I think I finally have a build that is good enough to share.
This ROM is built straight from the LineageOS sources found on https://github.com/lineageos. There are only 3 changes in order to get this build:
- The device tree is just a single folder with references to the crosshatch (Pixel 3XL) tree that is already there in the sources
- The binaries for this ROM come from The Muppets
- The ROM is compiled with the nano version from Open Gapps, including the Pixel specific bits for unlimited photo upload for instance
Installing the ROM can be a little hard, especially the first install. Upgrades will be relatively easy though. This first setup is only needed when coming from a different ROM then this. I can't support you if you did't follow this first installation. Be warned it will wipe your user data in the process, so make sure you make a backup if needed.
- Place the ROM and optionally the TWRP zip, a kernel and root on the phone and reboot to recovery by using the command line (fastboot boot twrp.img) or hold the VOL DOWN key while rebooting the phone.
- In order to make the right startbase for the ROM you have to install the latest stock Pixel 3 image from Google found here to BOTH slots. You can use the script in the download folder. Instructions how to use it can be found in the script itself.
- Wipe 'data' and 'Dalvik / Art Cache' from TWRP - Wipe - Advanced Wipe or use the slider in TWRP for a factory reset. Optionally you should also delete the Android folder on your internal storage through the TWRP File Manager
- Flash the ROM and optionally the TWRP zip, kernel and root and reboot the phone
Upgrades to new version
After the hard initial work to get the ROM installed it's going to be easy for upgrades to new versions.
- Download the new ROM on the phone and reboot or fastboot flash to the TWRP recovery
- Flash the new ROM and optionally TWRP. If you want to flash another kernel or a root solution you will have to reboot you phone, so it switches slots and let it boot normally. Then go back to recovery and flash in this order: TWRP - kernel - Magisk and reboot
- Download the latest Lineage OS ROM and place it on the internal storage
- Download the latest image from the Google Factory Images site, extract the bootloader, radio and vendor images and flash them in the bootloader to BOTH slots. Alternatively (and actually my prefered method) you can use the script provided in the download folder. Instructions are inside the script
- From here go to TWRP recovery and flash the previously downloaded new ROM, optionally followed by TWRP.
- Optionally, after a reboot you can flash Magisk and/or another kernel.
- Active Edge
- Now playing (on the lockscreen, it works while the screen is on, just no history))
- Call recording (not enabled in sources for our device)
- Accent colours Default, Forest and Cocoa display a blue colour icon theme instead of its own
- Call Screen (couldn't test it myself)
- The "markup" tool to edit screenshots doesn't work
Now finally for the good part, the downloads. In this folder you will always find the latest ROM: