yashsingh1/xdaforums huggingface dataset:
[Google Pixel XL Guides, News, & Discussion] PetrichorXFi:
EXCELLENT guide!

This is the first time in years I have seen a guide that outlines the entire

process if flashing, as well as specific file versions needed, even complete with alternate options to keep/wipe data for example.

well done! :)

---------- Post added at 12:55 PM ---------- Previous post was at 12:55 PM ----------

EXCELLENT guide!

This is the first time in years I have seen a guide that outlines the entire

process if flashing, as well as specific file versions needed, even complete with alternate options to keep/wipe data for example.

well done! :)
[Google Pixel XL Guides, News, & Discussion] woody1:
Does anybody have an alternate download site for TWRP 3.2.3.0? This site is either down or too slammed to respond: https://dl.twrp.me/marlin/ .

EDIT: Never mind. I found the files on the European download site: https://eu.dl.twrp.me/marlin/

---------- Post added at 03:32 PM ---------- Previous post was at 02:52 PM ----------

Thanks! Those instructions worked great for me.
[Google Pixel XL Guides, News, & Discussion] Sobaro:
I am not able to connect to my Hidden WiFi, any suggestion Guys ?

Flashed Successfully

EDIT: 8-Flash the Stock Factory Image on Both Slots and still the same issue
[Google Pixel XL Guides, News, & Discussion] boostedduece:
Sounds like an issue with your router, possibly wifi settings.

BTW, hidden SSID broadcast is pointless, anyone who scans the area will see it.
[Google Pixel XL Guides, News, & Discussion] wishx:
I followed the guide and I'm on Android 9 + TWRP 3.2.3 + Magisk 16.7 : rooted, SafetyNet checks out, hiding from certain apps, etc. Recreated PIN and fingerprint, rebooted a few times to make sure and everything is right with the world.

Now... that said, is it possible to go back and install ElementX kernel via TWPR now? I skipped that step in the guide.

Me earlier: Nah. I'm not going to install it. One less step to potentially go wrong.

Me now: Hey! Everything works! Now I want it!
[Google Pixel XL Guides, News, & Discussion] boostedduece:
Yes, I installed elemental kernel from day one after rooting, and it works great.
[Google Pixel XL Guides, News, & Discussion] ZerkerEOD:
What am I doing wrong? I have it booting normally, and TWRP installed. But every time I install Magisk 16.7 (1671) it fails to boot and takes me back to TWRP. I can uninstall Magisk and it will boot right up, but no matter what I do it will not boot after I install Magisk.
[Google Pixel XL Guides, News, & Discussion] aankkurr:
Once you install Magisk, go back to reboot and select Slot B, then reboot.

When you install Magisk it gets selected Slot A, you need to reboot on Slot B
[Google Pixel XL Guides, News, & Discussion] crackerjack1957:
Is there still that annoying nag that pops up with this kernel like with oreo, forgot the exact words.
[Google Pixel XL Guides, News, & Discussion] liam_davenport:
Nope see here https://github.com/flar2/marlin/commit/feb5578386401ea2d23e281c2984525f6e4265c0
[Google Pixel XL Guides, News, & Discussion] zosX:
Hi. I have a pixel xl here. I followed these directions for 8.1 on a previous pixel and it worked fine. One this pixel HOWEVER no matter what I try or what version of android I try (8.1 or 9) it just boots straight into recovery after I install TWRP and install the zip file from within. I tried this literally like 10x last night and kept getting the same results. Argh. Why? Does anyone know? It flashes and runs stock android 100% fine. I've also tried both slots.
[Google Pixel XL Guides, News, & Discussion] liam_davenport:
You're booting twrp right and not flashing?

fastboot boot twrp-3.2.3-0-marlin.img then flash the zip inside if needed
[Google Pixel XL Guides, News, & Discussion] bkkzak:
Did you remove your pin first by chance?
[Google Pixel XL Guides, News, & Discussion] vlucchetti:
Followed the OP, dirty flashed, no issues at all.

Thanks Homeboy for all you do for us!
[Google Pixel XL Guides, News, & Discussion] badabing2003:
Has anyone had success getting xposed working in this setup?

Are there any confirmed xposed working on Pie stories?

Can't do without xposed.

Thanks

BB
[Google Pixel XL Guides, News, & Discussion] Ketawa:
No.
[Google Pixel XL Guides, News, & Discussion] zosX:
Ok. I'm an idiot. Yeah I got TWRP working ok. Thanks.

My issue now is that with the latest .010 factory image I just get bootloops when I install magisk 16.7 either via the GitHub zip OR the downloaded zip from the apk. The app gives the correct 16.7 (1611 I think) zip. If I flash it via TWRP or adb sideload it just boot loops indefinitely. It seems to be a no go. I know this all worked fine on 8.1 on the previous phone.

Edit: I also patched the stock boot room and still ended up with a boot loop.

---------- Post added at 12:27 PM ---------- Previous post was at 12:17 PM ----------

Another odd thing.....

I restored from a nandroid earlier and it rebooted after it flashed the system back over. Nandroid restores in the latest TWRP are not working or I have something weird going on here.
[Google Pixel XL Guides, News, & Discussion] xikuuu:
Man I've been having this same issue but when it boot loops just fastboot flash the stock boot.img to which ever slot magisk was flashed to either a or b
[Google Pixel XL Guides, News, & Discussion] Born<ICs:
Could anyone help an old guy out please? Been a while and was no expert before, simply followed guides . Never bootlooped and don't want to go there now!

Updating to 9.0 from 8.0.0 Oct.

Rooted SuperSU, TWRP, android kernel.

so far updated SDK Platform to 9

Saved files to PC & Phone but haven't extracted anything.

?

When exactly in the process do I remove lockscreen security, pin/prints? Put back?

Is latest TWRP working OK or do you only use TWRP to flash and not actually install it?

Going from 8.0 to 9 is it OK to keep data removing -w or not?

Have never used Magisk. How does hide work? What do I need to do settings wise so banking apps & google pay work?

What does ElementalX gain me vs Pie Kernel?

Would build.prop edits from 8.0 work on 9.0, like for Verizon UDP hotspot net.tethering.noprovisioning=true

Thanks for helping.
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
No

The current version of Exposed does not work with Pie.
[Google Pixel XL Guides, News, & Discussion] dimpai:
Same problem here. I sorta solved it by not installing twrp and doing "fastboot flash boot --slot all patched_boot.img".

edit: this only worked on PPR1.180610.009
[Google Pixel XL Guides, News, & Discussion] CrispyTheBird:
I don't much about android programming, just to be clear. But after I installed Magisk, my phone became corrupted and Android won't start. What do I now?
[Google Pixel XL Guides, News, & Discussion] teegale:
Flash the magisk uninstall zip in recovery. Can be found here under downloads https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
[MENTION=9368594]CrispyTheBird[/MENTION]

If you are seeing this message when the phone starts to boot, It is because your bootloader is unlocked:

"Your device software can't be checked for corruption. Please lock the bootloader."

Start over and take your time.

Carefully read the instructions and then do #4 and #8.

There is a link for every file you need to do #1 through #12 in the OP
[Google Pixel XL Guides, News, & Discussion] craig.s:
Homeboy your advice doesn't seem to apply to all Pixel XL users and after reading through this thread, amongst other discussion e.g. at the Magisk beta thread, I can't resolve what the difference is.

I have a brand new PXL, which came with Oreo on it. I did the following process literally out of the box:

- Unlock Verizon bootloader

- Install TWRP latest version by fastbooting to the TWRP img and then flashing it

- Side-load Pie 9.0 OTA zip. Working fine at this point.

- Flash Magisk. Phone fails to boot after sitting at the G logo for a few minutes and reboots to recovery, per others' reports. I tried 16.0, 16.7, and the 1674 zip, all fail in the same manner.

I can see a few different things people have tried. E.g.

- Not flashing TWRP, only fastbooting to its img

- Installing a custom kernel 1st

- Mucking about with the dual partition slots.

All of these seem dodgy frankly, I want to know what's going on before screwing more than is necessary with it.

Unless I'm missing something, it's not at all clear where the problem lies.
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
I cannot confirm or deny your assumption that the instructions in this Guide do not apply to all Pixel XLs. I too have read other discussions/threads including the Magisk BETA thread. I searched the Magisk BETA and Magisk General Support/ Discussion threads for Pixel/Pixel XL posts.

What I found was most of the problems with rooting Pie, in my opinion, were:

a. Not reading and following instructions

b. Out dated Platform-tools

c. Not removing Pin/fingerprint prior to installation

d. Not rebooting after installing twrp-3.2.3-0.img/zip (#7)

e. Not using Magisk uninstaller before installing Magisk-v16.7 (1671).zip.

Magisk-v16.4.zip is for Pixel 2/Pixel 2 XL phone.

Several, post on this thread confirm these instructions work for the Pixel XL

So, if you have Pie installed:

a. Boot twrp.img

b. flash Magisk Uninstaller

c. flash the Pie boot.img to both slots

d. reboot

e. Do #7 or #8
[Google Pixel XL Guides, News, & Discussion] aankkurr:
Do i need to flash-all (without -w, to keep data) for both slot? To upgrade from July 8.1 to August 9.0.
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Yes without -w to keep data.

No both slots, just do #4 Keep data then #8.
[Google Pixel XL Guides, News, & Discussion] aankkurr:
I downloaded "marlin-ppr1.180610.009-factory-90a4fa8b.zip" factory image for Pixel XL

I extracted and there are 6 files inside, one of them is "image-marlin-ppr1.180610.009.zip". Do I need to extrac this also before putting this into platform-tools folder? Or I just put this as zip file into platform-tools along with other 5 files which got extracted?

and this (# 4 Keep data then # 8) is what i have to do every time google pushes update, right?
[Google Pixel XL Guides, News, & Discussion] craig.s:
Just been thru the exercise again.

a - Not for lack of trying.

b - I'm using latest Google ADB & Fastboot

c - My new phone has never even had a PIN or fingerprint set-up :)

d - Yes reboot after flashing TWRP

e - Using the uninstaller zip is how I am fixing the failed Magisk flash. And I am only trying the 16.7 zip for now.

I realized I was omitting one step you specify, which was to flash stock boot.img to both slots. Not sure what that reasoning is? but I did it anyway - and it makes no difference to the end result. G logo and crash-reboot back to TWRP.
[Google Pixel XL Guides, News, & Discussion] unhappybirthday:
Has anyone ever noticed if their active slot has been changed when this boot-looping occurs? It could explain why results of Pie/TWRP/Magisk are inconsistent and why flashing the factory image to both slots seems to prevent the issue in some cases. Magisk shouldn't be changing the active slot but A/B devices are still novel for many devs.

Or maybe a corrupted boot.img is simply forcing the bootloader to try the other slot.
[Google Pixel XL Guides, News, & Discussion] craig.s:
My boot slot was B before my last attempt, and it still is.

I saved the recovery.log from TWRP this time, after trying to flash Magisk. Here it is: https://drive.google.com/file/d/1SqhMo-Pd1xPJnZ9FpoWR910zbbYXg_Of/view
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
You should have

1. bootloader-marlin-8996-012001-1804121206.img

2. flash-all.bat

3. flash-all.sh

4. flash-base.sh

5. image-marlin-ppr1.180610.009.zip

6. radio-marlin-8996-130181-1806061856.img

Yes, put the image-marlin-ppr1.180610.009.zip in the platform-tools folder.

Yes, I think it is the easiest method of updating the factory image.

As a side note, each time you update the factory image. Remove these six files from your platform-tools folder before extracting the next factory image.
[Google Pixel XL Guides, News, & Discussion] JayDoobiesXD:
may be off topic but Android 9 broke the virtual environment app named parallel space. mine will not open anymore. can anybody look into that?
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
I suggested all the things that worked for me. :(

Maybe you should post the question and the link on the Magisk BETA thread. Maybe someone there can solve the problem. :)
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Way off topic. Post this in the Google Pixel XL Question and Answer forum
[Google Pixel XL Guides, News, & Discussion] CrispyTheBird:
Here’s a runthrough of where I’m at:

I have the Google Pixel XL G-2PW2100 running Android 9.0 Pie

I unlocked the bootloader

I flashed Magisk 16.7 using TWRP which corrupted Android

But the problem is that I don’t have a backup and I didn’t download the uninstaller onto my phone

The bootloader is still intact and it works with ADB commands and TWRP

Currently I’m trying to push the uninstaller file onto my phone using ADB Sideload

UPDATE:

I uninstalled Magisk but Android is still corrupted. Could I repair it by following step 3B and returning it to stock?
[Google Pixel XL Guides, News, & Discussion] airmaxx23:
I've got Android Pie installed along with TWRP, Magisk, V4A and a center clock mod, now I just need to find a way to allow brightness changes by sliding the statusbar and long pressing the back button to kill an app.
[Google Pixel XL Guides, News, & Discussion] aankkurr:
Why do you suggest #8 and not #7?

If I do #8 then, can i just accept OTA every time google pushes update? and then just redo # 8 only. or it will break due to magisk?

If I have root already by doing #7, do you suggest to redo #4 keep data and then #8.

I am trying to find out what whould be right choice for me? If I am not planning to flash any custom ROM then should i just stick to #8? And if i need to flash custom ROM then I should do # 7. correct?
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
My preference but the choice to use #7 or #8 is yours to make

Yes.

If you already have root with #7 do not do #8

There are no custom ROMs for Pie (Android 9) yet.

No, When Custom ROMS are available for Pie follow the instructions in the Custom ROM thread (OP).
[Google Pixel XL Guides, News, & Discussion] craig.s:
I managed to get my Pixel XL Pie working with 16.7. As opposed to the crash-reboot to TWRP that I was getting before.

What I did was

- flash-all.bat factory Pie over current slot (B), check working ok

- select slot A, repeat flash-all.bat

- Reinstall TWRP

- Flash Magisk 16.7

- Working now.

My previous upgrade to Pie, from Oreo, was done using the OTA zip not the flash-all factory zip.

I also didn't manually flash the 2nd slot.

And I am now on the other slot (A instead of B).

FWIW
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
:eek::):good:
[Google Pixel XL Guides, News, & Discussion] 1xdroid:
I have the google pixel xl verizon phone. I had a backup done that was saved in google drive. After unlocking bootloader and doing step 4 after i did the setup there was no google backups found. Was it unlocking the bootloader or factory reset that deleted them? I assumed if it was on google drive it was safe? In the future whats the best method to make sure this doesn't happen again, save backup to pc? Also i'm now at the rooting part and was wondering if it was really beneficial running the cutom kernal and what downside ther is to running one? Thanks all
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
In the future whats the best method to make sure this doesn't happen again, save backup to pc? Yes

There are a number of benefits to running a Custom kernel. A google search will provide the answer to your question. Additionally, you should read the OP on the Custom kernel threads.
[Google Pixel XL Guides, News, & Discussion] srs731:
I took the OTA on a rooted device using elementalX kernel. I lost root obviously but everything is running fine. To be honest didn't care for root or kernels anymore. Thought my phone ran better on the factory kernel over modified ones with root.
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
That one way of unrooting your phone. lol
[Google Pixel XL Guides, News, & Discussion] H0wdy:
Hi,

At what point do you get prompted for slot A or B?

BTW, I have never been able to flash magisk through magisk manager. It asks where the stock boot image is, and I find boot.img, and it just goes back to manager.

I have only been able to boot to TWRP and do adb sideload for magisk. It says it loads fine, but I have bootloop after.

Also, how are you flashing magisk?

In TWRP, it's always "locked" no matter which password I use(doesn't work), so I have to do adb sideload.
[Google Pixel XL Guides, News, & Discussion] craig.s:
There's no prompt for slots, this is just a "try anything to see what works" exercise, you can manually select the active slot using fastboot so I did that and flashed the same stock image to both slots.

Magisk manager wouldn't alter the boot.img either for me.

Hence flashing it by TWRP. I am installing TWRP after booting to it.

Not sure what you mean by locked. TWRP current version can't read Pie encrypted data so you need to remove fingerprint PIN or password before booting into recovery else TWRP can't read the files. Apparently you can also use an external USB drive.
[Google Pixel XL Guides, News, & Discussion] Ketawa:
FWIW, I have never needed to manually switch slots, and I'm pretty sure the flash-all.bat script flashes all necessary images to both slots. Also, I did not need to remove lockscreen security to decrypt in TWRP on 9.0. A couple times, I have had TWRP fail to decrypt after entering my PIN and TWRP immediately reboots to recovery again, but a second attempt is successful. I don't think I have ever had to try a third time.
[Google Pixel XL Guides, News, & Discussion] craig.s:
It doesn't flash both slots if the output is anything to go by, it reports boot_a or boot_b etc according to the active slot.

TWRP themselves are saying decrypting doesn't work. Dunno. It doesn't hurt to remove the PIN.
[Google Pixel XL Guides, News, & Discussion] H0wdy:
See, this is what confuses me. If I go to my system now and remove screen lock pin, and reboot to TWRP, it still asks for PW :/
[Google Pixel XL Guides, News, & Discussion] LeMoise:
If I have Magisk and a custom Kernel installed, what happens when there is an OTA?

Obviously I could wipe, flash new update, re root / flash kernel but I'm hoping there is an easier way that doesn't require me to lose all my apps/data.
[Google Pixel XL Guides, News, & Discussion] Ketawa:
Do #4 keep data, then #7 or #8 with your custom kernel and Magisk. Don't apply the OTA. Use the full image flash-all.bat script, removing -w, and you will keep your apps and data.
[Google Pixel XL Guides, News, & Discussion] el_chiefo:
Thank you, this is what worked for me....My boot slot was A and Magisk was installing in A so I changed the slot to B, reboot bootloader, booted into TWRP, flash-all minus the -w, then flashed Magisk in slot B and it booted right up. I spent most of the day yesterday trying to root my pixel and this worked. Thanks.
[Google Pixel XL Guides, News, & Discussion] H0wdy:
So how do I choose which slot?

Did you flash magisk with adb sideload,. or what?

If I do "adb reboot bootloader" it says boot-slot: b.

I then fastboot boot twrp.img. In twrp, I go to advanced, adb sideload, and then adb sideoad magisk.zip.

Maybe it's going to the wrong slot, or something?
[Google Pixel XL Guides, News, & Discussion] el_chiefo:
fastboot into twrp, go to Reboot...it should say "Current Slot A/B" depending on what slot you were, I choose the other one and then reboot bootloader. Fastboot flash-all (minus the -w if u want to keep your data) After it completes, reboot it in bootloader and fastboot twrp. Then verify that you are still in the other slot then just flash magisk 16.7(1671).zip (it has to be that one) and when its done, just reboot system and HOPEFULLY it boots correctly.

I attached the magisk 16.7(1671).zip just in case you dont have it

View attachment Magisk-v16.7-1674-.zip
[Google Pixel XL Guides, News, & Discussion] 1xdroid:
What's the difference between step #3 return to stock and #4 install factory image?
[Google Pixel XL Guides, News, & Discussion] H0wdy:
Thanks. Do I need to remove screen lock for this, or no?
[Google Pixel XL Guides, News, & Discussion] el_chiefo:
From what I read, it can't decrypt it so I just removed finger print / lock screen / pin. So I'm going to say yes. :good:
[Google Pixel XL Guides, News, & Discussion] sherdog16:
My question is with step #4. If I want to wipe, do I change the file name of "flash-all" to "flash-all-w"? Or is the -w added to a command? I'm not fully understanding where the -w comes into play. Sorry and thanks for any help you can offer
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
The Magisk 16.7 (1674) you attached is for a Pixel 2/Pixel XL2
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
#3 flashes the factory image to both slots.
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
The -w is in the flash-all.bat

Just type flash-all, It will also wipe your internal storage. So backup your important info
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
When you get your phone rooted, please share how you did it.
[Google Pixel XL Guides, News, & Discussion] Peteves:
Hey Guys, I was able to get magisk 16.7 working on my Pixel 2 (non xl) on 9.0. Everything seems to work fine too. Except after I reboot the phone a few times it ends up in a bootloop. This has happened twice now. Anyone else having this problem or know how to fix it?

Thanks!
[Google Pixel XL Guides, News, & Discussion] kalosada:
I wonder anyone could help me. After following each steps, the root using magisk 16.7 1671 as mentioned in first post works, but after rooting playstore crashes and exited or do not open, Magisk safetynet check tries to check indefinitely. Titanium works. A few apps behaves similar to google play app.

I have tried several times, always the same issue. Anybody could help? Is still a bug in Magisk or wherever?

Thank you.
[Google Pixel XL Guides, News, & Discussion] craig.s:
There is a drama over on the Magisk beta thread about SafetyNet. You could try clearing Play Store app data & cache, reboot phone, try it again.
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
This is a Pixel Pixel XL forum. There are links to the Pixel 2/Pixel XL 2 forum in the OP.
[Google Pixel XL Guides, News, & Discussion] kalosada:
Tried that but didn't work unfortunately for me.
[Google Pixel XL Guides, News, & Discussion] Dr.Tautology:
I am confused. I'm on a Pixel. What is the difference between "9.0.0 (PPR1.180610.009, Aug 2018)" and "9.0.0 (PPR1.180610.010, Aug 2018, Telus)". Do I need to flash both of these to upgrade from 8.1.0? I'm already rooted and have TWRP, what are the steps just to update to 9.0.0. I'm used to the Nexus 6p and Heisenberg had a section in his guide strictly for updating.

https://xdaforums.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
[Google Pixel XL Guides, News, & Discussion] unhappybirthday:
Telus is a mobile carrier. Since you don't recognize it, it is probably not your carrier so you should use the other image.
[Google Pixel XL Guides, News, & Discussion] ldjr:
Yes build prop edit works in 9.0, just add "net.tethering.noprovisioning=true" to bottom of build.prop in system_root/system.
[Google Pixel XL Guides, News, & Discussion] Dr.Tautology:
Thanks man, I figured that out and flashed the correct one
[Google Pixel XL Guides, News, & Discussion] Bobyouall:
Having an issue after updating to 9.0 where when I try to swipe some words on the keyboard, it turns the display off. Not sure if it's some kind of gesture setting or what.

EDIT: Figured it out. Was a gesture setting with elementalX kernal. Just had to disable it in the kernal manager.