yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL Guides, News, & Discussion] Brenneke:
Ahhh, right, thanks.

---------- Post added at 04:36 PM ---------- Previous post was at 04:27 PM ----------

Is there anything in the vendor image that is necessary for the proper functioning of the phone on that carrier?

I am on Telus and have always wondered if I could just flash the regular factory image to stay current with latest security updates. Google is very slow in posting Telus-specific images, last one was April.

Hopefully I am understanding the meaning of factory and vendor images correctly.

On a side note - what are advantages of going with a custom rom on this phone? Stock rooted is very good already.
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
My bad, I forget not everyone is a DU fan :D

The factory image has everything needed for your device to operate just as it did out of the box.

Some carriers have specific factory images that benefit their carrier (Verizon factory image includes FI project, but my device works on Verizon's network if I flash the stock Google image for the USA as well).

I think if you're in the same region , the factory image for your device and region is good enough.

There are several configurations with which you can run your device:

100% OEM stock

100% OEM stock with substratum

OEM stock, rooted, with xposed, substratum, and more

OEM stock, rooted, cust kernel, with xposed, substratum, and more

Cust Rom, rooted

Cust Rom cust kernel, rooted

I'm sure I'm missing a few, but I'm old and no one expects me to be brilliant any more :p

cust Rom vs stock:

This is very subjective and everyone has opinions and they're all right, because it really boils down to preference.

I like the individual customizations (like geared battery icon) that are included in many cust Roms (like DU).

But, stock has come SUCH a long way that before there were any cust roms on 2XL I was very happy on stock. Once cust Roms became available, the crack flasher in me took over and I had to flash me some cust Rom goodness!

With the advent of apps and options like tasker, substratum, xposed, etc. you can root and pretty much run a stock Rom like a cust Rom (without the uber cool boot animations of course).

I always reco to those on the fence about going to cust roms, to run their new device stock for a few weeks, really get used to how it runs, and what it's limitations or shortcomings are.

Then flash a cust Rom, and run that for a few weeks, really get to understand it and what it offers and doesn't offer.

Then make a decision.

Luckily, it is VERY easy to go back to stock if you don't prefer a cust Rom. And it is equally easy to go back to a cust Rom if/when you get the itch again down the road.

Honestly, you CAN'T lose :D
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
Here here....:good::highfive:
[Google Pixel 2 XL Guides, News, & Discussion] azam_:
is there anyway to reverse critical unlock?
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
flashing lock_critical

BUT be sure you know what you're doing!

You should heed the words that [MENTION=4565594]CyberpodS2[/MENTION] states here. Also, keep in mind that (I'm pretty sure) critical locking wipes your device as well....
[Google Pixel 2 XL Guides, News, & Discussion] azam_:
Thanks man
[Google Pixel 2 XL Guides, News, & Discussion] djmouse:
When I first got my phone,since it was verizion I took the Sim out hard factory reset,adb sideloaded the latest OEM ota from the Google site,I think once the imei is connected to a vendor there's no getting around it,even know it didn't but any verizion bloat but checking the imei on that site still showed up as VZW.I even factory reset and put an H20 Sim card in it came up Vodafone,then att was weird.
[Google Pixel 2 XL Guides, News, & Discussion] Brenneke:
I think I will give the regular factory image a go - there is nothing Telus on this phone that I see, use or know of. They don't even offer wifi calling for this device!

Do you think I could get away with the "remove -w" method when new flashing factory image?

I imagine I might need to manually add APN settings?
[Google Pixel 2 XL Guides, News, & Discussion] Reechings:
I'm on Telus and have only been using stock factory images when I need to update for new ROMs. Does the Telus image not support wifi calling?
[Google Pixel 2 XL Guides, News, & Discussion] Brenneke:
Telus does not support wifi calling for this device - as always, they are well behind the curve..
[Google Pixel 2 XL Guides, News, & Discussion] Reechings:
Lame, I thought it was supported but I think I got it mixed up with visual voicemail.
[Google Pixel 2 XL Guides, News, & Discussion] Brenneke:
Can anyone comment on whether it is possible to flash a different factory image and retain data?

Thanks.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
You can update to a newer one without wiping data, but can't if your going to a previous build.
[Google Pixel 2 XL Guides, News, & Discussion] Brenneke:
Correct, is what I have been doing with every new security update. I was questioning whether it would be alright to do this going from a carrier specific image to a generic Google image.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Yep. No problem there as well :good:
[Google Pixel 2 XL Guides, News, & Discussion] :
Successfully unlocked my device, flashed twrp and a custom kernel. Helpful guide ??
[Google Pixel 2 XL Guides, News, & Discussion] WoZzYDoesitbest:
Does anyone know if this works with Dirty Unicorns & what's the process on flashing a kernel on pixel 2 xl?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
If what works with DU?? For kernel flashing, just go to twrp, flash the kernel, then magisk, reboot, done.
[Google Pixel 2 XL Guides, News, & Discussion] WoZzYDoesitbest:
OK should I do from scratch & start over or can I just flash it with current setup?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
If your on the stock DU kernel, just flash the new kernel, then magisk, reboot, done :good:
[Google Pixel 2 XL Guides, News, & Discussion] naxalite971:
losing my mind on this, been at it for 24 hrs

unlocked

have magisk manager "installed", trying to patch new taimen image in downloads on the pixel, but only have .zip from google site, so of course Magisk manager cannot patch a .zip, and as not rooted it cannot see/patch the main boot.img

tried to boot twrp via adb and then in twrp flash the magisk .zip (also in downloads on pixel), but it never reboots, pixel just sits there in fastboot and stops responding to anything until I force reboot

where can I get one of google's OTA or factory images as an IMAGE?

why google, why is there no recovery img for me to flash to?
[Google Pixel 2 XL Guides, News, & Discussion] criswellc90:
When I was rooting Samsung's, we extracted the .IMG from the zip, did you try that?
[Google Pixel 2 XL Guides, News, & Discussion] naxalite971:
well a couple of things

I'm an idiot-I can select the .zip to patch from within the Magisk app, but it crashes while patching it

there is no boot.img in the .zips in the ota .zip, checking the factory image now....

fixed. I was being a lamer.

not my device, was informed of wrong build, (NEVER trust others to verify OS and build #s)

went stock wipe in recovery

side loaded ota via adb, rebooted

booted in twrp via adb, flashed magisk

good to go
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
First, you shouldn't use an OTA image for this; the Full Factory image is what you should use and using a full factory doesn't necessarily erase your data or settings -- so there's no overwhelming reason to prefer the OTA images over Full Factory's, in any case.

But most of all, you have to extract the .zip files twice! If you extract or look in the "image-taimen-opm2.171026.006.c1.zip" file (that is within the initial Full Factory image .zip file), you will see ALL of the .img files are within there. The bootloader and "radio" .img files are the only ones not within that .zip. You can use the programs 7zip, winrar, or winzip to extract the contents of the .zip files.

Hope this helps....
[Google Pixel 2 XL Guides, News, & Discussion] jmcorlett:
Running DP3 and trying to root, but the issue is that I can't seem to pass safetynet. This started when I did a clean flash. I set the phone up and once completed, I flashed TWRP, flash kernel and then magisk. I am rooted, but no safetynet passing. Tried magisk 16 and 16.4 with no luck.
[Google Pixel 2 XL Guides, News, & Discussion] CPngN:
I skip TWRP and just push with fastboot from my Mac. I found that I had to use 16.0 and had to be sure to do "fastboot reboot-bootloader" after each "fastboot flash [type] [file]" even if my very next step was a full reboot, otherwise safetynet would fail in different ways. This came from Googles script which does the same. WHen trying to cut corners and apply 2 or more flash packages, things got ugly.
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
Wow...that's a lot of "fastboot reboot-bootloader" to do! :eek: If that's the case, I suggest you guys try and modify & edit Deuce's script and run that -- Deuce's script actually flashes each image individually as I believe is what you are talking about -- via inputting "fastboot reboot-bootloader" command after each individual flashing in the script...might save you some time and hassle...

I'm not good at coding, but after a cursory look at the code, I believe you might simply need to input

fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul

after each flashing image...

Good luck and hope this helps...
[Google Pixel 2 XL Guides, News, & Discussion] cognitivedissonance:
I know this is highly unlikely, but is there a safe way to update to the latest monthly OTA without a computer? I'm still back on the April release and I'm on vacation in a foreign country without a computer. I suspect there's an issue with the older Android version and the GoPro app, which I really needed today, and basically couldn't use (super slow, hanging nonstop, crashing, etc.)

Thanks
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
Supposedly, if you remove root and Magisk, you can receive and install the update using the normal system update process via downloading the ota and installing it. You should be able to go into the Magisk app, and choose any of the "uninstall" options present; I suggest a complete uninstall. I personally have never been able to get this to properly work; somewhere along the line, the either the boot image or dtbo image (or both) aren't reverted correctly and I get into a bootloop into my recovery where I have to manually flash/restore the boot/dtbo image. But if you are successful about "unrooting" your device, you should be able to go to your Settings-System-System update section and download the OTA and install. All of this can be done without a computer.

Other than that, you can always download the OTA .zip file from the Google developer's website (on your phone's browser), and then sideload the OTA update from your recovery; but that would probably be a long download (especially if you are out of the country) and/or a less "streamlined" process...

I can't think of anything else other than those two options available that works without a computer. Also, unless you have a nandroid backup on your phone, if anything goes wrong with the Magisk uninstall (as it happens with me), you might have a bootloop'ed device that can only most likely be recovered

with

a computer...

Hope this helps...
[Google Pixel 2 XL Guides, News, & Discussion] cognitivedissonance:
Hey simple, as usual you're awesome, and this helps a ton! :victory: Honestly sideloading the OTA sounds like the preferable choice to me as I can (hopefully) get the file downloaded overnight. I already have a nandroid, but you better believe I'm making a new one before proceeding any further.

I'm going to look up sideloading an OTA shortly. Probably will be back with more questions :silly:

Edit: yeah, I think I missed something - looks like sideloading an OTA involves a computer and adb. I should have the OTA downloaded in about 30 minutes though (the WiFi here is surprisingly quick at my AirBnB) so if there is a way to do this, please let me know.
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
Why thank you. I try to help as much as I can...

But yea....most (if not all) recoveries are supposed to have the ability to sideload OTA updates. I don't really go about it that way, so I can't recall exactly the specifics; but you download the OTA .zip update file on your phone browser, then as I understand it you might have to place it in a specific (possibly root directory) place (so do this before you unroot) or you can select it when sideloading (I believe if you rename the .zip to "update.zip" and place it in the root folder /sideload, it should detect it automatically)...

But yea, in any case, that's how you can go about doing it without using a computer I imagine...hope this helps...
[Google Pixel 2 XL Guides, News, & Discussion] cognitivedissonance:
Looks like I'd need someone to specifically modify the OTA to be flashable, and sadly I think those days are long past.

This guy does a decent job of detailing the process you described that involves uninstalling magisk, however probably the scariest thing for me would be that it would uninstall TWRP and I'd have no way of reinstalling it as I have no computer (installation requires temp booting to TWRP via fastboot.) I would basically have one shot at doing this, and would risk a non-functional phone for the rest of the trip if something failed, OR I'd have an unrooted phone for the rest of the trip if it was successful (no TWRP means no Magisk I believe.)

I'd at least give it a shot if I had a way to flash a nandroid and completely recover to my current setup, but without that fool proof security blanket in place, I just can't risk it. Still, I really appreciate you trying to help me out. Have a good one!
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
I understand what you're saying...that's why I was cautioning on it -- because I've always gotten stuck in a bootloop when "uninstalling" magisk...

But I don't understand what you're talking about with "...making the OTA flashable"??? Isn't the OTA prepared to be processed as is? And you don't "flash" an OTA, you

sideload

, right? And you can "sideload" in any recovery, both TWRP

and

stock!

If anything, this right HERE (at least the last couple of steps) would apply and work for you (if Magisk uninstalls properly and you can get into recovery; even steps to go about it in stock recovery -- because you can flash OTAs in stock recovery)... if anything, this thread/guide is nearly exactly what I am saying but may be more neat in presentation...

please keep in mind; in those URLs & guides, I have it that you flash the boot and dtbo through adb -- which, of course, is not the idea for you -- but as "uninstalling" magisk has the process of

putting back

the stock boot and dtbo, in theory you can still follow the steps. But, also keep in mind, the reason you lose root and TWRP is because

BOTH

of those lie in the boot partition/image. "You can't have one (root or custom recovery) without the other (non-stock boot image)"...

Hopefully you consider some of these things (you lose root and twrp but gain back stock recovery) and I clarified that you wouldn't need a custom OTA .zip to "process"...

Hope this helps...
[Google Pixel 2 XL Guides, News, & Discussion] felonius:
Hi [MENTION=6842057]nathanchance[/MENTION],

May i know how to Grab a boot image to patch from my current phone to install Magisk?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Actually, you'd be better off using Nathans kernel. However, you can extract the boot.img from the secondary zip in the most recent factory image :cool:

Then again, here ya go ?

https://drive.google.com/file/d/1ukKtVcXXnlWmEXkQYP9pWNTHiJuqsHPL/view?usp=drivesdk
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
Wow...Badger even went, found, and specifically extracted the image file

FOR YOU

, and then made it available via Google Drive! Damn nice....:good::good::good:
[Google Pixel 2 XL Guides, News, & Discussion] rickysidhu_:
He not only deserves that RC badge, but earned the hell out of it! :good:
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
Meh.... He's an enabler for lazy users :p

Not really. I'm just mad he wasn't around when I was learning it. I had to find AND extract my own crap. So unfair.

I want a refund!
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Well my brother, you speak the truth. I am an enabler for others. However, I do enjoy the job. Just helping out my tech brothers and sisters is all. After all.....you recommended me for the job! Checks in the mail! ????
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
Check? Saweeet!

You're doing a fantastic job as the others mentioned.

You know I'm just busting yer chops :p

Stop jabbering and get back to helping people for the love of gawd!
[Google Pixel 2 XL Guides, News, & Discussion] clothednblack:
You two have been doing a awesome job, I'm starting to think you are both androids, as you never seem to sleep ?. Lol
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Meh....we'll sleep when we're dead! ????
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
sleep = wasted minutes of a finite, fleeting life.

While I realize sleep is necessary, I look at sleep as leaving the bike idling with the kickstand down = not going anywhere, not experiencing anything, and just wasting what gas I have left.

I get about 5 hrs a night, maybe 6 on my days off.

Getting up at 0430a and going to bed at 11-1130p makes me feel like I've lived two days in one.

I thoroughly enjoy the life I've been given, and do everything I can to make the most of each day with those close to me.

You never know when your time is up.
[Google Pixel 2 XL Guides, News, & Discussion] clothednblack:
This is so very true, my Father in law passed away a week ago, nobody saw it coming. He wasn't feeling well and called 911, passed out and was flown 2 states away. Died of leukemia, hit hard and fast. Living life to its fullest is the way to go, as he did just that. His love for fishing and riding his motorcycles was a daily adventure. His bike's are sitting at my house now, I have yet to go for a ride on either one other than the day I rode them from his house to mine, but that day is coming soon.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Amen my brothers! Live free, and die hard! :good::good:
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
Sorry to hear about your FIL. Jump on one of them bikes, fill up and head out. When you get close to empty, fill up, turn around and head home.

Let that wind blow the troubles out of your mind, let the hum of the engine retune your heart, and let the fresh air replace the negativity of the day.

Eat, sleep, repeat :D
[Google Pixel 2 XL Guides, News, & Discussion] Pkt_Lnt:
Sorry to hear, my condolences.

I've dodge that fatal time more than once. Missed a massive fatal heart attack by 4-6 weeks thanks to a mountain bike. Survived cancer and the radiation / chemo treatments (treatments are almost as bad as the disease itself). And getting hit by a car on a bicycle (broken hip). I've lost some cat lives but thanks to a life long fit and active lifestyle, I am still hiking, biking, volunteer for trail work, walk 2-3 hours and 5-6 miles other days. Make the most of every second and every heart beat.

I some some great graffiti the other day walking to the coffee shop.

"Now is all you have"
[Google Pixel 2 XL Guides, News, & Discussion] clothednblack:
Both are Goldwings, one is modified into a trike, that one is totally sweet and super comfortable. I will post a pic at some point.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Dang Hoss! You've been through the ringer! Keep up that kick arse attitude of yours, it's what gets us through the tough times. We're all gonna be worm dirt someday, but I'll be damned if I'm going without a fight. Live long and prosper my friend! :good::good:
[Google Pixel 2 XL Guides, News, & Discussion] Pkt_Lnt:
Thanks, the heart issues were 13 years ago, I got the heart of a fit 20 year old in my old body and went crazy on my MTB like I hadn't been able in 15 years. That one was scary as all hell after the cardiologist explained how close I came and that I had zero chance to survive it. My only warning was because I rode a bike daily, paid attention to tiny body warning signs that most men miss or dismiss, and went to see my doc immediately.

The cancer recovery was tougher, then a year after was hit by a car coming home from the store with groceries on my bike, getting some fitness back from the cancer treatment. It has been a long slow slog this past four years, but stronger daily and back to about 80% of what I had before.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
I'd recommend a 3 finger dram of 21 year old Balvenie scotch every night before bedtime. Keeps them arteries clear, the bugs away, and lets you sleep like a baby. Sure keeps me happy and healthy :good::cool:
[Google Pixel 2 XL Guides, News, & Discussion] Pkt_Lnt:
I stopped all alcohol with the cancer, and just never started again. It does sound good though. I took everything neat, like my beer and wine, like them dark, pungent and complex. :cowboy:

I can get wobbly now & then, and like a puppy, I don't track straight no more, so I need all the pure sober I can muster during my waking hours! :D :good: :cyclops:
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Sorry to hear that my friend. You do what keeps you healthy and active. The community needs valuable assets like you to stick around, as does your family, so keep up the good fight my brother! :good::good:
[Google Pixel 2 XL Guides, News, & Discussion] alershka:
Looking for a bit of help today. I downloaded the latest July factory image and followed the same procedure that I had followed previously for May and June:

extracted the zip

removed the -w from the bat file image flash line

ran the bat file

When the phone rebooted, I had a message that "Your device is corrupt . It can't be trusted and may not work properly." I hit the power button and it stays on the white google screen. I tried flashing again and I got the same message. I went back and flashed the June image and I have the same problem. No failures come up during the flashing of either one.

Any advice on how to proceed? I was previously rooted with Magisk and my bootloader is unlocked. I also did unlock-critical during that process.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Fastboot the July update to both slots :good:
[Google Pixel 2 XL Guides, News, & Discussion] Shayded:
Had a weird thing where the June image did this to me: download the latest Google platform tools and keep them in the same folder as the flash zip and script
[Google Pixel 2 XL Guides, News, & Discussion] alershka:
Uggh... still not working.

I am still getting the corrupt error when it reboots after flashing to both slots. It boots, gives me the unlocked bootloader message, then gives me a quick white google screen then goes right to the device is corrupt message.

Do I use the -w on each of the slots for the image flash in the .bat file? Is it possible my download was corrupt even though it flashed okay?

---------- Post added at 07:07 PM ---------- Previous post was at 06:53 PM ----------

Hey!!! That did it!!! I noticed a difference in what the script was outputting. Originally it said

sending sparse 'system' then

OKAY.

This time it said

sending sparse 'system_b' 1/4 then

OKAY

Thanks a bunch!
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
If platform-tools is up to date, then yes, remove the -w from the flash-all.bat file and fastboot it to both slots. Flashing the June image after you flashed the July image probably didn't help either. If all else fails, use the Dueces script.
[Google Pixel 2 XL Guides, News, & Discussion] alershka:
I must have an old version in my path. Need to dig that set out. Thanks for the help.