[TOOL][PIXEL 2] TOOL ALL IN ONE (Drivers|Unlock|TWRP|Factory Image|Stock Recovery)

alecthenice

Senior Member
Jul 20, 2016
307
47
0
San Francisco
You need to enable oem unlock and usb debugging and some branded versions can't be unlocked
I have a google store pixel 2, even when the exploit to run to enable a toggle OEM unlock this tool is unable to unlock the boot loader. I hope this information is useful for development. Thank you for making this tool! The more I look into my IMEI it seems phone is a Google store phone with factory locked bootloader. I originally said Verizon because I couldn't believe my model number
 
Last edited:

crixley

Senior Member
May 25, 2012
4,648
2,028
0
I have a verizon pixel 2, even when the exploit to run to enable a toggle OEM unlock this tool is unable to unlock the boot loader. I hope this information is useful for development. Thank you for making this tool!
That toggle doesn't actually mean anything without the proper code in the OEM partition.
 
  • Like
Reactions: alecthenice

alecthenice

Senior Member
Jul 20, 2016
307
47
0
San Francisco
That toggle doesn't actually mean anything without the proper code in the OEM partition.
So I know that updates can't touch the way our bootloader functions, they have to act higher in the stack because we never had the bootloader unlocked in the first place. Based on my research here https://android.googlesource.com/platform/external/avb/+/master/README.md#Locked-and-Unlocked-mode
Under the updating stored roll back indexes
And
Handling dm-variety errors
If we can "AVB_VBMETA_IMAGE_FLAGS_HASHTREE_DISABLED"
"Android boot.verietymode" is set to dissabled
"androidboot.verietymode.managed" and "androidboot.vbmeta.invalidate_on_error" are unset.
We should be able to unlock the bootloader.
Someone should look over my primary source as I am not sure I am interpreting it correctly. I do not know how to set parameters please advise.

In a closing thought, if this cannot unlock the bootloader

we could boot into a patched boot.img and then install magisk? I haven't quite reached a persistent root idea with unlocked bootloader yet
 
Last edited:

crixley

Senior Member
May 25, 2012
4,648
2,028
0
So I know that updates can't touch the way our bootloader functions, they have to act higher in the stack because we never had the bootloader unlocked in the first place. Based on my research here https://android.googlesource.com/platform/external/avb/+/master/README.md#Locked-and-Unlocked-mode
Under the updating stored roll back indexes
And
Handling dm-variety errors
If we can "AVB_VBMETA_IMAGE_FLAGS_HASHTREE_DISABLED"
"Android boot.verietymode" is set to dissabled
"androidboot.verietymode.managed" and "androidboot.vbmeta.invalidate_on_error" are unset.
We should be able to unlock the bootloader.
Someone should look over my primary source as I am not sure I am interpreting it correctly. I do not know how to set parameters please advise.

In a closing thought, if this cannot unlock the bootloader

we could boot into a patched boot.img and then install magisk? I haven't quite reached a persistent root idea with unlocked bootloader yet
Can't patch a patched boot because you need an unlocked bootloader to flash it. My idea so far involves either HTC diag mode and qpst, or their download mode. There are hidden commands I've found in HLOS partition I believe, I need to be on my laptop and I'll tell you.

Edited: it's hosd actually
 
Last edited:

alecthenice

Senior Member
Jul 20, 2016
307
47
0
San Francisco
Can't patch a patched boot because you need an unlocked bootloader to flash it. My idea so far involves either HTC diag mode and qpst, or their download mode. There are hidden commands I've found in HLOS partition I believe, I need to be on my laptop and I'll tell now.
I vaguely know what your talking about and think that's a good direction. Looking more into it now. I think there may be a way to enter a temporary root by booting into the patched img watch this YouTube video to understand my basic concept
 

crixley

Senior Member
May 25, 2012
4,648
2,028
0
I vaguely know what your talking about and think that's a good direction. Looking more into it now. I think there may be a way to enter a temporary root by booting into the patched img watch this YouTube video to understand my basic concept
I know what you mean but we can't fastboot flash an image without already being bootloader unlocked. Only ota files.
 
Last edited:

alecthenice

Senior Member
Jul 20, 2016
307
47
0
San Francisco
Can we just flash a .bin something like test.bin then try "fastboot flash test.bin oem unlock" any potential for boot loop here or is my biggest danger waste of time?
Maybe follow that glitch inducing file flash by "oem unlock"?
 

mauronofrio

Recognized Developer
Jun 29, 2012
4,356
13,318
263
24
Castellana Grotte
toolaio.tk
Can we just flash a .bin something like test.bin then try "fastboot flash test.bin oem unlock" any potential for boot loop here or is my biggest danger waste of time?
Maybe follow that glitch inducing file flash by "oem unlock"?
I don't understand what you want to do, to unlock the pixel 2 xl bootloader you should use the command "fastboot flashing unlock"
 

alecthenice

Senior Member
Jul 20, 2016
307
47
0
San Francisco
I don't understand what you want to do, to unlock the pixel 2 xl bootloader you should use the command "fastboot flashing unlock"
I'm basically trying to tweak the command since the boot loader is unlockable but something is telling the boot loader otherwise. I.E "flashing unlock failed..." Just a hair brained hack for what seems like glitched pixel 2s (google branded pixel 2s w/ locked blogosphere) I understand the verizon situation. I was inspired after watching the root method for the LG v30 which uses the same snapdragon 835. Think there is any merit here? The LG v30 root pioneer calls it the wtf method :)
 

CMPI5O

Member
May 3, 2020
7
0
0
This is the Pixel's TOOL ALL IN ONE Discussion Thread more info and download go to the Original Thread

TOOL ALL IN ONE



ADVANCED OPTIONS



FUNCTIONS

Install Drivers
Install Drivers
Unlock Bootloader
Lock Bootloader (use carefully)
Flash TWRP Recovery
Flash Stock Recovery
Flash Stock Factory Image
Automatic ROOT
Install APKs
Uninstall APKs
Take a Screenshot
Take a Screen Reocrd
Flash Partitions
Erase All Data (This function can decrypt the phone)
Reboot Phone
Update the Tool to latest version
Update Adb and Fastboot to latest version
Set Adb and Fastboot priviliges in system wide
Install Zip directly from PC (Required TWRP on phone)(These functions work perfectly on my pc but i have perfect adb drivers on my pc and perfect TWRP on my phone)
Flash Fastboot ROM
Delete downloaded files
ADB File Manager


DEVICE LIST
If you want you can send a request to add a new device here:
New Device Request Form
Device List

DOWNLOAD

Original Thread


DONATE LINK

If you want to support the project please consider making a donation, thanks.

Is this safe to download?
 

tevil

Senior Member
Aug 10, 2011
1,041
123
0
New Haven, CT
Hi all. Been a long time for me. Kind of stopped rooting my phone's but was interested again since my 2 is fairly old now and I'd like to open a couple features usually locked. Is this tool still updated and usable? Im not even looking for twrp or bootloader, just generic root. Kind of looks like wugs old toolbox. Thanks.