yashsingh1/xdaforums huggingface dataset:
[Google Pixel 3 XL Guides, News, & Discussion] Slim2none4u:
Ok I got it. I had updated android studies earlier today and its screwed up my system wide adb/fastboot.

I had to place the entire platform tools folder contents into the system image folder. It flashed and I'm back up and running.
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
Yes you did, "I really screwd the pooch here." rotflmao

Not at your situation, at the comment.

Android Q - Magisk

This may help: [GUIDE] Recover from soft-BRICK - fix your dead/malfunctioning phone by CZ Eddie
[Google Pixel 3 XL Guides, News, & Discussion] Slim2none4u:
Yeah that'd the thread I found also. Used that info to get going again.

Now to five the computer... think I tagged that pooch to :laugh:
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
You flashed Magisk on Android Q Beta?

How?
[Google Pixel 3 XL Guides, News, & Discussion] sdamark:
Just got my 3XL unlocked google edition today, bought off swapa. If I put my Verizon sim in will it prevent me from unlocking bootloader and rooting in the future? I want to try running stock for a while. First non HTC device in 9 years and I've rooted every one.
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
I don't think so.
[Google Pixel 3 XL Guides, News, & Discussion] Slim2none4u:
No. I tried unsuccessfully to flash the patched_boot.img. it failed.
[Google Pixel 3 XL Guides, News, & Discussion] El-Lobo68:
Just wait a liitle bit more.....Magisk Root for Pixel 3 is coming.

https://twitter.com/topjohnwu/status/1107169868669956096
[Google Pixel 3 XL Guides, News, & Discussion] 09eric09:
Every time I flash Magsik, I get a bootloop, but it works fine after I uninstall Magsik, what gives?
[Google Pixel 3 XL Guides, News, & Discussion] jd1639:
When you exit twrp are you allowing it to install the twrp app? If you are, don't, that causes a bootloop. Don't use the slider but choose the do not install twrp app.
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
Yup!
[Google Pixel 3 XL Guides, News, & Discussion] LDerJim:
I had this same problem. After flashing Magisk, try powering down completely and waiting for a few seconds before powering it back on.
[Google Pixel 3 XL Guides, News, & Discussion] godraistlin:
How do I run the flash-all.sh on linux? I have platform tools on it, and the flash-all.sh is executable, but when I run it in terminal, I just get a blinking cursor. Nothing actually happens.
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
Are these files in the Platform-tools folder?

Note: Mac or Linux SDK Platform-tools r28.0.2 extracted contents should be in this folder.

- flash-all.sh

- bootloader...img

- radio...img

- image...zip

Edit: Note: Edit flash-all.sh

What [MENTION=4858937]jd1639[/MENTION] said below.
[Google Pixel 3 XL Guides, News, & Discussion] godraistlin:
No. I double clicked it and ran in terminal. Did nothing. It's cool. I'll just keep doing it on Windows. I just like how much smoother Linux runs, and I wanted to make it be successful on a live CD and possibly completely ditch Windows.
[Google Pixel 3 XL Guides, News, & Discussion] jd1639:
You might try editing the flash all sh and add ./ before the fastboot commands. That seems like a pita but if you need to use Linux it works for some.
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
:eek: I knew I forgot something.
[Google Pixel 3 XL Guides, News, & Discussion] bgg1:
I'm sorry if this was covered, but I was unable to find it digging through 40 pages of this thread.

I have a Pixel 3XL, rooted, and with TWRP recovery. I'd like to revert to stock recovery so I can apply the OTA security updates, and then reroot.

I downloaded the OTAs from Google, as well as the factory image, from which I extracted the boot.img.

Questions:

1. Can I install the OTAs with TWRP still installed?

2. If I flash the boot.img as per section 6 in the guide, will that wipe any data on the phone?

3. If I revert to stock recovery, going forward do I avoid TWRP recovery so I can install OTAs via the magisk a/b ota approach?

Thanks
[Google Pixel 3 XL Guides, News, & Discussion] Slim2none4u:
If you wish to revert to stock, simply flash latest firmware. If you want to keep your data, then edit the flash-all.bat file and remove the -w.

There is no recovery partition. Recovery is in the boot partition. When you flash to stock, twrp will be replace with stock recovery.

You can sideload OTA update in stock recovery or you can flash the factory image in fastboot.
[Google Pixel 3 XL Guides, News, & Discussion] bgg1:
Perhaps I wasn't clear, but what I meant was that I just wanted to return to stock recovery instead of TWRP. I thought I could just flash the extracted boot.img to accomplish that. Is that incorrect?
[Google Pixel 3 XL Guides, News, & Discussion] Slim2none4u:
Yes. Just flash stock boot.img.
[Google Pixel 3 XL Guides, News, & Discussion] bgg1:
Thanks. Got scared for a second because it went to a no command screen, but got it going. Now just updating three missed OTAs.
[Google Pixel 3 XL Guides, News, & Discussion] Slim2none4u:
Yes, at no command screen, hold power and press and release volume up to get recovery.
[Google Pixel 3 XL Guides, News, & Discussion] ZzEzZ:
Question about security updates.

Does the newest update contain all the patches from the previous updates?

Like, if I skipped March but flash April, will I get the updates from both April and March?
[Google Pixel 3 XL Guides, News, & Discussion] Slim2none4u:
Yes
[Google Pixel 3 XL Guides, News, & Discussion] vlucchetti:
Might be my imagination but the this build seems faster. Great work on the tutorial as usual, Homeboy!!
[Google Pixel 3 XL Guides, News, & Discussion] fyrmd:
Disc Image File is corrupted

I am unable to open the twrp.img file on my computer, keeps saying that the disc image file is corrupted. MD5 matches, tried a couple of different software programs to open in addition to Win 10, did multiple searches here and on the internet with no success. Any suggestions?
[Google Pixel 3 XL Guides, News, & Discussion] Badger50:
You actually don't open it, you fastboot it to your device. Or am I misunderstanding you? :confused:
[Google Pixel 3 XL Guides, News, & Discussion] fyrmd:
When I try and flash the file in CMD it says "cannot load `twrp.img`: No such file or directory. In Windows 10 it says the file is corrupted.
[Google Pixel 3 XL Guides, News, & Discussion] Badger50:
Then I would download twrp again, make sure your syntax command is correct, and try another USB cable and a different port. USB cables are known to be finicky on the P2XL and P3XL.
[Google Pixel 3 XL Guides, News, & Discussion] SacredDeviL666:
no such file or directory mostly means your Adb command is opened/assigned to a different folder than your twrp.img is or a different file name you have it saved with.

you have opened the command prompt from adb folder by using shift+right click followed "Open command window here" right ? also the twrp image is named as twrp.img ?

if you are finding it too hard you can use this tool for recovery flash :- https://xdaforums.com/showpost.php?p=78387280&postcount=1

transfer the twrp zip installer to your phone memory before you temp boot on twrp image. ( instructions )
[Google Pixel 3 XL Guides, News, & Discussion] fyrmd:
Thanks for everyone's help. Reloaded Windows 10 on my computer, re-downloaded the file and a fresh set of eyes today and working great!
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
:good::)
[Google Pixel 3 XL Guides, News, & Discussion] biomayhem:
Problem with April Update

Hi Everyone. I'm having problem with Magisk after installing the April update. Installed the factory image via fastboot with -w removed, then installed twrp 3.2.3.5.zip via fastboot twrp.img and uninstalled Magisk. Everything worked fined up to this point and I was able to boot into android. Rebooted back into recovery and installed Magisk 19.0. Once I rebooted after installing Magisk, it got to the Google sign with a status bar then rebooted back into recovery. Tried it multiple times with both Magisk 19.0 and 18.1 with the same result. It works fine without Magisk but always stuck on the recovery mode loop with Magisk installed. I'm trying to root with stock kernel, which had worked previously, so I'm not sure exactly what the problem is. Anyone has any ideas? Thanks.
[Google Pixel 3 XL Guides, News, & Discussion] jd1639:
There shouldn't be any issues with 19. It's working fine for me. At this point I'd flash the stock boot image to both slots and start over. Boot twrp with fastboot, then if you want twrp permanently install the zip. I then boot back into recovery, now twrp, and install magisk.
[Google Pixel 3 XL Guides, News, & Discussion] biomayhem:
I flashed the stock boot image to both slots and booted twrp with fastboot. I tried installing magisk both with and without permanently installing twrp zip file and both times the phone will reach the google "G" screen, a status bar would show up blow the "G", then the phone would reboot into recovery (either stock or twrp). I am assuming at this point Magisk is the problem since everything else worked fine until Magisk is istalled. Not sure what to do at this point. Any suggestions?
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
- fastboot flash boot boot.img --slot all

- fastboot boot twrp.img

- when twrp boots, install Magisk's uninstaller.zip

tap Add more zips select Magisk-18.1.zip (Stable) or

Magisk-19.0 (Beta)

- Swipe slider to install

- reboot system
[Google Pixel 3 XL Guides, News, & Discussion] EMJI79:
I am trying to update to April security (I was on March-Magisk18.1-Kirisakura) and i get this error:

imac-3:platform-tools 4 Eche$ fastboot update image-crosshatch-pq2a.190405.003.zip

target reported max download size of 268435456 bytes

archive does not contain 'boot.sig'

archive does not contain 'recovery.img'

archive does not contain 'system.sig'

archive does not contain 'vendor.sig'

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

Bootloader Version...: b1c1-0.1-5191736

Baseband Version.....: g845-00009-181130-B-5157073

I directly tried fastboot update because flash-all gave me that:

imac-3:platform-tools 4 Eche$ flash-all

-bash: flash-all: command not found
[Google Pixel 3 XL Guides, News, & Discussion] Slim2none4u:
Sounds like your fastboot is no longer system wide.

Does fastboot devices work?

Try restarting your computer if you just updated platform-tools.

Try setting up your system wide adb/fastboot installation again.
[Google Pixel 3 XL Guides, News, & Discussion] EMJI79:
I just updated platform tools and i didnt restart my computer, that must be that

edit: It still didn't work.

Fastboot devices work and flashing bootloader and radio worked
[Google Pixel 3 XL Guides, News, & Discussion] jd1639:
Everything looks ok. The sig and stuff not found is normal. You'll get that every time.
[Google Pixel 3 XL Guides, News, & Discussion] EMJI79:
But my phone is still on March Security.

Should I uninstall Magisk first, or it doesn't matter?
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
No.
[Google Pixel 3 XL Guides, News, & Discussion] jmartin72:
Why is it, I can Root, and flash a custom ROM with no problem, but when I try to root stock, when I boot is goes to the white screen with the rainbow G, a scrolling line under it, then boots back into twrp. I can never boot with root stock. The only way to get it back is to fastboot boot boot.img.
[Google Pixel 3 XL Guides, News, & Discussion] EMJI79:
Hey [MENTION=4810220]Homeboy76[/MENTION] I saw your post yesterday but it was time for me to sleep and you edited it afterwards. Can you tell again the instructions you gave regarding macos for the flash-all command please?
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
[MENTION=3730810]Badger50[/MENTION];79287908

Are you experiencing problems with decryption when using twrp-3.3.0-0...img/zip on the Pixel 3 XL?

Edit: twrp-3.3.0-0 has problems decrypting. So, stay on twrp-3.2.3-5 until it is fixed.
[Google Pixel 3 XL Guides, News, & Discussion] Badger50:
Sorry my friend, but I haven't even had a chance to try it yet. My mom recently passed away, so i've been taking care of finalizing her estate and making funeral arrangements. I also have a P2XL, not the P3XL. Sorry man.
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
Sorry to hear about your mom. You are in our prayers.
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
How To Install Android 9.0 Pie on Your Pixel Using a Mac
[Google Pixel 3 XL Guides, News, & Discussion] EMJI79:
I have updated my phone after some errors but now entering TWRP, it doesn't ask me for the pin and files are encrypted. After a google search, it seems that i have to wipe data. Is there another way?
[Google Pixel 3 XL Guides, News, & Discussion] jcmm11:
What version of TWRP? If it's 3.3 revert back.
[Google Pixel 3 XL Guides, News, & Discussion] EMJI79:
OK, thanks. I have just seen that in another thread too.

Edit: It was fine with older TWRP
[Google Pixel 3 XL Guides, News, & Discussion] dd805bb:
need to change the guide for custom kernels. all custom kernels should be flashed before magisk so magisk can mirror it. when flashing after magisk, somewhere in there it will pick up the old kernel. stall and not work right. if you flash the kernel before magisk, it will flash to the actual system and not just to the boot image where magisk can use it. try it out. flash the kernel, any kernel, works better flashing kernel first with elementalx and kirishakura. i noticed this in android settings in version. when you flash it gives the new kernel and old kernel build dates. when flashing before the only thing seen in settings about android is the kernel you flash, you will just see the kernel build date of the kernel you flashing. once magisk is installed, no matter if kernel says it can read or not, will be flashed to work with magisk. so what if you dont have magisk, and that is how i found this out. did a ota this morning to clear a slot to use a new kernel. did the ota and booted it. looked at the stock kernel. accidentally flashed the kernel first and booted, it showed the kernel in settings with a short build date and eversion instead of three to four lines. so i flashed magisk and blammo it still shows. i was having problems downloading, massive hangs and stalls. samething on a few kernels. tried this and stalls gone. just saying. and if . you think aboout it, it will in theory work better because magisk will only ever see that custom kernel and never have seen the stock one.
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
[MENTION=3428502]Freak07[/MENTION]

Did Freak change something?

Edit: The only kernel that is flashed after Magisk in this thread is the Kirisakura kernel. Why? The creator of the kernel said to flash it that way (see Freak's quote above). All the other kernels in this thread are flashed before Magisk.
[Google Pixel 3 XL Guides, News, & Discussion] Golf c:
Freaks kernel is the only kernel, I believe, that preserves Magisk. So when you update his kernel, all you have to do is flash it. Everything else is intact. Other Kernel's don't do that. So you have to flash Magisk last
[Google Pixel 3 XL Guides, News, & Discussion] dd805bb:
I stopped flashing TWRP but now the new twrp I may try. Flashing TWRP is kind of useless. A quick way into a custom recovery, also conflicts with magisk and has until 3.3.0. Both would flash to the boot image. Topjohn actually had posts out and documents explaining the conflict. TWRP via fastboot doesn't flash itself to the boot image. When you flash TWRP via installer zip it patches the boot image. Then you flash magisk which also patches the boot image. So let's say you do an ota the regular way, when you restore images, it has that TWRP boot image as the restore image because you flashed TWRP first. And after the ota you still have to install TWRP. Well magisk can install itself on the partition the ota just went on. Magisk ota documents. Look it up. So it is basically useless installing unless you are doing flashing on the fly all day everyday. Mine is a daily driver I set up at home and don't want to be flashing and crashing out and about. Plus, let's say firmware really takes a dive, I still have the oem recovery to wipe m drive and start over. TWRP can not wipe m drive, ever. So again TWRP is useless installed to me. I can go back to a stock firmware instantly and still retain esim data. That is worst case scenario. TWRP is great and does it's job. But limits the phone in what can be done to go back to stock via oem recovery. Everything TWRP can do installed you can do fastbooting it but lose the factory recovery installing twrp. Also depending on version, TWRP doesn't always decrypt data. 3.2.3.-4- compared to 3.2.3-5-. I still find myself going to 4. And 3.3.0 doesn't decrypt at all for me. Can't read the internal storage. Says a bunch of numbers and no downloads. The whole sd card will not even be read. I only use TWRP now for initial setup. After that just use magisk and exkernel for tweaking the custom kernel. TWRP installing was a problem for me also on the pixel XL too. After not being able to get back to stock a couple hundred miles away from home I decided not ever to install TWRP. If I didn't have it installed I could of wiped the whole phone, been back to stock and not bootlooping on vacation. Some problems don't arise until moving around cell towers or other areas. Like GPS took a dive one time. Found a module that was stopping gms because I wanted better battery life. Well when I uninstalled it and rebooted, bootloop. TWRP wouldn't uninstall the module. Even found the module via file manager in TWRP, and deleted it. Still bootlooping. Now had I not had TWRP installed, I could just wiped and went on with my trip. Make sense?
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
Ok!
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
While, I do not agree with your opinion of using T.W.R.P. for crosshatch. I appreciate you sharing your opinion of using T.W.R.P. for crosshatch. Additionally, that is why there are two methods of rooting with Magisk. One for those who want to install twrp (#7) and one for those who do not want to install twrp (#8).
[Google Pixel 3 XL Guides, News, & Discussion] SacredDeviL666:
Thread cleaned.

Please stay on topic as per what's mentioned in OP if not the Offtopic posts will be removed .

Kindly go through the forum rules before posting/creating new threads in future.

Thanks

SacredDeviL666.
[Google Pixel 3 XL Guides, News, & Discussion] Slim2none4u:
Wow... Who needs this thread anyway... Clearly policed by Nazis.

My comment was on topic.

This is root thread which states install twrp.

Another opinion does not make it off topic.

You've lost your mind if you think otherwise.

Now police this one too.
[Google Pixel 3 XL Guides, News, & Discussion] jd1639:
Come on guys. The OP put a lot of work into this thread and it doesn't deserve to be picked apart. There's more than one way to skin a cat.
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
Yes, this thread is a Guide fo rooting the Pixel 3 XL phone.

Yes, it provides instructions for rooting with Magisk by installing T.W.R.P. (#7).

Yes, It provides instructions for rooting with Magisk without installing T.W.R.P. (#8).

So, your opinion/method is already in the OP.
[Google Pixel 3 XL Guides, News, & Discussion] lucky_strike33:
Hey, in fastboot how do we change slots?

Thanks!
[Google Pixel 3 XL Guides, News, & Discussion] jawonder:
Any having problem with TWRP giving wrong pattern or password after fastbooting TWRP on May update ? . If so did you find a fix . I fastboot TWRP 3.2.3-5 and 3.3.0-1 and when i put my pattern in it keeps saying wrong pattern . I also switch to password and i get wrong password also .
[Google Pixel 3 XL Guides, News, & Discussion] Bubba:
Have you tried removing all security before booting to TWRP? My time with the Nexus 6P trained me to do that and I continue with it on the 3XL.
[Google Pixel 3 XL Guides, News, & Discussion] jawonder:
No because i never had to before, on all updates i had pattern or password and never had an issue with them been wrong. On TWRP 3.3.0 there was a decryption problem on the Pixel 3 XL which was known and fixed in 3.3.0-1 and i was using on April Update without any issues . But still it wasn’t a wrong password issue .

I’m downloading the My factory image now from google website which i always do except yesterday when i download the May update from the OP’s server . Will try again after downloading .
[Google Pixel 3 XL Guides, News, & Discussion] jcmm11:
Try "fastboot --help" and you should get your answer. Slot names are _a and _b.
[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
Did you check the md5 or sha256 of twrp-crosshatch-3.3.0-1.Img?

Maybe you downloaded a bad twrp file .

I'm not having any problems booting twrp and inserting a pin.
[Google Pixel 3 XL Guides, News, & Discussion] jawonder:
The files are ok a few other people with Pixel and Pixel 3 XL were having the same issue . I ended up just removing my password .

---------- Post added at 03:43 PM ---------- Previous post was at 03:41 PM ----------

Ended up doing just that because the download from Google didn’t make a difference , thanks .
[Google Pixel 3 XL Guides, News, & Discussion] nitramus:
Having weird problem since updating from March security to may. Just cant figure what. Using YouTubevanced and vlc, if pip is enabled the video keeps going from full screen to pip mode. When playing a game it keeps pausing on its own. At first I thought it was the app but logic points to the update.

Reflashed may update again and still does it.

Please any input before I try and flash March update.

Also update magisk from 18.1 to 19.1
[Google Pixel 3 XL Guides, News, & Discussion] damngood98:
if you can grab a logcat when this happens and get it posted someone here might be able to see what's going on...but first I've heard of that :confused:
[Google Pixel 3 XL Guides, News, & Discussion] nitramus:
Thanks im so baffled by this one I just did not think of a logcat
[Google Pixel 3 XL Guides, News, & Discussion] nitramus:
I seam to be able to force it to happen when I get a toast notification when I connect my Bluetooth headset.

edit:

It also happens when I'm active in a race in asphalt 9. I can force the game to pause when I unplug the cable from the phone from the charger. It never did that. Had to save the log on my gdrive since the size is to big.

https://drive.google.com/drive/folders/11ujh6Mq1Jvy6th1r4POKPAm1H_BnfPh3
[Google Pixel 3 XL Guides, News, & Discussion] nitramus:
I need to test something so I need to go back from latest May update to March update. Can I just flash a lower version without any problems?
[Google Pixel 3 XL Guides, News, & Discussion] mcwups1:
If I update security patches, do I have to do each one in order, or can I go from March to May without April update? Also, if I go from March to May, do I need to update TWRP?

TIA
[Google Pixel 3 XL Guides, News, & Discussion] nitramus:
You can jump as much as you want. You only need twrp for magisk. I donlt install/flash magisk because of lots of problems, i suggested to fasboot boot twrp.

You dont need to update twrp but if you installed twrp it will be removed.
[Google Pixel 3 XL Guides, News, & Discussion] mcwups1:
I am still quite confused though. HTC phones did not have 2 partitions.

How do I go about updating to the new update, if I'm on stock rooted unlocked bootloader? Why are there 2 partitions?

Do I need to Uninstall anything first, like Magisk?

I've seen so much information that I'm not quite sure the correct or simplest way to update.