yashsingh1/xdaforums huggingface dataset:
[Google Pixel 3 XL Guides, News, & Discussion] nitramus:
I had a htc 10 for 3 year and this was new for me to. I had a nexus 5 befor that.

Just ignoge the 2 slots it's basically a failsafe if the update goes wrong then the phone will boot with the other slot with the previous version.

Download the latest factory image, extract its content, edit flash-all.bat and remove the -w near the end. If you don't remove the -w all you data will be lost.

ReBoot the phone then go back in bootloader mode

Then fastboot boot twrp(i still use the latest 3.2.3) and install latest magisk.

That's exactly what I do and never had any problems.
[Google Pixel 3 XL Guides, News, & Discussion] mcwups1:
Thank you, but do you run the update in TWRP, or do you fastboot flash?
[Google Pixel 3 XL Guides, News, & Discussion] nitramus:
You start the update by launching the flash-all.bat file from you pc like you did when you unlocked bootloader. Go back at the OP all the detailed steps are there. You need twrp only for magisk.
[Google Pixel 3 XL Guides, News, & Discussion] mcwups1:
Ah, so you don't KEEP it in the zip file, or re-zip it after taking out the (-w). You put the file in the SDK folder and run the bat.

Correct?
[Google Pixel 3 XL Guides, News, & Discussion] nitramus:
Yes but to make things easier extract the files directly in whatever folder is you fasboot.exe file.
[Google Pixel 3 XL Guides, News, & Discussion] mcwups1:
One last thing. Does it matter if I use OTA or Factory?
[Google Pixel 3 XL Guides, News, & Discussion] Slim2none4u:
You sideload the ota in stock recovery.

The factory image is flashed using the flash-all.bat file.
[Google Pixel 3 XL Guides, News, & Discussion] jcmm11:
End result (assuming you remove -w) is the same for factory and ota
[Google Pixel 3 XL Guides, News, & Discussion] mcwups1:
So you do one or the other, not both?
[Google Pixel 3 XL Guides, News, & Discussion] nitramus:
Right. I never did side load so I never bothered to try and learned so I just staid the same route.
[Google Pixel 3 XL Guides, News, & Discussion] mcwups1:
In what circumstance would I need to flash the Boot.img? Shouldn't that happen during factory install?
[Google Pixel 3 XL Guides, News, & Discussion] nitramus:
We never said anything about boot.img
[Google Pixel 3 XL Guides, News, & Discussion] mcwups1:
I'm just reading the instructions on page 1.
[Google Pixel 3 XL Guides, News, & Discussion] nitramus:
That explains how to deal with boot.img but don't bother. This was mostly at the beginning of root on 3xl.

Do steps 1,2,4,7 or 8 (depending on your twrp choice) then 9 for root.

If you don't see the steps # then open in browser to properly see the first post.
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
I think you mean Do steps 1,2,4 then 7 or 8 to root (depending on weather you want to install twrp (7) or not install twrp (8). Number 9 is for Updating Magisk.
[Google Pixel 3 XL Guides, News, & Discussion] nitramus:
Sorry 9 is for uploading magisk.
[Google Pixel 3 XL Guides, News, & Discussion] mcwups1:
Thanks guys.

Will try tomorrow, now that I've been educated on it.

First time updating since I got it back in March.
[Google Pixel 3 XL Guides, News, & Discussion] mcwups1:
Update went great guys. Updated to May.

Now, do I HAVE to set a pin before installing TWRP, or can I just leave off security and set up like normal?
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
You can leave off security.
[Google Pixel 3 XL Guides, News, & Discussion] mcwups1:
How do you make a backup? If I make a backup with TWRP, does it not save in the SD slot, and get wiped when installing a new ROM?
[Google Pixel 3 XL Guides, News, & Discussion] nitramus:
Just plug in a usb drive with the adapter that came with the phone.
[Google Pixel 3 XL Guides, News, & Discussion] jeff.leonard:
I've attempted to start from scratch again but I'm having a problem I hope someone can help me with. I'm on Pixel 3 and using correct blueline files....

I installed the latest factory image, it rebooted and I set my password. I attempted to boot to TWRP but keep getting the "Password failed, please try again!" message. I'm using the correct password and have redone the process several times. I searched for the solution here and elsewhere but I can't find anything that works.

I'm sure I'm missing something obvious to most but can't figure it out.

*Edit - I should also mention I was successful in doing all this before.*
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
- Make sure you have the latest SDK Platform tools r28.0.3

If it does not work Remove the pin fingerprint security before Booting twrp-3.3.0-0-blueline.img.
[Google Pixel 3 XL Guides, News, & Discussion] jeff.leonard:
Thanks for the quick response.

I just downloaded & extracted to platform tools again to make sure that wasn't the issue. I tried booting twrp-3.3.0-0-blueline.img again and still have the same problem.

I thought we had to set the security before twrp or it would cause issues after? I definitely want to use security after, is that part just out of date no longer necessary?
[Google Pixel 3 XL Guides, News, & Discussion] jeff.leonard:
So, I tried that but it still failed after enabling security/encryption. I was going to just try installing AquariOS Rom and found a note that says May firmware with encryption breaks TWRP. I think that is what is happening here so I imagine others will have the same problem.
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
I know twrp for the pixel 3 XL (Crosshatch) has an encryption problem and the devs are working on it.

I have no knowledge of the problems associated with twrp for the Pixel 3 (Blueline). You did the right thing when you checked the thread of the Custom ROM you wanted to install.:)
[Google Pixel 3 XL Guides, News, & Discussion] jeff.leonard:
I wasn't originally trying to install that but thought I would give it a try since I couldn't gain root with encryption on the stock rom. However, I always do read before installing anything.

Thanks, I can't imagine how much time and effort you put into maintaining this guide for others.
[Google Pixel 3 XL Guides, News, & Discussion] jsms0905:
Tried this just now and i got TWRP to decrypt properly in May security update;

TWRP password failed - Factory flash May image via flash-all script

TWRP decrypt OK - Factory flash April image via flash-all script

TWRP decrypt OK - Factory flash April image, then flash May image on top with -w flag removed from script so userdata is not deleted
[Google Pixel 3 XL Guides, News, & Discussion] jeff.leonard:
So... if I had installed April factory image then flashed May without the wipe flag it would have worked but since I was flashing May with a wipe it didn't. Good to know, thanks.
[Google Pixel 3 XL Guides, News, & Discussion] mcwups1:
I looked at number 3 to go back to stock, but what if you're on a custom ROM? Do you just install the factory image?
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
To be safe, I always do a factory reset. Back up your files first because it wipes internal storage.
[Google Pixel 3 XL Guides, News, & Discussion] mcwups1:
If I do that, I'm still on a custom ROM, just back to stock on it.

I'm talking about fresh out of the box stock, from Google.
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
Edit: No, you're not still on a Custom ROM.

The Factory Reset returns the phone to "out of the box stock". :)

Settings ==> System ==> Advanced ==> Reset options ==> Erase all data (Factory Reset)
[Google Pixel 3 XL Guides, News, & Discussion] mcwups1:
So the custom ROM 's in the development section are really just the stock ROM?

Factory reset will dismantle all extra features they have implemented?

See, on every HTC I ever had, you had Sense ROM'S (stock) and AOSP ROMS. If I factory reset a custom ROM (AOSP), it just cleared data from AOSP. It didn't return the phone back to "out of the box" Sense.

You had to run an RUU. This was the stock HTC from the factory ROM.
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
I had to edit my other post.

No, Custom ROMs (#10) are ROMs customize for the Pixel 3 XL they are not Stock.

A factory reset on the Pixel 3 XL returns the phone to "out of the box stock".
[Google Pixel 3 XL Guides, News, & Discussion] mcwups1:
See. I'm on a custom ROM. A factory reset will only wipe my data to the original state of the custom ROM.

I need to know how to get the actual ROM shipped with the device.

I guess I just fastboot flash the factory image which is 1.71 GB.
[Google Pixel 3 XL Guides, News, & Discussion] Bubba:
Yes. Just fastboot the factory image without removing the -w from the flash-all.bat and you will get a squeaky clean factory rom with no user data left behind. Back up anything you want to keep.
[Google Pixel 3 XL Guides, News, & Discussion] mcwups1:
Just curious....if I take out the -w, will I get squeaky clean, but with all my user apps and internal data intact?
[Google Pixel 3 XL Guides, News, & Discussion] jcmm11:
Yes. But if switching from custom ROM to stock, or vice versa, or one flavor of custom to another, you may run into problems if some of the data structures are incompatible.

This is the difference between a dirty vs a clean flash.

It may work, it may not. If it doesn't you'll know why and you'll just have to do it leaving the -w in place. (Or do a clean flash if it's a custom ROM)
[Google Pixel 3 XL Guides, News, & Discussion] Tedwise:
So confused...

So I just did a "flash-all" factory reset with the May build. I am able to install TWRP without issue (just turned off screen lock to work-around encryption issue), but when I install the most recent build of Magisk 19.2 (stable) I go into a bootloop. Anyone have any ideas of how to avoid this or what I am doing wrong?

---------- Post added at 03:43 AM ---------- Previous post was at 03:09 AM ----------

I selected "Install App" for TWRP after flash, and I am reading that I shouldn't do that. Could it explain the issue? And if so, can I uninstall that without a wipe?
[Google Pixel 3 XL Guides, News, & Discussion] nitramus:
Flash the uninstall zip from magisk forum. Also before flashing or installing anything in magisk you should always go through the first full boot.
[Google Pixel 3 XL Guides, News, & Discussion] Tedwise:
So I do go through a full boot. After factory reset I do the original phone set up before installing TWRP. Then I do another full reboot. Do I need to run Magisk uninstaller before I install Magisk for the first time after a factory reset?
[Google Pixel 3 XL Guides, News, & Discussion] nitramus:
You can do factory reset if you want to go though the trouble. The uninstall zip is to stop the bootloop.
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
To uninstall twrp flash the boot.img:

fastboot flash boot.img --slot all
[Google Pixel 3 XL Guides, News, & Discussion] vette8t7:
So...I have an Unlocked Pixel 3XL and use it on Verizon. Phone is rooted with Magisk and the April 2019 patch currently.

Looking at the June 2019 images, there is a June 2019 image and a June 2019 Verizon image. Why would I want one and not the other?

Thanks
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
Amended: If you purchased your phone from Verizon you want the Verizon image.

Edit - A different opinion

June 19's ROM update, Verizon-specific by snovvman

Read Post #02, the last sentence.
[Google Pixel 3 XL Guides, News, & Discussion] vlucchetti:
I believe that only those phones you purchased from Verizon are the ones that need the Verizon version.

I also have an unlocked 3xl that I bought from Google, Verizon is my carrier but I have never used a Verizon specific build, always the regular factory one. This stretches back many years with many phones.
[Google Pixel 3 XL Guides, News, & Discussion] CruelSun:
I purchased a Pixel 3 XL 128G Unlocked from the Google store last week. I have unlocked the bootloader and rooted it.

I have set up my apps, accounts, etc using WiFi only.

I have not inserted a Sim or set up any carrier info on the new phone. My carrier is Verizon.

This may be a bit Noob-ish, but I want to be sure I understand the details so as not to allow Verizon to somehow lock the phone down....

If I remember correctly, I have to turn off OTA updates? I see nothing in the settings menu about OTA updates. Am I missing something, or will that option only appear after a Sim or Carrier info is input?

Still using my S5 for phone calls until I can clear this hurdle...
[Google Pixel 3 XL Guides, News, & Discussion] jcmm11:
Automatic system updates under developer options.

Just install a custom kernel (I recommend Kirisakura) and you'll never see an OTA that you don't manually download.

I also very seriously doubt that Verizon will lock it down. Make that very very seriously doubt.
[Google Pixel 3 XL Guides, News, & Discussion] sdamark:
Verizon can't "lock your phone down". I'm using a Google play edition on Verizon and I'm updated to beta Q.
[Google Pixel 3 XL Guides, News, & Discussion] jazic:
I'm having a problem with my Pixel 3 XL on the June 2019 update with Magisk 19.3. When I flash it using the latest TWRP as of today, I get a boot error telling me to either try again or factory reset.

Should I do a factory reset or is the 19.3 just not compatible yet with the June 2019 update yet?

I would just flash back to May 2019 but I can't seem to get it to boot correctly and I'd hate to have to factory reset unless I absolutely have to.

Thanks and sorry if this is in the wrong forum for questions. :)

EDIT: Figured it out. I ended up fixing it by doing the Magisk Uninstall then reflashing again in TWRP with the latest version (19.3). Works like a charm with June 2019 update. Hope this helps anyone who has the same issue. :)
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
Good job :)
[Google Pixel 3 XL Guides, News, & Discussion] vette8t7:
Attempted to update to June 2019. Ran flash-all and it stops

extracting system.img (2201 MB) to disk...W/ziparchive(8067): Zip: unable to truncate file to 2308084016: File too large

fastboot: error:

failed to extract 'system.img': I/O error

Is this implying I did not have enough free space? or?

I was able to boot into twrp once and install Magisk, but rebooting only got me the white Google screen.

Now attempts to flash into twrp say Finished at cmd prompt, but device won't boot into twrp or go to white boot screen.

can do flash-all, but fails at same point above.

EDIT: Disk drive space issue: https://xdaforums.com/pixel-2-xl/help/error-flashing-factory-images-t3727733
[Google Pixel 3 XL Guides, News, & Discussion] Badger50:
Yes on the lack of free space, and, are your platform-tools up to date. Are you trying to fastboot from an external drive by chance?
[Google Pixel 3 XL Guides, News, & Discussion] mcwups1:
Has anyone tried to restore a backup they made from TWRP?
[Google Pixel 3 XL Guides, News, & Discussion] nh5:
The instructions say to set a PIN before TWRP install. Setting a PIN leads doesn't even allow us to boot into TWRP to run the installer. The PIN fails no matter what.

Ignoring instructions to set a PIN, I get up to Magisk which after Magisk install we're simply left at a bootloop on that slot. New to the 3XL but been on an Essential for a year and a half. This process usually takes a me a matter of minutes. Feel like there should definitely be no PIN set before hand since encryption is dead anyway and as far as the latest Magisk looping. Anyone else try a fresh flash of 19.3 recently? For the record, this is a brand new 3XL. Ran the back to stock (June) on both slots before even attempting any of this. Any thoughts?
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
If you have the latest twrp-3.3.1.0 and the latest SDK Platform-tools r28.0.3.

Try a factory reset, then do #7 or #8 to root.
[Google Pixel 3 XL Guides, News, & Discussion] nh5:
That's exactly what I've already tried no less than a dozen times. The back to factory image flash does a complete wipe. I even switched slots after and wiped again. Both slots are on the June update.
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
"New to the 3XL but been on an Essential for a year and a half. This process usually takes a me a matter of minutes."

If you had a new Pixel 3 XL with an unlockable bootloader and you wanted to root it using this guide you should have done the following:

- Read the Guide down to the index.

- Then read the sections of the index that apply to what you want to do: #1, #3A, #4 (if needed) #7, and #8.

- Did 3A, #4 (if needed) #7, or #8.

I get it, switching phones and learning how to use your NEW phone can be a headache. Especially, unlearning old habits used with the old phone.

That said, here is my response:

"The back to factory image flash does a complete wipe." Are you saying you did #3 B? Did you have a Custom ROM installed on your phone?

I assume nothing, you did not say you did a factory reset or ran the flash-all.bat file with the -w.

Just running flash-all doesn't "completely wipe" your device if you remove the -w from the flash-all.bat file.

Please, take a few deep breaths and, try the following:

- Copy files you want to keep from your phone's internal storage to your computer: Pics, documents, the latest twrp img/zip, factory image, magisk uninstaller, magisk-19.3.zip. the latest SDK Platform-tools, etc.

- Do #4 'wipe data': Note: This will ensure your phone is returned to the 'out of the box' software condition with the latest factory image.

- Setup your phone to include copying the backed up

internal storage files from your computer to your phone.

- Do #7 or #8 for root.
[Google Pixel 3 XL Guides, News, & Discussion] mcwups1:
Question: If I wipe data, why would I still have my PIN in place? After I reboot, it still asks for my PIN, which still works, but I have to set everything up again?
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
Maybe, it is because the Pixel 3 XL has Android Device Protection feature:

How to hard reset on Google Pixel 3 XL
[Google Pixel 3 XL Guides, News, & Discussion] mcwups1:
Is that what I'm going to have to do? Because when I go back into TWRP, the password doesn't work.
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
Try this:

- Download the latest SDK Platform-tools r29.0.1

- fastboot flash boot boot.img --slot all

- Remove pin/fingerprint: Settings ==> Security & location == Screen lock ==> enter password ==> Tap none

- fastboot boot twrp.img

- Install twrp.zip and Magisk-19.3.zip

- Reboot System

- Set pin/fingerprint
[Google Pixel 3 XL Guides, News, & Discussion] GartimusPrime:
Hey guys, just got my Pixel 3 XL and I love it! I have been rooting/unlocking for many years so obviously I got home and immediately unlocked the bootloader and successfully flashed TWRP and flashed Magisk.

I want to got back to stock and relock bootloader but I am confused about a step in the OP. It says must complete B before continuing but I don't know what B is.

Also, I may be jumping the gun, is there a point for me to go back? I am only going back because I am confused as to how to flash the monthly updates.

Thanks
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
[MENTION=4825640]GartimusPrime[/MENTION]

Step 3B returns the phone to 100 percent stock before relocking the bootloader. If you did not boot/install twrp and root your phone your phone is 100 percent stock. Therefore, step 3B is not needed to relock the bootloader.

Unlocking the bootloader, completely, wipes your phone's data and internal storage. So, if you just unlocked the bootloader and did nothing else you should have the June 2019 (stock) factory image installed.

There is really no need to relock (go back) the bootloader.

To flash the 'monthly updates' do the following:

- install the latest version of SDK Platform-tools r29.0.1

- Do #4C1 'Keep data' (preserves your data and does not wipe internal storage), then do #7 or #8 to root.
[Google Pixel 3 XL Guides, News, & Discussion] GartimusPrime:
I did flash TWRP and root with Magisk. If there is no need for me to go back then I won't mess with it any further.
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
:good:
[Google Pixel 3 XL Guides, News, & Discussion] GartimusPrime:
Sorry to bother you again, I seem to be having terrible battery life with this phone. Could it have anything to do with it having the bootloader unlocked and being rooted, or is that a preposterous idea in itself?

Also, just for curiosity sake, if one wanted to "go back to stock" then that is doing the factory reset in the settings menu, correct? Will doing that also get rid of TWRP if I have it actually installed on the phone?
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
I don't think "terrible battery life" is caused by "having the bootloader unlocked and being rooted". I think it is caused by phone usage and certain apps or modules. Adding a Custom kernel helps improve battery life. Also, a search of Pixel 3 XL forum: Questions and Answers may provide solutions to improve battery life

Yes, a factory reset (erase data) should return the phone to 100 percent stock.

Yes, a factory reset will remove twrp.
[Google Pixel 3 XL Guides, News, & Discussion] GartimusPrime:
I really didn't think it was the cause, just grasping at straws at this point. I don't have much installed on the phone and I can just watch the battery go down. Perhaps I will get "daring" and try out a kernel.
[Google Pixel 3 XL Guides, News, & Discussion] godzulu:
A little help please..... long time rooting etc, just made mistake. Just flashed the July update, flashed twrp, magisk. All good. Decided to update twrp and did not restore boot image in magisk, so now I cannot get past twrp. Any ideas on how to fix this? Thanks
[Google Pixel 3 XL Guides, News, & Discussion] jcmm11:
Extract the boot image from the factory image and flash it using the bootloader. Or find the copy of the unrooted boot image that Magisk made in the root of /data/
[Google Pixel 3 XL Guides, News, & Discussion] godzulu:
Thank you! - will give it a shot

---------- Post added at 11:06 PM ---------- Previous post was at 10:53 PM ----------

High five!
[Google Pixel 3 XL Guides, News, & Discussion] mgp53:
Should "OEM unlocking" be reset to OFF after root is obtained?
[Google Pixel 3 XL Guides, News, & Discussion] jcmm11:
No
[Google Pixel 3 XL Guides, News, & Discussion] mgp53:
Thanks
[Google Pixel 3 XL Guides, News, & Discussion] dtr145r:
Im curious to what im doing wrong...

Im on the latest android version and security patch. (july)

I have the lstest twrp installed.

When I try to root via installing the latest 19.3 magisk my phone wont boot. I have to reboot into recovery and flash the uninstaller.

Ive read the how to and i believe im following it to the T

Ive skimmed through the forum and i dont know what im missing.

Anyone know what it could be?
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
The latest SDK Platform-tools r29.0.1? (Prerequisites c)

Try this:

- fastboot flash boot boot.img --slot all (# 6)

- fastboot twrp-3.3.1-1.img

- Tap install select twrp-3.3.1-1.zip

- Tap Add more zips select the latest Magisk uninstaller.zip

- Tap Add more zips select Magisk-19.3.zip

- Swipe slider to install

- reboot system
[Google Pixel 3 XL Guides, News, & Discussion] GartimusPrime:
Ok so a strange thing just happened. I decided to attempt going back to complete stock, including relocking the bootloader. I went to settings and did a complete factory reset, it went to the bootloader unlock screen, and booted directly to TWRP. At this point I am scared to death, it's asked me for a pin, it hit cancel and rebooted to system and it just brought me back to my phone. So all is well but why didn't it reset?