yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Try downloading it again to your pc, then try it again. Also make sure your platform-tools are up to date as well.
[Google Pixel 2 XL Guides, News, & Discussion] xSpartacusx:
so i used OTA to get to the march security patch. always been on stock. now to get a custom rom, do i have to reflash a factory image first like some rom posts say? and then can i go from custom back to stock and still get OTA updates?
[Google Pixel 2 XL Guides, News, & Discussion] Edmontonchef:
I'd read up on all the basics first. There's a lot of people who relocked the bootloader without going full stock and bricked their phone.
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
As far as flashing a custom Rom, It's best to follow any instructions in the OP for that specific Rom.

I'm pretty sure it's straight forward with the Pixels, but always best to follow what's in the OP for the Rom, just in case :good:

AFAIK if you get tired of custom Roms, all you need to do to return to stock is flash the factory image (leaving the -w intact) and you're back to stock!

Going from 10 back to Pie might have a few extra steps, I haven't followed that since I never go backwards :p
[Google Pixel 2 XL Guides, News, & Discussion] psikic2:
My pixel 2 xl is still flashed from Jan 2018 using what was in this post at the time. Is there anything special I must do other than following the newest guide to update the image?
[Google Pixel 2 XL Guides, News, & Discussion] Edmontonchef:
Yeah, just take the OTA and get er updated or unlock the bootloader and do it manually
[Google Pixel 2 XL Guides, News, & Discussion] psikic2:
Boot loader is unlocked since Jan 2018, so just flash the newest image and maybe update magisk? Didn't know I could do the over the air when its rooted.
[Google Pixel 2 XL Guides, News, & Discussion] Edmontonchef:
If I were you I'd just flash-all the system image. Another option is booting into twrp and flash the OTA. You can always flash magisk later
[Google Pixel 2 XL Guides, News, & Discussion] tcables:
Hey all,

Thanks for the work you do.

I have a question concerning security. I've heard that if you unlock your bootloader, and install a custom recovery that people can have an easier time accessing your data if they get a hold of your phone. I'd like to know if there are ways of mitigating this , and being able to have a rooted rom.

For example, best scenario, I'd like Rooted Lineage on my phone. and Encrypted.

Is it possible to unlock, and flash lineage (or any other rom) encrypt and then relock?
[Google Pixel 2 XL Guides, News, & Discussion] jd1639:
With an unlocked bootloader and custom recovery your device is less secure. It's easier to access your device. But still takes some knowledge to do that.

It's possible to flash a custom rom and then lock the bootloader. But it's not recommended. The reason is that if something happens and you can't boot into system it could be impossible to recover your device. When you are 100% stock the recommended way to recover your device is to sideload a full ota using adb and the stock recovery. If you're not stock you can't do that. And if you can't boot into system you can't enable oem unlock and unlock your device to flash a stock image.

Any time you root your device, with our without a custom recovery, your device is more susceptible to compromise. It's a trade off many of us are willing to take for greater control of our devices. Just be careful what apps and confidential information you put in the device.
[Google Pixel 2 XL Guides, News, & Discussion] tcables:
Thank you for that!

Will encrypting your device solve a lot of the data security concerns?

Also I've heard there are massive issues with encryption and custom recoveries (TWRP) at the moment.

Do you know if its possible to flash a ROM and then encrypt without issues? I dont mind having to reset the whole phone every update to latest rom version - I'd feel safer with some security measures.
[Google Pixel 2 XL Guides, News, & Discussion] Boodzilla:
I'm planning to buy today a used pixel 2xl which I got for a bargain and will root it for different reasons, but before doing so I need to clarify some points since I know nothing about Google phones and I've been using another brand for the past decade :)

I honestly tried to search in forums and the web, I might have come across the solution, but since English is not my primary language I might have misunderstood some answers.

1- How to know that my phone is not linked or locked to another carrier? In my country all phones are unlocked but we have no store for Google phones so I don’t know where this device came from. If I simply insert my SIM card and was able to make call, does that mean I’m good to go?

2-Software build number is : QQ2A.200501.001.B3, does this mean it’s the international version?

3- Once rooted, do I lose device encryption? If yes can I enable it back again or does it come with drawbacks

2- If rooted, how to update to a new release without losing root or do I just have to flash the new factory image (while removing the –w flag) and then re-root again. Do I still keep my data or only the unlock step or the clean flashing factory do erase the data?

---------- Post added at 12:45 PM ---------- Previous post was at 12:45 PM ----------

I'm planning to buy today a used pixel 2xl which I got for a bargain and will root it for different reasons, but before doing so I need to clarify some points since I know nothing about Google phones and I've been using another brand for the past decade :)

I honestly tried to search in forums and the web, I might have come across the solution, but since English is not my primary language I might have misunderstood some answers.

1- How to know that my phone is not linked or locked to another carrier? In my country all phones are unlocked but we have no store for Google phones so I don’t know where this device came from. If I simply insert my SIM card and was able to make call, does that mean I’m good to go?

2-Software build number is : QQ2A.200501.001.B3, does this mean it’s the international version?

3- Once rooted, do I lose device encryption? If yes can I enable it back again or does it come with drawbacks

2- If rooted, how to update to a new release without losing root or do I just have to flash the new factory image (while removing the –w flag) and then re-root again. Do I still keep my data or only the unlock step or the clean flashing factory do erase the data?
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
1. I use this LG IMEI checker look for anything that shows a carrier's name

2. indicated the May 2020 factory OS image

3. I have never run encrypted, so verify this before taking it as gospel; but I believe once you root, you lose encryption initially, but I think you can flash an older version to unencrypt. There is a way to run encrypted after rooting, just not sure what it is.

4. Updating requires flashing magisk again, but it's easy and there is a simple step by step in my sig for the 2 XL. As you stated, leaving the -w in the flash-all file erases everything back to factory, removing the -w leaves your data intact.

As you probably know, if you want to root, DO NOT purchase a device that advertises "unlocked"... this is NOT pertaining to the bootloader (ability to root), it is pertaining to the ability to be used on any carrier.
[Google Pixel 2 XL Guides, News, & Discussion] Lughnasadh:
I'll just add that when you flash Magisk to root you will stay encrypted.

EDIT: I should point out however, that there is a bug in the latest TWRP where it won't decrypt /data while in TWRP unless you remove your lockscreen security before booting into TWRP. There is a method by which you can avoid this here... https://xdaforums.com/showpost.php?p=81230489&postcount=2933

EDIT 2 (lol): I should also point out that it's always best to remove the lockscreen security before updating monthly security, at least when flashing the factory images (which is what I normally do with the -w removed).
[Google Pixel 2 XL Guides, News, & Discussion] tcables:
Easiest way, over anything else, is to have the seller open the developer settings, and see if the OEM unlock option is available to be ticked, and is not greyed out. (Completely gray, not unticked Greg)
[Google Pixel 2 XL Guides, News, & Discussion] Strephon Alkhalikoi:
This actually isn't a bad idea, given some refurbished devices direct from Google were bootloader locked.

I would use this in conjunction with the IMEI.
[Google Pixel 2 XL Guides, News, & Discussion] failax:
Have you managed to sideload last June update?To me it says sideload connection failed.

Can I flash the zip file through TWRP directly?
[Google Pixel 2 XL Guides, News, & Discussion] Edmontonchef:
Yeah, you can flash the June OTA with twrp.

Did it yesterday and works fine
[Google Pixel 2 XL Guides, News, & Discussion] failax:
I tried ota.zip and twrp doesn't flash it.
[Google Pixel 2 XL Guides, News, & Discussion] Edmontonchef:
https://developers.google.com/android/ota

Make sure you flash the OTA and not factory image
[Google Pixel 2 XL Guides, News, & Discussion] dyoghenes:
Anybody has any idea installing Magisk without TWRP on the latest June Update? After I patch the boot image and try to flash it, it corrupts the file system and I have to flash the factory boot image to make to phone usable again. I checked the checksum of the factory image and it is the correct one. Anybody had any luck with this?

Edit: tulsadriver's clock mod caused the problem, disabling it solved it
[Google Pixel 2 XL Guides, News, & Discussion] Will008:
Can anyone confirm if flashing the factory image resets any adb mods I've done to the phone?

Specifically to adb shell settings put secure sysui_*******
[Google Pixel 2 XL Guides, News, & Discussion] Will008:
Anyone...
[Google Pixel 2 XL Guides, News, & Discussion] Digital DJ:
I believe this thread has seen it's last day. Most seemed to have moved on to the Pixel 4. I myself am likely going to the GP4 but I will never again root my device. It has been fun doing this stuff, but I no longer desire root or care for it. Good luck to all of you.
[Google Pixel 2 XL Guides, News, & Discussion] Reechings:
Happy trails!
[Google Pixel 2 XL Guides, News, & Discussion] jayloofah:
How do some phones like the Galaxy S3 get Lineage 17 and the Pixel 2 doesn't even have a reliable bl unlock method. :(
[Google Pixel 2 XL Guides, News, & Discussion] Lughnasadh:
There is an unofficial Lineage 17.1 for this phone and the bootloader is really easy to unlock (unless you have a Verizon variant).

https://xdaforums.com/pixel-2-xl/how-to/guide-unlock-flash-root-pixel-2-xl-t3702418

https://xdaforums.com/pixel-2-xl/development/rom-lineage-os-17-t3984909
[Google Pixel 2 XL Guides, News, & Discussion] nullness:
Google just updated the online flash tool to include pixel 2 firmwares all the way back to Oreo. Doesn't that mean we can revert back to a vulnerable bootloader and unlock now?!?!! You can legit go from Android 10 back to Oreo according to what I'm reading.
[Google Pixel 2 XL Guides, News, & Discussion] GenuineDickies99:
Does DSU Loader being available in developer options change anything?
[Google Pixel 2 XL Guides, News, & Discussion] Strephon Alkhalikoi:
I'm fairly certain downgrading the bootloader won't be possible on a Verizon device.

Probably not as we never needed it with Google devices, and it still likely will not help Verizon owners in any event.
[Google Pixel 2 XL Guides, News, & Discussion] jayloofah:
Just to comment, I tried the online flash tool with my Pixel 2 and they say any downgrade requires an unlocked bootloader.
[Google Pixel 2 XL Guides, News, & Discussion] CamoGeko:
Any kind of flash requires an unlocked bootloader afaik.
[Google Pixel 2 XL Guides, News, & Discussion] skyliner129:
Can a pixel 2 XL already on Android 10 still be rooted?
[Google Pixel 2 XL Guides, News, & Discussion] Strephon Alkhalikoi:
So long as you can or did unlock the bootloader, yes.
[Google Pixel 2 XL Guides, News, & Discussion] skyliner129:
The pixel 2 XL is already on Android 10 and the bootloader is locked, also the phone has never been rooted. If it is still possible to root and possibly unlock bootloader, kindly recommend the right tool to use
[Google Pixel 2 XL Guides, News, & Discussion] Edmontonchef:
Install latest platform tools/adb and fastboot on your computer

Connect your phone to your computer

Toggle OEM unlocking and adb in developer settings. Allow when the prompt comes up on your phone. Sometimes if you type

adb devices

in terminal it activates this as well

Boot to fastboot then type in terminal

Fastboot flashing unlock

This will wipe your data but your bootloader will now be unlocked
[Google Pixel 2 XL Guides, News, & Discussion] Strephon Alkhalikoi:
Everything you need - information and tools - is in the first post. The instructions however have changed slightly in that you no longer need to execute the unlock critical command to fully unlock the device. Note that if your device is a Verizon P2XL you will NOT be able to unlock the bootloader.
[Google Pixel 2 XL Guides, News, & Discussion] skyliner129:
Thank you
[Google Pixel 2 XL Guides, News, & Discussion] cocogendut:
Sadly, P2XL from Verizon hard to unlock bootloader. I want fallback to Android 10, flashing factory image without unlock bootloader impossible.
[Google Pixel 2 XL Guides, News, & Discussion] Nergal di Cuthah:
Not hard to unlock but, instead, impossible.
[Google Pixel 2 XL Guides, News, & Discussion] Reechings:
When did Yoda get here? :laugh:
[Google Pixel 2 XL Guides, News, & Discussion] hsiehboss:
Easy method: Simply opt-out from the Beta on the dedicated Android 11 Beta website and your device will be returned to Android 10.

我從使用 Tapatalk 的 Pixel 2 XL 發送
[Google Pixel 2 XL Guides, News, & Discussion] cocogendut:
Already...
[Google Pixel 2 XL Guides, News, & Discussion] cocogendut:
Hope work on Taimen too.

https://www.xda-developers.com/how-to-unlock-bootloader-verizon-google-pixel-xl-running-android-10/
[Google Pixel 2 XL Guides, News, & Discussion] Strephon Alkhalikoi:
It doesn't work on the Pixel 2 XL. ANYONE posting that link isn't reading it clearly, as it ONLY applies to the OG Pixels, which can be unlocked.
[Google Pixel 2 XL Guides, News, & Discussion] cocogendut:
With same metode. ?
[Google Pixel 2 XL Guides, News, & Discussion] Strephon Alkhalikoi:
The bootloader on the Verizon P2XL is locked down tighter than a drum. It cannot be unlocked using any known method for the OG Pixel, in part due to the P2XL's security hardware, which the OG Pixel does not have.

As I have said repeatedly, these forums have a 50+ page thread detailing innumerable attempts to unlock the Verizon P2XL. Virtually no one on that thread succeeded and the bounty in that thread to this day remains unclaimed. The only successes on that thread were due to an improperly locked bootloader early on in the device's lifespan; a flaw that was patched the following month.

The method provided in your link does not work on the Pixel 2 XL. If you can provide verified proof, i e. an unedited video showing the exploit in action on the Pixel 2 XL, then do so for the benefit of all the Verizon P2XL owners who have been waiting for nearly three years for an exploit. Otherwise put a sock in it.
[Google Pixel 2 XL Guides, News, & Discussion] wbgenetic:
Urgent question everyone ... I might need to return my phone for repair as my battery is not charging at all ...

I have like 60% left but I cannot connect the phone to the laptop to flash stock and re-lock the bootloader ...

Any ideas how I can at least flash stock using TWRP ?

If there is a chance for adb commands w/o connecting to the laptop that would be great also ..
[Google Pixel 2 XL Guides, News, & Discussion] Edmontonchef:
You can just flash the stock OTA with TWRP and I wouldn't worry about locking your bootloader.
[Google Pixel 2 XL Guides, News, & Discussion] dyoghenes:
I flashed Android 11 and tried to flash Magisk using the latest Canary but it's causing bootloops. Anybody has similar experience or any solutions? Should I just wait for a newer release?
[Google Pixel 2 XL Guides, News, & Discussion] eservant:
Same here.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Did you uninstall/disable all modules before you patched your A11 boot.img with canary Magisk Manager version (297) and before installing the A11 factory image via fastboot??
[Google Pixel 2 XL Guides, News, & Discussion] [-]awkeye:
Same problem. Should have waited and see how many folks were able to upgrade to 11 and reapply root afterwards...

Had to revert back to Android 10 for the time being to keep root access. This will suck for folks who are forced to do an unexpected factory data reset in order to get the system running again...
[Google Pixel 2 XL Guides, News, & Discussion] bluey45:
I just upgraded to A11 and rooted via canary magisk. Just have to patch the boot.img and reflash it via adb fastboot. Working fine here.
[Google Pixel 2 XL Guides, News, & Discussion] dyoghenes:
Thanks! I forgot to disable Tulsadriver's clock mod so deleting it through recovery solved my problem.
[Google Pixel 2 XL Guides, News, & Discussion] Ric G:
Can't go back to 10 without a factory reset, so I will have to wait to figure out how to Magisk in 11.
[Google Pixel 2 XL Guides, News, & Discussion] failax:
I haven't disabled or uninstalled modules before installing a11 ota.zip, there is a way to do it without reinstalling A10?
[Google Pixel 2 XL Guides, News, & Discussion] Ric G:
Can you expand /explain "patch the boot.img", it's probably something easy that my brain hasn't registered yet?
[Google Pixel 2 XL Guides, News, & Discussion] Will008:
Which magisk version works for android 11? In magisk manager I only have options to choose stable or beta channels.
[Google Pixel 2 XL Guides, News, & Discussion] Lughnasadh:
You need to use the latest Canary manager and then use Magisk Canary 20424 or above.
[Google Pixel 2 XL Guides, News, & Discussion] bluey45:
All good.

If you refer back to the first page under the rooting by magisk there's the instructions to flash the boot.img file using fastboot.

Not sure how else to explain it but the instructions there are quite instructive.
[Google Pixel 2 XL Guides, News, & Discussion] [-]awkeye:
Looking at the past reply's, I wonder, did you setup root successfully via TWRP?

Cause at the time, I upgraded to 11 via OTA without disabling the Magisk modules. I didn't think this would be the cause of the bootloops. Regardless, this time around I disabled the modules them prior to upgrading. The upgrade was again performed via OTA. Patched the latest boot.img and flashed it. Upon reboot boot loop again at "Google"

Not wanting to give up on rooting Android 11 (and for ****s and giggles), I factory flashed the Android 11, locked and unlocked the bootloader, patched the latest boot.img via Magisk, and flashed it. Still got the bootloop at "Google"

Now thinking that maybe TWRP had something to do with it, I factory flashed Android 11 again, booted with TWRP and flashed Magisk 20.4.zip and boom, same result. I am at a loss as how to proceed or who to report to about this...

Are you able to provide a step by step of how you were able root Android 11? I went back to 10 for the time being. If anyone here has any other suggestions, please advise.

[EDIT] I am an idiot... I didn't know there was a different Magisk application altogether which is located here: https://raw.githubusercontent.com/topjohnwu/magisk_files/canary/app-debug.apk

For anyone that needs to root Android 11, please use the above APK and point the update channel to Canary. Was able to patch and root successfully there after
[Google Pixel 2 XL Guides, News, & Discussion] bluey45:
Oh right, sorry for the incomplete explanation.

Pretty much I was on A10 and I took the Ota download (1.4gb) to A11 when it was released yesterday.

I was already rooted on A10 and the ota and subsequent upgrade to A11 removed my root access. So I downloaded the factory A11 image and extracted the boot file and also downloaded the canary magisk.

I then followed the steps on the front page to patch my boot, and flash via fastboot. I didn't use twrp at all if that helps.

The twrp could be the cause of your bootloop perhaps?
[Google Pixel 2 XL Guides, News, & Discussion] JimSmith94:
As I just learned, TWRP is indeed the problem. It's not compatible with A11 yet so fastboot boot the TWRP image file for now if/when needed.
[Google Pixel 2 XL Guides, News, & Discussion] tripLr:
Canary allows boot. Titanium backup does not see / activate root process.
[Google Pixel 2 XL Guides, News, & Discussion] thomasck:
Hi guys. My P2XL has never been rooted (can't be due to internet banking) and was upgraded to Android 11 which I did not enjoy. Hide nav bar and immersive mode are not possible, and seem it won't be.

What do I need to do to downgrade do Android 10?

Just unlock bootloader critical mode, and flash factory as per 1st post?

Thanks

EDITED

Add missing works..
[Google Pixel 2 XL Guides, News, & Discussion] Lughnasadh:
If you are already on Android 11 why do you need to do anything? You are already up-to-date.
[Google Pixel 2 XL Guides, News, & Discussion] thomasck:
I forgot some words.. I'd like to downgrade from 11 to 10.
[Google Pixel 2 XL Guides, News, & Discussion] Lughnasadh:
As long as you don't have a Verizon model (their bootloaders can't be unlocked), unlock your bootloader (you shouldn't have to use the critical method) and flash the last Android 10 factory image using fastboot. Save any data you need before unlocking the bootloader as it will erase all your data.
[Google Pixel 2 XL Guides, News, & Discussion] thomasck:
Thanks! Will do now!
[Google Pixel 2 XL Guides, News, & Discussion] CypherMK:
I can't seem to root my pixel 2 XL in any way.

I tried installing the OTA + TWRP in TWRP, reboot, TWRP again and magisk 21.0. This brings me to the bootloader every time.

When I do OTA image in TWRP without installing TWRP, reboot, and booting TWRP with fastboot, then install magisk, I get an endless bootloop.

So what to try next?
[Google Pixel 2 XL Guides, News, & Discussion] Lughnasadh:
Try using the "Patching Images" method instead of TWRP. I would also disable or delete any Magisk mods you may have installed beforehand.

https://topjohnwu.github.io/Magisk/install.html
[Google Pixel 2 XL Guides, News, & Discussion] CypherMK:
I also tried this, but get infinite bootloop.

How can I disable all mods?
[Google Pixel 2 XL Guides, News, & Discussion] Nergal di Cuthah:
are you sure you aren't using a Verizon pixel (which cannot be rooted).
[Google Pixel 2 XL Guides, News, & Discussion] CypherMK:
I don't live in the USA, so I'm sure. I've rooted this device since 3 years ago.

---------- Post added at 10:21 PM ---------- Previous post was at 10:14 PM ----------

Maybe this will help: https://www.**********.com/uninstall-magisk-modules-twrp/

Edit: it should read: droid---views. Dont know why the link is like that.

I'm gonna try tomorrow.
[Google Pixel 2 XL Guides, News, & Discussion] Lughnasadh:
Do you have TWRP installed? If so uninstall it because you can't have TWRP installed and use Magisk at the same time on Android 11. (You can only use TWRP when booted in fastboot).

Did you set the channel to Beta in Magisk Manager 8.0? If not, do so before patching your boot image.

You can try to delete the modules by going into /data/adb/modules
[Google Pixel 2 XL Guides, News, & Discussion] joemommasfat:
Has anyone been able to enable native tethering on Android 11 on the Pixel 2 XL? I don't pay for tethering and for years I have use build.prop mods or a magisk module. These no longer seem to work in android 11. I can connect a device to the hotspot, but it has not internet connection.

I have tried this app as suggested in another thread, but it still does not work.
[Google Pixel 2 XL Guides, News, & Discussion] CypherMK:
Deleting all modules did the trick. Thank you.
[Google Pixel 2 XL Guides, News, & Discussion] craulfloresruiz@gmail.com:
Hey friends, happy week, does anyone know something about when it will be possible or if it will be forever that Verizon has blocked the 2xl pixel bootloader? :silly:
[Google Pixel 2 XL Guides, News, & Discussion] greyhd:
I don't think it was ever unlocked.