yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dricacho:
I got it to boot into the OS, by fastbooting the boot.img. Tried rebooting and it went straight to twrp 3.2.1-0 recovery and froze, still getting no response by touching INSTALL, WIPE, or any other option within the recovery screen. I managed to reboot into fastboot and flashed the old twrp 3.1.1 img back. Phone is booting into twrp 3.1.1 recovery and now I'm getting a response when touching the options in the recovery screen. However, the phone is still boot-looping into recovery and will never boot back into the system.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Ok good, at least it's booting. Do you know how to fastboot the factory image without wiping data??
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dricacho:
No.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Download the factory image, and extract it, if you haven't already. Place all the contents in your SDK platform-tools folder. That will include...bootloader, radio, 3 other files with the most important being the flash-all.bat file, and another zip that has all the other images in it.

Next, right click the flash-all.bat file, and hit edit. Toward the end of the script you'll see -w

You want to delete those 2 characters, then save your edit, leaving a single space between the remaining words. This will prevent your data getting wiped.

Then put your phone into bootloader mode, open a command prompt on the platform-tools folder. Then type in fastboot devices, if your phone ID is displayed, your good.

Exit the command prompt, and open up the platform-tools folder, and double click the flash-all.bat file you edited. That should start the installation process. It'll take 5-8 minutes to complete.

Then the phone should boot up to the OS.

From there, if everything is ok, you'll want to disable lock screen security, then go back to bootloader mode, and fastboot the official twrp.img Then once in there, flash the official twrp.zip, then custom kernel if you want, and then magisk for root if you want.

This is all dependant that you have your SDK platform tools up to date as well. And there ya go :good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dricacho:
So in the flash-all.bat file, change:

fastboot -w update image-taimen-opm1.171019.018.zip

echo Press any key to exit...

pause >nul

exit

To:

fastboot

update image-taimen-opm1.171019.018.zip

echo Press any key to exit...

pause >nul

exit
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Huh? Why are you typing update image and all that stuff? You lost me bro ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dricacho:
You said to delete the -w and leave a single space between the remaining words in the script. In your script, after the -w, the following code remains:

update image-taimen-opm1.171019.018.zip

echo Press any key to exit...

pause >nul

exit
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Oh..oh..ok, now I got it. Yep, you've got it. Sorry for my misunderstanding ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dricacho:
I'm back in business! Trying to figure out why the internal storage of the phone won't mount in Windows. I already installed the proper USB driver for the phone. It worked with ADB before. Trying to copy Magisk and official TWRP so I can flash them in recovery. I already turned on USB debugging in developer options and set USB connection for file transfer.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Nice! Glad your up and running. Repeat that whole process when you want to update the monthly security releases. Check your device manager drivers with it plugged in. Do by chance see an android generic phone listing? That may need to be updated. Also, try toggling USB debugging on/off with it plugged in and see if that helps.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mauronofrio:
Please this is tool thread not the modding thread, write about the tool and ths issues you have using it. If you flash a twrp you must disable dm verity check in your rom or you will go bootloop. To disable the dm verity check you can root your phone or flash zip that will disable the check. To flash the stock factory image you can download it manually and then use the tool to flash it, in this case the tool is not strictly fundamental, if you want you could flash the Factory Image manually. All the twrp present in the tool are official and taken from the official site, if they are not official it is written who published it
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] keving75:
Is there a way to flash the February update image without wiping all data with this tool?

I am trying to update my phone to install a custom ROM and cannot do that as I am still on the December update.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mauronofrio:
No you can't
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] quinejh:
Anyone know if by chance this flashes to both partition's?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] chronichemp:
Ok so this thing broke my phone somehow, i booted into twrp from it to flash root and it wasnt working and then all of a sudden when i tapped reboot to system it said it was updating my partitions and then rebooted and now im stuck in a bootloopp. Someone!!! Please help me.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mauronofrio:
What is not working when you boot the twrp? Have you an unlocked bootloader? What twrp did you choose to boot? Have you tried to enter manually in fastboot and try to reflash twrp?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] chronichemp:
im trying to boot into twrp to flash twrp. when i used the program it gave me a failue and somehtihing about the partition. I just factory reset, but how can i install twrp using the program? i get a error when i tell it to do it.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mauronofrio:
Have you unlocked the bootloader before try to flash the twrp?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] chronichemp:
Yes bootloader is unlocked!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mauronofrio:
What twro have you flashed?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] chronichemp:
lastest version downloaded from the site, and i tried the one it downloads on its own.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mauronofrio:
Now go in fastboot and try to "Only boot" a twrp from the tool
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] chronichemp:
ok how do i flash twrp then? i got my phone restored to stock but want to flash twrp and a rom. when i try with the program i can only boot into twrp. when i flash i get an eror saying failed no such partition
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mauronofrio:
Maybe with some recent updates something change, i need some times to understand what changes, so for now try to use official manual guide, https://xdaforums.com/pixel-2-xl/how-to/guide-unlock-flash-root-pixel-2-xl-t3702418

All twrp that are available in the tool are the stock official
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] oliverfongftw:
A stupid question here, can I fix the no valid os problem by flashing an official rom? As I got my pixel 2 XL with such problem, and I lost my box, receive, and not living in any of the official launch area...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] chronichemp:
Thank you!, please post when it is fixed or figured out. had my phone reset cause of trying so im waiting till i can twrp to have fun with it.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] almahix:
My xl2 is screwed up. Slot a is fine,slot b is badly damaged such that twrp won't even read it. Is there a way to fix slot b without damaging slot a?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mauronofrio:
I really don't know it, sorry
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
Did you try using dueces' script? It allows you to flash both partitions with the google factory image (with or without full wipe).
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sgtslaughter64:
Has anyone tested this on the Verizon model?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Don't believe it'll work on the Verizon model since the bootloader can't be unlocked in order to use fastboot properly ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] elliwigy:
tried what part? this wont root or unlock the bl or anything special.. more useful to those unlocked
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mauronofrio:
This tool can unlock the bootloader but only of the devices that have an unlockable bootloader. Verizon model have no an unlockable bootloader
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] elliwigy:
i kno lol thats wat i said lol.. he asked about verizon and i stated it wont be very useful for him.. he cant even flash stock images in fastboot lol
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Perhaps it might work if you take out the Verizon Sim and flah the next Google Factoy image with w. Then see if the bootloader is unlockable in Developer Options.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] elliwigy:
that wont work... has been tried multiple times by tons of ppl alredy, u should read some of the other threads
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
I chatted with someone on a telegram thread for whom it worked with the March update. No promises, though!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] pjunk:
Anyone know if this app will successfully RE-Lock my bootloader for the Pixel 2 XL? I (somehow) unlocked the bootloader, and some apps (e.g., MoviePass) don't support unlocked phones.

Can I RE-lock the bootloader, and, if yes, will it WIPE the phone and require me to reinstall everything?

Thanks!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
"Somehow unlocked the bootloader"?? That's kinda funny! :cool: Don't know if it will lock the bootloader, however, when you do, yes, it will wipe your phone. You can just run the fastboot commands to lock it up as well.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mauronofrio:
With the new update a i make a new recovery flasher option for devices with project treble. Test it and told me if it works
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] r32145:
I've been using the app for a longtime. I was flashing the latest May factory image. Worked one time. All went well.

Now when I click Flash Rom, a windows appears for second and closes again and I'm back to Google Factory Image Flasher window.

It's really strange. Everything else works with the app. I've used factory image with another toolkit and its works fine.

Any ideas what could be wrong?:confused:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mauronofrio:
Try to go in advanced options and click on delete files, then select factory image and delete it. Then try to re-do all the problem
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CenFlo:
Is anyone else having issues issue with TWRP staying after a reboot? I've been trying to use this app to load TWRP and it will boot to it initially, but TWRP never survives a full reboot, it disappears and the app errors out. I tried loading TWRP manually to some extent and helping this APP to get it loaded, but the result is always the same.

Dev options were enabled, OEM unlocking enabled, bootloader unlocked, all that went just fine, but TWRP install has always been the issue. I've rooted plenty of phones and installed custom ROMs for years now (including Nexus 6, 6P, Pixel and now Piexel 2XL), but I've never ran in to so much trouble.

Screenshot attached.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Why not just fastboot the twrp.img, then once in temporary twrp, flash the twrp installer.zip. Both of which can be found here :good: https://dl.twrp.me/taimen/
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CenFlo:
Did that method as well and TWRP still disappears. If I reboot in to recovery after the manual TWRP from the phone I get the android on his backside, chest open and "No Command" error.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CenFlo:
Here's the recovery now when I reboot from the ROM to recovery:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CenFlo:
Got it all worked out, had to run deuce's script to get everything back (more than once...) and finally got everything done. This is one temperamental phone, the 2XL is as Yoda would say.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mauronofrio:
I will fix it, give me a bit of time
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CenFlo:
I do appreciate you putting the tool together, but it kept hosing things up and this phone is a pain in the arse as it is.

I was able to get things done without your Tool Kit, but again, I want to show appreciation for you work.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mauronofrio:
Fixed, i'm using a script to boot the twrp and then flash the twrp installer, i make **** with a string and th script is unable to push the openrecoveryscript
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] anthmvr6:
This seemed to work great, except i got an error message saying can't extract vendor.img, now my phone is boot looped.

Any help?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] alihazel:
PC no reconoce ADB con mi Pixel 2 XL, con twrp 3.2.1-2, alguna idea del por qué?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Try different USB A to USB C cables and ports. Is your SDK up to date as well?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TheKevinMaestre:
Issue with Flashing TWRP Recovery

Hey i get the following issue:

Please help :)

----------------------------

Booting TWRP...

downloading 'boot.img'...

OKAY [ 1.680s]

booting...

OKAY [ 0.004s]

finished. total time: 1.693s

Waiting the TWRP boots...

Waiting for 0 seconds, press CTRL+C to quit ...

Pushing TWRP .zip file...

adb: error: failed to copy 'TWRP_recovery\PX2X\TWRP-3.2.2-PX2X.img.zip' to '/sdcard/TWRP-3.2.2-PX2X.img.zip': remote couldn't create file: No such file or directory

TWRP_recovery\PX2X\TWRP-3.2.2-PX2X.img.zip: 0 files pushed. 46.8 MB/s (196584 bytes in 0.004s)

Flashing TWRP... at the end of the process your phone will be rebooted in TWRP

Unable to locate zip file '/sdcard/TWRP-3.2.2-PX2X.img.zip'.

Installing zip file '/sdcard/TWRP-3.2.2-PX2X.img.zip'

Checking for Digest file...

Skipping Digest check: no Digest file found

Failed to map file '/sdcard/TWRP-3.2.2-PX2X.img.zip'

Error installing zip file '/sdcard/TWRP-3.2.2-PX2X.img.zip'

Done processing script file

error: no devices/emulators found

Press any key to continue . . .
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Is your bootloader fully unlocked, and, just try fastbooting twrp with...fastboot boot twrpxxxxxx.img.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TheKevinMaestre:
My Bootloader is fully Unlocked.

However, im still new to this. So im not sure what you meant by fastbooting twrp :(

Is that where you use CMD to install it?

I am trying to get Magisk to install and it wont either...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
If you have the latest sdk/platform-tools installed on your pc, then you fastboot the twrp.img from that folder. So, you would open your command prompt on the platform-tools folder, then run the fastboot command I gave you. Once you then enter twrp, you would then flash the twrp installer zip, then flash your magisk zip.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TheKevinMaestre:
Thanks.

Got it to install with both. However, now i get a bootloop straight into TWRP Recovery :(

I read the previous list i guess i will have to use this tool to flash Factory Image and restart the process?

I see that TWRP is a pain in the butt. Next time I'll just fastboot it and install magisk only.

---------- Post added at 09:43 PM ---------- Previous post was at 09:32 PM ----------

on second thought.. flashing the factory image doesnt even work. :(

It opens a command prompt and closes it so quickly after unzipping the file... this tool is useful for unlocking bootloader but not anything else.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mauronofrio:
Not true, for the twrp seems your internal memory is encrypted and you have not access to the internal memory when you are in twrp mode. Have you tried with both recoveries on the list? In the next update i will add a new option when you will try to flash twrp, to don't use the internal storage.

For the factory image, maybe there was a problem during the unzipping, try to delete files and re-do the process

EDIT:

I pubblished a new update with the option to use the main memory and not the internal storage
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TheKevinMaestre:
It was encrypted because I had a passcode/lock on my phone when

Which encrypts your memory. One of the steps that should be updated in all unlocking/rooting is to make sure to not have a security pattern/lock when doing this. It was a security patch Google did I think j. fEb 2018
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mauronofrio:
With the latest update is not more needed, i added "Use Main Memory" option, so also if you have an encrypted internal storage the twrp will be installed.

Unofrtunately i have not a Pixel phone, so i'm doing all of this without testing on Pixel (I'm testing only on OnePlus 6), so if you found bugs i can solve it easily (90% of the bugs are there because i forgot a character or always a little thing).
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TheKevinMaestre:
Okay no worries. I was using Pixel 2XL on Android P. with the July 5th Security Patch
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Yakusha:
the best tool!!!.. thank you it's perfect
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] WoZzYDoesitbest:
This tool has saved me.more than once will be donati g again soon
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Edmontonchef:
Is it possible to run this on a Linux system like Zorin 15?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mauronofrio:
I think you can run it only with a VM
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] WoZzYDoesitbest:
It can be tested on my laptop no problem at all
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dodo34:
[MENTION=4712355]mauronofrio[/MENTION]

Does it work with Android 10/Q ?

Thanks
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] androidx213:
It worked for me. Flashed the 10 factory image and TWRP.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] krolla03:
how do you flash factory images without the -w flag?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
When you extract the factory image, you will see the file called flash-all.bat

When you right click on that file, select edit, then go to the end of the script, and you'll find the -w characters. Simply remove those 2 characters, leave a single space between the remaining words, save your edit, and that's it :good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] krolla03:
I know but then how do you use the tool to flash the image?

I figured it out with fastboot though
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mauronofrio:
You need to edit the script directly or do it manually
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger51:
Attempting to root my Pixel 2 xl.

The allinone tool shows my phone in the upper panel but when I attempt to load recovery files it tells me no device connected.

Have usb debugging checked and USB File transfer sekected.

Thanjs in advance
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] arnob_xperia:
This works now in 2019? Just want to unlock bootloder
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mauronofrio:
Yes it works
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ProjectAlly:
Edit: Wrong section. Delete post. :D
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] irmas5:
They works on 2xl android 11? Thank you
[Google Pixel XL Guides, News, & Discussion] mauronofrio:
This is the Pixel's TOOL ALL IN ONE Discussion Thread more info and download go to the Original Thread

TOOL ALL IN ONE

[IMG="TOOL ALL IN ONE screen"]https://i.postimg.cc/d0yxFd77/Toolaio-V2-main.png[/IMG]

ADVANCED OPTIONS

[IMG="Advanced Options screen"]https://i.postimg.cc/bwd564p9/Toolaio-V2-advanced.png[/IMG]

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.

[IMG="Donate link"]https://s31.postimg.org/srcv48myj/paypal.png[/IMG]​
[Google Pixel XL Guides, News, & Discussion] awareunlikeu:
Amazing work! EVERY ONE OF US NEEDS TO LEARN command line, but it's always excellent to see amazing devs make an all in one like this for the guys that refuse to learn the hard (right) way, and for vets that aren't quite smart enough to make a tool like this themselves, like me, but appreciate the **** out of this little gem making my first custom Oreo ROM from stock rooted a breeze! Perhaps a little bold, but im still calling it, OG PIXEL XL NOT DEAD just when I was losing faith! Bravo!

PS:. Donation incoming once my current "being a broke ass" sit-e-ation ends here in a few weeks.
[Google Pixel XL Guides, News, & Discussion] mauronofrio:
Thanks, all need to learn command line, but this tool help a lot, the advanced options are really good too, see it when you have some time
[Google Pixel XL Guides, News, & Discussion] awareunlikeu:
Just peeped them briefly,. Mad props!
[Google Pixel XL Guides, News, & Discussion] GroovinChip:
Damn dude, this is amazing. Will definitely give it a shot in the next few days!

Question about the install/uninstall apks feature: how does this work? Is it batch or one at a time?

EDIT: Also, to flash TWRP, do I need to be in bootloader mode and do I need to disable security on my phone before flashing? Will I lose root when flashing it? I'm using the latest Magisk.
[Google Pixel XL Guides, News, & Discussion] mauronofrio:
Finally i got a solution for Nexus and Pixel Factory Image flash, now it works perfectly
[Google Pixel XL Guides, News, & Discussion] tutusinghsohi:
Thank. I've been using the Unified Android Toolkit from Skipsoft for a while now, but a lot of functions are blocked. I'll give this a go.
[Google Pixel XL Guides, News, & Discussion] mauronofrio:
Thanks, remember to give me a feedback
[Google Pixel XL Guides, News, & Discussion] mauronofrio:
I saw now that i forgot to unlock the flash factory image option for all 4 Pixel, i have released an update to solve that, tell me if it works
[Google Pixel XL Guides, News, & Discussion] l2yangop:
I'm running purenexus 7.1 ROM and would like to go to Oreo stock but retain root. Is this the right tool for me?
[Google Pixel XL Guides, News, & Discussion] mauronofrio:
You can't retain root after flashing a factory image. You can root the oreo factory image after you have flashed it
[Google Pixel XL Guides, News, & Discussion] teedee29:
I take it this is for windows only?