yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
The Chevyman is back!! Good to see you again bruh! Get your rom cooker going again! Although this beast is a little more tricky to tame evidently. But I'm sure you'll get it figured out ??
[Google Pixel 2 XL Guides, News, & Discussion] Wartickler:
FWIW

I'm not trying to deter you in any way but I've been running DNS66 for ad blocking for a while now and I'm quite impressed. Doesn't require root and it's super light on resources. It runs a vpn (i know, I know, that's total ****e and untrustworthy, except open source and it's really just routing back into your device) which blocks ads by DNS versus host files. It meddles with attachments in apps (like gmail and some others) so you have to pause it when you're wanting to do that but it's a minor inconvenience if you either don't want to (or can't!) root.

Anyways, you're getting Google versions now but it's really an interesting project that is really good at its job. :good:
[Google Pixel 2 XL Guides, News, & Discussion] TonikJDK:
It's really not untrustworthy because it is running a local VPN. It creates one on your phone and you VPN back to yourself. So nothing is going to a server like most vpns.
[Google Pixel 2 XL Guides, News, & Discussion] myk.robinson:
I got my new phones in today. Reading the root instructions a few times before taking the plunge. I am definitely pleased with the phone as is, but the internet is painful to look at without a proper ad blocker. Wish me luck.

On a side note, Big Red corporate store gave me no crap whatsoever to return the others :)
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
Here's an all-in-one post with links and detailed instructions if you'd like.

Enjoy!
[Google Pixel 2 XL Guides, News, & Discussion] cstrife999:
Hey for all those who has the problem flashing twrp I may have a solution... If you are running a Ryzen based rig it is the drivers they use for both USB 2.0 and 3.0 (also including 3.1 gens 1 and 2) so use an older AMD or Intel based USB port.
[Google Pixel 2 XL Guides, News, & Discussion] myk.robinson:
Thanks. I am probably gonna get flamed for asking this, but you only live once, and if you don't ask (or search) you don't know and end up bricking a rather expensive toy on day one...

Your guide says to have Magisk on the SD card. I have none, so is the user portion of this phone considered SD, and is not wiped when performing other steps?

All I have done so far is download platform tools and the factory image, plus make sure the platform tools respond to version queries.

Being a little cautious, i suppose.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
By sd card, he means internal storage on the phone. See, you didn't die! ??
[Google Pixel 2 XL Guides, News, & Discussion] myk.robinson:
the day is young and the opportunity is plenty ;)

thanks
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
Mod Edit: removed ridiculous, sarcastic, fear-inducing comment
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
what the holy catfish god of zeus are you talking about!!!!!!! Ok, you can kill him now!
[Google Pixel 2 XL Guides, News, & Discussion] myk.robinson:
great, now i'm dead.... who's gonna flash this phone NOW???
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
ARE YOU KIDDING ME?!?!?!?

What in the monkey licking blazes are you talking about?

There. Feel better. It almost sounded as if you were hoping to get flamed. Didn't want you to go away disappointed and all :p

I also created a "TO BE FLASHED" folder on my internal sdcard, and place all my regular files to be flashed there for easy access.

No doubt there are 1,000 ways to get the job done, but do whatever works best and most natural for you.

EDIT: looks like a glitch in the matrix got me... Someone get a Mod quick, duplicate posts up in this place!
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
I'll let the Biker Man take you home! ????
[Google Pixel 2 XL Guides, News, & Discussion] myk.robinson:
Thanks to [MENTION=3730810]Badger50[/MENTION] and [MENTION=4670411]Az Biker[/MENTION]

Rooted, booted, and happily running stock with AdAway.

This has got to be the easiest phone I have ever rooted. I think the simplicity is what made me think I was missing something....
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Oh please dude! That was good stuff right thar! ????

---------- Post added at 11:59 PM ---------- Previous post was at 11:57 PM ----------

That'll teach ya to think too much son! I gave it years ago, been happy ever since! Glad your up and running though ????
[Google Pixel 2 XL Guides, News, & Discussion] Wartickler:
Oh noes!

Truly! I apologise if I left that impression. I was making the usual cryings associated with VPN-style ad blockers. Shoulda added the universal /s :silly:
[Google Pixel 2 XL Guides, News, & Discussion] nathanchance:
Turns out I didn't read Google's documentation well enough. For devices with an unlocked bootloader, the roll back index is not updated. I'll remove that note when I get a chance.

https://android.googlesource.com/platform/external/avb/#rollback-protection
[Google Pixel 2 XL Guides, News, & Discussion] chevycam94:
Perfect. I had to read that a couple times before I understood what it was saying. I know it makes sense to have an unlocked bootloader be free to flash anything (isn't that the idea anyway?), but I wanted to be sure before I got stuck in something I couldn't get out of.

I literally went back to my Nexus 6P for today, because I'm itching to get my Pixel 2 XL.......TOMORROW! Ughhhhhhh, this is killing me! I went to the 6P because I wanted to relive the front facing speakers, the larger screen size, and the 128GB of storage that I will likely never have on a phone again (too expensive.....)

I'm also passing up on the Pixel 3 series. Rumors of a notch, and only mild hardware improvements are not enough to sway me to get them later this year. My 2XL will be just fine for a few years.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Agreed! "The Notch" must DIE!!!!??

BTW....for the life of me, I can't remember what rom of yours I ran on my 6p. Enlighten me my friend ?
[Google Pixel 2 XL Guides, News, & Discussion] galaxys:
Cortex! Very clean and smooth...
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Bingo! Thanks man. That was/is a great rom for sure! ??
[Google Pixel 2 XL Guides, News, & Discussion] chevycam94:
Yep, it'll be making a comback with the 2XL. :D Keep an eye out. Might be about a week before I get something solid uploaded.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Old news!
[Google Pixel 2 XL Guides, News, & Discussion] drewski_1:
I think you forgot the screenshot?
[Google Pixel 2 XL Guides, News, & Discussion] galaxys:
Glad you woke up! :o:D Beta2!
[Google Pixel 2 XL Guides, News, & Discussion] chazall1:
I have never had any issues with using Fastboot or adb om Ubuntu, Mint any distro for the past few years. I just install adb and android-tools-fastboot. You will need java installed for it to function. I currently run jdk-8u152-linux-x64.
[Google Pixel 2 XL Guides, News, & Discussion] fracman:
Another question if I may. I got this all set up and can adb like u explained. When I ./fastboot I get "no permissions (user in plugdev group); are your udev rules wrong?) Any idea
[Google Pixel 2 XL Guides, News, & Discussion] knox0x1:
So will this work on Verizon?
[Google Pixel 2 XL Guides, News, & Discussion] clothednblack:
Verizon network, yes

Verizon bought phone, no.

If you can't toggle "unlock bootloader" under developer settings, then you can't proceed with this guide.
[Google Pixel 2 XL Guides, News, & Discussion] knox0x1:
Dang.. alright.. thanks.. hopefully someone can figure it out for the unlucky owners.. lol!!
[Google Pixel 2 XL Guides, News, & Discussion] CyberpodS2:
Don't get your hopes up. Verizon phones are a hard case. Even the few that had some success get patched quickly.
[Google Pixel 2 XL Guides, News, & Discussion] fracman:
Hmm. Its so weird. I can adb all day long. And fastboot detects my phone no problem. I can fastboot reboot too. But as soon as I try to flash factory images I get fastboot too old. I don't have jdk installed. And it worked once without it. Can u explain to me how to flash factory on Ubuntu please? I gotta be doing it wrong.
[Google Pixel 2 XL Guides, News, & Discussion] probono10:
Rooted with Magisk & Adaway Installed, but...

Installed Magisk, all seemed to go well after some unlocking issues, however, after rebooting the bootloader, ads are still appearing on YouTube.

Also, is it customary (or even possible) to relock the bootloader these days after this process is complete?

Attached screenshots from Pixel 2 XL (hit "upload" this time).
[Google Pixel 2 XL Guides, News, & Discussion] CyberpodS2:
Don't know about ads issue, but rule of thumb is this:

Never ever lock your bootloader without being 100% restored to 100% stock.
[Google Pixel 2 XL Guides, News, & Discussion] probono10:
Thanks for the feedback. The grim warnings about having an unlocked bootloader prompted the question. Just wondered what everyone else, with infinitely more experience, are doing with their devices regarding this.

For me, returning to a phone riddled with ads after years without them, is like, well, having an iPhone.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Many of us just ignore the warning. It's the nature of the beast these days when you unlock the bootloader. Which, is definitely worth it to get rid of those adds! :good:
[Google Pixel 2 XL Guides, News, & Discussion] probono10:
Any recommendations then? Start over from the unlocked bootloader and re-install Magisk, etc.?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
I would recommend that you read the instructions in the OP thoroughly! Nathan is excellent at this stuff. Once your rooted, you can install AdAway and get rid of many of those adds :good:
[Google Pixel 2 XL Guides, News, & Discussion] destiple:
Regarding flashing Factory Images (I assume this means the monthly update), will we need to re-root after doing this?
[Google Pixel 2 XL Guides, News, & Discussion] nathanchance:
I created a public Telegram group for Pixel 2 and Pixel 2 XL users to hangout in, feel free to drop by if you want! https://t.me/Pixel2XLHangout
[Google Pixel 2 XL Guides, News, & Discussion] probono10:
Never doubted Nathan's excellence, however, my own in this area is another story...

Followed his instructions, I thought, to the letter, but got a "Not Enough Space" message attached after the edited "Flash-All" command was executed.
[Google Pixel 2 XL Guides, News, & Discussion] wtherrell:
Good to hear. I'll be waiting.
[Google Pixel 2 XL Guides, News, & Discussion] tarroyo:
CAN'T WAIT! It's hard to find a stock based rom.
[Google Pixel 2 XL Guides, News, & Discussion] awesomeo3000:
I've unlocked the bootloader, and flashed a factory image successfully. Now when I go into Magisk 5.6.4, and do the steps as described in the instructions, it shows the "Flashing" screen where it says extracting files, but it quickly just says "Magisk Manager has stopped" and no matter how many times I try it, it always ends up the same way. What am I doing wrong?!?#@? Thanks for the help!

The steps where I get hung up on are:

Click Install at the first prompt then choose Patch Boot Image File. A file manager will pop up.

Select the boot image you want to patch and let Magisk Manager patch it.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
When the file manager pops up, are you able to navigate to where you have your stock boot.img located on your internal storage so that magisk can patch it?? It might be easier for you to just flash the magisk zip with twrp.
[Google Pixel 2 XL Guides, News, & Discussion] matique:
Hello. Currently using magisk w/ perm Twrp. Have an unlocked and critical unlocked bootloader. Recently march update is out, and I'd like to update. This would be my first update after rooting though, so I'd like to see if my steps are correct.

1. Open Magisk app, restore stock boot images.

2. Update to latest SW.

3. Using ADB I push temp twrp then flash permanent twrp.

4. Flash Magisk.

5. Grant permission to all rooted apps again.

My questions are:

1. Are all my steps correct? I'm planning to continue using stock rom + root for adguard, substratum and greenify.

2. Is there a method to update to latest software without having to plug in to a computer to push twrp to flash magisk to gain root?

Thanks!
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Leave magisk alone and just do this. It's my method every month without issue. And, no, you can't update your SW without a pc :good:
[Google Pixel 2 XL Guides, News, & Discussion] matique:
Hey, I changed upon that post when I did a search for updates on this thread. Reason why I didn't go with it was because I wanted to go through as little steps as possible.

I guess flashing a full official image without -w would be the best way forward. Thank you.

Didn't expect the whole root/update process on p2xl to be more complicated than my old nexus 6P. Other than this phone is pretty good.
[Google Pixel 2 XL Guides, News, & Discussion] noranyan:
Hello there.

I've been following your clear instruction to update security patch and it always works. :):good:

But what do you mean by leaving Magisk alone?

Aren't we supposed to uninstall all Magisk modules and restore boot or maybe uninstall Magisk by flashing the installer zip before we flashing the factory image?

Just curious because I remember reading this somewhere.

Thanks a bunch.
[Google Pixel 2 XL Guides, News, & Discussion] demid30:
Does the work on Verizon Pixel 2 XL?
[Google Pixel 2 XL Guides, News, & Discussion] p70shooter:
Not if can't unlock your bootloader no
[Google Pixel 2 XL Guides, News, & Discussion] demid30:
Yea I didn't think so but I was hoping something changed! Damn Verizon! I really hope one of these geniuses can figure it out!
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
I mean I don't touch a thing with magisk. I don't uninstall anything. I just do my update thing, then after it's completed, I flash magisk again for root and everything is as it was when I started. Even my modules are fine! ??
[Google Pixel 2 XL Guides, News, & Discussion] dbroer91884:
So looking for help. Just got this phone tonight from the Google Store. Downloaded the SDK and platform tools from this post. Set it up, turned on adb debugging, typed in adb devices and all I get is an empty list. Things I've tried:

1. Switch to a different USB port. --Didn't work

2. Switched it to transfer file --Didn't work

3. Played around with USB configuration --Didn't work.

Any ideas?

PS. I should also say that the computer recognizes the devices.
[Google Pixel 2 XL Guides, News, & Discussion] wtherrell:
Did you put the phone into fastboot mode first?
[Google Pixel 2 XL Guides, News, & Discussion] dbroer91884:
Thanks for the help.

I didn't so I just tried that. Booted into fastboot mode and tried "fastboot devices" not getting anything.

---------- Post added at 09:48 PM ---------- Previous post was at 09:35 PM ----------

Got it. I was missing the Android USB Device drivers. Forgot this is a new computer for me.
[Google Pixel 2 XL Guides, News, & Discussion] wtherrell:
Good to hear you got it solved . That was the next thing on the list to check.
[Google Pixel 2 XL Guides, News, & Discussion] akellar:
I can't seem to flash the twrp zip correctly. I have no issues using twrp from boot state but as soon as I flash the zip my phone will only reboot back to twrp. What am I missing?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Flash magisk after twrp.
[Google Pixel 2 XL Guides, News, & Discussion] akellar:
Thanks. Not sure why I didn't try that. For my own sanity, now I need to flash the twrp zip first before I flash any updates to the kernel correct? I love this phone but man is it complicated :) And I used to build roms lol.
[Google Pixel 2 XL Guides, News, & Discussion] beezar:
If I leave the -w when I flash a factory image, is that the same as factory reset? Does it wipe the phone completely?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Once you have the twrp.zip installed, you only need to do it once. When you change kernels, then flash magisk immediately after the kernel :good:

No, it won't wipe your phone. It'll just update it to whatever build your flashing. You just can't go backwards with this method though :good:
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
When flashing the factory image, if you do not remove the -w, your device WILL be WIPED.

A factory reset is performed within TWRP and does NOT wipe the device.
[Google Pixel 2 XL Guides, News, & Discussion] State.of.mind:
Is it just me? When I download the latest factory image for April I dont see the flash all.bat file?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
That's weird! No problems on my end. Download and try again bruh. You didn't by chance DL the OTA by accident did you? ?
[Google Pixel 2 XL Guides, News, & Discussion] State.of.mind:
Yes I downloaded the wrong thing smh
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
That's funny! What State.of.mind are you in bruh??????
[Google Pixel 2 XL Guides, News, & Discussion] State.of.mind:
Lol
[Google Pixel 2 XL Guides, News, & Discussion] st@@tz:
i installed april factory image after deleting the -w option. now i got a red warning about corrupt phone that i have to push away before the old warning about open bootloader.

after pushing the message its looping on Google.

tried to reflash, same result.

tried march factory, works.

april again, bootloop and new red message.

also hasve downloaded factory twice, no luck :(

did i miss something?
[Google Pixel 2 XL Guides, News, & Discussion] ecsnead69:
When flashing the factory image, do you retain TWRP and root? Also, do I need to remove anything to flash the factory image like TWRP or root?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Twrp and root will get overwritten. Once your done installing the factory image, go back to fastboot, and flash the twrp.img, then once in twrp, flash the twrp.zip + kernel.zip(if used) + magisk.zip.

There is no need to remove anything if your removing the -w from the flash-all.bat file. If you don't, then it'll wipe your phone, and you'll have to install all your data again, as well as twrp and magisk :good:
[Google Pixel 2 XL Guides, News, & Discussion] niraj7490:
You're not alone. Same exact thing is happening to me. March image boots and runs just fine, but April image gives it a corrupt device warning and loops on Google. Not sure what I'm doing wrong either
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Try fastbooting it to both slots for starters.
[Google Pixel 2 XL Guides, News, & Discussion] ecsnead69:
How do you select the slot during fastboot?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
....fastboot --set-active=a or b

:laugh:
[Google Pixel 2 XL Guides, News, & Discussion] ecsnead69:
So we would set active slot a, flash image then set active slot b, flash image?
[Google Pixel 2 XL Guides, News, & Discussion] a735263:
Verizon variant from Google Store

This might be a stupid question (or stupid place to ask it). If so I apologize and please tell me so. So I know there isn't currently a root available for the Verizon variant of the Pixel 2 XL. My question is, does this apply only to the version purchased directly from Verizon, or does it also include the Verizon version purchased from the Google store? I chatted with a Google store rep earlier today that said that all Pixel 2 XL phones sold by the Google store are unlocked, the only difference is that the Verizon version comes pre-loaded with a Verizon SIM, but is unlocked and can be rooted and/or used with any other carrier. I have seen a few people who indicated they got a Google refurb XL from Verizon that was unlocked, but couldn't find any indication that buying the Verizon version from Google produced the same results. Anyone know? Thanks!
[Google Pixel 2 XL Guides, News, & Discussion] pantmunu:
Need a bit of help. Can anyone here provide me with stock p kernel, I'm.away from my laptop so it's kinda hard to find it.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Correct. Let it boot into the OS after you flash each slot :good:

---------- Post added at 07:15 PM ---------- Previous post was at 07:10 PM ----------

After reading many instances from many users, if you order a Google/Verizon phone with the sim card already installed from Google, it is only carrier unlocked, but the bootloader can not be unlocked. If you want to unlock and root, just get the Google version, then just plug your sim card in and live happily ever after :cool:
[Google Pixel 2 XL Guides, News, & Discussion] kongpingzi822:
PLZ HELP!!!!!!! error with platform-tools

:crying:

Hi,

Since I'm not able to update OTA via my Pixel 2, I tried to do it manually via OTA sideload. Then, I've downloaded platform-tools from the link you showed and OTA zip from d【developers.google.com/android/ota】

However, when I run "adb sideload" it failed and showed this:

C:\Users\DDDDY\Desktop\platform-tools>adb sideload update.zip

adb server version (31) doesn't match this client (39); killing...

could not read ok from ADB Server

* failed to start daemon

adb: sideload connection failed: cannot connect to daemon

adb: trying pre-KitKat sideload method...

adb server version (31) doesn't match this client (39); killing...

could not read ok from ADB Server

* failed to start daemon

adb: pre-KitKat sideload connection failed: cannot connect to daemon

Do you have any clue of this problem? I'm totally exhausted。。。。。。
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Are you in stock recovery when attempting to adb side load?
[Google Pixel 2 XL Guides, News, & Discussion] Kanuk:
I can't get adb to recognize my device anymore(stopped today). It still recognizes my daughters though. Both pixel 2 xl's . Any suggestions?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Different cable and/or USB port?
[Google Pixel 2 XL Guides, News, & Discussion] st@@tz:
i managed it by installing march factory, then installing TWRP and then flash OTA of april.
[Google Pixel 2 XL Guides, News, & Discussion] thereal_bigjake:
I spent 2 hours trying everything I could think of to boot TWRP using Mint 18.3 and got nothing but errors ? First try on Windows 10 and it booted, smh

Just wanted to mention this in case someone else has the same issue ?
[Google Pixel 2 XL Guides, News, & Discussion] p70shooter:
Ubuntu ftw ?
[Google Pixel 2 XL Guides, News, & Discussion] Pkt_Lnt:
Linux Mint is Ubuntu based. Almost all packages are from ubuntu.

I run mint 18.3 Sylvia Mate and have no adb / fastboot issues at all. On thing to note, I do download and install the SDK Platform Tools for Linux linked in the OP, and remove any adb / fastboot package from the Mint distribution because they are much older versions.
[Google Pixel 2 XL Guides, News, & Discussion] thereal_bigjake:
Yeah I've never had an issue with the 10 or so Androids I own. I tried the adb fastboot package from the op too with no luck. Really strange but I used the adb fastboot package in the op on Windows 10 and it worked first try ?
[Google Pixel 2 XL Guides, News, & Discussion] Pkt_Lnt:
I doubt this has anything to do with your issue, but this post on udev rules solved some problems I had with using platform tools in bootloader and recovery. Might be worth a try.

https://snowdream.github.io/51-android/
[Google Pixel 2 XL Guides, News, & Discussion] EXV:
So I received a refurbished phone today, unlocked the bootloader using "flashing unlock". Tried to unlock_critical but it says it's already unlocked. Tried to flash the April update but it fails at the end (forgot the notification, I think it said something about the bootloader outdated or something?). So I OTAd to the March update from the Feb image on the phone. Will try to update again later but I'm following all the steps and it refused to update to April. Aside from that I can't unlock critical.

I used the same cable and port I used with my previous Pixel 2 XL. Closed and brought up new "cmd" screens while doing adb commands. Any advice?