yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL Guides, News, & Discussion] trim81:
Update: decided to run the commands one by one on my Mac terminal, removing the -w. All went well with the manual method.

Did not format my phone.
[Google Pixel 2 XL Guides, News, & Discussion] johnlgalt:
Yeah, you can run the instructions one by one - I do that frequently when I only need to run part of the instructions (such as flashing stock BL img). But some users won't be comfortable in doing it line by line. Furthermore, you're introducing a (slightly, granted) greater chance at doing something incorrectly.

The poster I replied to had issues with editing the -w out of the original script, saying it was not sticking. In such a case, copy / paste to a new file, editing that new file, is, simply put, pretty easy, and resolved that poster's issue.

I didn't say it was the only way to do it - I simply picked what seemed like the most expedient manner to get the task accomplished.

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

Q ẞeta 5 pushing to my phone right now. I just restored the default boot images, and am letting it DL - already had reports that Magisk works on 5, so I'll patch the inactive slot when done and reboot and see how it goes.
[Google Pixel 2 XL Guides, News, & Discussion] Digital DJ:
Woot is having an awesome sale today on refurbished Google pixel phones. I'm thinking of picking one up as a backup. Thought I would pay s link here in case y'all are interested!

Edit: I just picked up a 64GB Pixel 2XL for $189. Yes it is refurbished, but still, it's a GREAT phone and so far I see no reason to move to the GP4

https://electronics.woot.com/plus/google-pixels-your-choice
[Google Pixel 2 XL Guides, News, & Discussion] Nergal di Cuthah:
Not to rain on your parade, but it's probably a Verizon one and un-rootable. Nice price though
[Google Pixel 2 XL Guides, News, & Discussion] Digital DJ:
Yeah no worries I'm not necessarily looking for one that I could root, but that would be an added bonus. I am trying to get a new job and the place where I would be working at would not allow rooted phones. I don't know if they check them but they made it a point to say that to me. So again if I can't root it it's not a big deal. But I will say this was the exact description of the phone that I bought:

Google Pixel 2 XL (VZW/GSM Unlocked)(S&D) Google G011C Pixel 2 XL (Verizon Unlocked - Compatible with most US networks)
[Google Pixel 2 XL Guides, News, & Discussion] CyberpodS2:
So yeah it's a Verizon phone.
[Google Pixel 2 XL Guides, News, & Discussion] Digital DJ:
Well if it is, then I'll probably return it. lol thanks
[Google Pixel 2 XL Guides, News, & Discussion] post-mortem:
You should still be able to use it just fine, it just has no known root method (so it's undesirable to many of us).
[Google Pixel 2 XL Guides, News, & Discussion] Nergal di Cuthah:
Especially those of us in the unlock/flash/root thread here :lol:
[Google Pixel 2 XL Guides, News, & Discussion] demkantor:
Hey, so the camera crashed on my 2xl and google just sent me a replacement

I was running a stock rooted android8... well because i was too lazy to update (super busy lately) the new phone came with android9, checked it all over it has latest july update

I installed lattest twrp, thats working as it should, when i flash the patched boot .img i get stock on the splash screen (G loading) but if i flash back orginal boot.img it works great

ive flashed all of this july update via fastboot (manually even to make sure each image takes) gone through full setup again, added twrp again, tried flashing patched image both via recovery and fastboot to no avail

is there an issue with magisk for july patch? something im missing?

any help would be great, im kind of out of the loop in android
[Google Pixel 2 XL Guides, News, & Discussion] srqrob:
Magisk should be fine with latest. You could save a lot of trouble with Deuces script.

https://xdaforums.com/pixel-2-xl/development/tool-deuces-bootloop-recovery-flashing-t3704761
[Google Pixel 2 XL Guides, News, & Discussion] demkantor:
Thanks! But that appears to be a script to fix bootloops?

My issue is I'm not able to boot or run the patched boot.img from magisk, I don't mind doing things manually actually prefer that but for sure cool with other methods

Any ideas why the patched kernel won't boot?
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
While Deuce's script does help fix bootloops, I believe what [MENTION=4370729]srqrob[/MENTION] was meaning for the advice is that you mentioned that you manually fastboot commanded each and all the image files individually; which is basically what Deuce's script does -- individually and manually fastboot flashes all the image files. So, to save yourself a lot of time and typing/cutting/pasting, this is a good suggestion and what I/srqrob suggests for people who wish for it to not be flashed all in bulk...

As per your original issue, you most likely are having issues because the method you are choosing is one of the easiest to get messed up (manually patching the boot image [.img]) -- whether by the person or simply whatever bugs/glitches are in the coding -- and especially since you are installing TWRP, you would be better served flashing Magisk/obtaining root using TWRP to "Install" Magisk by its installation .zip file. In this way, all the "flashing" and "patching" will be done on a code level where everything that needs to be mounted or "called" upon will be, obtaining proper permissions, and re-inserted back into the boot partition correctly versus a virtual cut-and-paste that is done outside of use of the installation file.

See if this works better for you (I'm willing to bet that it will), but if you still have issues afterwards, some things to consider; always install/flash Magisk as the

LAST

step -- install your custom kernel and everything else before Magisk as, even though the output of installing certain kernels claims that they can detect modified boot partitions and not mess things up, most of the time, the others don't "play" well with Magisk and it's just best to leave Magisk to have the "final say" as it were. Another thing to consider is to be sure that you are using the most latest up-to-date version of Magisk -- and even consider the "canary" beta versions, if need be -- as well as TWRP (and even the latest r29.0.1 platform tools) and whatever custom kernel you are considering...you'd be surprised how badly these things go and how much troubleshooting just to find that it's because one component or other isn't using the latest version...

Good luck to you and hope this helps...
[Google Pixel 2 XL Guides, News, & Discussion] demkantor:
Thanks for that! I had tried flashing via recovery after flashing via bootloader didn't work, tried both methods twice and let it sit how 20min + each time with it not getting past the splash screen

I'm running the latest as far as I can tell, all images from latest (July I believe) from Android factory images (these work fine without root) and I believe twrp and magisk are both the latest, I'll attack a screenshot of magisk, want to say twrp was like 3.0.0 but I'll have to reboot and check

Original kernel always works fine, so after getting stuck just a quick flash of that and I'm up and running so not a lot of work needed for scripts but I get it

I just prefer manual, I'm old, scripts in Android at times haven't played well with me but I haven't done coding in years so don't know a ton of what's new

I'll retry everything again of course and see what's up, oh I guess I'm patching the factory boot.img, am I to be using a custom kernel? I was under the impression that factory one would work fine once patchex
[Google Pixel 2 XL Guides, News, & Discussion] CyberpodS2:
Why are you using the patched img method instead of just flashing the zip in TWRP?? Pretty much everyone gave up the patching over a year ago once the zips were created. It's pretty much a mindless install at this stage of the game.
[Google Pixel 2 XL Guides, News, & Discussion] demkantor:
Well I tried both methods, originally tried flashing the patched image via fastboot, didn't work, tried via recovery, same issue, went back and tried both ways again

Each time I could recovery fine flashing factory image.img

A year ago would have been the last time I was here, I've been just running Android 8 until my camera decided to crap out on me, Google covered it which was great, but the new phone they gave me had updated software. Not a big deal, I like this, but no issues rooting prior where now I do

So not sure if it's android9 issue or latest magisk, hard to say as I only had a bit of time to dink about earlier

I'll try via recovery tonight again and hopefully that will work
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Had a similar problem for the May and June updates that forced me to use magisk 18.1, but then was able to update magisk to 19.3 via the magisk app after the July update. So, I would try flashing 18.1 via twrp, let it boot up, hopefully with root, then try updating to 19.3 via the app. Best of luck to ya :good::cool:
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
NOTE: After I lost my initial response by accident, I clicked reply and walked away and only hours later (now) find that it ended in an error, so this is my original response, even though I see that there are additional replies...

Hmmmm....some output/logs would be helpful at this point (particularly the output when installing Magisk using the .zip file)...

But what I'm thinking is that you might be best served by resetting the boot partition. After all the flashing and re-flashing you've been doing, I'm concerned you might have a rather "buggy" boot partition and/or kernel. You could always do this manually by extracting the stock boot image and fastboot flash it, but you'd most likely be better served by merely running the flash-all on a Full Factory image to make sure everything is set properly (of course with "-w" removed).

After doing this, I suggest you keep it simple and direct; boot into TWRP (install it if you wish, but be sure to only use the installation .zip or "Advance" install it by pointing to a TWRP image. After, reboot to the bootloader before booting back into TWRP. Then, if you wish for a custom kernel, install that at this point. Afterwards, reboot to the bootloader then boot back into TWRP. On this (third) time, "Install" Magisk by its .zip file. Again, reboot to bootloader before booting into the system -- Apparently it is good practice and may resolve some issues by rebooting to the bootloader after each and every flash/install.

If anything, be sure to copy the output/logs so you can put it up here if need be...

Good luck!
[Google Pixel 2 XL Guides, News, & Discussion] CyberpodS2:
Hey bro where you been hiding? Lol
[Google Pixel 2 XL Guides, News, & Discussion] post-mortem:
Latest TWRP for taimen is 3.3.0-0.

Latest platform-tools is 29.0.2.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Hey bud. Life just got busy since the end of March. My mom passed away, so I had to do several road trips between KC and St. Louis to settle estate stuff. And now we babysit our 10 month old grandson 3 days a week. Not to mention that by the time I ever get on XDA anymore, you and all the others have got all the P2XL stuff handled :laugh::good:
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
Sorry to hear about your mom :crying:

Glad you get a little more grandkid time (mine live hours away)!

Good to see you in the threads again!
[Google Pixel 2 XL Guides, News, & Discussion] CyberpodS2:
Hey bro sorry for your loss. We are getting to that age where the life stuff we dread is happening. As for Grand kids, I'm a new grand dad as of this week so looking forward to that chapter. At the end of the day, I'm very happy to see you know where you are needed first! Stay cool man.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Thank you brother! Appreciate the kind words. And many Congrats on your new grandbaby!! It's a blast! Tiring as all get out, but definitely a blast! :good::laugh:
[Google Pixel 2 XL Guides, News, & Discussion] johnlgalt:
Sorry for your loss, man.
[Google Pixel 2 XL Guides, News, & Discussion] johnlgalt:
(Yeah, I'm spamming the threads lol - but this is the last one, I promise!)

Q ßeta 6 going live right now.
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
There was a day when I was all over these the second they came out.

I must be getting old, or lazy because now I'm perfectly content to wait for Google to drop the next OS before flashing it :p
[Google Pixel 2 XL Guides, News, & Discussion] johnlgalt:
Lol - I'm still a crackflasher at heart. Plus, I beta test a lot of stuff, not just Android, but also on my desktops and laptops.

I enjoy living on the edge.
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
Sir, you may have my spot on the edge :p

After staring over that edge, looking at the bottom of the Android Grand Canyon for so long, I'm content to wait for the documentary now :D

Kudos to you who still man the edge, and chew through the betas!

We lazy folks salute you! :good:
[Google Pixel 2 XL Guides, News, & Discussion] bluey45:
Won't be long for you to wait for final Q haha
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
EXACTLY! :D
[Google Pixel 2 XL Guides, News, & Discussion] johnlgalt:
I'll say this - Q has brought (and taken away) more features than I can count - but tonight I was able to pin live scores from various NFL pre-season games as well as a baseball game. That and Dark mode (which I've been using since they gave it took it away gave it back sort of but not fully) really make this a nice overall OS.

Backend stuff, too, like more granular control over permissions, including location permissions only while the app is running, and a lot more stuff in DevOps - I'm digging this Q thing.

Now to wait for it to go final, and then to buy a new phone....
[Google Pixel 2 XL Guides, News, & Discussion] bluey45:
Yeah agree, it's been a quite good upgrade from Pie. Pixel 4 XL for you? Hahaha.
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
That's what I'm waiting for........ 4 XL :good:
[Google Pixel 2 XL Guides, News, & Discussion] bluey45:
Hahaha it shall be good!
[Google Pixel 2 XL Guides, News, & Discussion] johnlgalt:
Yeah, I'm almost positive (it's pushing close to 90% positive at this point) that I'm getting the Flame this go around. And, naturally, the 128 GB version.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
I'll be right there with ya ol buddy. My beloved P2XL screen has taken a beating as of late at the mischievous hands of my grandson! He's definitely a chip off the old block! :laugh::good:
[Google Pixel 2 XL Guides, News, & Discussion] CyberpodS2:
Heh looks like the band will stay together for another couple years... It's pretty much a given for me too.
[Google Pixel 2 XL Guides, News, & Discussion] Digital DJ:
I too am thinking about the 4XL, but my 2XL is in mint condition with the exception of the tiniest of cracks on the lower left-hand corner. I still absolutely love this phone but yes I am thinking about the 4XL even though I said I would never spend that kind of money on a phone ever again LOL.

I'm also thinking about the new Motorola G8 which hasn't been announced yet but I have always been in love with the Motorola line of phones. Every now and then I'll stick my SIM card in my Motorola x pure just for kicks. But that phone is almost dead as I can hardly get it to charge full anymore.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
The original Moto X??? That was a helluva device back in the day! :good:
[Google Pixel 2 XL Guides, News, & Discussion] CyberpodS2:
6, 6P and 2XL guess I'm stuck in a rut... Lol
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
Man....I seriously am having soooo much trouble waiting for the P4XL!!!

It is unfortunate losing the "infinity" screen with simple cut-out punch-holes, but the bezel doesn't look too bad and at least it's not the god-awful notch like the P3, and it's exciting that there seems soo much (actually "too much) going on in the bezel that they couldn't even consider a notch!

And, as awesome of a job that they did on the P2's single camera, I can't wait to see what the back camera monstrosity square notch will do then! And, honestly, how often do you look at the back of your phone (outside of picking it up), so I guess I don't mind a weird big notch back there...

And to finally get an upgrade in RAM is bound to be nice... (*even though my P2XL seems to be running perfectly well still; like Digital DJ was saying...)

But yea, can't wait for the phone, and can't wait to further collaborate with you all about things such as rooting, troubleshooting, and modifying it as well.... It seems Android Q isn't so bad, so (again) can't wait to see you guys all those things on a new phone on the new Android Q(uiche?)!!!
[Google Pixel 2 XL Guides, News, & Discussion] johnlgalt:
Lol - I feel you. As a first gen day one Sholes owner, not to mention a few other Moto phones (Android and even older, like StarTac), I was a huge Moto fan. I was expecting great things from the Google buyout, but sadly, they divested themselves of the operations. And then I bought my Taimen, and I haven't looked back.

About as good as the BIONIC was bad, eh? :p Yeah, I rocked the BIONIC for 2 years, and the Nexus 6 for 3, and the original Sholes for 2 - other than a temp SIII that was given to me when my BIONIC took some damage, I was Moto only until 2017, when I got the Taimen.

I didn't upgrade nearly as often, but I have a pic somewhere displaying all of mine - and I baby my phones, so except for the BIONIC, which took some rough damage on account of that extended battery, my phones are in great condition. Sholes and Shamu are in excellent condition, and my current Taimen, believe it or not, is almost mint.

Not gonna lie - I'm digging Q. Folks who're used to (and want to continue to use) Nav buttons instead of gestures are not gonna like first using a new phone on Q, but at least you can change it. I've gotten used to the gestures, and I do love them

Also, with the next gen device I get (probably Flame) I think it will finally have enough power and RAM to start using separate profiles for work and ho...not-work. I need to test it out to see if it is worth doing, but Android Work profiles, or whatever it's actually called, is something I probably need to examine and explore more thoroughly in the next couple of months.

Don't want to be 'that guy' rocking dual phones, yanno. But do I give the better phone over to the not-work profile, where it really needs (wants) the extra power for things like gaming and staying connected, or to the corporate profile, which doesn't need the power, but sure as hell would be easier to use without having to dig out my charger in the afternoons? Decisions, decisions... :p
[Google Pixel 2 XL Guides, News, & Discussion] Pkt_Lnt:
My first Motorola cellphone was the good old Tough Talker Transportable.

What a frickin' beast that was... :eek:
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Dang...we are old, bwahahahahaha. If that thing didn't work, we could alway use it for bicep curls! :laugh::laugh::laugh:
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
Still got my 6P (which I still enjoy playing with from time to time) as a backup in case the unthinkable happens :eek:
[Google Pixel 2 XL Guides, News, & Discussion] CyberpodS2:
My 6p is on Google FI right now. I use it mostly as a music player but it comes in handy when I go places where Verizon sucks. Lol
[Google Pixel 2 XL Guides, News, & Discussion] johnlgalt:
I jumped in late for the cell phone game, but my mom had one of the bag phones from Bell South Mobility when she was a real-estate agent. Which then became Cingular (or the other way around, my memory is weak, and I'm not Googling it right now). Which later merged into AT&T IIRC. I'm the one that sold it to her and got her contract with the company.

Uh, dude, VZW sucks. Period.

Oh, you meant *service*. My bad. :p

Funny story though - in 2009 when the Motorola DROID (A855 Sholes) was press re;eased as being a VZW phone, I created a new VZW account to get a pair of the ... Blackberry something or another (or Palm - something, I really think it was a BB) that they had on sale a s a BOGO. Used the BB for a few weeks, then said I didn't like it and wanted the DROID instead. Instead of taking it back as the free one, they offered me a full refund on the purchase price of the BB - and I didn't have to send in the free one.

So, I got my DROID and gave the BB to my mom - to date, it's been her fav phone until she got her current S8.
[Google Pixel 2 XL Guides, News, & Discussion] Windroid-user:
What?!? What about the battery, I replaced that darn thing twice and it's dead right now. Bought them from replacebase. It really ruined such a nice phone.
[Google Pixel 2 XL Guides, News, & Discussion] CyberpodS2:
Actually it's starting to fail again I believe. I'll have to decide if it's worth replacing again. Mine failed once a couple years ago. Lol

Did you do the battery yourself?
[Google Pixel 2 XL Guides, News, & Discussion] Windroid-user:
I tried two batteries after I got sent a replacement. The second one was a new battery with a weird design. The connecter was behind the battery not in front? I believe the date on it was 2018 and was slightly harder to plug in because of this design which does not make any sense to me. I still have the batteries and I believe I took some pictures when getting the new one because the battery connector was bad? This was ages ago so hard to remember and it was just a joke because it would fail almost instantly...

Will upload them when I find them or take new ones

---------- Post added at 01:12 PM ---------- Previous post was at 01:08 PM ----------

Quick question. When do you think google pay stops working on the pixel 2 xl? After unlocking the bootloader or when flashing root? Because I'm only planning on flashing Sultan Kernel because it is not my personal phone.

Check the thread for more details: https://xdaforums.com/pixel-2-xl/development/kernel-sultan-kernel-t3802152/page157

---------- Post added at 01:19 PM ---------- Previous post was at 01:12 PM ----------

Yeah I did it myself. A tip is to get a razor because it really needs to be thin at first to gett in between the frame and glass/plastic bit. My dad did this part with different tools before that and yeah it is pretty dinged up but it didn't end up working for long anyway! I really like that phone (again not my pesonal phone) and wanted to give it a new leash of life because it deserved it.

Imagine if the phone had a removable battery instead of this and it kept dying after a short while, people would be 10x angrier because there would be no chance of fcking it up. They really overdid it with reducing the device's lifespan if that was actually their goal because I don't understand why? Can't be the battery if every single battery on earth fails?
[Google Pixel 2 XL Guides, News, & Discussion] post-mortem:
I don't know about the Pixel 2XL, but my Pixel is bootloader unlocked and rooted with Magisk, and Google Pay works fine.
[Google Pixel 2 XL Guides, News, & Discussion] Windroid-user:
So you did not have to go to this thread: https://xdaforums.com/apps/magisk/discussion-google-pay-magisk-discussion-t3906703/page176

Where everyone especially with pixel devices have had problems with Gpay because it is like a cat and mouse game between google and the devs.

No custom kernel?
[Google Pixel 2 XL Guides, News, & Discussion] post-mortem:
No custom kernel, just latest stock ROM, rooted with Magisk. The Play store shows an update to Google Pay, but I ignore those. I do always install the latest OTA when it's available, though.