yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL Guides, News, & Discussion] holla420:
me too. i'm getting this error anyone knows whats up why its not flashing the zip?
[Google Pixel 2 XL Guides, News, & Discussion] InsanityOnABun:
OK, so I understand that if you don't unlock_critical, you can't flash a new bootloader (TWRP). I also understand the reasoning behind "may as well unlock_critical too". Aside from all that, is there any other downsides to not unlocking critical? Namely:

Is the setup process the same? Is Magisk Manager able to patch boot images and are you still able to flash the boot image?

Can you still use a custom kernel boot image and patch that via Magisk Manager?

And most importantly to me, are you able to take OTA updates and "Install to second slot (after OTA)" in Magisk Manager?

I ask because I have zero interest in a custom bootloader, and doubt I will in the future. First and foremost for me is if there is a way to do it without wiping my device AND significantly disrupting OTA updates, that's how I want to do it. From my reading and understanding, so long as everything plays nice without unlock_critical except for the ability to flash a custom bootloader, that's fine with me.
[Google Pixel 2 XL Guides, News, & Discussion] CyberpodS2:
Personally, I looked at it from the other direction. If something comes up in the future due to Google security changes or even some kernel change that is the next sliced bread, I don't wanna have to wipe the entire phone just for a once-off command.
[Google Pixel 2 XL Guides, News, & Discussion] drewski_1:
It's not just a custom bootloader.

I needed it to manually flash the 8.1 DP Image which has an updated bootloader.
[Google Pixel 2 XL Guides, News, & Discussion] TheMathemagician:
You could try 'ls -la' (navigate to the directory with fastboot first, it will make everything easier, instead of putting the full path each time) to check permissions and ownership. There should be a couple of columns with something like root:fracman or whatever your username is. Then try playing with the ownership with 'chown'. I'd try 'sudo chown fastboot root:root' (or whatever the order is supposed to be, file to change ownership of first, or the ownership first, I forget.) Then run fastboot with sudo. Then maybe

sudo chown root:plugdev fastboot

since it says the user is in plugdev group. I've never encountered anything like that and am away from my computer for the next week. Feel free to ask anything else though!

That emoji should be a 'root : plugdev' with no spaces, but I can't figure out how to get it to ignore emojis in the 5 seconds I tried so....
[Google Pixel 2 XL Guides, News, & Discussion] Teffy:
Hey guys, great work it was easy and worked well. Few questions:

I purchased my device from Google Play,

- First factory image I downloaded (8.0.0 (OPD1.170816.025, Nov 2017)) was what I thought was the latest update for the google play device (non-carrier). I completed the process using this image but when I looked at the system apps I found numerous mentions of verizon, so I assume that this is a verizon image that isn't labeled as so? Or do they just include verizon stuff in their stock?

- Second image I used was 8.0.0 (OPD1.170816.010, Sep 2017), which I believe is the correct image. But I am running into the update issue. If I update prior to doing the process, it gets stuck in boot loop and i have to wipe. If I don't update, do the process, once its finished I obviously cannot install the new update.

Am I wrong about my original assumption that 816.025 is a verizon image? Was this the correct image?

If not, is there any way that I can use this process but then update after the fact? Thanks for the clear guide.
[Google Pixel 2 XL Guides, News, & Discussion] pa.pn2:
I did the normal flash unlock and afterwards the unlock critcal but device said it's already unlocked.

Do I first have to boot and unlock critical afterwards again?

Where can i check if the critical unlock is present? somewhere in bootloader?
[Google Pixel 2 XL Guides, News, & Discussion] markp99:
First time using Magisk for root. Panda XL, rooted w/no issues. Easy.

"StafetyNet Check" crashes Magisk every time w/"Magisk Manager has Stopped". Is that expected? Any solutions?

v5.4.1 & v14.4, Passes Play Store SafetyNet Test
[Google Pixel 2 XL Guides, News, & Discussion] pa.pn2:
same for me....
[Google Pixel 2 XL Guides, News, & Discussion] drewski_1:
+1 on the FC in Manager with the SafetyNet Check

i used a separate SafetyNet test app from the Play Store to check things were OK

---------- Post added at 07:19 AM ---------- Previous post was at 07:16 AM ----------

*.023 is Verizon image

*.025 is non-Verizon / generic image.

are you using a Verizon SIM? i've seen reports that even on *.025, the phone will auto-install some Verizon bloat upon first connect to Verizon network.
[Google Pixel 2 XL Guides, News, & Discussion] bretrick30:
Thank you so much for this [MENTION=6842057]nathanchance[/MENTION]! I've been rooting phones and installing Custom ROMs for a while but last year's Pixel gave me so much trouble doing anything with it so I just about gave up on rooting. But seeing your post I decided to give it another shot, and oh how I missed the thrill of when it takes even the slightest bit longer to boot after flashing something wondering if I bricked the thing...

Only issue I had is even though I thought I had the latest fastboot, I apparently did not...

Thanks again!!
[Google Pixel 2 XL Guides, News, & Discussion] markp99:
Using AT&T SIM, using the "025" build. Grabbed this as my factory image to push boot.img for the Magisk patch. No Verizon bloatware anywhere... :)

Previously, On Verizon, I did get a few Verizon apps upon first connection; easily removed.
[Google Pixel 2 XL Guides, News, & Discussion] outbackpaul:
I installed the .25 image and have Verizon. I had two apps installed that I didn't have before. One was Message+ and I can't remember the other one. I uninstalled both.
[Google Pixel 2 XL Guides, News, & Discussion] Teffy:
No, I haven't ever installed a sim just hop onto home wifi. I'll try again with the 0.25. Is it possible to do updates without having to do the entire process in the future? Right now the phones empty so its no stress just doing it over.
[Google Pixel 2 XL Guides, News, & Discussion] galaxys:
Known app issue, maybe fixed in the next magisk version... Use playstore safetynet app for now.
[Google Pixel 2 XL Guides, News, & Discussion] markp99:
...and then it was fixed. v5.4.2 (63) just arrived. Fixes this issue.

Nice!
[Google Pixel 2 XL Guides, News, & Discussion] clothednblack:
Does relocking critical wipe data? I want to keep the bootloader unlocked but just lock critical back down, fastbboot says it will wipe the data, I thought that was only if we locked the regular bootloader, not critical.
[Google Pixel 2 XL Guides, News, & Discussion] xflowy:
[MENTION=6842057]nathanchance[/MENTION] is it safe to decrypt the device and if so, care to share how to do it?

thanks :)
[Google Pixel 2 XL Guides, News, & Discussion] clothednblack:
After you flash the zip (16.0) it installs the apk for you. Glad to be of help
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Unzip the magisk zip and look for the apk, then just install it. It should have installed the app when you flashed it in twrp. What version of magisk do you have?
[Google Pixel 2 XL Guides, News, & Discussion] wvcadle:
Last question, and another 'Thanks' for your efforts (3rd one I'll have given you today!).

I didn't install a custom recovery such as TWRP. I wish it was reliable as it used to be. Based on that, how am I supposed to flash the zip without one? It's been a cpl years since I've been regular on here. Please forgive my ignorance.
[Google Pixel 2 XL Guides, News, & Discussion] clothednblack:
Oh man, backup has arrived ?
[Google Pixel 2 XL Guides, News, & Discussion] wvcadle:
Howdy Badger.. you share the nickname of one of my best all-time friends. I am trying to do this without TWRP... unless you tell me it's more stable than I've read since being back.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
All yours bruh. Sorry man ?
[Google Pixel 2 XL Guides, News, & Discussion] clothednblack:
You can just fastboot twrp and once your phone boots into it flash away. I keep twrp on the phone, as it's been extremely reliable lately especially with a custom kernel. No worries at all, this phone is a different breed regardless if you were just flashing a different phone a week ago lol

---------- Post added at 10:09 PM ---------- Previous post was at 10:08 PM ----------

Lol, you got it all wrong Bro, I don't mind a 2nd opinion at all. Helps keep me in check, incase I miss something. Jump on in!
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Nah...you got this one handled bruh ???

---------- Post added at 10:13 PM ---------- Previous post was at 10:11 PM ----------

My brother from another mother has got you covered my friend! ??
[Google Pixel 2 XL Guides, News, & Discussion] wvcadle:
Okay, I've re-rooted, and I'm getting the same issue. After clearing the cache and data on the Play Store, I can now see the app, but it says it's not compatible 'with this version'. Any more ideas?

[MENTION=3730810]Badger50[/MENTION], [MENTION=4020863]clothednblack[/MENTION], either of you have an idea on this one? Cannot get MoviePass to install.
[Google Pixel 2 XL Guides, News, & Discussion] clothednblack:
Just installed it again, didn't sign in as I never use it. Where does it say not compatible?
[Google Pixel 2 XL Guides, News, & Discussion] wvcadle:
In the Play store. Maybe it has something to do with my root? I just set up LastPass, and it could tell I was rooted and gave me a warning.
[Google Pixel 2 XL Guides, News, & Discussion] clothednblack:
Open magisk and see if you can hide root for that app
[Google Pixel 2 XL Guides, News, & Discussion] wvcadle:
Okay, I cleared data from Google Play Services, the Play store, and something else, and I was able to install MoviePass. Phew. That was a dealbreaker.

But, how can LastPass see that I'm rooted? It's been a couple years since I was regularly on here, but I thought Magisk was able to hide root from everything. Could I have it set up wrong? Missing a setting in it?

---------- Post added at 06:42 PM ---------- Previous post was at 06:02 PM ----------

So that's what MagiskHide is for... Thanks again. Btw, any forum post, article, or link that explains what all Magisk does? I clicked on a link in the main thread, but it took me to a technical page I couldn't understand.
[Google Pixel 2 XL Guides, News, & Discussion] clothednblack:
Open magisk, settings, about... Should have some links for info in there ?
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
I love seeing multiple members helping out. It show true community, team work, and reinforces that we shouldn't be here for the "thanks" or the notoriety; but to help each other, share knowledge, and be examples.

You're both doing very well at all these things.

Kudos.

View attachment 4481912
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Just doing what my mentor taught me! ??
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
i want to be you guys when i grow up.... ;)
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Trust me...no you don't! I'm so ugly that mama used to tie bacon around my neck to get the dog to play with me! Hasn't got any better with age either! ?
[Google Pixel 2 XL Guides, News, & Discussion] clothednblack:
Now I understand the high price of bacon, oh well, it's worth it ?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Noice! ????
[Google Pixel 2 XL Guides, News, & Discussion] Aeonxul:
Hey guys, I just moved to a Pixel 2 XL from a Nexus 6P. Naturally, the first thing I did was to unlock the bootloader and boot TWRP so that I can root it.

Also, I wanted to flash an opengapps stock package for android 8.1 arm64 but while flashing I get the error 70 "Insufficient storage space available in System partition", which seems very disappointing to me.

How is it possible for this phone no to have sufficient storage for gapps? Is this normal? Are there any workarounds to this or gapps are not usable for this device right now?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
If your on stock, or on most any of the custom roms, there's no need to flash Gapps at this time :good:
[Google Pixel 2 XL Guides, News, & Discussion] Aeonxul:
Thank you for a prompt reply. Yes, I know there's no need but I want to. The thing with open gapps is when you flash your preferential package (with gapps-config file) then all other remaining Google apps are automatically removed.

So it's just much easier for me to flash gapps rather than freezing or removing the Google apps that I don't use vie TitaniumBackup for instance.
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
Change your USB cord. If using a 3.0 use a 2.0. Also make sure your SDK tools are the latest and greatest. These minor things have tripped up many a seasoned crack-flasher :D
[Google Pixel 2 XL Guides, News, & Discussion] Alphonsis:
I was attempting to flash the April 2018 factory image. After the script wrote the bootloader and rebooted into it, the device disappeared from adb and the script got stuck.

> adb reboot bootloader

> .\flash-all.bat

target reported max download size of 536870912 bytes

sending 'bootloader_b' (36344 KB)...

OKAY [ 0.933s]

writing 'bootloader_b'...

OKAY [ 0.230s]

finished. total time: 1.166s

rebooting into bootloader...

OKAY [ 0.003s]

finished. total time: 0.003s

< waiting for any device >

I can still navigate the bootloader screen (via volume keys). Is there anything I can do to get this working. Should I just terminate the script?

Thanks in advance!
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Do you have all the files extracted from the factory image in your platform-tools folder? Are you using a Mac?
[Google Pixel 2 XL Guides, News, & Discussion] :
Will I be able to lock the bootloader "after" rooting the device using adb push/pull method with magisk ??
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Unless your full stock, things will likely go south on you very quickly if you lock it. Not to mention, it'll completely wipe your phone ?
[Google Pixel 2 XL Guides, News, & Discussion] :
I assumed that. I remember being able to do this with OnePlus One. But Cyanogen Inc used to provide a patched boot.img and inbuilt root method back then. But never been able to do that anymore with any device. I was just wondering if I can use root and keep it secure at the same time. Guess I have to live with the trade off. Cheers !! :good:
[Google Pixel 2 XL Guides, News, & Discussion] Tomv5314:
I just received a Pixel 2 XL from Swappa coming from a 6P. I had a real hard time unlocking. All the files and adb and fastboot were working as should. Did each step fine until critical unlock .fail device is already unlocked. Did this 6 or 7 times same thing. in bootloader mode showed device locked.Finally just to see tried just bootloader unlock. success .I get the unlock warning on reboot and in bootloader mode shows unlocked. Now my question is am I just partialy unlocked or critical unlocked? and how to tell. Could guy who owned it before me had it unlocked and relocked it but only reg unlock and left critical still unlocked. So much more difficult than my 6P and G3 and G2 etc. Should I relock and try again or just leave it? Confused.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
...fastboot oem device-info...

That will tell you if everything is unlocked or not :good:

And yes, it's possible the previous owner only locked standard and left _critical alone.
[Google Pixel 2 XL Guides, News, & Discussion] Tomv5314:
Thanks this is what I got.

Boot loader verity mode: True

" " device unlocked: true

" charger screen enabled: true

okay [0.004sec.}

Finished
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Should be good to go :good:
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
It can be overwhelming at first. I too came from the 6P and it took a bit of practice, but once you get comfy with the process, it really is super easy, just takes some time to get used to.

Here's a pretty detailed step by step with links to images, TWRP, cust kernels, and tips, helps, etc.

Kinda everything in one place.

This will get you running latest factory image, TWRP, a cust kernel, and rooted (magisk).

Welcome to the 2 XL fam!
[Google Pixel 2 XL Guides, News, & Discussion] Tomv5314:
I am losing my mind. I have been working on this for over 5 hours now and I can not get twrp to even temporarily boot. I have tried 3 different commands from twrp to the OPs to Arizona bikers and I get my serial # when I do fast boot devices. One time I accidentally booted from fast boot to recovery and I got all excited when I saw TWRP screen . No idea how that happened cause every command fails. But TWRP Screen was frozen so I rebooted got the red device is corrupted not the unlock warning and phone would not boot. So flashed factory and now back to not being able to get twrp. I do not know what to do as I have never had in my years of flashing anything like this.
[Google Pixel 2 XL Guides, News, & Discussion] greyhd:
Did you do fastboot boot with twrp image file after?
[Google Pixel 2 XL Guides, News, & Discussion] Tomv5314:
No it is still faling. I have to be doing something wrong but I can not figure what it is. Twrp img is in my platform tools folder. fast boot is working. UUGGH .I just got the phone today and I am sorta hating it.
[Google Pixel 2 XL Guides, News, & Discussion] greyhd:
Did you unlock critical or normal unlock?
[Google Pixel 2 XL Guides, News, & Discussion] Nikos2k:
Make sure you have the latest adb toolkit from Google

Try some other usb cable and/or usb port
[Google Pixel 2 XL Guides, News, & Discussion] marcpoest:
Ich bin dran ist es auch einen l

Gesendet von meinem Pixel 2 XL mit Tapatalk

It's my turn, it's also a l
[Google Pixel 2 XL Guides, News, & Discussion] Tomv5314:
critical latest toolkit tried different cables and ports plus just had to factory flash for second time tonight. Need to walk away from phone until tomorrow and try again.on fresh brain. lol
[Google Pixel 2 XL Guides, News, & Discussion] thereal_bigjake:
My Linux Mint pc refuses to let me fastboot boot TWRP so I use my Nexus 6p to fastboot boot twrp ?. I used adb and fastboot magisk modules on my 6p to do this ?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Thereal_bigjake might have your solution! What type of pc are you using?? I've seen more than a few users have this problem, then they try a different pc and it works...go figure! Also, is your screen lock security set to swipe or none?? And..after you fastboot temporary twrp, does is just hang on the twrp screen, or does it even get that far?? Have you tried downloading twrp again?? Evidently your fastboot is working properly, otherwise you wouldn't have been able to flash the factory image. Hopefully the community will get you squared away. Keep the faith my friend :good::cool:

Also, are you using a toolkit to fastboot twrp, or just using straight fastboot commands?
[Google Pixel 2 XL Guides, News, & Discussion] thereal_bigjake:
Yeah something is weird about this phone, I was able to unlock my bootloader with Linux Mint but couldn't boot twrp from Mint. Just kept getting errors. With the 6p I just used the terminal to boot twrp and it works every time. I just used it this morning to boot twrp so I could flash the latest Flash kernel.

Windows 10 also works for fastboot on this device but I avoid using Windows because I can't stand using it ?
[Google Pixel 2 XL Guides, News, & Discussion] Alphonsis:
Yeah, this ended up just being a low quality cable. I swapped it out for another and it worked fine. Successfully got April build installed.
[Google Pixel 2 XL Guides, News, & Discussion] Tomv5314:
screen lock security set to none using fast boot commands and one time got to twrp screen and just hangs no toolkit.... But last night tried something different out of frustration. Used Skipsoft and got an old twrp and old majisk on. Then flashed latest twrp and Majisk through the old twrp and success. Desperate times for desperate measures. lol..But everything is working OK. Now have Majisk 16.0, twrp 3.21-2, and Elemental X kernel and April update... Thanks for the help.:good:
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Well glad you got it going. Just my opinion, but I think some folks rely too much on toolkits instead of learning proper fastboot technique. I mean they're great if you get in a jam I suppose, and the Devs that make them are awesome, however I think you lose self taught skills to solve problems when things go South. Ok, old guy rant over ?
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
[MENTION=6842057]nathanchance[/MENTION]

A request to consider adding language to the OP.

Due the very high number of issues being dealt within the 2 XL threads caused by USB cables, would you mind adding language somewhere in the OP to the effect of:

"IF YOU GET ERRORS WHEN FLASHING VIA ABD/FASTBOOT- CHANGE USB PORTS OR CHANGE USB CABLE FROM 2.0 TO 3.0 OR FROM 3.0 TO 2.0 AND TRY AGAIN"

It seems users are spending a lot of time in the threads troubleshooting errors, chasing ghosts, redownloading files, and being sent to your GUIDE only to not be able to figure out the issue until someone chimes in "have you tried a different USB cable?" and miraculously, changing the USB cable fixes the issue MUCH of the time.

Just thinking out loud :D

Thanks for all you do!
[Google Pixel 2 XL Guides, News, & Discussion] nathanchance:
I will try to do this today!
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
Thanks Nathan! No rush.

It should put a serious dent in all the "I get an error when unlocking my bootloader... when flashing the factory image.... when booting into TWRP image" troubleshooting posts going through the threads.

Much appreciated :good: :good: :good:
[Google Pixel 2 XL Guides, News, & Discussion] Whysthewifigone?:
i tried searching this thread but was unable to find anything,is this method safe to use on the project fi pixel 2 xl's? would i log(?) back in like i did upon first receiving it an still have service?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Unlocking the bootloader won't have any effect on project fi. It's just a different radio band is all :good:
[Google Pixel 2 XL Guides, News, & Discussion] eturk01:
boots only into TWRP

help please:

If I install TWRP zip, via boot on TWRP img, I can only boot into TWRP (or bootloader). Touch in TWRP also rarely works needed another boot

I have to boot on TWRP img, reinstall Magisk zip to be able to boot to system (but that wipes TWRP recovery)

(couldn't find ref to this via search here)
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Touch issues in twrp can be rectified with either a custom kernel, or disabling lock screen security.

The method used by many is.....

Set screen lock to swipe or none.

Fastboot twrp.img

Once in temporary twrp, flash the twrp.zip

Then flash custom kernel(Flash kernel is the most used).

Then flash magisk.

Boot up, then enable your screen lock again.

You should be fine after your done :good:
[Google Pixel 2 XL Guides, News, & Discussion] nhoc_maruko9x:
Mine saying this when I try to turn on OEM unlocking. So am I out of luck? Does this mean I got a Verizon phone?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
It sure looks like it. You can follow the OP in the link, type in your IMEI number on the website, and you'll know for sure what type if phone you have.

https://xdaforums.com/pixel-2-xl/how-to/check-phones-build-date-imei-t3694175/post74283171
[Google Pixel 2 XL Guides, News, & Discussion] nhoc_maruko9x:
So it's a Verizon phone. Now I know why I got mine for just 500$ lol.. Stucked with stock rom.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Sorry man. However, stock on the P2XL isn't bad at all. I'm stock +root and it's actually very good. Gotta find the silver lining my friend :cool:
[Google Pixel 2 XL Guides, News, & Discussion] nhoc_maruko9x:
Yes I actually enjoy stock ROM, but android without root can be a bit disapointed :p