Google Pixel and Pixel XL - phhusson/treble_experimentations GitHub Wiki

Pixel (Sailfish)

Testers

  • phh

Hardware

Has been tested on:

  • Sailfish US 128Go
  • Sailfish ROW 32Go

GSI tested

phh and LineageOS. Both work.

Procedure used

Warning: this has an issue which prevents the phone from booting more than three time. The workaround is in the linked issue.

  1. Download latest Google image available here. For me it was 10.0.0 (QP1A.191005.007.A3, Dec 2019)
  2. ./flash-all.sh
  3. Extract boot.img unzip image-sailfish-qp1a.191005.007.a3.zip boot.img
  4. Edit boot.img to disable dm-verity: sed -i -e 's/buildvariant=user/buildvariant=eng /g' boot.img
  5. Flash the system image: fastboot flash system system-roar-arm64-ab-vndklite-floss.img.xz
  6. Erase the data partition: fastboot -w
  7. Boot the phone

This will most likely not work as-is because system partition is too small, I(phh)'m actually using paralloid to boot from /data for bigger system image

Notes

  • SIM is not detrecting on latest Pie furmwares
  • but all other majors functionalities seems to work: camera, flash, wifi, bluetooth, sounds.

Pixel XL (Marlin)

Testers

Hardware

Has been tested on:

  • Marlin EU 32GB
  • Marlin US 32Go

GSI tested

phh and LineageOS. Both work.

Procedure used

Warning: this has an issue which prevents the phone from booting more than three time. The workaround is in the linked issue.

  1. Download latest Google image available here. For me it was 8.1.0 (OPM4.171019.021.D1, Jun 2018).
  2. ./flash-all.sh
  3. Reboot to fastboot, then erase the system partition: fastboot erase system
  4. Flash the system image: fastboot flash system system-arm64-ab-vanilla-nosu.img (phh v19 2018-06-03, sha256: 9d130f709f063953a9d941f1ed4f33e050a60e61794cef459e22b3ac8f7eca20) or fastboot flash system system-arm64-ab.img (LineageOS v4 2018-05-19, sha256: 3f67636ba164d1c0f7b750070b6db16349e761e1e4dea2ee193b176477152b91)
  5. Erase the data partition: fastboot -w
  6. Boot the phone

Notes

  • SIM is not detecting