yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL Guides, News, & Discussion] eruben:
Guys, anywhere I can check changelog for July?
[Google Pixel 2 XL Guides, News, & Discussion] Pkt_Lnt:
July Security update?

https://source.android.com/security/bulletin/pixel/2018-07-01
[Google Pixel 2 XL Guides, News, & Discussion] eruben:
Yes, thank you. Last time I've updated from May to June it forced me to full wipe and new install. Just to double check, now I have to flash image leaving -w, right?)
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Leaving the -w will wipe you. Removing the -w leaves your apps and data in tact.
[Google Pixel 2 XL Guides, News, & Discussion] eruben:
Ya, last time I did the same and failed to boot. Probably platform-tools was outdated. Anyway, twrp recovery is must have) pity we can't have ota updates after root. And shall I flash twrp and magisk after flashing without -w?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
This is what I always do each month.

Remove screen lock security and disable or remove all substratum themes.

Fastboot the factory image with the -w removed to both slots, and let it boot up each time. Then go back and fastboot the twrp.img. Enter twrp and flash the twrp installer zip, then kernel(optional, but recommended) then flash magisk, boot up and your done :cool:
[Google Pixel 2 XL Guides, News, & Discussion] eruben:
What does it mean to flash on both slots? Flash then reboot to other slot and flash again?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Exactly. Use fastboot --set-active=a or b to change slots :good:
[Google Pixel 2 XL Guides, News, & Discussion] CyberpodS2:
You and I pretty much do the same routine other than me using the dueces script since it does both slots automatically. Anyone following your instructions should be spot on!! If folks wanna use the script them just remember to unzip the other zip file from inside the factory image. For some reason a lot of people forget that step. Lol
[Google Pixel 2 XL Guides, News, & Discussion] vaindil:
Thanks a ton for this! I'm on the latest platform-tools, I just downloaded them and verified with fastboot --version, but it's only flashing to slot a. I switched it to slot b with this and now everything is good. Thank you!

EDIT: I wrote the above before it had actually finished flashing, guess it's not working after all. It flashes system_b through 4/4, but then it flashes system_a to 2/2 right afterward. Then it tries vendor_b, but I get "FAILED (data write failure (Unknown error))". Ugh.
[Google Pixel 2 XL Guides, News, & Discussion] wpy:
Had the same issue last time with june update. Try using a different usb cable. I was using the pixel 2xl type c to type c cable. Changing to a type A to type c cable did it for me. Also try changing usb port
[Google Pixel 2 XL Guides, News, & Discussion] vaindil:
Aha, that did it! I was using the C-C cable as well, switching to A-C fixed it. Thanks a ton!
[Google Pixel 2 XL Guides, News, & Discussion] wpy:
Glad i could help. Thanks to the forum senior members who tipped me about that.

You would think using the box supplied cable was rhe best wat to go but figures... :p
[Google Pixel 2 XL Guides, News, & Discussion] eruben:
I'm having Titanium Backup crash every time on boot. Is anyone having same issue?
[Google Pixel 2 XL Guides, News, & Discussion] craigviar:
ok guys. what is this slot business? I don't see anything about it in the OP. my p2xl will arrive in 2 days from project Fi and I'm doing my research. skipped to the last page to see what's going on lately and all this talk about flashing slots. anything else I need to know?

I am just coming from my now blod nexus 6p.

Thanks
[Google Pixel 2 XL Guides, News, & Discussion] ridobe:
I'm sure someone will come along and prove me wrong but I've never once concerned myself with the individual slots. If you flash the images from the flash-all script(s), it flashes both slots. If you fastboot boot TWRP then immedeately flash the installer, you get both slots. If you flash a custom kernel, you get both slots.
[Google Pixel 2 XL Guides, News, & Discussion] nathanchance:
Custom kernels don't flash to both slots but you are right about the other two.

[MENTION=4786267]craigviar[/MENTION], don't worry about the slots. If you decide to unlock your bootloader and root, the easiest way to upgrade every security patch is to just download the factory images, edit the flash-all script for your system to remove the '-w' flag, and execute it. No slots are switched or messed with so you don't have to worry about them.
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
So sayeth HE, so it must be!

Wow! Straight from the word "on High!" :bows down: :p

Thanks again for this invaluable guide and thread...some 13k+ helpful posts and 46k+ thanks might be enough to show, but I'll simply re-iterate just for the heck of it...
[Google Pixel 2 XL Guides, News, & Discussion] warlord1352:
flash-all not working

I am trying to update my pixel to the latest update but it keeps giving me an error saying it cannot find the slot(s)
[Google Pixel 2 XL Guides, News, & Discussion] clothednblack:
Make sure you have the latest fastboot installed, using the pixel USB-c cable( some people have said they had to use a USB to Usb-c adapter to make it work) mine worked Usb-c to Usb-c. Disable your screen lock password and any substratum themes before flashing, also removing "-w" from the flash all bat.

Hope that helps.
[Google Pixel 2 XL Guides, News, & Discussion] warlord1352:
its still not working. I have updated everything and its still saying failed to identify slot(s)
[Google Pixel 2 XL Guides, News, & Discussion] Pkt_Lnt:
Are your SDK tools up to date? Grab the ones in the OP of this thread to make sure, they link to always have the current ones from Google.
[Google Pixel 2 XL Guides, News, & Discussion] warlord1352:
Yes, my sdk tools are all updated and just to be safe I redownloaded from OP. Still saying same error.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
What type of USB cable are you using?
[Google Pixel 2 XL Guides, News, & Discussion] warlord1352:
I've used both usb-c to usb-c and usb-a to USB-c
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Well then, if you've uninstalled/reinstalled your drivers, sdk, tried various USB A to USB C cables, toggled USB debugging on/off, and all your factory image extracted files are in your platform-tools folder, then you might actually need to try a different pc. Believe me, it's happened befor.
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
What does running the command

fastboot getvar all

output?
[Google Pixel 2 XL Guides, News, & Discussion] raisins:
I'm having trouble fastbooting into twrp. I entered fastboot mode by

adb reboot bootloader

And then I sent

fastboot boot twrp.img

But it just hangs at "Downloading boot.img"

I updated the SDK tools and have the twrp.img located in that directory. Used the same USB cable that I have had success with previously. Any ideas?

Edit: Fixed by changing the USB port
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Try turning the phone off. Then manually enter fastboot mode, then try fastbooting into twrp.
[Google Pixel 2 XL Guides, News, & Discussion] raisins:
Thanks. I actually just got it. Seems like it was the USB port I was using
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
Well....so it seems that at least fastboot is able to see the slots. And everything is unlocked. So, I guess I'm out of ideas as well. One thought; for sure you're running flash-all.bat (if you're running Windows) and not another flash-all (.sh I believe for non-NTFS)...

My only suggestion is to redownload platform-tools, put it in a completely different location, redownload the Full Factory image and then compare the Checksums to make sure you have a full unadulterated copy, extract it, edit flash-all.bat (removing the "-w"), copy the 6 files to the platform-tools folders that hold the adb and fastboot .exe files and other folders and files, and use another USB port (not necessarily the cord).
[Google Pixel 2 XL Guides, News, & Discussion] warlord1352:
Yea I think I just need to either try a different computer or what I was already planning on doing (since I just got a new computer) is to wipe and redo. I just haven't had time quite yet. :(
[Google Pixel 2 XL Guides, News, & Discussion] srqrob:
We have one post after another where an issue is caused by or solved by needing to use a different cable, port or even computer and then it works. Luckily I have not had any of these issues for years but does anyone know what causes these anomalies? Is is dust or dirt or code weaknesses or just gnomes at work? Doesn't speak too highly of the state of the technology we all rely on. Where can I buy Pixie (el) dust?
[Google Pixel 2 XL Guides, News, & Discussion] ReMix3D:
I wanted to root my phone to profit of greenify and followed this guide. Everything seemed to work well, but now I'm not able to use some aps : Netflix and Mario Run disapeared (and are not visible in Play Store), and I can't log in Pokemon Go.

I searched a bit an this apparently may be cause by Magisk not being able to passe SafetyNet. I tried to flash this fix : https://xdaforums.com/apps/magisk/xiaomi-safetynet-fix-t3600431 but when installing zip it fails with TWRP giving me this errors : "/system unable to mount".

I wanted to remove root by simply uninstalling Magisk, but I'm now stuck in a boot loop. I'm downloading the factory image to revert to factory, but I don't understand what went wrong here.

If somebody can point me what I need to do to have Magisk root working properly and not causing trouble with my apps, I'm ready to try again.

For information, here's a screenshot of Magisk Manager before trying to remove root :

Thanks !
[Google Pixel 2 XL Guides, News, & Discussion] ram4ufriends:
Did you try clearing data and cache of Google Play Services and Play Store?
[Google Pixel 2 XL Guides, News, & Discussion] CyberpodS2:
As part of greenify, did you also install Xposed? That will kill your safetynet I believe.
[Google Pixel 2 XL Guides, News, & Discussion] ReMix3D:
I installed the Xposed framework, but at one moment when trying to fix my issues, I totally removed it again.

Yes, I did that before restoring factory image. And I just did that now too. Now I can get Mario Run, but Netflix is still missing in the play store.

So, now I'm running on a factory image, with bootloader still unlocked (in case I want to root again). But no custom recovery.

I tried using a "Root Checker" to be sure the phone is not detected as rooted, and it says "Sorry! Root access is not properly installed on this device." .

Does this mean that somehow the unlocked bootloader is detected and that's why Netflix is not showing (maybe other things are happening due to this, but for the moment that's the one that I spotted).

In a dream world I would like to be able to root my phone for reasons (no piracy, seriously ...), and not be bothered by those stupid protections ...
[Google Pixel 2 XL Guides, News, & Discussion] matekaneve:
Netflix doesn't show up in Google play even if you're not rooted but your bootloader is unlocked. See here: https://www.google.co.uk/url?sa=t&s...ARAB&usg=AOvVaw1FD5_zKB0-suVE1XuqSKln&ampcf=1
[Google Pixel 2 XL Guides, News, & Discussion] Reechings:
You can install Netflix from apkmirror and use liboemcrypto.so disabler magisk module or manually rename that file.
[Google Pixel 2 XL Guides, News, & Discussion] krabban:
im a newbie to mac, tried to install this. but gets this

usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]

[-o owner] file1 file2

install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]

[-o owner] file1 ... fileN directory

install -d [-v] [-g group] [-m mode] [-o owner] directory ...

Admins-MacBook-Pro:~ admin$ sudo mkdir -p /usr/local/lib64

install: lib64/libc++.so: No such file or directory

what am i doing wrong?

i have entered them one by one
[Google Pixel 2 XL Guides, News, & Discussion] CPngN:
Uhm... what are you doing? "install" is not something you should have to run here. Are you trying to get the latest adb and fastboot in place?

Install homebrew (google it, it's like a 1 liner), then:

brew install android-platform-tools

Run a new shell before testing it (open a new window or tab)
[Google Pixel 2 XL Guides, News, & Discussion] krabban:
yeah offcourse run =)

ok thanks, ill try that ! it worked perfect =) thanks again!
[Google Pixel 2 XL Guides, News, & Discussion] krabban:
need even more help...

when i try to install twrp on my phone, it just says "waiting for device"

both on my Pc and my mac.

but when i run Adb devices, it shows up..
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Does ./fastboot boot twrpxxxxxxx.img work?
[Google Pixel 2 XL Guides, News, & Discussion] krabban:
ive manged to make it work, but should i swipe to allow modifications in twrp then install the installer zip?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Definitely yes :good:
[Google Pixel 2 XL Guides, News, & Discussion] krabban:
did that now, but no files in sdcard/download

should i just reboot and put them there again?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Yes, if you didn't already. Can you see your other files on your internal storage?
[Google Pixel 2 XL Guides, News, & Discussion] krabban:
no , no files. but i ll try again to put them there. seems like the phone was wiped after i run the twrp.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
That definitely shouldn't happen! Boot up and see what you have:confused:
[Google Pixel 2 XL Guides, News, & Discussion] krabban:
i re did the procedure, im now rooted with magisk and have twrp. time to flash !!!

thanks again man!
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Nice! Make sure and follow the OP instructions when flashing whatever rom. Things can get a little tricky when flashing the P2XL :cool:
[Google Pixel 2 XL Guides, News, & Discussion] krabban:
I will :) yeah I've understand that. One+ phones is way easier . Now beach and tonight a beer and some flashing
[Google Pixel 2 XL Guides, News, & Discussion] blast03:
Need help

I have DU rom installed on my pixel 2 xl and I can't get to any recovery. What do I need to do? Thanks in advance.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Did you flash twrp.zip after you installed the rom? If not, then you'll need to fastboot into twrp. If you did flash the twrp.zip, then you can get to twrp manually or using a 3rd part app, or from magisk manager/modules/3 dot menu on top right :good:
[Google Pixel 2 XL Guides, News, & Discussion] blast03:
I didn't get the chance to twrp screen went black and I didn't get the chance to, and I'm not rooted either. I've tried to fastboot twrp through the all in one tool numerous times and that didn't work. What's the best method. Thanks for responding I didn't think anyone would respond.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Put your phone in bootloader/fastboot mode. From your command prompt on the sdk/platform-tools folder, type in fastboot devices. If you see your phone ID, your good. Then make sure you have the twrp.img in the platform-tools folder, open your command prompt and type...fastboot boot twrpxxxx.img. That should then take you into twrp :good:
[Google Pixel 2 XL Guides, News, & Discussion] blast03:
Thanks a lot. I will give that a try. it's telling me to update my bootloader and i don't know how to do that.
[Google Pixel 2 XL Guides, News, & Discussion] srqrob:
Cause is unclear, but three times over the last week or so, on a reboot, I get a Wrong Pin error. If I shutdown and start fresh, Pin is OK. Scared me the first time. I don't recall anyone else reporting this. I'm on July update, stock, latest Magisk beta and latest Flash kernel.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
What monthly DU build are you on June, July????
[Google Pixel 2 XL Guides, News, & Discussion] blast03:
July
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Were you on the Google stock July release before you flashed DU?
[Google Pixel 2 XL Guides, News, & Discussion] blast03:
No, I was on Xtended rom. In twrp 3220 after wiping data to install DU twrp the screen went black.
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
Not sure if this is part of your issue or not:

You say you wiped 'data', but DU instructions are to perform FULL wipe.

Just thinking out loud since this hasn't happened to me when installing DU.

DU (ROM News)

Reminder

Weeklies and official builds are signed with private keys. This means that if you’re on the first official build or last week’s weekly, you can dirty flash this official build. If you’re on anything other than that and want to use this build you MUST perform a full wipe in recovery. If you decide to disregard this and flash this build or a weekly on top of anything, you will not be able to boot. Have fun looking at a black screen
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
What month was your build when you were stock?

The fastboot command if you want to update the bootloader is....fastboot flash bootloader bootloaderxxxx.img.
[Google Pixel 2 XL Guides, News, & Discussion] blast03:
I finally figured it out. Something was wrong with my USB port so I had to keep switching ports. It was the weirdest thing. I really appreciate all your help and support. Thank you so much!!
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Yeah....cables and ports get a little wonky on the P2XL from time to time. Glad you got it though :good:
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
I just wanted to respond back to you about this and add in that this has happened to me as well (not necessarily just since the latest update; moreso a couple times in the last 3 months...). I don't know what triggers it and it also freaked me out the first time as well. So, if anything, you are not alone in this...
[Google Pixel 2 XL Guides, News, & Discussion] danilaleo:
My Pixel 2 stack in TWRP boot after TWRP installation. Can anyone help me with this?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Did you flash magisk after twrp?
[Google Pixel 2 XL Guides, News, & Discussion] danilaleo:
No, I have installed magisk before to root the phone. Could you suggest something? :eek:
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
If your updating to the new twrp from within your current twrp, you need to flash magisk again.
[Google Pixel 2 XL Guides, News, & Discussion] danilaleo:
Thank you! There was no TWRP before. Maybe I need to explain better what I did. I needed to root the phone. So, I did following:

1. Bootloader unlock

2. Installed magisk (through the magisk manager)

3. Rooted, confirmed with a Root status app.

4 Then I installed twrp. (twrp.img first, then twrp.zip)

Everything was done using ADB console on Mac.

After installation of TWRP it boots only to TWRP. :(

Help will be much appreciated! Thank you.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Flash the magisk zip (whatever version your using) in twrp. Then boot up :good:
[Google Pixel 2 XL Guides, News, & Discussion] danilaleo:
Thank you, but it did not help. (( It still boots into twrp. I noticed, if I change slot from A to B (in twrp / reboot /), it looks like it staring android but keeps hanging on loading.

Thank you for your help. Would you suggest flashing stock image?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Aren't you already on stock? Maybe try this. Fastboot into twrp again, then swipe to allow modifications, then flash the twrp.zip, then flash your magisk zip.
[Google Pixel 2 XL Guides, News, & Discussion] danilaleo:
Thank you VERY MUCH! Flashing both zip's eventually worked! :good::good::good:
[Google Pixel 2 XL Guides, News, & Discussion] ReMix3D:
Late thanks for the help.

For some reasons, after re-rooting the phone (after I restored using google's firmware but kept bootloader unlocked), everything is working correctly ... So, why not.
[Google Pixel 2 XL Guides, News, & Discussion] SamsungAdmire:
If I want to install P DP4/ Stable P, I can just fastboot with the method the OP mentioned, right? Would manually flashing the image with fastboot not give me OTAs for Stable P? Also, If I have TWRP/Magisk installed, how do I flash simply flash the OTA? Do I just get rid of TWRP (but then how do i get stock recovery back)? I've heard all it takes to get stock recovery back is getting the boot.img from my current build and flashing it in bootloader mode, then flashing it to the a and b partitions. Is it really that easy?
[Google Pixel 2 XL Guides, News, & Discussion] 10Shilling6Pence:
I don't suppose this would work on the Pixel?
[Google Pixel 2 XL Guides, News, & Discussion] warlord1352:
Ok so I finally got a little bit of free time, and decided one last thing before completely redoing computer and phone and whatever else lol. I uninstalled all current usb root hubs and reinstalled. And it worked. I was able to update phone now. Again another weird mystery resolved! Thanks again everyone for support and ideas.

*Edit* also I did happen to try and use PowerShell with admin. Idk if that helped as well but definitely thought I should mention that.
[Google Pixel 2 XL Guides, News, & Discussion] Ghisy:
Hey guys,

I finally updated my P2XL to the July image last week-end. Everything went well but today I wanted to boot to TWRP (to update Flash kernel) and it's asking me for a password to decrypt files! (I also updated TWRP to the latest version). I used the same latest version of TWRP to flash the kernel & Magisk last week-end without any problem.

Is there something I'm missing here? It worked fine before I updated everything. Thanks!

Edit: I tried disabling fingerprints & PIN code before booting to TWRP: when I do this, TWRP won't boot at all (it stays on the splash screen with a weird artifact/graphic glitch at the top of the image).
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Keep your screen lock disabled, fastboot into twrp, flash the twrp.zip, kernel.zip and magisk.zip and you should be good :good:
[Google Pixel 2 XL Guides, News, & Discussion] Ghisy:
As always, thanks for your input! This worked fine but does it mean that, from now on, I can just reboot to recovery and flash stuff with the screen lock security enabled?

I wish I didn't have to fastboot TWRP everytime (I'm usually home near my PC when I do this but still).
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
If your on 8.1 your ok to add your screen lock again, then you shouldn't have trouble getting back into twrp to flash whatever :cool:
[Google Pixel 2 XL Guides, News, & Discussion] Ghisy:
Alright. It's funny, I only updated from the April security patch to July's. Anyway, thanks!
[Google Pixel 2 XL Guides, News, & Discussion] Reechings:
I occasionally get the graphic glitch thing. Sometimes it will eventually load up to TWRP otherwise I just hold power and volume down until it brings me to bootloader and I choose recovery and try again.
[Google Pixel 2 XL Guides, News, & Discussion] Ghisy:
It was the first time I got this glitch! But reflashing everything like Badger50 said solved it!
[Google Pixel 2 XL Guides, News, & Discussion] theansible:
Am I screwed here?

I'd appreciate any help as I've scoured xda forums for hours w/no solution..

I purchased a Pixel 2 XL from a guy off CraigsList. In person, I used the phone & everything worked so I purchased it. He removed his Verizon SIM card and gave me the phone.

It was logged in under a "dummy" Google account and he said I could do anything I want with it.

..got home - decided to factory reset. But when it rebooted, it started asking for the PIN # of the original Google account! So now I can't use the phone. I called the guy for the last 2 days w/no response.

So I figured I'd unlock the bootloader, root & install a new ROM.

But I get this response:

fastboot flashing unlock "FAILED (remote: Flashing Unlock is not allowed"

(also tried fastboot flashing unlock_critical w/same result)

So now I can't get past the account login screen after 1st boot & phone bootloader won't unlock.

AM I SCREWED?!??!?! PLEASE HELP ME!!!