Skip to content

Instantly share code, notes, and snippets.

@XenGi
Created October 28, 2017 11:41
Show Gist options
  • Select an option

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

Select an option

Save XenGi/a8f81e0beb936aed2a90baab7f7c9925 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
- custom recovery: https://twrp.me/google/googlepixel.html
- custom rom: http://get.aospa.co/official/sailfish
- google apps: http://opengapps.org/ (platform: arm64, android: 7.1, variant: nano)
- supersu: http://www.supersu.com/download (latest Recovery Flashable.zip)
## 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