yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
I think this guy has it figured out.

https://xdaforums.com/pixel-2-xl/how-to/guide-unlock-flash-root-pixel-2-xl-t3702418/post75483911
[Google Pixel 2 XL Guides, News, & Discussion] beezar:
Is it possible to roll back to the January update if you are on the February update? I'm rooted and stock, and have noticed a significant decrease in battery life since the February update.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
While I personally haven't done it, I have read about others doing so. However, it will require a full wipe, and clean flash of the January factory image.
[Google Pixel 2 XL Guides, News, & Discussion] rickysidhu_:
From the OP:

"You CANNOT downgrade factory images. Google has prevented users from doing so to keep them safe from vulernabilities that were patched. You should only upgrade or reinstall the current image."

If I were you, I probably wouldn't try :eek:
[Google Pixel 2 XL Guides, News, & Discussion] csimms:
this is off topic im sorry but only place i can right now. is snyone on thr xda labs app and it shows no items to show under pixel 2 xl. every forum for it it shows no items in any thread . i tried on my note 8 samething. i can get to threads i have acted in or saved why im posting here
[Google Pixel 2 XL Guides, News, & Discussion] ram4ufriends:
Yes, it shows that often to me as well
[Google Pixel 2 XL Guides, News, & Discussion] beezar:
Ugh, guess I'll just have to wait until Google fixes this battery issue then. Thanks
[Google Pixel 2 XL Guides, News, & Discussion] sirxdroid:
You may want to investigate what's using battery, it may just be some app not interacting well with the Feb update. While there are reports of battery issues, not everyone is having them.
[Google Pixel 2 XL Guides, News, & Discussion] Pkt_Lnt:
Well, many are.

https://productforums.google.com/forum/#!msg/phone-by-google/tA74mJ6FJY0/A1icT-mJDAAJ

https://www.engadget.com/2018/02/16/google-pixel-2-warming-shortened-battery-life/

https://9to5google.com/2018/02/16/pixel-2-feb-patch-casuing-issues/

http://www.trustedreviews.com/news/pixel-2-warm-battery-february-security-update-google-3397612

https://www.reddit.com/r/GooglePixel/comments/7xcy36/pixel_2_getting_hot_after_update/
[Google Pixel 2 XL Guides, News, & Discussion] peterlee928:
Hi all... I have read through a ton of stuff (including this thread) and am likely missing something basic. Any guidance is MUCH appreciated.

So I have the Google variant pixel 2 xl. Below are the steps that I took to try to unlock the bootloader:

1) open developer options and allow us debugging and oem unlock

2) took the February security update

3) inserted sim card

4) adb reboot bootloader

5) fastboot flashing unlock_critical

6) unlock the bootloader

7) reboot, which resulted in a full reset

So now I'm trying to root via twrp and magisk. But every time I try to flash the twrp img in fastboot, I get an error message that says my phone is locked.

What am I missing?

Apologies in advance if I am making a noob mistake and/or this is addressed elsewhere.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
In addition to..fastboot flashing unlock_critical

Did you also do...fastboot flashing unlock?
[Google Pixel 2 XL Guides, News, & Discussion] peterlee928:
i did not. i didn't think i needed to since the "unlock the bootloader" notification showed up, and i selected it. i will do that now and revert back.

EDIT

ok i have asked some dumb questions... but this one takes the cake. [MENTION=3730810]Badger50[/MENTION] - your advice was all i needed. man what a dummy i am lol. MUCH thanks for the simple instructions.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
I think you'll be fine after you run the 2nd command ??
[Google Pixel 2 XL Guides, News, & Discussion] peterlee928:
lol you are 100% correct sir. that was all i needed. still smh - what a dummy i am. much thanks again for the help and not completely roasting me for such a silly question (which i wouldve deserved) :)
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Dude...if you only knew how many dumb arse derp moves I've made over the years on my phones...you'd be laughing at me!! Welcome to the P2XL my fiend :cool:
[Google Pixel 2 XL Guides, News, & Discussion] Hunter.Whaley:
Hi All,

Sorry to disrupt the flow of the thread, but I'm having an issue with flashing the factory image.

I did something wrong in trying to unroot my phone to get the latest OTA. It began bootlooping at the Google screen. Fair enough, I'll re-flash the factory image.

Using the flash-all in the image zip, I get 2 errors:

FAILED (remote: GetVar Variable Not found)

FAILED (remote: No such partition.)

I've looked through this thread about not having the latest fastboot version and I went and got the latest fastboot.

Still the same thing happens.

I've tried both the Feb. image and the Jan. image. Same errors.

Any help would be appreciated.

Thanks in advance.
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
A few basic JUST to be sure a minor detail wan't missed, not intended to be disrespectful.

-All the files you want to fastboot are IN the platform tools folder, where the fastboot application is?

-Is your SDK tools up to date (just because you get a serial number when you run fastboot devices doesn't mean it's the latest and greatest...

-When running the factory script in fastboot, your command is: flash-all (without the .bat typed in?

Let's start with these.. If you did all these correctly, we'll move forward :D

You can also check your steps against THESE steps that I have used from the beginning without fail.
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
A few basic JUST to be sure a minor detail wan't missed, not intended to be disrespectful.

Obviously the diff images you tried aren't all broken, so something in your process most likely is out of order or incorrect.

- Are your SDK tools up to date (just because you get a serial number when you run [fastboot devices] doesn't mean it's the latest and greatest..

- You are unzipping the factory image zip WITHIN the first factory image zip, right? (it'll be the second factory image zip file you see)

- All the files you want to fastboot are IN the platform tools folder, where the fastboot application is?

- When flashing the factory image in fastboot, your command is: flash-all (without the .bat typed in? (remove the -w in the flash-all.bat file to NOT wipe your device including internal storage, save after editing it)

Let's start with these.. If you did all these correctly, we'll move forward :D
[Google Pixel 2 XL Guides, News, & Discussion] Hunter.Whaley:
Not disrespectful at all. I know I am an amateur.

And you were right. I did not have all the extracted files correctly in the platform tools folder.

I appreciate the help. Huge Thanks.
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
NICE! If only it were this easy to fix issues all the time. Now you know something new, and you're smarter for it, so nothing wrong with learning trial by fire.

Glad it was something simple to resolve!
[Google Pixel 2 XL Guides, News, & Discussion] dredq:
I had the same issues and figured it out. PM me if you need more details. Short answer go into twrp and wipe everything on both A and B slot. Then use flash all using previous opperating rom and install on Slot A. Then install Twrp and go to Twrp and switch to B and then flash all using what ever you where on. Now use Deuce and flash what you want to be on. Good luck
[Google Pixel 2 XL Guides, News, & Discussion] purenrg13:
So it would appear that despite having all the knowledge in the world still does me no good. I don't know why.Having only 1 day off a week makes things far harder than they need to be.

Following your steps, thio they seem very straight forward, upon further attempts I find that windows 10 makes tasks far more difficult than they once were when I used windows 7.

First problem encountered... You can not create a folder on your desktop as you could in older versions of windows. Now every thing is on the c. you can create a shortcut to c, but you still have to search for that folder, which is what i had to do.

Second problem encountered...when attempting to open a command prompt and type fastboot devices, nothing happened. This could be because the program had already been previously opened and used.

Third problem encountered... even with the twrp img, i still get a corrupt file error when i try to fastboot it. So this is where I have to stop as there is no possibility of going forward if both files, the twrp image without magisk or patched with magisk, or the original file from google. however, until i figure out the problem, my bootloader is unlocked... I can use substratum for some customization, just do not have root.

ah well... one day i will have root capabilities. Thank you for all your info AZ Biker.
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
"First problem encountered... You can not create a folder on your desktop as you could in older versions of windows."

You must mean something else, because I am running Win 10 and have a bazillion folder on my desktop. I just added my files to the SDK fold that is created when you download the latest SDK tools. From inside that folder I created a shortcut on my desktop and just click that to get to my files in the platform tolls folder.

"Second problem encountered...when attempting to open a command prompt and type fastboot devices, nothing happened."

place all the files you plan to fastboot in to the platform tools folder (where the fastboot application is) when ready, go to address bar for the folder and type CMS, hit enter = command prompt window, now type; fastboot devices

"Third problem encountered... even with the twrp img, i still get a corrupt file error when i try to fastboot it."

download the TWRP.IMG & TWRP.ZIP files...... place the IMG file in your platform tools folder (temp fastboot this to get into TWRP,

once in TWRP, flash factory image, flash ZIP file, flash cust kernel (OPT) in TWRP, then flash Magisk.ZIP in TWRP, reboot

Try these steps.
[Google Pixel 2 XL Guides, News, & Discussion] purenrg13:
Ok... so I am ready to give up... just when I thought i would give it 1 more shot before bed, i managed to screw something royally. its stuck in boot loop and no matter how many times i attempt to power cycle by holding the power button, it will not boot completely. I did figure out the img issue I was having... and it worked... however, prior to it working, I somehow did a data reset, which set me back at 8.0... i did not update to 8.1 before flashing the image. so... even attempting a data reset wont take me back to 8.0 because it is already a patched image. so dumb question... what file do i need to download to bring my device back to factory and where would i find the "hey dummy instructions" on how to get my device back to original.

I think after I bring it back to original, I am leaving it alone. again... and by the way...

for further info, I was resaving the file again as a .bat after rewriting it.

also the corrupt image issue kept coming up because I was using "bootloader-taimen-tmz12b.img" not "boot.img".

anyway, if anyone can help with this info would be great... then I will stop hounding you with my problems.
[Google Pixel 2 XL Guides, News, & Discussion] MikereDD:
https://dl.google.com/dl/android/aosp/taimen-opm1.171019.018-factory-e96a86ae.zip

Hold power and volume down to boot into fastboot.

Either from starting the device from off or use power volume+/- to force reboot then quickly press power plus volume- until you are in fastboot.

Then use the flash-all.sh script to flash the stock images
[Google Pixel 2 XL Guides, News, & Discussion] purenrg13:
Just as I received this message, i had done just that and flashed the image again. my phone is restoring now. now I can go to bed for a 3 hours. My lifeline is restored. I learned more tonight than i wanted to about Pixel 2xl...

I guess the more I learn... the more I screw up... and fix.

I love xda

Thanks to everyone that replied to my BS.

Good night I am going to bed finally.:good:
[Google Pixel 2 XL Guides, News, & Discussion] last_nooby:
Help Please :confused:

I'm following the guide but I'm stopped at "Rooting with Magisk" section

I downloaded Magisk Manager, I copied it into my Pixel 2 XL then I installed it.

Everything ok but when I open it I have: "Magisk is not installed".

Please see attachment.

What's wrong?

Can you help me, please?
[Google Pixel 2 XL Guides, News, & Discussion] GridironTrenches:
Yeah I followed 'Android Explained's' video step by step and typing unlock first and unlock_critical second worked
[Google Pixel 2 XL Guides, News, & Discussion] Schroeder09:
I have never rooted anything. My pixel 2 xl 128GB will be arriving Monday. It will be going on the Verizon network, but it is NOT the Verizon variant. I want to root it right away before I have to worry about backing stuff up, etc. I am worried about rendering my phone inoperable. Is this thread the best how to? I think a lot of these guides are written for you masters. I don’t even know how to boot into the boot loader? Is that where you press the power button and the volume down button simultaneously at boot up?

I’d like to use greenify to its full capability, try the ad blocking thing, use substratum, use the swipe navigation app, and maybe titanium back up to some degree. I’d also like to try over/under clocking. I will never try something like a custom ROM. I’d still like to get OTA updates and not break the safety net so I can use android pay, snap chat, etc. from my understanding magisk won’t break the safety net and allows easy and fast un/rooting for receiving OTA updates.

Is my understanding correct? Is one of the methods outlined here for me? I have NOT read through this entire thread yet, but I have read the first post. Thank you in advance for all your help.
[Google Pixel 2 XL Guides, News, & Discussion] nathanchance:
This thread is pretty much designed exactly for your use case: how to unlock the bootloader, root your device, and update your OS after the fact. I'll be updating the thread in a few days with the steps in Magisk's OTA tips and tricks section: https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md#ota-installation-tips
[Google Pixel 2 XL Guides, News, & Discussion] dredq:
I am more then willing to help you out. You can do this. It is not that hard. You just need to follow directions. I was in your place several years ago on a new LGG2. I learned so much on that phone. The biggest lesson I learned is that if you get stuck there are multiple people on XDA that will help you. Just take your time, read the instructions, then read them again. Ask questions BEFORE you do it, Even if they are dumb questions. There are a few people that may flame you for asking these questions (which I have never understood their anger or frustration at new people) but the majority of people will go way out of their way for you. Be patient; people will respond eventually, usually within a few hours to 24. Check things out on Google. Read all the major XDA threads for the Pixel 2 XL. And by the time the new ROMs come out you will be flashing them with a smile on your face. You can do this.
[Google Pixel 2 XL Guides, News, & Discussion] Schroeder09:
Thanks a lot! I’m gonna scan thru this thread in depth tomorrow and start posting questions.
[Google Pixel 2 XL Guides, News, & Discussion] probono10:
Magisk Manager Install (Step 3)

Never installed this before, so please pardon the newbie questions:

Executed the "adb push" command using the latest factory image from the link included in the instructions and the message returned was "6 files push..."

On the device, chose "Install" when asked "Do you want to install Magisk-v14.4.zip now"

Chose "Patch Boot Image File"

On the device, when installing Magisk Install, I'm unclear as to what file to choose next of the 6 files. I chose the "image-taimen" file, but after seeing the "Flashing" screen, received the following message: "Magisk Manager has stopped".

Any thoughts?
[Google Pixel 2 XL Guides, News, & Discussion] outbackpaul:
I followed the guide yesterday and it worked perfectly.
[Google Pixel 2 XL Guides, News, & Discussion] dredq:
You need to get the boot.img file from the Factory images. Make sure you download the right image.

https://developers.google.com/android/images
[Google Pixel 2 XL Guides, News, & Discussion] fracman:
Do u know how to fix this?
[Google Pixel 2 XL Guides, News, & Discussion] TheMathemagician:
https://dl.google.com/android/repository/platform-tools-latest-linux.zip

This zip has the latest tools. Download, unzip, cd to the directory you extracted it to, and use ./fastboot for the fastboot things, and ./adb for those.
[Google Pixel 2 XL Guides, News, & Discussion] fracman:
Thank you. I'm new to Ubuntu and still trying to figure it all out.
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
Will fastbooting the Verizon Modem and Radio from the Nov Verizon build mess with root or Flash Taimen kernel?

I'm thinking not, but these are unfamiliar waters still (for me at least) just wanting ot make sure before I dive in :D

Thanks!
[Google Pixel 2 XL Guides, News, & Discussion] CyberpodS2:
It shouldn't. Interestingly enough (been mentioned somewhere else but..) , if you're on the non verizon build and take the ota with a Verizon sim in the phone it installs the Verizon build of the update.
[Google Pixel 2 XL Guides, News, & Discussion] probono10:
Error: Failed to Load 'image...' Not Enough Space

Anybody seen this when trying to flash a factory image? If so, any ideas how to get around it?

This is a new Pixel 2 XL 128GM straight from Google.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Anybody seen what?? :eek:
[Google Pixel 2 XL Guides, News, & Discussion] dredq:
do you have the latest abd and fastboot? Are you trying to install a factory image?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Do you data enabled at all?? Doesn't look like it from the screen shot? :confused:
[Google Pixel 2 XL Guides, News, & Discussion] dredq:
Did you patch the boot.img? The easiest way to do this is via TWRP. Install TWRP and flash the latest Magisk zip
[Google Pixel 2 XL Guides, News, & Discussion] ilal2ielli:
Looks like you only installed Magisk Manger. Manager is the interface for Magisk, you still need to install Magisk itself through fastboot or TWRP.
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
Download then flash Magisk 16.0 in TWRP, it will auto install magisk manager

in Magisk settings, make sure channel is set to beta, from now on, update DIRECT method, no problems :D
[Google Pixel 2 XL Guides, News, & Discussion] last_nooby:
Thank you for your answers guys!! really!

So I read about I've to install TWRP before but I don't want to do it.

The guide is clear, it's possible to install Magisk without install TWRP

"NOTE #4: This section assumes you are not going to install TWRP. If you are, skip to the next section and just flash the latest Magisk zip after installing TWRP."

So that is what I'm trying to do.

I like the idea to preserve the /system so please can you show me how to install Magisk without it?

something like (from terminal, I use ubuntu) "fastboot flash boot magisk" ?

Thank you
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Then just fastboot temporary twrp, flash your magisk zip, reboot and done. TWRP will not be there when your done.
[Google Pixel 2 XL Guides, News, & Discussion] last_nooby:
Thank you Badger!!

"Then just fastboot temporary twrp, flash your magisk zip, reboot and done. TWRP will not be there when your done."

Which commands?

~$ fastboot boot twrp

then?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
fastboot boot twrpxxxx.img

Also, remember to disable lock screen security before you boot into twrp :good:
[Google Pixel 2 XL Guides, News, & Discussion] last_nooby:
Done!!!

Super Thank you Badger50 and everybody else for helped me!!!

Really!!

Just it'd be added to the guide at page 1. It's a suggestion

Have a great day!!

Ciao
[Google Pixel 2 XL Guides, News, & Discussion] last_nooby:
Just a bug: after magisked mine, Google Translator crashes every time I try to translate something into webpages.

Is it only happening to me?
[Google Pixel 2 XL Guides, News, & Discussion] jmcorlett:
new to the pixel 2 xl, but have used fastboot commands in the past with an older phone. I updated drivers and "OEM unlocking" is ticked. Can't seem to get past the fastboot flashing unlock. Command prompt just hangs at waiting for device. I'm running a Telus phone on the latest update.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Do you have USB debugging enabled as well? Also, is your SDK platform-tools up to date?? What transfer cable are you using?

What happens when your in bootloader mode and you type in..fastboot devices. Do you see your phone ID??
[Google Pixel 2 XL Guides, News, & Discussion] jmcorlett:
USB debugging is enabled. I grabbed the SDK platform from the OP here and I'm using my original cable I got with the phone in my USB C slot on my laptop. I don't see the phone ID when I type in devices
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
Try a 2.0 USB cable
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Your cable is the problem. It's a known issue with laptops. You'll need a USB 2.0 cable for your laptop. Or, use a desktop pc with a 3.0 USB-A to USB-C cable. Do you have any other cables??

---------- Post added at 02:22 PM ---------- Previous post was at 02:20 PM ----------

Ninja'd again by my mentor! ???
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
hmmmpf... Fast you are, but faster am I

View attachment 4433399
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Meh......?
[Google Pixel 2 XL Guides, News, & Discussion] jmcorlett:
So any type a to type c 2.0 cable will work?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Pretty much. You'll know real quick if/when your pc recognizes your device, and when you type in fastboot devices. If you see your phone ID come up, then you should be good to go :good:
[Google Pixel 2 XL Guides, News, & Discussion] jmcorlett:
Cable got everything going. Only issue was when flashing TWRP. Got it to go, but magisk crashed and on each boot , I get "there's an internal problem with your device". I'll start from scratch again tonight.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
That warning at boot up is nothing to worry about. It's just magisk patching the dtbo.img. Easily solved with flashing Flash kernel in twrp :good:
[Google Pixel 2 XL Guides, News, & Discussion] jmcorlett:
Thanks for all the help. Flashed TWRP and Magisk and all is working great. My only question is the unlock vs unlock critical. I didn't do the critical. Will this cause issues going forward or is it something I can do still.
[Google Pixel 2 XL Guides, News, & Discussion] Namolas:
https://xdaforums.com/pixel-2-xl/how-to/errors-flashing-factory-image-t3756607
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
It will cause you NOT to be able to fastboot factory images. Yes, you can still unlock critical, however, it will wipe your phone....again! ??
[Google Pixel 2 XL Guides, News, & Discussion] jmcorlett:
Thanks again. Did the critical unlock and all good. Had to flash the factory image back and worked perfectly. I'll say one thing. This forum and most of the others I've been on for Pixel 2 XL have been a breath of fresh air. Just came from a Samsung Galaxy S7 Edge and so many of the forums were filled with people being petty and throwing shots at one another. Better phone and nicer people here.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Your welcome my friend. Hope you enjoy the P2XL, it's definitely a sweet device. There's a pretty good bunch of folks here for sure. Hope you continue to enjoy modding your device, and feel free to ask for help anytime ??