FORUMS
Remove All Ads from XDA

[TOOL] Deuces Bootloop-Recovery & Flashing Script v5.0 [05/29/2019]

394 posts
Thanks Meter: 405
 
By Deuces, Senior Member on 14th November 2017, 05:31 AM
Post Reply Email Thread

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"
Attached Thumbnails
Click image for larger version

Name:	DeuceBaby.jpg
Views:	492
Size:	24.2 KB
ID:	4768176  
The Following 146 Users Say Thank You to Deuces For This Useful Post: [ View ] Gift Deuces Ad-Free
14th November 2017, 06:42 PM |#2  
abogrhen's Avatar
Senior Member
Thanks Meter: 131
 
More
Thank you
I will use it later
15th November 2017, 02:09 AM |#3  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by Deuces

This script is for the UNLOCKED BOOTLOADER pixel2xl, and will:

  • Unlock Bootloader and Critical
  • Fix Bootloops
  • Flash both Slots A and B
  • Work with any current 8.0 or 8.1 beta image
  • Detect bootloader and radio special *.img names automagically
  • (Optional): Format Userdata
  • (Optional): Re-Lock Bootloader and Critical

You MUST extract factory image zip file
(found here: https://developers.google.com/android/images#taimen )
You also MUST extract the included zip file
This will lead to ~21 .img files in the same folder, with the deuce-flash-all script!
(See screenshot!)

If you are having issues with this script:

I only see deuce-flash-all-v3.bat when i extract.
15th November 2017, 02:20 AM |#4  
joetheshmo's Avatar
Senior Member
Flag Santa Cruz, CA
Thanks Meter: 1,134
 
More
Quote:
Originally Posted by SSJMarkelous

I only see deuce-flash-all-v3.bat when i extract.

Uh... You're supposed to get the factory image and extract both zips full of .imgs

Sent from my Pixel 2 using Tapatalk
The Following 2 Users Say Thank You to joetheshmo For This Useful Post: [ View ] Gift joetheshmo Ad-Free
15th November 2017, 02:33 AM |#5  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by joetheshmo

Uh... You're supposed to get the factory image and extract both zips full of .imgs

Sent from my Pixel 2 using Tapatalk

Thanks So much. It worked like a charm after that.
16th November 2017, 09:49 PM |#6  
samteeee's Avatar
Senior Member
Flag Brampton
Thanks Meter: 217
 
Donate to Me
More
@Deuces

Great tool, thanks bro.
21st November 2017, 04:47 AM |#7  
neuron617's Avatar
Junior Member
Flag Bay Area
Thanks Meter: 2
 
More
@Deuces

Brilliant, just effing brilliant: thanx
23rd November 2017, 01:12 AM |#8  
sixohtew's Avatar
Senior Member
Flag phoenix
Thanks Meter: 882
 
Donate to Me
More
holy **** man thank you so much, flashing the factory images kept failing saying the partition couldnt be found.. i thought i was going to have to send it back to google. this tool should be pinned at the top of the forum. this tool was perfect in every way.. only thing is its windows only and i tried on my dads laptop but fastboot couldnt see my pixel 2 xl, so i reinstalled windows on my main comp and bam, fastboot saw the device, and the script worked flawlessly. id be willing to work with you to port this to linux (since a lot of users have linux only systems) but yea, thank you so much
The Following User Says Thank You to sixohtew For This Useful Post: [ View ] Gift sixohtew Ad-Free
23rd November 2017, 03:06 AM |#9  
Deuces's Avatar
OP Senior Member
Flag Houston
Thanks Meter: 405
 
More
Quote:
Originally Posted by sixohtew

holy **** man thank you so much, flashing the factory images kept failing saying the partition couldnt be found.. i thought i was going to have to send it back to google. this tool should be pinned at the top of the forum. this tool was perfect in every way.. only thing is its windows only and i tried on my dads laptop but fastboot couldnt see my pixel 2 xl, so i reinstalled windows on my main comp and bam, fastboot saw the device, and the script worked flawlessly. id be willing to work with you to port this to linux (since a lot of users have linux only systems) but yea, thank you so much

Glad it helped. I'm gonna port it for Linux in a week or two. I have a couple small tweaks to make for v4. If you want to test the future port or start working on it yourself, I don't mind at all.
The Following 2 Users Say Thank You to Deuces For This Useful Post: [ View ] Gift Deuces Ad-Free
23rd November 2017, 03:39 AM |#10  
Senior Member
Thanks Meter: 50
 
More
this just saved me. Thank you.
23rd November 2017, 12:36 PM |#11  
Junior Member
Thanks Meter: 5
 
More
Brilliant, just effing brilliant: a million thanks
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes