[TOOL] Deuces Bootloop-Recovery & Flashing Script v4.4/v4.5 [06-13-2018]

yunghunter

Member
Oct 7, 2011
30
6
0
hi thanks for all your hard work but i am having a problem with your script seems all goes well until the end then it gets stuck on the the line that says fastboot unrecognized option -- set-active_b then just stops I have installed the latest platform tools and am running a linux on my chromebook
 

Deuces

Senior Member
Jun 4, 2009
396
410
0
Houston
hi thanks for all your hard work but i am having a problem with your script seems all goes well until the end then it gets stuck on the the line that says fastboot unrecognized option -- set-active_b then just stops I have installed the latest platform tools and am running a linux on my chromebook
Are you using a chrooted Linux or full install? Vm? Sounds like a fastboot out of date problem. Try pasting the full log here.
 

Pixxelated

Member
Feb 19, 2018
9
2
0
Unreal

I literally made the account to reply to this thread, your script is EXACTLY what i neededf to bring my phone back to stock, after many days searching for the ANSWER , THANK YOU!!!!!!!
 

Rookx

Member
Nov 22, 2011
29
0
0
Saved me from a bootloop (and got me to upgrade my system which I was being lazy on), you're the man! Thanks so much for this.
 
Last edited:

Rukbat

Senior Member
Feb 15, 2012
536
120
63
Fayetteville NC
Pixel 2 (not XL). Updated to March update. Soft-bricked. I can get to bootloader. I can boot TWRP and install twrp<latest>.zip. No luck there.

I found your script, so I ran it (on March factory walleye). Still stuck in bootloader - the only things that work are barcodes and power off.

Any ideas? (The same thing happened with the February update. After an hour on the phone with Google, they RMAd that one.)
 

Deuces

Senior Member
Jun 4, 2009
396
410
0
Houston
Are you trying to boot and flash twrp before booting bone stock? If so, don't. Did you unlock the bootloader? If all else fails, format user data, and always boot bone stock for the upgrade to process before doing any modifications or additional flashing. Whatever you do, do not re-lock the bootloader without being positive everything is bone stock, and working properly
 
  • Like
Reactions: yyz71

sam0yed

Member
Nov 29, 2017
46
3
0
Are you trying to boot and flash twrp before booting bone stock? If so, don't. Did you unlock the bootloader? If all else fails, format user data, and always boot bone stock for the upgrade to process before doing any modifications or additional flashing. Whatever you do, do not re-lock the bootloader without being positive everything is bone stock, and working properly
I'm getting an error that I cannot generate image for userdata when I try to fastboot format userdata. It also comes up when I run your script. Any suggestions?
 

Shaxpya

New member
Jan 5, 2013
2
0
0
It stuck here:
sending 'vendor_a' (354112 KB)...
FAILED (data write failure (Unknown error))
finished. total time: 9.503s

Mighty Deuces, what should i do, im so desperate...
 

razrlover

Senior Member
Mar 28, 2012
3,466
1,440
0
It stuck here:
sending 'vendor_a' (354112 KB)...
FAILED (data write failure (Unknown error))
finished. total time: 9.503s

Mighty Deuces, what should i do, im so desperate...
Have you tried to reflash script?

What i have done when it gets stuck and other wise I'm screwed, I use the skipsoft toolkit as last resort, always worked just lose data
 

navi_j

Member
Feb 28, 2016
30
0
0
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
sir,
i have tried this script.

Please go through screenshot and give me solution.

My phone is not able to start stuck at google logo then goes into TWRP mode, in TWRP mode it shows red lines and again stuck at Google logo.

Please help.
 

Attachments

Rukbat

Senior Member
Feb 15, 2012
536
120
63
Fayetteville NC
Correct. That v4.4 part requires the .bat, because Windows takes .4 as the file type. (I renamed mine to deuces.bat, so it ran as deuces. [.com, .exe and .bat is the order in which files still run in Windows.])

And again, thank you for the file.