Download script:
HERE
This script is for the UNLOCKED BOOTLOADER pixel2 / pixel2 XL, and will:
- (Optional): Unlock Bootloader
- Fix Bootloops
- Flash both Slots A and B
- Work with any current 8.0 or 8.1 image [confirmed up to date 01-14-2018]
- Detect bootloader and radio special *.img names automagically
- (Optional): Format Userdata
Instructions:
Extract factory image zip file, as well as the system zip file within it!
This will lead to ~19 .img files in the same folder, with the deuce-flash-all script!
SEE SCREENSHOT!!.
Once you have all these together, run the Deuce-Flash-All script. ( .bat for Windows, .sh for Linux)
(Download Factory Images here:
https://developers.google.com/android/images#walleye)
If you are having issues with this script:
- Download the latest fastboot and adb Platform Tools UPDATED Dec. 22, 2017!!! This is the most common problem!!!
- Update your Google USB Drivers
- Verify you have the environment variable (path) set for adb and fastboot
- Try a different USB port
- Try a different cable
- Format Userdata in Stock Recovery
- Try to boot stock before doing mods like Locking Bootloader / Kernel / TWRP / Magisk