yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] js042507:
If you are on stock recovery (not TWRP), then this method should work for you -->> https://xdaforums.com/pixel-2-xl/how-to/tutorial-flashing-ota-updates-unlocked-t3714744

Note: Make sure you flash the OTA file though and NOT the factory image.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] freddienuxx:
Just want to say thank you magisk team for finding a way to root

#pixel2xl phone I'm grateful for devs and coders in the Android community. Thx again

Sent from my Pixel 2 XL/Magisk
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Cowbell_Guy:
That's not really what he was asking. A lot of us from the old pixel phones are used to a different way of taking OTAs that doesn't involve using a computer, and avoids custom recovery
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] js042507:
Right. I get that. This method does not involve a computer though. However, doesn't appear to work with TWRP.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Cowbell_Guy:
Not sure if I totally understand what you're saying. The post you linked to is referencing and storing files from a computer.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] js042507:
You can download the OTA file from your phone. Where would you need a computer?

EDIT: oh, I think you're looking at that last reply. This person's method involves a computer. Look at the first original post.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dtkent:
Thanks all for help. It turns out I just had to set MagiskManager to the beta channel for v14.5 instead of the stable for 14.0. Didn't have to boot to TWRP. Posting here in case it's of help to others.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ihuntinde:
Question, after doing this, I get an error when my phone boots that says "There's an internal problem with your device. Contact your manufacturer for details." The tethering works so it's not a huge complaint but I'm just curious if everyone else gets this or not?

Also, I'm on 8.1 (just received my 2XL this afternoon and updated it). I've Unlocked the BL, rooted using Magisk. The Tether Enable mod for Magisk does not work for me for some reason, so I had to go this route.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Itachisasuke:
That's a result of the newer Magisk Manager which patches the DTBO partition to turn off avb-verity. There is a tutorial to get rid of it. [MENTION=4470081]topjohnwu[/MENTION] added the DTBO patch for people who need to modify contents of the vendor partition with persistence.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ajrty33:
I think you're the first one to ever report this error... said no one ever.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] zetsumeikuro:
Nope, I have the issue as well and there is a thread about it.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ihuntinde:
yea, I'll own this one... I did search the other tether threads that mentioned the build.prop and adb commands because it seemed to only happen after I did those changes. However, something slightly different happened with my wife's phone and i got the error after the Magisk install. I got a notification saying that dtbo had been patched and I had to reboot (that didn't happen on mine). When I rebooted, i got the message. I had no idea it was actually a Magisk thing. My mistake.

Regardless, i appreciate the help.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] JazzMozz:
Ever since moving to my Pixel 2 XL abd rooting with Magisk, I have problems with Titanium Backup. All root functionality of Magisk works flawlessly. At the first install TiBu started well and I could do some sort of restore from my previous phone, although the batch functionality did not work properly so most of the apps I had to restore manually. Restoring the apk's of numerous apps did not work (kept hanging at 0%), only the app data restore worked.

I uninstalled and reinstalled again but no dice. It got even worse: TiBu now force closes upon opening. I just updated to Android 8.1 this morning hoping to find TiBu working again as it should, but alas! Same problem: force closing upon startup of the app.

Could it have something to do with busybox (although I read that TiBu has busybox functionality incorporated)? Because when rooting my phone the installation of stericsson busybox did not work. I then tried jrummy busybox and there I got a succesful install.

Anyone with the same problem (or even better: a solution)?

Thanks
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
I have zero problems with TiBu on my P2XL. I'm using osmosis' busybox for androidNDK module, not the ones on the play store. Personally, I would uninstall all forms of busybox, clear cache/data on TiBu, reboot, install the busybox module, then see how TiBu behaves. And there's my 2 pennies worth :good:

Oh, and never restore system apps with TiBu, especially from previous devices.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Cowbell_Guy:
Any plans for the next magisk version update anytime soon?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sacthegreat:
Will this disable android pay? Is there an option to hide root?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] js042507:
What are you talking about? The sole purpose of Magisk is to be systemless.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Itachisasuke:
FYI if anyone is experiencing random reboots it looks like Magisk 14.5 might have something to do with it.

Starting on page 452 there are a few posts from there on about it.

Symptoms are a random reboot with a soft boot loop of the SystemUI. The only way to correct it is to hard reboot the device.

I can usually go a few days worth of up time between the bug reappearing.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] firewave:
Same here. Sometimes it goes into multiple soft reboot. Have to hard reboot.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bggold:
Running a custom kernel seems to help or at least increase the time between these soft boots.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Az Biker:
I've run Flash's kernel since unlocking and rooting and haven't had a single reboot.

Are those with soft reboots running substratum or multiple Magisk modules?

I've not had any themes applied and I'm only running 2 magisk modules.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bggold:
It has been a while since I had a soft boot. Was running flash and as of last night ElementalX.

I only run 3 modules and do have Swift black theme.

If it gets to the point of contact soft boots I will disable Swift black and substratum.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Itachisasuke:
I am only running 2 modules.

Tethering Enabler

Busybox

I tried disabling them but the random reboots still happen with the logcat seemingly pointed to Magisk.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Godson777:
Tried doing some research before asking, now watch as someone shows me how blind I am. Does using the "Install to Second Slot (After OTA)" not work then?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Some said it works. It hasn't for me. But I like flashing the full factory image.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Cowbell_Guy:
Why do you like doing that over the update?

Also, how did it work? What was the hang up?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
When I flash the full factory image, I know exactly what I flashed and have copies as backups. Don't have that when flashing an ota update.

Not sure exactly what went wrong. But I was not able to complete the flash.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] elreydenj:
Experiencing the same soft reboots that are only solved by a hard reboot . No themes or modules are installed. Only happens when rooted with magisk. Every couple of days a see one. Not complaining, as it's a small price to pay for root. I'm sure it will get sorted out.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
No themes or modules. However, do you have tasker, adaway, Viper, Arise or some other custom modification. Have you modded your device so its no longer Sel enforcing? All of these may contribute to potential random reboots. I suggest that you first wipe your device and reflash stock Android 8.1, without any mods of any kind, set your device up from scratch and root with magisk and your favorite kernel. See if you get any reboots. Then if you need to mod, do so one at a time over several days. See if any incremental modification makes a difference.

I have 2 Pixel Devices both on the December version of 8.1. The Pixel C tablet rooted with SuperSU and the Pixel 2 XL rooted with Magisk. I have ran Flash, EX and the Snoke kernel on my P2XL device without problems. I am also running Substratum themes without random reboots on either of my devices.

So, I suggest that you have either modded your device in a way that causes random reboots or you have a defective device, which is unlikely but possible. Best of luck!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Itachisasuke:
Based on the Magisk Debug logs and logcats from the thread in my previous post it looks to be something in the newest version of Magisk BETA.

We are just waiting for a new version of Magisk to see if it can be addressed. Best thing we can do is capture logcats and Magisk Debug logs and post them in the official Magisk BETA thread so [MENTION=4470081]topjohnwu[/MENTION] is tracking the issue.

Stock 8.1 doesn't reboot. As soon as you install Magisk random soft reboots crop up every few days of uptime regardless of modules.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] krweby:
I've been running Flash from the beginning as well. The only time I have had any real soft boots is because a theme needed to be updated.

---------- Post added at 01:19 PM ---------- Previous post was at 01:15 PM ----------

I use tasker quit a bit and haven't had any reboots associated with it. Plus I use AdAway and Viper. Viper I did have a reboot from it when installing the latest 2.5.0.5 module if I picked the stock apk and not the Material one.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Well that may be the answer to your soft reboots.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] chadhoard:
Can I root 8.1?? If so, what is the proper way. I tried the instructions in the OP, but no luck getting root.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] equlizer:
Download the latest image then unzip it and edit the flash-all.bat file by taking out the -w near the end of the script and leave 1 space between words. Download TWRP zip and magisk zip and put it in your main directory of your phone. Go into the bootloader and run the flash-all.bat file. Reboot back into bootloader and fastboot flash twrp.img file which will bring you temp into TWRP. If you have a 4 digit pin code, use that to decrypt the phone. Install the twrp.zip file (3.1.1 beta2 or the new 3.2.1) then install magisk 14.56. Reboot and you're done
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] chadhoard:
Do I have to install TWRP or can I just use it to get toot?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
You can do either or. Question is, why wouldn't you want to keep twrp as your recovery??
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] enaybee:
Thanks for the quick and to the point reply. What is this code? Does it only apply if I have a pin setup for my lockscreen? or is it something else?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] equlizer:
only if you have a pin to unlock the phone otherwise it will be already decrypted.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] swooperstar:
I followed this and now have root, but fail safetynet.

I had magisk installed the old way (using magisk manager to patch boot.img) on 8.0 and safetynet passed.

Any idea what is going on?

Thanks.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] v12xke:
Drop down into TWRP and reflash the Magisk zip.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] artpena2323:
I’m a noob to Magisk. Will it mask Snapchat. My outlook work email detects root. Thanks again for always helping
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Az Biker:
Safety Net passes with Magisk installed (magisk hide ON), and several others have indicated their Android Pay and other apps that usually dislike root are good to go, so I would think you'd be good as well.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mayorblurps:
When I first rooted (Nov 8.0) I only unlocked BL using the regular unlock command. If I want to go ahead and have TWRP as my recovery, do I *need* to unlock critical BL? If so, I am hoping this is a simple command that will work on top of my already unlocked BL?? Please tell me I don't need to flash back to stock, then lock the BL, then unlock again using the critical option?!

Beta TWRP and the a/b slots worry me a little being on Fi with the eSim instead of the physical sim.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] siddhesh.raikar:
Anyone here having an issue where Magisk Manager 5.4.3 is patching the dtbo image after booting.

I have the right one installed along with the Flash kernel and then Magisk Manger patches it and asks for a reboot, then I get the "something wrong with your device message at reboot". And I can't find a way in Magisk Manager to stop this from happening automatically.

Obviously everything works just fine either way, just wanted to now if anyone else is also experiencing this.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CyberpodS2:
Two choices man. Either live with the warning on boot up which is no big deal. How often are we rebooting anyway? Or... Use the unofficial magisk (what I'm doing) until the other one is fixed.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Deuces:
https://xdaforums.com/pixel-2-xl/development/unofficial-build-thread-magisk-twrp-t3708555
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
You need to unlock critical in order to flash new bootloaders. Not sure if you need it to flash custom kernel or new TWRP. However, when you unlock critical you will wipe your data clean, so be prepared with a backup to restore afterwards.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] DaveMar:
I too only unlocked bootloader and not critical back when P2xl first came out and much confusion surrounding unlocking. Fyi, I've never unlocked critical and was able to update to 8.1 factory image with removing -w. It did complain about critical not unlocked but continued through rest of script fine. I also fastbooted TWRP Img then installed via zip and magisk. All good, even did a backup, but haven't tried to restore it yet. Still thinking of doing critical unlock, but haven't yet. Maybe this will help someone.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mac796:
I think it'll work but you should look at what bootloader version you're on I believe you're still on an old one
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] DaveMar:
My bootloader version is TMZ12a... Is there a newer one
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] wy1d:
I've been having random reboots a few times a day that go into boot loops once the warning pops up. Requires a hard shut off and back on to fix. I'm going to try unpatching the dtbo using the unofficial and see if it fixes it.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
That is the December version.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] DaveMar:
Evidently bootloader updated without critical unlock
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Az Biker:
I did read where it was still up for debate if critical_unlock was required for bootloader update...

Made sense to me just to unlock and critical_unlock so if it become required in the future, I wouldn't mind erasing my device..

If you're on the latest BL and you didn't critical_unlock, I think that pretty much solves the back and forth on whether or not it's required :p
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Savoury:
Unfortunatly my top speaker stopped working after i flashed magisk. Did anyone else have similar expiriences? Wiped Eversthing, flashed Stock Images again and *pow* its working again. This confuses me.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TheDude:
I don't know if it's required or not but I had issues updating the bootloader with 8.1... didn't want to keep screwing around with it so I just unlocked critical... However I did a twrp backup of my data partition, rebooted and copied it over to my computer... Unlocked critical and did the update. Booted up without my sim in and skipped all the setup crap. Flashed twrp then adb push my sdcard back over and restored my data... Like I never wiped it. Totally a convoluted process with the way crap is now but it worked fine and I didn't have to set everything back up again... :svetius:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] malybru:
When it came to updating to 8.1 , I also tried removing the -w and flash.all.

I had not unlocked critical.

It got to the part where it was installing the new BL ,complained , then carried on.

I ended up with the old BL , and still on 8.0

So, I unlocked critical , and it all went smoothly after that.

No idea why it would work on yours and not mine

:confused:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bd177:
He most likely upgraded with the OTA.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Surge1223:
There's some confusion with unlock_critical I see, honestly I would definitely recommend it, unless you're one of those people that just fastboots using scripts.

https://source.codeaurora.org/quic/...tbootCmds.c?h=LA.UM.6.4.r1-04300-8x98.0#n2407

You own a pixel, run every unlock command there is, seriously then you don't even have to worry about it, unlock, unlock_critical, and oem unlock. Go big or go home lol.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] drewski_1:
Factory Image flash with new BL didn't work without the Critical Unlock for me.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mac796:
That's weird when I tried without critical unlocked when I first got the phone I got an error only on the bl in the update. Maybe they changed it in December so it would update without
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] wawi0069:
hello guys,

I have a pixel 2 xl with stock kernel, android 8.1 and, magisk 14.5v installed. I am having a reboot loop. when the phone reboots and i unlocked it, after 5 seconds it will reboot again. what you guys think is the problem? thank you.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sn0warmy:
:laugh: Here you go [MENTION=4100646]Alxoom33[/MENTION] . Go to town on this guy about user error, if you want.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Hard to say. How did you upgrade to 8.1? Did the problem arise shortly after upgrading to 8.1?

Any new apps installed that possibly could be causing it? Have you tried a factory reset, or flashing the stock factory image? The more info you provide the better we may be able to diagnose your problem.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sn0warmy:
Double post.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mitchdickson:
User error in the double post?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sn0warmy:
I blame beer, at this point.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Hey...nothing wrong with seeing double with the proper liquid incentive! I always like the...twice the fun aspect of it! :good::cool:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mitchdickson:
Weak sauce. Three whiskey drinks in and I'm not double positing.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sn0warmy:
Positing, eh? :highfive:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mitchdickson:
Single positing
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Bwahahahahaha...yea, those whiskey drinks have no effect on "single POSITING" :laugh::laugh:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] lssong99:
Just updated my new Pixel 2 XL to latest Oreo 8.1 and try to root with Magisk. I download/installed the 5.4.1 from OP and followed the instruction to Install.

After Install there is an dialog said "Install Magisk-vnull.zip?" and I just pushed Install then I got another dialog to select "Patch Boot Image file".

However, when I push the "Patch Boot Image file", instead of getting a file manager to select the boot.img (which I already copied to Pixel 2 XL), but a toast flashing " Target Magisk Version doesn't support boot image file patching" and nothing happens.

I also tried check update within the Magisk Manager but it always said "Cannot check update, did you connected to internet?" (and my phone has full internet access, at least Chrome are able to connect to internet).

Did I missing anything?

Thanks!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] micmars:
Go to Google search, type in "apk mirror," download Magisk 5.4.3 from the site, install the latest version you just downloaded, go into settings for Magisk and change the update channel to beta, patch the stock boot image for 8.1, patch it using the recommended method, reboot.

In sum, you need to update
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
In your magisk setting, look for "update channel" and set it to beta, reboot, and then check it again. You should get a prompt to upgrade magisk manager, the latest version is 5.4.3. Also, go to this thread...https://xdaforums.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589

Scroll down and look for the magisk.zip and download the last version 14.5(1456)

You need to flash this in twrp to achieve root :good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jrbxx7:
Now if only that spell check wasn't drunk! ? ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Please advise, step by step what you installed, settings prior to your fist bootlooping. Please include logs, if possible. You may try re downloading the 8.1 factory image, as you might simply flashed a bad set of files.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CPngN:
My 8.1 ran great for a few days, then yesterday starting doing the same old bootloop thing as before. I have to hold power and shut down and restart to get a full boot and get out of the funk. Is the LTE modem issue perhaps not solved? (Some were suggesting it seems to happen when LTE signal gets low). Only thing I did new was install Alfred so I could monitor the cam of my old phone (hacker's baby cam basically). I didn't have that app installed in 8.0, so I don't htink that's the issue. Also, the bootlooping didn't happen until later. And then again this morning shortly after the alarm went off, while sitting idle. Flashed full image from Google (after patching with Magisk in beta mode). Phone is great otherwise, and sat all night unplugged and didn't even drop 1% battery!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dnsmo:
I am running in the same problem. Only thing I had is flash kernel. This happened randomly.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CPngN:
Oh yeah - no Flash kernel or even TWRP this time (never did Flash, and tried TWRP but it failed so I skipped it for 8.1.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dmarden:
New Magisk update is live and allows for the avoidance of that error dialog upon restart (details in the notes).
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] chazall1:
Magisk 14.6 & Magisk Manager 5.5.0 all functioning here

I flashed the stock boot.img and rebooted

Uninstalled Magisk Manager

Rebooted into boot loader

Boot twrp 3.2.1 .img

Installed twrp 3.2.1 and rebooted into recovery

Flashed Elx kernel and Magisk 14.6.

rebooted system.

Installed Busybox through magisk Manager and on issues.