Skip to content

Instantly share code, notes, and snippets.

@XenGi
Last active October 28, 2017 11:42
Show Gist options
  • Select an option

  • Save XenGi/78e7acdcd6897855cc8d6516b00cf5ee to your computer and use it in GitHub Desktop.

Select an option

Save XenGi/78e7acdcd6897855cc8d6516b00cf5ee to your computer and use it in GitHub Desktop.

howto flash aospa (google pixel, codename: sailfish)

get the tools

  • you need adb and fastboot
  • a usb cable

get the files

unlock bootloader

connect to pc and type (will wipe everything including internal storage):

$ fastboot oem unlock

install custom recovery

$ fastboot flash recovery ~/path/to/twrp.img

install custom rom

  • reboot into recovery
  • do a factory reset
  • flash zip files (in this order)
    • aospa
    • gapps
  • (optional) flash supersu
  • reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment