Unzip the factory image

Edit flash-all.bat or flash-all.sh (Mac, Linux), and remove the "-w" on the last line

Reboot into bootloader: adb reboot bootloader

Flash factory image: flash-all.bat or flash-all.sh

Boot into recovery: fastboot boot twrp-3.1.1-1-fastboot-marlin

In TWRP, flash TWRP twrp-pixel-installer-marlin-3.1.1-1.zip

Reboot into TWRP

Hi all,With the activation of Android Pay in Canada, I was looking for a solution that pass the safety net with open bootloader, root, and modified host file. The information about was very partial at best, so I thought writing a guide is a good idea. Here we go:1) Download all the needed files:2) Install last factory image3) Install TWRP4) If coming from prior version of Magisk, flash Magisk-uninstaller-20170928.zip*) If you want, flash a compatible custom kernel, like ElementalX-P-2.02.zip5) Flash Magisk into TWRP: Magisk-v14.3(1437).zip6) Reboot into system (and tap on Do Not Install)7) Install Magisk Manager if missing: com.topjohnwu.magisk.apk8) In Magisk Manager settings, enable Magisk Hide, and Systemless Hosts9) Reboot10) In Magisk Manager, in Magisk Hide, select your bank app, Play Store, and GSF (Android Pay should be already selected).11) RebootHere we go, you should be able to add your card in Android Pay, use AdAway and download Netflix.I did not make a factory reset.Also works with Pure Nexus ROMEnjoy!