yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Ashgarden:
I encountered the Verizon Bloatware issue as well, and what I found is this. If you have the Verizon sim installed when you setup the phone, it will download and install Verizon's bloat. If you complete the phone setup, and then install the Verizon sim... No bloat!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] metalcated:
Please pull this topic into a new thread. At some point the moderator is going to jump in and clean up these off topic discussions. Thanks
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] djeddieone:
Beta 8.1

Has anyone had luck rooting with magic disk running the beta 8.1? I'm not able to roll back I've tried it and it reboots me back to bootloader.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
I am having issues with this 5.4.2 removing the modules and downloads tab. I don't like it lol
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
Yikes. Not good.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
Have you tried it yet? Technically this is from tjw so not off topic right?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
No. Been busy with Arise.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] djtosh:
Everytime i reboot my phone i lose root, where do i need to flash the boot.img to make it permanent
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
How are you flashing it?

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TheDude:
download twrp img and zip... fastboot the image and while in twrp flash the zip... Should be permanent after that. REboot into twrp (reboot recovery) then flash magisk...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sn0warmy:
I'm about to give this a try myself. Still on the Sept official 8.0. Going to flash the 8.1 developer factory images then boot TWRP Beta 2 and try to sideload the Magisk 14.4.3. I'll let you know if I run into any issues.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TheDude:
Not sure if you can downgrade to stable Nov release if you go to beta. I would check that out first.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sn0warmy:
I mean, I just did it. I flashed the 8.1 beta factory image, ran into the pin issue at setup then flashed the nov factory images and was able to get fully setup there.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TheDude:
Awesome. I was just saying I wasn't certain. Seen posts saying people were having problems doing so. I never flashed the beta so I couldn't tell you... Good to hear it worked out man!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sn0warmy:
No worries. I think I read that for a few people as well. But no issues here.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] AndrewVee:
This thread is so long, it's difficult to find the most up-to-date information. Is there a newer version of Magisk than what is mentioned in the OP that everyone is using now?

Side note for others:

The OTA update sat on my phone for a week or so, and I decided to give it a try, with pretty bad results :P

I used the standard Magisk method of uninstalling Magisk through the app, installing the OTA update, then reinstalling Magisk before rebooting, and got stuck in a boot loop. After powering off for a few, it got to the Android screen with an animated bar at the bottom, but wouldn't move beyond that. I tried flashing just the boot.img from the newer .025, but that didn't work, so I removed the -w from flash-all.sh and ran it to do a clean install, which got my phone back up with the OTA.

Now I'm not sure if I should try to modify the boot.img and manually flash it again, or if I need to update Magisk itself first.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] samteeee:
Can we keep "Encryption & Verity" with just magisk and root ?!

Thank you.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sn0warmy:
Yeah, it's gotten convoluted. The most current unofficial version is 14.4.3, which is in post number #898 of this thread. (link below)

https://xdaforums.com/showpost.php?p=74582124&postcount=898

1) Reboot into bootloader

2) fastboot boot twrp.zip (the most current is Beta 2 and can be found HERE)

3) Once in TWRP, enable sideloading by navigating to Advanced > ADB Sideload then swipe to enable

4) adb sideload path/to/magisk14.4.3

5) reboot (without installing TWRP)

Now you will have the latest Magisk installed and it should automatically install/update the Magisk APK.

*****

For the record, I just performed this same process after doing a full factory image install of the 8.1 Beta and everything's working like a charm.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Sure, it is the same as rooting 8.0, but no custom kernel.. Working great!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] JasonVaritekMVP:
Apologies if this is answered elsewhere, I believe I’ve read every post in this thread but it’s always possible to miss something.

So I’m having the same error some other people have run into, attempting to flash the patched boot file results in the following message:

Target didn’t report max-download-size

Sending ‘boot’ (24556 KB)…

FAILED (remote: Uploaded data exceeds max-download-size)

finished. Total time. 0.000s

The following details / notes apply:

I definitely have successfully unlocked the bootloader as the process wiped my phone and rebooting my phone shows the unlocked bootloader warning screen.

USB debugging is on and the phone is set to file transfer connection.

Adb push and pull both successfully work.

Using the boot.img from the following file to create the patched_boot.img file attempting to be flashed: walleye-opd1.170816.010-factory-63083164 which is the sept build. This is the same build number which matches that indicated in my phone settings.

The only suggestion I have seen is to try another usb cable (which I can’t at the moment since I’m cable limited until more arrive) I am currently using a Samsung usb c to usb a cable obtained from Target, so I've been unable to use the original cable as I don't have the proper adapters on me (I’m in from out of town)

I am working from my surface pro 3.

I have pretty much been following the instructions to the letter and am running out of ideas. If any of you fine folks have suggestions besides trying another cable I’d love to hear them.

Best,

JasonVaritekMVP
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TheDude:
Cable man... Have had it happen to me. You don't want a bunch of Mickey mouse adapters and such. Just a USB to usb-c cable... The 6p came with one... Suprised Google didn't give us one. But now that I'm thinking about it they did provide a usb-c to USB adapter... All you need is a USB male to male cable... Walmart stocks them. Convenient I know... Anyway, if your adb/fastboot is up to date then thats all it really can be... Here is the latest of those if you have doubts. If you have not set enviroment variables then just run a cmd prompt from that directory and use those executables... See if it works.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] JasonVaritekMVP:
Thanks, for the recommendation. I've got new usb c to usb cables showing up tomorrow I'll give those a try. If that doesn't work I'll head out and get the standard usb male to male cable.

Totally agree that it's strange they didn't provide a cable out of the box that could connect to a computer.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TheDude:
lol, but they gave us an adapter that nobody has a cable to connect it with!!! Way to go Google :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jasonstackhouse:
Regarding this part of your post:

Target didn’t report max-download-size

Sending ‘boot’ (24556 KB)…

FAILED (remote: Uploaded data exceeds max-download-size)

finished. Total time. 0.000s

In the unique event that your working on a really old computer or super limited one, this may be your problem. Check your computers available ram, you need more ram on your computer than you are trying to flash/fast boot to your device through ADB. When ram is to small this is often the error you will encounter.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
I had this issue with a Windows 10 computer. Needed to update the drivers and reboot the PC.

The worst issue I've seen with the people I support is when they have USB hubs. Pixels do not like that for fastboot and ADB.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TheDude:
Or a bad cable.... He said he was on a surface pro 3, more than adequate specs. Cable is where I am putting my money. I run a Surface Book, while not the exact same computers I have never had any problems. But I have seen this with older cables/extension and/or adapters.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] shankville7501:
I already had a male to male cable and tried to use the adapter....no luck. Wound up going to Walmart and buying a USB to USB-C and voila!! Worked right outta the package, so I think it depends on the type of cable that you have.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TheDude:
Had my doubts years ago when I first encountered this... Then I used a different cable and like you said, viola! After doing some research in how these cables are made I realized that there can be vast differences in them both from design to quality. I'm interested in this Google adapter-male/male cable issue. It would be funny if the adapter google shipped couldn't even communicate adb commands ;) going to pick a cable up next time I'm in hell (Walmart) just to test it out...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
That adapter they give you is a USB otg cable it has shorted pins in it
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TheDude:
Oh, well. Guess thats great if you walk around with a thumb drive plugged in to your phone :eek: Or want to run Nethunter... But what about connecting to your computer lol... Whatever Google.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
Included to transfer files from other phone. For older people lol
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TheDude:
Got ya. Part of the crapware that you are forced to install on first boot but never use :victory: ( I didn't say that )
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
[MENTION=2955144]bryantjopplin[/MENTION]

Just wanted to let you know that Magisk Hide doesn't work on your 14.4.2.

Just had a program tell me that it doesn't support rooted phones.

Any idea of what's going on there?

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] lucky_strike33:
Yes thats correct.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ProAm500:
Havent even tried or even sure I can get this to work lol..but heres a few bucks 1XN13321LL664182T.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] davidcw6:
Thanks for getting this working!

Is it possible to fully remove root and magisk after?

I'd like to enable tethering but cannot keep root or have any other major root changes due to apps which detect for root. (E.g blackberry).

Appreciate any tips.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
RTFT.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] metalcated:
OK so now I am confused... maybe I missed something.

$ fastboot flash boot patched_boot.img
target didn't report max-download-size
sending 'boot' (25992 KB)...
FAILED (remote: Requested download size is more than max allowed)
finished. total time: 0.000s

Yes I am on the latest platform tools, yes I did unlock and unlock_critical.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] chazall1:
Vantastic job.

I just some $$

Thank You
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] skw5115:
I remember having this issue on my Mi Note 2. I think I had to erase the boot img first with "fastboot erase boot" and then flash the boot img.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] vanydotk:
Is anybody else not seeing patched_boot.img in the MagiskManager folder? I see the file from the phone but when I try to do a data transfer from my computer so I can flash it via fastboot I don't see it

Nevermind, I restarted the phone and now my computer sees it
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
Zip it and put it on drive or, Gmail it to yourself
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] agtsoul:
Step-by-step

Step by step

1. Download and extract factory image. Mine was taimen-opd1.170816.010-factory-c796ddb4.zip

2. Once extracted go into the folder and extract image-taimen-opd1.170816.010.zip.

There you will find the boot.img.

3. Now install MadiskManager-v5.4.1.apk

4. Click install and select patch Boot image file.

5. this is where you will browse to that boot.img we found earlier and select it.

Magisk will do its thing and tell you where it put the patched_boot.img

6. Go to PC and hook the phone to it, enable file transfer. I could not see the file in the MagiskManager folder from PC. So I used es file explorer on phone and made a copy in the download directory of my phone. Back to the PC I copied the patched_boot.img to my platform tools folder with adb and fastboot.

7. Held shift, right clicked, open command prompt here.

8. Typed "adb devices" (probably not needed, i just like too) MY device was there.

9. Typed "adb reboot-bootloader"

10. Typed "fastboot flash boot patched_boot.img

11. hit the power button on phone to reboot when it was finished.

Phone rebooted, opened Magisk Manager and I now have root. Thank you everyone. Hope this helps!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jamiejames:
First time user. Went surprisingly well. Can't thank you enough.

1G6755610W4771055
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dredq:
I get up to step 5 . Install Magisk-v14.4 zip now.... (Press) Install... (Press) Patch Boot Image File... (Select) Bootloader-taimen-tmz11f.img.... Flashing..... Please use BootBridge from [MENTION=2233641]AdrianDC[/MENTION] to flash Magi:Failed!

Do you have any idea what am I doing wrong? Thanks for your help.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] extremeking95:
Bootloader

Does this mean the bootloader will get unlocked? Thought Magisk had a way to root without unlocking the bootloader, and passing safetynet. Also, does it wipe our data? And any suggestions for Mac users?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dredq:
Delete

---------- Post added at 04:57 PM ---------- Previous post was at 04:53 PM ----------

No you need to unlock bootloader and possibly critical first. Yes it wipes data. I believe you need a PC
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] agtsoul:
Did you extract the boot.img from the second zip?

---------- Post added at 11:05 PM ---------- Previous post was at 10:58 PM ----------

No sorry, this will not unlocked bootloader. And yes, unlocking the bootloader will erase data. I already had my bootloader unlocked. First thing I do when I get a phone. This is just the steps I did to get root. And when I unlocked my bootloader I did not have to critical unlock.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] extremeking95:
So this means Android Pay won't work, correct? And will there possibly be a Magsik version where we don't have to unlock the bootloader to get root and pass safety net?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] lucky_strike33:
android pay will work with magisk since it hides the root.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mrbob2u:
I was having the same issue until I realized that I had pulled bootloader-taimen-tmz10n.img out of the zip factory file instead of finding and using the boot.img file. There is a second zip file within the factory zip in which you will find the boot.img.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] arminhama:
When I restart my phone, I lose root. Is this happening with anyone else?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] agtsoul:
I never use Android pay. But Magisk auto hides root from it. I just tried using the app and it appears to be working on my phone.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
Works for me. Tried it multiple times. What app?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
PS Vue.

I disabled it and re-enabled, no luck

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TheDude:
Flash 14.4.3 (unofficial!) and see if it gives you problems. Or just pull the apk out and install over the old magisk app.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
That worked ;)

Thanks!

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TheDude:
The Dude Abides!!! (Ecclesiastes 1:4, "One generation passes away, and another generation comes: but the earth abides forever." Meaning that the Dude, just like Earth, can alter weather and chaos around him while remaining the same.)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
Are you and Bryant going to start another thread on any new commits?

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TheDude:
Done....

Here it is...

Unofficial Build Thread
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] JasonVaritekMVP:
Well I've tried a samsung c to a cable and now one of the c to a cables that came with our anker battery pack. Still no dice. I have some c to a cables arriving from amazon today. Got my fingers crossed that I won't be facing strike three on that one.

I've also confirmed my fastboot / adb is up to date and tried to flash once again after fully updating my surface. Same result.

My old principal engineer once called me a "Gorilla" as I was always able to find every little teeny issue with any software - without trying. It's great when you ARE trying to debug but really sucks when you just want your stuff to work ;)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CyberpodS2:
I just took the update for Magisk to 14.5 downloaded from apk mirror and let it to the direct install and all is good.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
Anything notably new?

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] cmo220:
You probably already tried this, but just in case. Have you tried other USB ports on your computer, preferably a 2.0 port? My motherboard doesn't have any USB 2.0. The USB 3.1 ports don't work for me with Fastboot but two of my USB 3.0 ports do work. Also, make sure you're using the ports on the back of the computer, not any of the ports on the front.

Edit: Never mind. I just saw you're using a surface.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ilal2ielli:
Good to hear.

I did it the way in the OP, but if that's not necessary when just updating Magisk, I'll do it that way from now on.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] GridironTrenches:
download 14.5 from where? The in app update crashes after installation
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CyberpodS2:
https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445/post74601830

http://www.apkmirror.com/apk/topjoh...se/magisk-manager-5-4-2-android-apk-download/
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] GridironTrenches:
thanks, swiftblack must have caused the crash
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] crafty35a:
I updated to Magisk Manager 5.4.2. Currently Magisk 14.4 is installed. How exactly do I update to 14.5? The Manager is only offering to install v14.0. I see the download for the 14.5 zip, but am not sure how to get the Manager to install it.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
Beta channel
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] markp99:
5.4.2 (63) just arrived on my Pixel 2 XL. Fixes the FC on SafetyNet Check. Passed.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] JasonVaritekMVP:
I just wanted to say thank you for your suggestions. Upon receiving my third cable (and second anker cable!) I finally have a cable which successfully flashed the patched_boot.img. 5.4.2 showed up as well. A slight variation to the question from bryantjopplin: is it a problem to be running 5.4.2 with v14.4 or is it imperative to upgrade to v14.5? Magisk shows v14.4 as installed but only offers v14.0 not v14.5.

Thank you all, and to any similarly stuck folks as myself, keep trying new cables!

Best,

JasonVaritekMVP
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
14.5 came out a little earlier today or yesterday. Download a copy in the unofficial thread then flash using TWRP.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joetheshmo:
Switch to beta channel and 14.5 will show up as latest build [emoji106]
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
Are you supposed to use the installer in Magisk to install these new releases of Magisk? Or, do you still need to go to recovery to flash them?

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Jexx11:
You can install the updates right in Magisk, I just updated to 14.5 with no issues, just need to reboot after.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
Cool. I'll try it out when 15 comes out. Already flashed 14.5 in recovery.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TSGM:
Quick question: is it possible to perform the Magisk process without wiping data? From what I understand flashing the factory image will erase your data.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sharkie405:
To flash the factory image without wiping data, remove the "-w" (no quotes) from the flash-all.bat file using a text editor. However, assuming that you've already unlocked the bootloader, then flashing magisk shouldn't wipe your data. If you have not already unlocked your bootloader, then you will have to do that. In which case, yes you will have your data wiped. There's no way around it.

You may be confusing the instructions that say flash the patched_boot.img with flashing the entire factory image. The two are not the same thing.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] galaxys:
Worked for me! 14.5 up and rocking!! :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] viceversa:
Was previously running magisk 14.4 with manager 5.4.1 then I flashed magisk 14.5 via twrp which went fine but my manager is still on 5.4.1.

While trying to install the updated 5.4.2 manager, it does not install with android installer simply telling me "app not installed".

Any ideas?

Update: Uninstalled just the manager apk and manually installed the updated 5.4.2 apk. All is well!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] drewski_1:
have you enabled Beta channel in Magisk Manager Settings?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] js042507:
You shouldn't ever need to flash the full factory image, unless you want a complete stock/redo. Just sideload the OTA, not full factory image, if you want to update to a newer release.

Regarding Magisk, all you need to do is boot into TWRP and flash the zip file. Done. FYI, Magisk is solely just a modification to your boot image. It will never wipe anything.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Jexx11:
It was suggested this is the proper thread for this, so moving the question over here, anyway...

Has anyone tried taking the November OTA and updating via Magisk with 14.5 as per instructions here? https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md#ota-installation-tips

This method allows you to keep Magisk in tact and stock recovery while staying up to date.

I know this OTA method was not working with 14.4 and the original Magisk that was released for Pixel 2 XL, but maybe since Pixel 2 XL is officially supported it works now.

Sadly I'm out of town for the next several days for the holidays, or I'd test it myself, and I can't risk being without a phone while visiting family!