You will need an Android Terminal. You can turn on the default one in the developer settings. Need to turn on developer mode?
You will also need to enable root which can also be done in the Developer settings
Open up the terminal app and run
More info here
Download the unofficial LineageOS 16 build from the following page
Unzip the file with
Write to SD Card
Either use the instructions on the following link to write it to the SD card
Or use DD
WARNING! Make sure “/dev/mmcblk0” is the correct SD Card. Refer to here if you need to locate the path for the SD Card.
sudo dd if=~/Downloads/lineage-16.0-20200207-UNOFFICIAL-KonstaKANG-rpi3.img of=/dev/mmcblk0 bs=1M status=progress
Plug you SD Card into your Pi and boot it up.
Download twrp from here
Download LineageOS 17 from here
Boot phone to boot menu then fastboot twrp
sudo fastboot boot Downloads/twrp-3.3.0-0-sailfish.img
Wipe to factory defaults
Side load LineageOS Android 10 from the Advanced page on TWRP
adb sideload Downloads/lineage-17.0-withMTG-20191217-UNOFFICIAL-sailfish.zip
Reboot and setup.
The LineageOS Updater downloads updates fine, but crashes as soon as you hit Install.
Looks like there may be a bug that has something to do with an update that it already downloaded and installed, but waiting on the device to reboot.
Reboot the device to resolve the issue.
Other things to try would include deleting and redownloading the update and/or trying a different update.
Just some notes on trying to install LineageOS on Google Pixel.
Basic install steps
- Unlock bootloader
- Boot into TWRP
- Wipe System and format
- Push LineageOS zip via adb (or other methods)
- Install LineageOS zip
- (Optional) Reboot back into TWRP and install Gapps
- Reboot (should boot into Lineage. If not, try changing a/b)
Lineage 15 Official
Install guide is here. Here are some extra notes.
Google Recovery Images (Helpful if you didn’t create a backup…) https://developers.google.com/android/images
LineageOS Download link
Lineage OS 16 Unofficial
ADB and fastboot should be in the following directory. May need to install them if they are not.
Boot TWRP image using fastboot. Run from the bootloader menu, should automatically load.
fastboot boot twrp.img
Seems like there can be some issues with the Pixel and it swapping A/B on boot. You can use TWRP to reboot into A or B, or set it with fastboot
Apparently a/b devices will show up as no os installed in TWRP
TWRP says no OS installed, system boot loops from LineageOS
Backup and restore
You can use adb to create a backup of your phone. Not sure what all it backs up. Once restored pictures, background, and other files seem to be there.
adb backup -apk -shared -all -f \Path\to\folder\backup_name.ab
Restore backup with
adb restore \Path\to\folder\backup_name.ab