yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL Guides, News, & Discussion] Flash-User:
Hi i tried to flash the 8.1 final as factory image but it failed.

i unlocked the bootloader and critical then i run the flash-all.bat.

After flashing the device say there is no operating system installed and it can not boot.

here is the flashlog:

target reported max download size of 536870912 bytes

sending 'bootloader' (36344 KB)...

OKAY [ 1.181s]

writing 'bootloader'...

OKAY [ 0.353s]

finished. total time: 1.550s

rebooting into bootloader...

OKAY [ 0.000s]

finished. total time: 0.000s

target reported max download size of 536870912 bytes

sending 'radio' (60428 KB)...

OKAY [ 2.002s]

writing 'radio'...

OKAY [ 0.578s]

finished. total time: 2.580s

rebooting into bootloader...

OKAY [ -0.000s]

finished. total time: -0.000s

target reported max download size of 536870912 bytes

archive does not contain 'boot.sig'

archive does not contain 'recovery.img'

archive does not contain 'system.sig'

archive does not contain 'vendor.sig'

Creating filesystem with parameters:

Size: 56946044928

Block size: 4096

Blocks per group: 32768

Inodes per group: 8192

Inode size: 256

Journal blocks: 32768

Label:

Blocks: 13902843

Block groups: 425

Reserved block group size: 1024

Created filesystem with 11/3481600 inodes and 264598/13902843 blocks

Erase successful, but not automatically formatting.

Can't determine partition type.

FAILED (remote: GetVar Variable Not found)

--------------------------------------------

Bootloader Version...: TMZ12a

Baseband Version.....: g8998-00164-1710262031

Serial Number........: xxxx

--------------------------------------------

checking product...

OKAY [ -0.000s]

checking version-bootloader...

OKAY [ 0.003s]

checking version-baseband...

OKAY [ 0.002s]

sending 'boot' (40960 KB)...

OKAY [ 1.341s]

writing 'boot'...

OKAY [ 0.391s]

sending sparse 'system' (524284 KB)...

OKAY [ 18.163s]

writing 'system'...

OKAY [ 2.426s]

sending sparse 'system' (524284 KB)...

OKAY [ 18.244s]

writing 'system'...

OKAY [ 2.500s]

sending sparse 'system' (524284 KB)...

OKAY [ 17.982s]

writing 'system'...

OKAY [ 2.434s]

sending sparse 'system' (410112 KB)...

OKAY [ 14.043s]

writing 'system'...

OKAY [ 1.895s]

sending 'vendor' (357904 KB)...

OKAY [ 11.640s]

writing 'vendor'...

OKAY [ 1.648s]

erasing 'userdata'...

OKAY [ 0.285s]

sending 'userdata' (140898 KB)...

OKAY [ 4.468s]

writing 'userdata'...

OKAY [ 1.509s]

erasing 'cache'...

FAILED (remote: Check device console.)

finished. total time: 99.014s

Press any key to exit...

what is wrong here ?
[Google Pixel 2 XL Guides, News, & Discussion] destiple:
[/COLOR]

Magisk Manager keeps downloading Magisk 14.0. How do I use 14.5?
[Google Pixel 2 XL Guides, News, & Discussion] Jamalleelee:
Settings - > Update Channel -> Beta.

Try that.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Download the 14.5 zip and flash it in TWRP. Your magisk manager app should be version 5.4.3 as well.
[Google Pixel 2 XL Guides, News, & Discussion] destiple:
That worked. You rock! Thank you very much!
[Google Pixel 2 XL Guides, News, & Discussion] drewski_1:
it doesn't look like you have the latest FASTBOOT?

use the link the OP
[Google Pixel 2 XL Guides, News, & Discussion] OvrTehBottm:
I had an issue where the phone, after flashing patched_boot.img, entered into a bootloop from which after two reboots would enter recovery. After multiple reset attempts via recovery the phone finally was able to boot up. After which I managed to get into the bootloader and flash-all.bat 8.1. I not sure what went wrong and would like to root it eventually as it is still unlocked. If someone can help me understand what went wrong and possibly how to fix it should it happen again. I would appreciate it. By fix, I mean beyond praying for whatever occurred to allow me back into the phone.

Thanks.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Have you updated your SDK platform tools to version 27.0?
[Google Pixel 2 XL Guides, News, & Discussion] RampageRR:
Forgive me for this possibly dumb question, but I haven't had an android device in a few years. I want to unlock the bootloader on my 2 XL - is there any way to do a backup of the phone beforehand without root (like you can with root / Titanium Backup)?

I know unlocking the bootloader will wipe the phone, so I'm trying to figure out the best way to prep before proceeding. I'd like to be able to copy everything to my PC, then put it back onto the phone after wiping, etc. Is there a painless way to do this?
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
I don't think a non-root file explorer would get you into the sdcard to pull your files..

Trust me, once you dive into unlocking, and critical_unlocking the bootloader, getting it all set up with TWRP, a cust kernel, and Magisk for root, you'll never regret just doing it :D
[Google Pixel 2 XL Guides, News, & Discussion] RampageRR:
Oh I know it's worth doing, I was just hoping to not have to redo the whole initial setup and logging into every app from scratch. I guess I'll have to bite the bullet this time, and then I should be fine with TiBu and root going forward for backup needs.
[Google Pixel 2 XL Guides, News, & Discussion] jrbxx7:
Theres a sd card sync backup tool in the dev section. Should backup everything and only requires adb connection. I have tested it and it works well.
[Google Pixel 2 XL Guides, News, & Discussion] drewski_1:
you may be able to pull data to your PC via ADB
[Google Pixel 2 XL Guides, News, & Discussion] nidhish91:
Whenever I try fastboot flashing unlock, the cmd pops down a list of commands and nothing happens on the phone screen.

Please advise
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Make sure OEM unlocking and USB debugging are enabled. As well as your SDK platform tools. You are in fastboot mode correct?? Not trying that from adb?
[Google Pixel 2 XL Guides, News, & Discussion] nidhish91:
OEM unlocking and USB debugging is enabled.

SDK platform files seem fine as I was to use ADB commands using them.

I rebooted into bootloader using adb reboot bootloader and proceeded to using the fastboot commands but the list of extra commands pop up

http://prntscr.com/hk3w4p
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Hmmmm...and you are able to see your devices ID number when you type in fastboot devices??
[Google Pixel 2 XL Guides, News, & Discussion] clothednblack:
I download the ota to my phone

Remove my sub theme

(I'm on ex kernel, so I leave my lockscreen pin in place)

Reboot to twrp

Flash magisk uninstall zip

Flash ota

Flash twrp

Reboot to OS and let the ota finish

Reboot to twrp

Flash magisk and ex kernel

Reboot to OS

Verify root

Install sub theme

Profit!
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
[MENTION=4957084]Digital DJ[/MENTION], please clarify a couple of things for me...

You still have to put the phone in a "adb mode/state", which you do by selecting "apply update from ADB" (I believe it has to be named "update.zip" in a specific folder [can't recall off the top of my head] if you wish to "apply update from SDcard"; so, in that, the naming convention is important) or merely by just entering into TWRP (TWRP automatically puts the phone in an "adb state"). At this point can you please do something for me?; Can you then run the command "adb devices" and show what is outputted? It should show your serial number AND, particularly, it in "sideload" status/state. If you don't get that, you're OTA update will not be going anywhere.

There are a couple of explanations why it won't connect properly or in the proper "state". I suggest doing all of the troubleshooting steps in this awesome guide (found HERE). And then, if those do not work, and you are using a Windows computer, I would suggest looking at driver issues -- open Device Manager and make sure there is a connection in there and (at least mine does) make sure it identifies it as "ADB Connection Interface" under "Android Devices" or something to that effect. I've personally run into the issue where it is stating "Device unknown" and that's why the adb sideloading or adb commands wouldn't work in the recovery environment.

But, if all else fails, you would do/be better to download the Full Factory image (as opposed to the OTA image), extracting that file, modifying the flash-all.bat to inexclude the "-w" -- which would essentially make it at least the same, but in actuality far superior to the OTA (isn't quite "dirty flashing" and re-initializes the /system and /vendor partitions, which can help in clearing out some bugs) -- and update things that way. And, by doing this, you end up using fastboot instead and that only needs the Bootloader Mode/environment than "apply update from ADB". And, although many others use the OTA, the top experts and such use the Full Factory image to update (each month)...

Also, another piece of advice, be sure to install/flash Magisk LAST to run into the least amount of problems; custom recovery and kernel and ROM and all other things first...

Good luck to you and hope this helps...
[Google Pixel 2 XL Guides, News, & Discussion] post-mortem:
I think you meant to say to exclude the "-w" as leaving the "-w" in place will wipe out all user data.

On another note, users should be aware that installing the full factory image requires the bootloader to be unlocked.
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
yes, thank you for that catch. Heh, 2 letters but big difference...

Sorry, I was unaware that his bootloader was possibly still locked or to make that disclaimer; it was advice specific to him (but still very grateful that you looked out for everyone at that)...but since he's mentioned being rooted (#2761) and also mentioned TWRP (#2765), I figured it might've been a safe bet...
[Google Pixel 2 XL Guides, News, & Discussion] post-mortem:
Yes, I agree it's unlikely his bootloader is locked. I just wanted to point it out for others who may come across this thread.

:good:
[Google Pixel 2 XL Guides, News, & Discussion] Digital DJ:
Yeah, I've already flashed and am good. I did it through twrp after I put the ota on my device. for me, it's easier that way. I just wanted to try it through adb, but couldn't get it to work. I'm don't want to mess with it at this point. Sorry.

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

BTW, my BL is unlocked, that's the first thing I did.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Well hot damn! See, told you that was an easy way to update. Well done my friend! :good::good:
[Google Pixel 2 XL Guides, News, & Discussion] clothednblack:
Easy peasy my friend, twrp has come a long way.
[Google Pixel 2 XL Guides, News, & Discussion] Scottay5150:
I am pretty sure I did this incorrectly..

FIXED.
[Google Pixel 2 XL Guides, News, & Discussion] clothednblack:
Lol was just commenting. Glad you fixed it
[Google Pixel 2 XL Guides, News, & Discussion] eruben:
[MENTION=3730810]Badger50[/MENTION], what kernel do you use now?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Currently trying out kirisakura. But to be honest, I can't tell too much difference between most of them. I still get 8-12 hours of SOT no matter what I use. Benefits of a light user I reckon :laugh:
[Google Pixel 2 XL Guides, News, & Discussion] eruben:
So which one do you recommend? I was on Sultan's, tried to download EX but windows defender blocks it.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Windows defender blocks it on your phone???:confused:

I think they're all really good. But I gravitate more to Ex than the others :good::good:
[Google Pixel 2 XL Guides, News, & Discussion] eruben:
I download on pc first.
[Google Pixel 2 XL Guides, News, & Discussion] Scottay5150:
Now that I have gone stock and let it settle in.

I am attempting to download the LR ROM, updates to Chrome etc. I am getting an error. I just looked at my files from my laptop/pixel internal storage and this is what I see. What did I do wrong flashing factory image via fastboot, flash all.
[Google Pixel 2 XL Guides, News, & Discussion] clothednblack:
Your files from your phone are encrypted, that's why it looks that way.
[Google Pixel 2 XL Guides, News, & Discussion] Scottay5150:
Thanks. I have never the files look like that before. Something new?

So when I go to install any apps I get a Google PlayStore error 190. I cannot DL anything from Chrome to boot like Liquid Remix. Then TWRP doesn't stick.
[Google Pixel 2 XL Guides, News, & Discussion] clothednblack:
I'm at work, so I'm calling in [MENTION=3730810]Badger50[/MENTION] to come help of he's available
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Are you on stock rom right now, or custom? And, what did you do to get here? My buddy, [MENTION=4020863]clothednblack[/MENTION], asked me to help you out :good:
[Google Pixel 2 XL Guides, News, & Discussion] Scottay5150:
Stock Feb factory img, used FB to flash it. Booted back up with the intent after setup flashing TWRP/Liquid Remix. Apps dont download, GP error 190, cant DL LR because of file sys error.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Try what I wrote in your other thread and report back :good:
[Google Pixel 2 XL Guides, News, & Discussion] Scottay5150:
I set permissions correctly. I decided to reflash on a different USB port and the internal storage looks normal. I am going to attempt to flash TWRP.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Cool beans. That was going to be my next suggestion. You know the P2XL and cables/ports bug-a-boo :cool:
[Google Pixel 2 XL Guides, News, & Discussion] Digital DJ:
So my plan with Verizon only allows for 15gb of hotspot tethering but I have unlimited data. Can we still do the old trick we used to do and put a 3rd party WiFi app on the phone that Verizon doesn't detect as WiFi so I can get more than 15gb of hotspot usage?
[Google Pixel 2 XL Guides, News, & Discussion] miha2:
Lazy to go through all 281 pages. The OP says I need the factory image to root. Is that really so? I mean, do I really need to reinstall Android to root the phone? Overall, a decent guide for noob would be appreciated. I mean, I did root my old Samsung phone, but I used the program for that. Some Samsung program. But here it's only adb. So, if somebody could post a guide on how to root the phone... I just want to get rid of those annoying ads on Youtube. No other app can do it, only Xposed, as I heard, which requires root. I'm not planning to install a custom OS, like Nitrogen or Lineage, at least yet, and if I will, I'll ask on how to do that later on.
[Google Pixel 2 XL Guides, News, & Discussion] seabro01:
You could just install adb and fastboot, unlock the bootloader, fastboot boot TWRP and flash magisk and custom kernel if you want. There's also the non rooted version iYTBP which is themed and blocks ads without root. That might be the best option if you just want to block YouTube ads and don't want to have to flash future updates.
[Google Pixel 2 XL Guides, News, & Discussion] jd1639:
You don't need to go thru 281 pages. Just look at page one.
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
Yeah, i kinda know what you're talkin about with the old Samsung...but, for better or for worse, there is

NO

"one-click" root method. Again, for better or for worse, rooting devices nowadays are not/rarely that simple -- I'm betting it has to do with (at least this device) the use of multiple "slots" and the fact that there is no separate recovery any longer and it resides in/with the boot partition ...

And, believe it or not, this

IS

the "...decent guide for noob..." so, at least you get to relax in the knowledge that you most likely don't have to look anywhere else...;)

But yeah, ESPECIALLY if you are already on Pie, there doesn't seem to be able to use Xposed on Pie/9. But, fear not, just as [MENTION=7111789]seabro01[/MENTION] mentioned, there is a Magisk module (Magisk is the only known root method for the Pixel 2's) that can install/replace the stock Youtube with "Vanced"/"Youtube Vanced" (i'm under the impression that these are the same developers for iYTBP, but I can easily be wrong...). And, with that module and app, you don't have to worry about advertisements as well as many other things (I love background playback, but theme, auto-repeat, force resolution, etc. are also featured)....

I know it may seem a bit daunting at the start of rooting this taimen (Pixel 2 XL), but anyone can overcome that initial hesitation and find many of the advantages of rooting the device. If anything, it is particularly hard(er) to brick this device; as long as you have access to Bootloader Mode, you can pretty much always have hope at rescuing it. I (and many others I bet) have wrecked the OS and partitions so badly that I even had to change the partition type and file-system size! and still was able to recover the device. Basically, what I'm saying is, you don't have to hesitate so much as there are many many ways to recover and rescue, no matter what mistakes or intentional bad things you end up making.

Good luck, and this is what this forum/thread is here for; so feel free to come back here and ask for assistance...and, finally, hope all this helps...
[Google Pixel 2 XL Guides, News, & Discussion] miha2:
OK, installed the app, will see how well it works. I actually forgot I won't be able to update it with OTA. (If I do I will lose root, or even brick my phone, right?)

So, for now I should be good. I still may want to root it some time later on. To try out the Nitrogen OS. Screenshots look good. But not sure yet if I will want to do all that.

Thanks, I guess.
[Google Pixel 2 XL Guides, News, & Discussion] clothednblack:
It's easy to update when rooted to with twrp installed. Going to lose root either way, but a quick flash of twrp after the ota and magisk after booting to the OS once... You become rooted again. Don't even need a pc to take a ota, flash twrp, flash root anymore, once you already have it on your device. It's much easier than it sounds.
[Google Pixel 2 XL Guides, News, & Discussion] LolHacker17:
Bro can u help me? Im using havoc n twrp . rightcnow i cant boot to rom or twrp(stuck on boot) my screen password is pin can i do the same thing on this thread to revive my phone? Sory for bad english
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
If you can, fastboot into twrp, then flash the stock OTA. If you can't, then you'll need to fastboot the factory image with the -w removed so as to preserve data. Don't be surprised if you have to wipe your phone as well. Sometimes it's the only recourse you have.
[Google Pixel 2 XL Guides, News, & Discussion] LolHacker17:
bruhh i cant fastboot twrp,, but i just use ur method tht i found .. its work my phone is revived successfully
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Which method, the factory image I assume? Either way, glad your up and running :good::cool:
[Google Pixel 2 XL Guides, News, & Discussion] LolHacker17:
flash full zip without formating ! thnks so much
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Great to hear. Glad I could help out :good::cool:
[Google Pixel 2 XL Guides, News, & Discussion] imarq24:
I have a question and i've tried searching the thread but didn't see anything. I'm pretty sure that I know the answer is yes but need assurance on it, plus i've been outta the game for a little bit like about a year. Can i root my P2XL on Cricket? thanks
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
The carrier doesn't matter. If you got your phone from google, then likely you can. All depends what version of the phone you got.
[Google Pixel 2 XL Guides, News, & Discussion] imarq24:
You know what sucks is that i had a Verizon (unrootable ) version P2XL sent it away for a replacement and they sent me a P2XL that has the OEM unlock unhighlighted ....WTH ...another question how do i know if this P2XL is rootable? what am i missing. thanks
[Google Pixel 2 XL Guides, News, & Discussion] Will008:
Just did my first flash of a factory image on my taimen. Had several 'archive doesn't contain xxxxx.img' and 'archive doesn't contain xxxxx.sig' as shown in the screen shot below. Can someone please confirm whether the whole thing went ok?
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
Yes, you are good. That is normal (at least seems normal as that it also shows me those each time I flash the Full Factory)... basically unless the log says ERROR or "unable" or more than "Rebooting" at the bottom -- that' s where most scripts usually put up error messages -- you should be good & in good shape...

Hope this helps...
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
If you can toggle OEM unlocking on/off, then it should be rootable :good:
[Google Pixel 2 XL Guides, News, & Discussion] imarq24:
:crying: Google got me SMH yo this blows I got a unrootable P2XL back on the replacement phone. turned on USB Debugging and cannot unlock OEM unlocking i'm seriously upset lol. :mad::mad: i've wanting to root my P2XL since I got it and decided to say it wasn't working and hopefully get a unlocked P2XL but didn't. OH well. hey thanks for the quick response. :good:
[Google Pixel 2 XL Guides, News, & Discussion] Will008:
Thanks man
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Actually, that's no surprise. They sent you back what you had. There were some folks that got lucky a while back, and received unlockable ones. But that was the rarity, not the norm. Sorry man :(
[Google Pixel 2 XL Guides, News, & Discussion] Superschmiddi:
Are there any new methods to update to the current security patch? In the past I wasnt able to flash the OTA, I always used the factory image without the -w flag. To regain boot I always needed to deactivate all PINs fingerprints ect because temporary TWRP wasnt able to decrypt due wrong PIN.... Thats a little bit annoying because I need to resetup GPay and Paypal everytime I deactivate the fingerprint ect.

There was once a method from tpjohnwu to update the OTA just through Magisk, but I think this isnt working anymore.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
If you don't want to use the factory image, you can just flash the OTA zip via twrp like my buddy [MENTION=4020863]clothednblack[/MENTION] does :good:

https://xdaforums.com/pixel-2-xl/how-to/guide-unlock-flash-root-pixel-2-xl-t3702418/post78847569
[Google Pixel 2 XL Guides, News, & Discussion] Superschmiddi:
There will be still the problem to get into TWRP without deactivation my fingerprints and PIN.

I tried this method, as I mentioned above I was not able to flash the OTA.

At the point I uninstall TWRP and try to get into recovery mode I'll just receive "no command" no matter if I try via adb command or through bootloader...

Maybe because I didnt do the critical unlock in the past, but I dont want to reconfigure the whole phone.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
You don't need critical unlock anymore after the update to 9.0. Are you flashing twrp again after you flash the OTA zip?
[Google Pixel 2 XL Guides, News, & Discussion] Superschmiddi:
I just wrote that I cant get into recovery dude ^^ I am not able to sideload an OTA. Everytime ill try to go to recovery I just see an Android lying on the ground and "no command" written.

Factory is flashed due bootloader.
[Google Pixel 2 XL Guides, News, & Discussion] Pkt_Lnt:
"I just see an Android lying on the ground and "no command" written."

That is exactly what happens, you need to do the next step. Press Power then the UP Volume button to take the final step to recovery. :good:
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
I might be misunderstanding something here, but why spend all this time trying to find a work around to save the 30 seconds it takes to deactivate your pin and fingerprint security, and reactivate it once the update is done?

Like I said, if I'm missing something, my apologies. But it seems like a lot of people go to great lengths, and devote much time to not have to spend a few seconds deactivating and reactivating their device security.