yashsingh1/xdaforums huggingface dataset:
[Google Pixel XL Guides, News, & Discussion] Lughnasadh:
Well, since you never mentioned that at the beginning I had no way of knowing. Try removing the first file in your platform tools folder. You don't need it as you have already extracted all of its contents into the folder already.

Also, that downloads folder you are using seems to be missing a lot of files. Are you putting those 6 files from the factory image in the actual platform tools folder? If not, do that. See screenshot below.
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
can I get a download link for that platform tools folder that you are using? I cannot find it on Google anywhere. Do I need all of those files or is that just an example?
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
OP under Prerequisites
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
.Omg. Duh. Lol. Thanks!
[Google Pixel XL Guides, News, & Discussion] Lughnasadh:
SDK Platform Tools release notes | Android Studio | Android Developers

Android SDK Platform-Tools is a component for the Android SDK.

developer.android.com

Here's a screenshot of all the files that should be in there. Of course replace Coral with Sailfish files.
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
Says finished complete. Then it boot to stock recovery. Now what do I do?
[Google Pixel XL Guides, News, & Discussion] Lughnasadh:
You are going to need to select the factory data reset option. Something messed up in your prior flashing or somewhere along the line.
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
Am I fubar? It's still in a bootloop
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
I was thinking that I could just go ahead and flash the Verizon images this is a Verizon phone. What if I try and reflash the stock image and then lock my bootloader, do you think that would help? Also, if I were to flash the Verizon stock firmware will it lock my bootloader?
[Google Pixel XL Guides, News, & Discussion] Lughnasadh:
Are you flashing the latest factory image (Dec. 2019)? Is your bootloader definitely unlocked? If it is, don't relock your bootloader. You will not be able to do anything with a locked bootloader. Do not flash anything besides the Google factory images.

Are you using windows? Are you leaving the -w intact in the flash-all.bat file? If windows, are you using command line and not Powershell?

Show a screenshot of your platform tools folder. Show what happens after you flash the factory image (like were there any errors?). I have to go out for a while but maybe @Homeboy76 can help for a bit?
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
The answer is yes to all of your questions. I've used the command line and I've also used the actual flash all bat file. I flashed the last four Android 10 factory images to my phone and it keeps going into a boot loop . Yes I am flashing factory images and I followed all of your instructions. I bought this phone on eBay so I don't know the history of the phone. I thought I would be able to fix the phone figured it was in a boot loop and that obviously the phone does work. Lol
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
No errors in flashing... Just after the flash it will go to the home screen and then do its boot loop all over again
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
Here is what you asked for
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
the first owner said they replaced the battery....could a battery cause a bootloop? when it was running, it kept a charge and worked a few days. i had adb sideload lineage 17 and it worked fine for a couple days then the loops happened again. ugh

once the flash for stock is complete, it will boot to the google splash screen and the bar under it stops, then it loops. on each loop a diff screen pops up. one with a lock icon, then it is just plain google...what is going on?!
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
@Echo off

:: Copyright 2012 The Android Open Source Project

::

:: Licensed under the Apache License, Version 2.0 (the "License");

:: you may not use this file except in compliance with the License.

:: You may obtain a copy of the License at

::

:: http://www.apache.org/licenses/LICENSE-2.0

::

:: Unless required by applicable law or agreed to in writing, software

:: distributed under the License is distributed on an "AS IS" BASIS,

:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

:: See the License for the specific language governing permissions and

:: limitations under the License.

PATH=%PATH%;"%SYSTEMROOT%\System32"

fastboot flash bootloader bootloader-sailfish-8996-012001-1808030001.img

fastboot reboot-bootloader

ping -n 5 127.0.0.1 >nul

fastboot flash radio radio-sailfish-8996-130181-1806061856.img

fastboot reboot-bootloader

ping -n 5 127.0.0.1 >nul

fastboot -w update image-sailfish-ppr2.180905.006.a1.zip

echo Press any key to exit...

pause >nul

exit

here is the properties for flash-all bat

yes. the -w is there. something is jamming the bootloader
[Google Pixel XL Guides, News, & Discussion] Lughnasadh:
Maybe try fastboot format userdata and then flash the factory image again. If that doesn't work maybe try to sideload the OTA image.
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
It finally booted into Android I had to access recovery, wiped twice then it boot looped then i access recovery again and then I wiped it again and then I rebooted it and now it's somewhat working. I was able to flash the Android 9 factory image. Is it safe to take the OTA with an unlocked bootloader?

FYI...I removed the -w flag in flash all
[Google Pixel XL Guides, News, & Discussion] Lughnasadh:
Yes, you can take an OTA with an unlocked bootloader.
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
Ugh...random reboot now in a loop. Trying fastboot format userdata and flashing image again.
[Google Pixel XL Guides, News, & Discussion] Lughnasadh:
If you are getting random reboots and bootloops on pure stock you may have hardware problems.
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
Person before me installed a new battery....could that be it?
[Google Pixel XL Guides, News, & Discussion] Lughnasadh:
Could be. Could be the battery, the battery connectors were damaged or not connected properly, etc..
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
I will take it apart and see. But I do not see it as that. I have left the phone on for 2 days on fastboot and/or recovery and it never did this random reboot or bootloop
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
someday this week would you like to TeamViewer with me? Maybe you can troubleshoot it for me.
[Google Pixel XL Guides, News, & Discussion] Lughnasadh:
To be honest, I'm not sure I can really help with any hardware problems. I've never taken any Pixels apart and am not really a hardware guy. There are probably plenty of YouTube videos which would be more helpful than I could be.
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
No, I meant to help flash the firmware. I'm doing something wrong.
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
If u look at the output in cmd window, u will see not in archive this...not in archive that....img..etc. Is that normal? Could u plz look at it again. ? Tyvm
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Yes, thats normal.

If it boots, boot safe mode then reboot.

😵 How did I miss this?

https://xdaforums.com/t/guide-root-pixel-4-xl-android-10-q.3996969/post-84484983
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
Android 9 was the only one that would boot up
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
If it's a battery issue or a connector issue why isn't it random rebooting and boot looping while its in recovery and or fastboot?
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
😵 How did I miss this?

https://xdaforums.com/t/guide-root-pixel-4-xl-android-10-q.3996969/post-84484983
[Google Pixel XL Guides, News, & Discussion] Lughnasadh:
I'm not sure it's a battery issue. I'm just suggesting that it might be because you said you were able to flash an Android 9 stock image fine but then you experienced boot loops. Therefore, if you are pure stock you shouldn't be boot looping and the problem may be a hardware issue rather than software. I think boot loops usually occur when you are in the OS or trying to boot in the OS.
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
I have a pixel (sailfish) flash tool won't work on it. Not a pixel 4.
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
I think one of the slots is corrupt. With these a&b slots the pixels will boot from one slot to another. Did you ever contemplate that?
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
Yep it is official. This phone is fubar. I have flash all kinds of otas, factory images, I even use the flash tool, I even fastboot set active the slots and flashed roms on both slots ...this phone just keeps boot looping no matter what I do.
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
@Rootmaster906

😵 How did I miss this?

https://xdaforums.com/t/guide-root-pixel-4-xl-android-10-q.3996969/post-84484983

The 'Fat Lady' may have already sang but did you try [ROM][10][OFFICIAL] lineage-17.1 for Pixels (marlin/sailfish)?
[Google Pixel XL Guides, News, & Discussion] nigmo007:
thx
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
should i flash rom then twrp installer, or keep lineage recovery?
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
omg. i sideloaded lineage a while ago..then flashed twrp installer. bootloop... accessed fb and turned off. now its in lineage recovery. why is there 2 recoveries? this devices is confusing.
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
Is there a way I could somehow delete a slot just to make this a one slot device?
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
Okay here are some new development. This is what I did....

I flashed factory image Android 9.... Then I ADB side load OTA Android 10....phone is still in a boot loop but it winds up being in stock recovery a couple times after the boot loop. This to me as progress as it's not doing its constant loop. Do you have any suggestions on what I should do now? Thank you very much for all of your help guys.
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
@Rootmaster906

Did you read the installation instructions until you understood them and then proceed with the installation?

Post your response on this thread. They are off topic for the other thread:

[Guide] Root Pixel 4 XL Android 10.0 (Q)[URL]
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
Yes. I have done this many times. I am doing it right.
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
I don't know.

Suggestion

Start clean, do a Factory reset: Settings > System > Advanced > Reset options > Erase all data (factory reset)

Login to Google Account

Then try installing ROM lineage-17.1-20210210 using lineage-17.1-20210210 recovery.
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
I have tried that...it seems like one of the slots is corrupted and it keeps doing a random reboot between the boot partitions
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
I am going to post a YouTube video to show you what I am doing
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
@Rootmaster906

I have no suggestion(s) how to fix the bootloops. :(

You could take it to ubreakifix if you want to find out what the problem is and if it can be repaired.
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
this is what i did. making some progress.

i fastboot format data on both slots...then flashed stock factory images on each slot...after reboot it initially went into android. got to finish most of the set up, then bam...bootloops.

i then repeated this process, got to stock recovery and did a factory reset on each slot...phone boots somewhat normal, then bam... bootloops.

your suggestion in this window will not work for me as i cant boot into android.

i notice on the bootloop, on each loop, it shows a different screen. one with google with lock icon, then icon disappears. loops...then repeat
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Again, ubreakifix may be the only way you can find out what is actually causing the boot loops.
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
Sending it out tomorrow. Tyvm again!
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
What do you think is causing this issue? could there be a part of the partition that is severely corrupted and then it cannot be fixed with a factory image flash?
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
they confirmed my suspicions. they said that the firmware is corrupted...but why when i am in stock/custom recovery and or fastboot, it doesnt random reboot then bootloop? do you think that i could flash a factory image, and then lock the bootloader? think that could fix it? i am at a point that i just want the phone to at least boot properly. what you suggest i do? i read somewhere that flashing the factory image then locking bootloader would fix it...please give me a suggestion as soon as ya can. tyvm!!
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Ok!

You have two options:

Let ubreakifix fix it.

Find the article that you read that says

flashing the factory image then locking bootloader would fix it... and follow those instructions to fix it.

Goodluck on the option you choose.
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
they contacted me and said that it is not repairable on their end. he said he tried flashing factory images..same thing i did...he said that the firmware is corrupted. they cant fix it. i was just wondering if i flashed the stock image and then relocked the bootloader that it might fix it
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
I don't think locking the bootloader will fix it but

according to ubreakifix it is unrepairable so you have nothing to loose by trying to flash the stock image and then relocking the bootloader

.

Goodluck!
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
but you never answered my one question...lol..about how it can be stable in fastboot and recovery mode, but only loops after a flash or when trying to boot into android or a simple reboot. why do you think ? its odd
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
I had no clue why it was happening, that is why I referred you to ubreakifix. They are the experts on answering questions about why something does or does not work on Pixel phones. :)
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
i got phone back. decided to last ditch effort. was able to flash stock image nougat. works fine. when flashing twrp though, it goes into the bootloop. doesnt bootloop if i leave it on nougat firmare. does pixel sailfish require a copy partitions zip of some sort? i thought all a/b slot needed it.
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Pixel Partitions

Google Gave Your Pixels two System Partitions, Use It To Deliver Dual Booting!

HERE'S WHY THE GOOGLE PIXEL DOESN'T HAVE A CACHE PARTITION

Help understanding A/B partitions

These threads might help you understand

copypartitions

.

While on Slot_A Flash copypartitions.zip??

Is "Copy partitions zip" still needed when prepping for roms with official firmware?
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
I read these awhile ago. But thanks
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
have any idea where i can download the copy partitons zip for pixel 1st gen? and also, is it flashed prior to wipe or prior to rom flash? i have the phone in twrp now. lol. had to flash 3.3.1. tyvm for your help homeboy
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
I think one of the links I posted has a link to download it. I don't know when it is flashed
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
Well I'm kind of making progress. Let me tell you what I did... I flashed a factory image of the latest one Android 10...after the flash it began to bootloop once again... I button combo into fastboot and went ahead and locked the bootloader... Chose reboot and every time it boots it boots right back into stock recovery...I factory reset it 3 to 5 times, reboot and once again reboots right back to stock recovery.. I took some pictures of the recovery logs in recovery...I am really adamant about fixing this issue as I have heard that a lot of people are experiencing it.. take a look at my pictures homeboy. to my surprise I am able to go back into fastboot and lock and unlock the bootloader at will. After looking at the pictures what do you think that the issue is?
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
I admire your tenacity to get your Google Pixel fixed.

I am not a Google Pixel technician, so I cannot help you fix your Google Pixel. My guide is for a Google Pixel XL

operation

not maintenance.

Maybe your best resource is Google search.

Google Pixel - XDA Developers Forums

Welcome to the Google Pixel Help Community

Fix a Pixel phone that's restarting or crashing

Google Pixel Forum

Have a nice day! :)
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
I thought maybe u knew codling and programming. Sorry.
[Google Pixel XL Guides, News, & Discussion] Rootmaster906:
Can anyone chime in with suggestions?
[Google Pixel XL Guides, News, & Discussion] piemanny:
Hi, I'm having such big issues with finding boot.img file. I've downloaded the marlin-ota-qp1a.191005.007.a3-23002a57.zip from https://developers.google.com/android/ota and I don't know how to find boot.img
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
There is no extractable boot.img in the OTA image.

Download the factory image (see #6 in the OP).
[Google Pixel XL Guides, News, & Discussion] piemanny:
I'm confused, I'm on stock rom right now. The bootloader is unlocked, how do I install TWRP?
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
In my previous reply that was supposed to be OTA image not OYS image. :)

Do #7 in the OP!
[Google Pixel XL Guides, News, & Discussion] X4c3:
does it stays on stock android 10 or only for one time use?
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Do #7 if you want to install twrp.

- Using twrp-installer-3.3.1-3-marlin.zip and twrp-3.3.1-3-marlin.img

Do #8 if you want to Boot (Temporarily install) twrp.

- Using twrp-3.3.1-3-marlin.img
[Google Pixel XL Guides, News, & Discussion] X4c3:
Thanks I used the latest TWRP but was only able to boot to TWRP recovery once. Will try TWRP 3.3.1.0 now
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
@X4c3

Opps! Thats supposed to be 3.3.1-3 2019-10-28 18:56:17.
[Google Pixel XL Guides, News, & Discussion] X4c3:
Did not work for me, I first boot to twrp-3.3.1-0-marlin.img using fastboot boot command then flashed twrp-installer-3.3.1-0-marlin.zip on TWRP. After reboot to system, I tried to goto recovery but it just reboot me back to system. Im using stock android 10 the last build, thanks for the help though.
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
@X4c3

Read the post (2 post) above this one and make sure you are using the latest SDK Platform-tools r31.0.2.
[Google Pixel XL Guides, News, & Discussion] X4c3:
Ok 3.3.1.3 will be my last try before finally giving up on twrp, also i noticed that it unroot my device whenever I flashed TWRP.
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Once you get twrp installed, you can flash Magisk:

- Patch the boot.img with Magisk Canary app-debug_23001.apk

- Rename the Magisk patched.img file extension zip and flash it with twrp.
[Google Pixel XL Guides, News, & Discussion] astrod:
Deleted
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
OP Updated

Index, • Open Command Prompt on Computer

What changed and Why?

The Option to open powershell was removed.

While it is still true you can open a command prompt in powershell: Open File Explorer ==> click the platform-tools folder ==> click the folder icon (left side of address bar) to highlight it type powershell and press enter.

Typing ./fastboot devices, ./flash-all, etc. no longer works.

I do not know why or when it stopped working.

My guess is one of the Windows 10 updates changed something in powershell.
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
OP Updated

Index

,

• Open a Command Prompt on Computer

What changed and Why?

The Option to open powershell was restored.

I made a mistake. :(

I forgot to enable USB debugging before booting fastboot mode (bootloader) on my phone.

After, I corrected my mistake, I opened a

powershell command prompt

: Opened File Explorer ==> clicked the platform-tools folder ==> clicked the folder icon (left side of address bar) to highlight it typed powershell and pressed enter.

Then I typed ./fastboot devices at the powershell command prompt and pressed enter. It worked.
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
OP Updated

5. Root/Reroot with

Magisk

and Pass SafetyNet., •

Pass SafetyNet
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Pass SafetyNet with Magisk Alpha:

See OP,

New
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
:) I hope you all have a Joyful Holiday season with your family and loves ones. :)

~ ~ ~ Stay safe ~ ~ ~​
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Update!

Magisk Canary 23017
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Update

Magisk Canary 23018
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Update

Magisk Canary 23019
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
UPDATES!

Magisk 24.0 Beta App

Magisk Canary 24001
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
UPDATE!

Magisk Canary 24102
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Update

SDK Platform-tools r33.0.0
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Update

Magisk Canary 24201
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Update

Magick Releases - 24.2 (Beta)
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Update

Notice

Check Updates,

periodlly

, for the latest update information.
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Update(s)

Magisk Canary 24303

SDK Platform-tools

r33.0.1
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Update(s)

Magisk Canary 24304
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Update(s)

Magisk Canary 24305
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Update

SDK Platform-tools 33.0.1

systrace

* Removed. Use Studio Profiler/gpuinspector.dev/Perfetto instead.
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Update

Magisk Canary

24306
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
New

PixelFlasher GUI tool that facilitates flashing / updating Pixel Phones with

Custom ROMS

: Linux and versions of GUI (see OP, New).
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Update

Magick Canary 24307
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Update

Magisk Canary 24308
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Update

Magisk Canary 24309
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Update

Magisk Canary (c11ccbae) (24310)
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Update

Magisk Canary (756d8356) (24312)
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Magisk Canary Update

app-release (8dfb30fe) (24313)

or

app-debug (8dfb30fe) (24313)

Note

"Debug builds should only be used if you are actively developing Magisk, or if you want to submit bug reports"
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Magisk Canary Update

app-release (bf04fa13) (24314)

or

app-debug (bf04fa13) (24314)

Note

"Debug builds should only be used if you are actively developing Magisk, or if you want to submit bug reports"