yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL Guides, News, & Discussion] Aerosolx:
Would anyone care to help a n00b out? Been lurking for quite some time now, and you all seem to be a nice community. Currently rocking the 2xl and loving it.

A little background about myself. I have a basic understanding on HTML, JAVA and Visual Basic. I am not computer illiterate but have never rooted a device, I did read and reread the guide multiple times plus others also. I am just concerned about bricking my device.

Few things I understand and a few I don't.

I understand how to use adb..

I don't know much about fast boot other than what I been reading.

I am basically concerned since that guide is dated and im on the latest security patch would it still apply? I guess what confuses me is the particions a and b. How it states titanium backup is optional. I am not worried about formatting my phone my concern is hard bricking it and not being able to flash it back.. Also the cable 2.0 and 3.0 got me worried since I've never done this i wouldn't know if it's the cable or something I did wrong. I'd appreciate it so much and think I'd be a rather active member of this community any help would be much appreciated.

Thanks in advance.. Either way I'll still be lurking.. Peace out guys. :good:
[Google Pixel 2 XL Guides, News, & Discussion] post-mortem:
Make sure you always have the latest version of platform-tools. Google released a new version in March. People often have multiple versions on their computer at the same time, so make sure your PATH statement is correct (or you are executing adb or fastboot commands from within the platform-tools folder).

adb is used to communicate with the phone when some form of Android is running. fastboot does the same thing when the phone is in bootloader mode. Generally, it's one or the other. As in, only one of those tools will be able to communicate with the device, depending on the state of the device.

If you unlock the bootloader, change anything, then re-lock the bootloader, you will brick your device. After unlocking the bootloader, you will get a warning screen every single time you boot up. This is normal, and can be ignored. There are few good reasons to relock the bootloader.

Don't worry too much about the A/B partitions thing. This is a good article to read if you want to learn more about it.

If your attempts to unlock the bootloader or root the device don't work, try again, try again, try again. Still no? Try a different USB port, 2.0/3.0, different cable, restart the computer, different computer, etc.

Good luck! :highfive:
[Google Pixel 2 XL Guides, News, & Discussion] johnlgalt:
To add to the above:

If you go to the site and actually download, versus reading what it says, then you see that the latest DL version is 28.0.3, but the info for March says 28.0.2 - so it seems that there's actually been a newer release than what is listed. When I DL it using FDM the date on the file comes back as 7 May 2019, as well, so that seems to corroborate what I am seeing.

IOW, even if you think you have the latest because you downloaded it after that date, DL it again just to make sure that what you have is the same as what Google has released.
[Google Pixel 2 XL Guides, News, & Discussion] Aerosolx:
Hey thanks for the speedy reply I appreciate it. Wow alot of info.. Good thing is I did so much reading I knew most of that, I guess I'm on the right track again thank you very much I really am thankful. Here's my issue now i guess... I had no idea about the bootloader being unlocked and then relocked causing problems, I bought this phone used.. From a pawnshop type business in the hood of Chicago lol.. I have no idea if it has been rooted previously..??? I did not know that was a issue.. I swear I read on this thread people relocked there boot loader in a specific way, one particular case was before returning their phone back too google. Anyway I just woke up maybe I read your statement incorrectly ill give it a reread. I appreciate your response. Cheers.

So I guess what I'm really trying to say/ask is..

If the previous owner had it rooted or modified and re locked the boot loader then I will essentially brick the device if I try to root?

Also... What if devolper options was enabled previously and someone simply just flipped the bootloader switch but that's it and did not go all out with platform tools etc.. Only asking because pretty much everyone enables devolper options now and people tinker with stuff just too see what it does. I have no idea what the previous own did.. I bought used and it seemed it was just factory reset. Again I'm just assuming

Are you saying if you unlock the bootloader you must return to factory or a specific way before you can relock it? If thats the case I think I should still be good.

Edit: I have a potty mouth.

---------- Post added at 03:28 PM ---------- Previous post was at 03:14 PM ----------

Also..

It almost seems like as long as I have communication with the device thru platform tools I can always go back to stock if or atleast get it too boot some kind of OS if I fail.. My fear would be failing and loosing communication to the device which will in turn render my device useless im assuming this is the term brick. Correct? Hopefully I'm on the correct track.
[Google Pixel 2 XL Guides, News, & Discussion] post-mortem:
If the device has been completely returnes to stock, you can relock the bootloader. Whenever you lock or unlock the bootloade, tthe device automatically wipes everything and reboots. If something has been modified and you relock the bootloader, the device will fail to boot, and you will be unable to access or do anything. That's the brick.

Since you bought the device used, the safest thing is to pretend it's new, and go through all the steps to unlock, etc. Flash the full firmware using the flash-all method, and wipe everything (in case of malware). Then you can consider the device yours, and root it.
[Google Pixel 2 XL Guides, News, & Discussion] Aerosolx:
Okay gotcha. Thank you.
[Google Pixel 2 XL Guides, News, & Discussion] Colonel_Kosova:
Hello all, i sincerely apologize if i am making the same question again but i could really use some help. I recently got a Pixel 2xl and was hoping to clean install it ( literally wipe everything and anything on it) i have tried to follow many of the tutorials but for some reason cant really make it. If not to much asked could someone please please direct me on how to do it with adb commands. I use to own a Samsung s8 and worked mainly with ODIN tool which made things really easy.

for some reason i just cant figure it out how to do the wipe on my pixel. A guide/tutorial with pictures would be highly appreciated. Again sry for being a noob but i could really use all the help yall can offer.

thank you in advance
[Google Pixel 2 XL Guides, News, & Discussion] post-mortem:
This has no pictures, but you can follow Google's instructions here. Download the full factory image you desire at that link, then scroll to the top of the page for the instructions.
[Google Pixel 2 XL Guides, News, & Discussion] Colonel_Kosova:
Thank you very much. Looks complicated enough but i will give it a try thank you again
[Google Pixel 2 XL Guides, News, & Discussion] zfk110:
I just got Pixel XL 2 from online (taimen) my build id is PQ2A.190305.002 when I went into OEM unlocking its gray out, what are my option to get this enabled and have bootloader unlocked? I thought as of Pixel XL bootloader was there to unlock for XL2 too.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
If it's a Verizon variant phone, and it sounds like it is, your kinda outa luck. There is no bootloader unlock for that version.
[Google Pixel 2 XL Guides, News, & Discussion] zfk110:
I believe then there wont be any Magisk, TWRP or custom ROM? I didn't look hard enough to see if they were patched when I bought this. when I saw newer TWRP released I thought bootloader is there to unlock
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Twrp has nothing to do with the bootloader unlock exploit. And, after close to 2 years since the P2XL release, an unlocking method has yet to be found. Sorry man :(
[Google Pixel 2 XL Guides, News, & Discussion] zfk110:
just for hack I tried this first pixel unlock method for oem

I factory reset the phone then I went in to do this without WIFI or sim

Enable USB debugging on your Google Pixel device.

Connect the phone to the PC using the USB cable.

Go to C:\adb on the PC.

Hold the SHIFT key and right-click on an empty space inside the folder.

Select ‘Open PowerShell window here’.

adb shell pm uninstall --user 0 com.android.phone

Once uninstalled, reboot your Google Pixel phone.

After rebooting, connect the device to WiFi, open Google Chrome and open a web address (such as www.google.com).

When done, go to Settings > System > Developer options and enable OEM unlocking.

I was able to unlock the oem but when I tried to unlock the bootloader it didn't work and after I restarted the phone it locked again, but if I don't try to unlock the bootloader OEM unlock stay in after restart.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Yep. That's a petty common outcome. You can get the OEM unlocking toggled on, however fastboot commands do not work to unlock the bootloader.
[Google Pixel 2 XL Guides, News, & Discussion] Miryu:
getting this error when flashing the patched boot image.. what am I missing?
[Google Pixel 2 XL Guides, News, & Discussion] Strephon Alkhalikoi:
Your bootloader is locked, so unlock it if you can. If you can't, no root for you.
[Google Pixel 2 XL Guides, News, & Discussion] Miryu:
I enabled unlock in developer options. DO I need to run the unlock command too? also can I relock the bootloader after magisk root? Not going to use other roms or kernels and no TWRP.. just stock with root
[Google Pixel 2 XL Guides, News, & Discussion] jd1639:
Yes, you need to use fastboot to unlock the device. BUT, don't relock the bootloader if you're rooted, or anything not stock. If you do you're asking for a worthless device if something goes wrong and you can't boot to system.
[Google Pixel 2 XL Guides, News, & Discussion] Miryu:
Thank you for your help :) Will unlock and root then. :)

EDIT : One last thing.. If I decide to go back and remove root, can I just flash the stock boot.img and relock the bootloader ?
[Google Pixel 2 XL Guides, News, & Discussion] jd1639:
I would get the full factory image, edit the flash all batch file to remove the -w, then flash that. That'll get you back to 100% stock and retain all your apps and data. Then lock.
[Google Pixel 2 XL Guides, News, & Discussion] Miryu:
Well.. it wants to wipe my data at reloacking so I will have to do everything from scratch .. :/
[Google Pixel 2 XL Guides, News, & Discussion] Nergal di Cuthah:
Yes locking or unlocking a bootloader will always wipe the device
[Google Pixel 2 XL Guides, News, & Discussion] D-m-x:
Maybe a stupid question, but I simply don't know the answer since I have never ran a unrooted Device in years. I need GPay to work for the next few weeks so I'm planning to unroot. Flash Stock again etc. no big deal. But what I don't know: Couldn't I just simply leave the Dev Setting "Allow OEM unlocking" enabled to be safe? Or do I need to disable that in order to not trip any checks?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
You'd be fine leaving OEM unlocking on. Should it become an issue however, then turn it off. Just remember to enable it before you root your device again :good:
[Google Pixel 2 XL Guides, News, & Discussion] post-mortem:
Make sure you actually need to unroot, first. My Pixel (sailfish) is rooted, and Google Pay works fine.
[Google Pixel 2 XL Guides, News, & Discussion] saibharath1319:
How to unlock Verizon Pixel 2XL?
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
Lol...you would think that, since it's ^^ phrased like so, that it's ready made to be input in the (or any, really...) search engine! And it would be so easier to!

After reading this, my first thought is "This dude's gonna get so reamed....!"

*but at least you kind and

patient

experts will still give him an answer nonetheless... I'll probably come out too harsh so I'll leave it to you guys...
[Google Pixel 2 XL Guides, News, & Discussion] Strephon Alkhalikoi:
You can't. Sucks to be you.
[Google Pixel 2 XL Guides, News, & Discussion] GenuineDickies99:
And me.
[Google Pixel 2 XL Guides, News, & Discussion] CPngN:
June 5 release is ready early... anyone try it yet? Same old thing? I can't use GPay at the store and the effort to work around it ...isn't worth the effort to me. But I'm hoping the latest Magisk helps, though notes don't seem to suggest any work in this area. Has anyone updated to the latest Magisk with any change in their GPay-ability (for tap-to-pay)?
[Google Pixel 2 XL Guides, News, & Discussion] Superschmiddi:
[MENTION=4602292]CPngN[/MENTION]

There are extra threads with working (easy) workarounds for exactly this issue

https://xdaforums.com/apps/magisk/discussion-google-pay-magisk-discussion-t3906703/

https://xdaforums.com/apps/magisk/magisk-google-pay-gms-17-1-22-pie-t3929950/
[Google Pixel 2 XL Guides, News, & Discussion] Digital DJ:
Since I updated to the June 5 patch, I'm having issued with my charging port. Specifically, I can only charge my device if the charger is in a specific way.

When I first put the charging cord into the device the battery icon lightning symbol will flash off and on. Then I pull it out and flip it over and it chargers fine. This happens with multiple charging cables. Also, I can't hear any sounds when I use my head phone adapter. Was working fine before the update.

I spoke with a Google tech and he thinks it may be a software issue but since I'm rooted, he can't help until I go back to stock unrooted.

Had anyone else has an issue like this? The Google pixel 2xl has a 2 year warranty but I need to unroot to use it.

In the mean time, I'm going to try the June 5 security patch update again. I don't see how it's a software issue, but I'm not buying a new phone...
[Google Pixel 2 XL Guides, News, & Discussion] Edmontonchef:
I had the same problem, gave the port a good cleaning with a pipe cleaner, tooth pick and compressed air. Now charging fine.
[Google Pixel 2 XL Guides, News, & Discussion] Reechings:
Yeah me too, cable wasn't staying plugged in well and thought maybe the port was going. Cleaned with toothpick and even though it didn't seem like a ton of lint was coming out, it fixed the issue. Really doubt it's a software issue.
[Google Pixel 2 XL Guides, News, & Discussion] Digital DJ:
Although I didn't see any chunks of lint, I will admit that I put a toothpick in there and scrape around a bit and some Gunk came out. I don't have a pipe cleaner but I do plan on making a trip to the store today. I will clean this out more. This has honestly been my absolute hands-down favorite phone and I have no intentions of getting rid of it until it absolutely dies especially since it was almost $1,000... Thanks for the tips on cleaning!
[Google Pixel 2 XL Guides, News, & Discussion] CPngN:
Agreed. I feel we lucked out consider the issues others had and some people are having with the P3's.

Be careful with the pipe cleaner, don't let the pointy wire tip get under the tiny contact wires in there. Depending on how they're made you could hook one and bend it out of place and then you've got a worse problem! ;)
[Google Pixel 2 XL Guides, News, & Discussion] Digital DJ:
So pictured on the left is the USB type-c to USB type-c charger that comes with the phone and on the right is the USB type C to USB that I also received with the phone. I have multiple USB type-c to USB type-c charging cablesand I've tried them all and I have the same problem with all of them. I can only insert the charging cable into the charging port with one side facing up. If I flip it over then it will not charge at all. But with the USB type-c to USB charger it doesn't matter. I can have it one way or the other and it will charge both times both ways.

my headphone adapter no longer works either. But that could be coincidental as those things are total garbage anyways. I don't know what to make of this problem but I seriously doubt it's a cable and I have cleaned the hell out of this thing.

Edit:looks like the app on my phone flip the picture upside down. I'm sure you guys get the point of which cable is which
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
I'd guess that your charging port in your phone (hardware issue) may be the culprit, especially considering you've used multiple (I hope at least more than 3) type-c to type-c cords...

Although USB Type-C doesn't matter what orientation you plug it in -- if you think about the original USB (type-A or B) and that the reason the orientation mattered was because the metal plates on the port faced downward -- I assume USB Type-C merely has "plates" or "interfaces" on both sides; but, in your case, I suspect one of the "sides" has broken hence it working with "one side facing up" than the other. That, or you might be particularly "inclined" and it just seems on one side, and you either have to wait longer before seeing it charging, you are inserting it too much or not enough in the initial plug-in, or the first insert "preps" it so that the second insert properly processes and displays. I'm not saying for sure you are mistaken, it's just when becoming frustrated, it's easy to both rush certain things and/or notice & observe to a certain inclination (can sometimes be also described as "tunnel vision")...

In any case, it seems a hardware issue, and the only option is to get it repaired or replaced (by Google themselves or a 3rd party repair [i.e. in the US, there is uBreakiFix]).

One other thing that comes to mind, although I don't know if you're willing to opt for it, is sometimes these issues are due to some bug in the system and/or a specific app, and a full factory reset resolves it -- although, for best results, it may require a wipe of your device; but seeing as you are rooted, you should be able to backup everything (TB or Nandroid backup) and the loss should be minimal. Other than that, it'll be merely but certainly a hardware problem...

Good luck...
[Google Pixel 2 XL Guides, News, & Discussion] CPngN:
But what is your source for power? The same (possibly 1-sided broken) charger? Try a good (real) usb-c charger, even if you have to visit a store to find one. I'm wondering if your charger isn't getting power to both sides. Plus other issues too, which could be cables or phone. Cables and adapters fail more often than people think.
[Google Pixel 2 XL Guides, News, & Discussion] CaptJager:
Ok so I am trying to unlock my bootloader on my pixel 2 xl it is a verizon phone running 8.1 I have been able to enable oem unlock in developer options but as soon as I try to run fastboot flashing unlock or fastboot flashing unlock_critical I get Flashing unlock is not allowed. When I reboot phone and check oem unlocking is greyed out again any ideas?
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
If your device is a Verizon model, you'll not be able to do anything further than unlock developer options.

Verizon devices can't have their bootloader unlocked.

Sorry to be the bearer of bad news.
[Google Pixel 2 XL Guides, News, & Discussion] CaptJager:
Even though it is on 8.1 and I can enable oem unlocking in developer options?
[Google Pixel 2 XL Guides, News, & Discussion] CyberpodS2:
That's as far as anyone gets on the Verizon model...
[Google Pixel 2 XL Guides, News, & Discussion] CaptJager:
ok thanks
[Google Pixel 2 XL Guides, News, & Discussion] Digital DJ:
Ok so I am considering trading in my Google pixel 2 XL for a Google pixel 3 a on the Google store. The reason is, Google will give me $208 in the condition it's in now and I have a dying charging port and I know if I send this into Google to fix it there just going to send me a refurbished phone anyways. Is anyone else considering a new Google phone? I'm also considering the Moto G7 as it has awesome battery life and it's unlocked and cost under $300.
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
If you're willing to wait, I would say wait for the Pixel 4 XL -- it's what I'm doing. I mean, I really hated the Pixel 3's god-awful notch and -- outside of the camera -- it's not such a big improvement. My/The pixel 2 is still running very strong with little to no complaints! Even though there are other smartphones that not take better pictures, it doesn't mean that the Pixel 2 still doesn't take amazing pictures -- I've read/heard that, arguably, it still beats the current iphone's even though it's a near 2-year-old device. And, if anything, you could probably apply that same discount on the Pixel 4 when it's out. I actually am very excited for the Pixel 4 because it might finally bump the RAM to 6GB, two cameras (although the back square "bump" for the cameras look just as god-awful as the P3's notch) on the back (and, considering how awesome they were able to make and keep up with other devices with just one...), Android Q, pin-hole front camera design (looks closer to infinity screen), wireless charging (if you're into that sort of thing), amongst other things...

I'm not saying the Pixel 3 is not a great device (although I am reading some clunky performance and battery-life issues in multiple places), I just feel that it's not so much of an improvement off of a Pixel 2. And, if you don't care about having that Google trade-in credit right away, you could even consider buying and using the Moto G7 until there's an (inevitable) sale for the Pixel 4's....

just my two cents...
[Google Pixel 2 XL Guides, News, & Discussion] Cibet22:
Sorry OOT. Still no way to unlock on Verizon Taimen? :crying:
[Google Pixel 2 XL Guides, News, & Discussion] Will008:
I completely agree

---------- Post added at 10:36 AM ---------- Previous post was at 10:36 AM ----------

Nope
[Google Pixel 2 XL Guides, News, & Discussion] Digital DJ:
Thank you. A Google support person informed me that UbreakIfix is a Google Authorized tech repair company (https://www.ubreakifix.com/google). I've already spoken with them and the cost to fix charging port is $79. I'm on vacation so it'll have to wait until I return. O have a small crack in my screen I may get them to repair as well.

Beats the hell out of passing for insurance, then a deductible, only to get a refurbished phone. I've had this phone since launch and this is the ONLY issue I've had so far. I might check out the pixel 4 but I already hate the stupid high cost of the Google devices. I have no problem with my GP2XL.
[Google Pixel 2 XL Guides, News, & Discussion] srqrob:
I'm not the most tech savvy follower here, but more and more I fail to see a compelling reason to spend up to $1,000 to upgrade from my still humming along P2XL.
[Google Pixel 2 XL Guides, News, & Discussion] pyro226:
Stuck at G logo

I am stuck at G logo when booting after installing a Magisk patched bootloader.

I unlocked_critical, flashed the latest version of Android (June 5 security patch) without a full format -w option as I had just reset the phone when unlocking the bootloader, installed magisk.apk 7.3.0 (220), patched the bootloader-taimen-tmz20r.img and ran fastboot flash boot patched_boot.img

That's when I get stuck at the boot logo. I had to flash the original bootloader-taimen-tmz20r.img to get it to boot again.

Magisk 19.3 (19300) is not installed (I'm under the impression that's shown when booting from the patched bootloader?).

I'm not opposed to doing a full format if needed, but wasn't sure if it was needed.

To be honest, I just want to uninstall the youtube app as I spend too much time on it (and time limits in Digital Wellbeing aren't an option). If there's an easier way to uninstall youtube, please let me know. :)
[Google Pixel 2 XL Guides, News, & Discussion] srqrob:
If you're rooted, Titanium Backup usually works for me for any uninstall or freeze.
[Google Pixel 2 XL Guides, News, & Discussion] pyro226:
The reason I was going through this guide was to root. The patched bootloader didn't work, so I had to revert to the stock bootloader from google image to boot (hence still not rooted).