This script is written for UNLOCKED BOOTLOADER Google Pixel devices
Fix Bootloops
Work with any Google factory image
Unlock Bootloader
(Optional): Format Userdata
-----------------------------------------------------------------------------------------------------------------------------------------------------------
Download script: HERE
Download Factory Images: HERE
Download ADB/Fastboot: Platform Tools
Download USB Drivers: USB Drivers -- Driver Installation Video
-----------------------------------------------------------------------------------------------------------------------------------------------------------
Instructions:
Download the factory image, and place it with the Deuce-Flash-All script(s).
Run the script! (.bat for Windows, .sh for Linux)
(no longer necessary to unzip stuff!)
-----------------------------------------------------------------------------------------------------------------------------------------------------------
If you are having issues with this script:
Place latest fastboot/adb in folder with script and image file.
Try a different USB port
Try a different cable (preferably USB A -> USB C)
Format Userdata in Stock Recovery
Boot plain factory image before doing mods like Locking Bootloader / Kernel / TWRP / Magisk
-----------------------------------------------------------------------------------------------------------------------------------------------------------
Donations:
I am happy to give back to this great community!
I am also a new father, so if you'd like:
DONATE to the diaper fund!

-----------------------------------------------------------------------------------------------------------------------------------------------------------
Changelog:
v5.0: 05/29/2019
- Zip files will be detected and extracted automagically!
- Improved prompting, colors, safety, and handling of flashing process
- Fastboot/adb inside script folder as priority, if available
- Source control: let me know if you'd like to contribute!
- Accepting donations to diaper fund!
- (Windows): log files will be created automatically
- (Linux): create log file by running "script -c ./deuce-flash-all-v5.0.sh logfile.log"
Attachments
Last edited: