yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL Questions & Answers] Badger50:
You have the P2XL I assume and not the smaller P2, correct? Is your bootloader fully unlocked? You've run BOTH unlocking commands?

Are you using SDK/platform-tools or minimal adb?

What type of pc are you using?

What type of USB A to USB C cable are you using?
[Google Pixel 2 XL Questions & Answers] upperbladez:
I have the smaller P2...Someone linked this and said this would work. I used the image for the Pixel 2. I recall doing this when I first flashed my P2...so I think I did everything OK. It was already rooted, but I was just on the Sept. 2017 security update. Didn't realize it was only for XL. Yes, it's fully unlocked. What are both unlocking commands? SDK/platform-tools. I'm using a Razerblade 14 (Windows 10). USB A to USB C right from Google.

UPDATE: Got it to work using the May 2018 security update. Guess it didn't like the June 2018 patch. Not sure why. :confused:
[Google Pixel 2 XL Questions & Answers] Badger50:
Great! Now see if you can fastboot the June update ?
[Google Pixel 2 XL Questions & Answers] upperbladez:
You think I should try that? Same process, right? I have to reflash, reinstall twrp.img, then twrp.zip, then magisk...no shortcuts, right? Lol :angel:
[Google Pixel 2 XL Questions & Answers] Badger50:
Exactly right. However, if you want to fastboot the June factory image without wiping data (again) then edit the flash-all.bat file by removing the -w at the end of the script :good::cool:
[Google Pixel 2 XL Questions & Answers] upperbladez:
I did that last time, but still had to reinstall the items mentioned above. Removing that -w just ensures I don't have to install all my apps, etc. Right?
[Google Pixel 2 XL Questions & Answers] Badger50:
Correct :good::good:
[Google Pixel 2 XL Questions & Answers] upperbladez:
Thanks!
[Google Pixel 2 XL Questions & Answers] Badger50:
No worries. Let us know how it goes :good:
[Google Pixel 2 XL Questions & Answers] Micheal86:
Thanks for your sharing. :good:

Very helpful post indeed.

I`ve just got Pixel 2 XL. And I want to root this.

I`m in February Android Security Patch Level right now.

Should I update to the latest one before proceeding?

How to take EFS backup - in TWRP or anything else?

Which partitions should I take when taking nandroid backup - All partitions Or Boot, System, Data ? - Got my answer from here ;)

Should I decrypt the device by formatting Data/flashing any No-varity-encryption zip(lazyflasher) in TWRP(for the 1st time) or keep it encrypted?

It would be very helpful to me if you share how to update with TWRP and Root.
[Google Pixel 2 XL Questions & Answers] Badger50:
First and foremost, you'll need the latest version of SDK/platform-tools on your pc.

Second, you'll need to fully unlock your bootloader with both commands...fastboot flashing unlock...and....fastboot flashing unlock_critical. Both of these will wipe your phone. If you've already done both of these things, then your good.

It's always a good idea to backup EFS via twrp ASAP, and save it to your pc.

When I make twrp backups, I only select boot, system, and data.

I see no need to decrypt data on the P2XL, it runs fast enough, and is kinda of a pain to do.

When say "update with twrp" what exactly are you referring to??

Rooting is quite easy with twrp. You simply flash the magisk zip, and that's about it.

Feel free to ask more questions if you need more clarification :good::cool:
[Google Pixel 2 XL Questions & Answers] Micheal86:
Thank you so much.

I`ve read the TWRP of our device has some sort of touch responsiveness issue. Should I flash a custom kernel(FlashKernel-Wahoo-v2.42.1) before flashing the Magisk(Magisk-v16.4) to fix this issue ?

BTW, by saying "update with TWRP", I mean to say - how do I update(OTA/Full) system os through TWRP with magisk installed ?

Actually, I`m waiting for your advice. Now I`ll proceed.

Thank you one again for your help.

I`ll be right back after doing all these things.
[Google Pixel 2 XL Questions & Answers] Badger50:
Yes, flashing a custom kernel like Flash kernel will resolve the touch screen issue in twrp. Then yes, you flash magisk immediately after the kernel. If you want to update your system via twrp, you'll need to download the OTA zip from here....https://developers.google.com/android/ota

And place it in your internal storage. Then you simply flash it like any other zip. After it flashes, you'll need to install twrp again, as well as your custom kernel, and magisk.

Personally, I like to use fastboot to update the monthly security updates vs using twrp and the OTA zips. I've used both methods without issue. I just like using fastboot. This is how I update monthly security updates with fastboot :good:
[Google Pixel 2 XL Questions & Answers] Micheal86:
Thanks.

Almost done.

But fastboot boot twrp shows TWRP with asking "swipe allow to modifications" - what should I do - should I swipe and flash TWRP installer zip followed by kernel and magisk and reboot to system ?
[Google Pixel 2 XL Questions & Answers] Badger50:
Yes, swipe to allow modifications. Then flash the installer zip, then kernel, then magisk, then reboot to system :good:
[Google Pixel 2 XL Questions & Answers] Micheal86:
Done. :good:

Take a nandroid Backup (Boot, System, Data) and EFS backup.

Though all credit goes to you. Really you`re very helpful indeed. :good:

Does Viper4android works in Pixel 2 xl ? I always use this in my every android. That`s why I`m asking. :)

BTW, can I restore this EFS backup(taking from TWRP), if needed (5 mb file)?

Thank you once again for your valuable help.
[Google Pixel 2 XL Questions & Answers] Badger50:
Way to go my friend!:good: Thanks for the kind words. Although, I'm just paying forward all that I have learned from others, to others, which is what XDA is, and should be all about :good:

V4A does work on the P2XL, I use it myself. There is a very large thread on the topic if you are so inclined.

Yes, you can restore an EFS backup from twrp. Although, in all actuality, you should never have to unless your phone gets really jacked up. I've never had to do it myself, but I always keep a copy of it on my pc just in case :cool:
[Google Pixel 2 XL Questions & Answers] Micheal86:
Exactly. I totally agree with you. That`s why I/We love our beloved XDA so much. :good:

It`ll be very helpful to me if you share the viper you`re using right now with your settings. I just want to have Viper. :)

BTW, I`ve also kept EFS backup in my PC.
[Google Pixel 2 XL Questions & Answers] Badger50:
This is V4A I use. It's an older version, but it has worked for me straight outa the box. You flash it with twrp, and you'll need to use the volume rocker buttons to select which version you want to use.

https://drive.google.com/file/d/1cJeP4MdYxtakzukkoC4yktyK5Hl4qvOJ/view?usp=drivesdk

Also, if you want even more volume and customization, here is a Dolby Oreo zip that you can also flash in twrp. This will make your phone volume...really loud, which I definitely like ??

https://drive.google.com/file/d/1jIbneo2Nad2nz2Hi8POSRDqrHFOTImUH/view?usp=drivesdk
[Google Pixel 2 XL Questions & Answers] Micheal86:
Thank you so much.

I`ll be right back after setting all these things.

BTW, for Viper, which version are you recommended? I generally use 2.4.3.0(the old one with super audio driver).

I`m in May security patch level right now(my device shows it`s the latest build). Hope Viper and Dolby will be fine in this build too.
[Google Pixel 2 XL Questions & Answers] Badger50:
That version has worked for me since the February update, and is working fine on the June update. I always use the new version and the standard app, not the material version. People have reported issues with the old driver. But hey, give it a shot
[Google Pixel 2 XL Questions & Answers] Micheal86:
It`s fine.

Do I`ve to freeze/uninstall the AudioFX (default) app in TB (as I did before), before flashing these?
[Google Pixel 2 XL Questions & Answers] Badger50:
I didn't. Actually, I don't even have that on my system anymore. It shows up as VIPER4Andro 2.5.0.5 :cool:
[Google Pixel 2 XL Questions & Answers] Micheal86:
Strange.

Can`t flash the Viper. Stuck into TWRP.

Don`t know what I`m missing?

Will try and report you.
[Google Pixel 2 XL Questions & Answers] Badger50:
Hmmmm. Well, if that one doesn't work. Then try this one. Or try installing it with magisk.

https://drive.google.com/file/d/1FyKVw8j4aw3Z38JnilCaRX99viKWxfAe/view?usp=drivesdk
[Google Pixel 2 XL Questions & Answers] Az Biker:
Hmmmm.... I might actually try one of both of these... Working around military vehicles all day the extra volume will come in handy!
[Google Pixel 2 XL Questions & Answers] Badger50:
Go for it Big Dog! Although I still don't think it'll overcome an M1A1 Abrams! ?
[Google Pixel 2 XL Questions & Answers] Az Biker:
TRUE dat!
[Google Pixel 2 XL Questions & Answers] Micheal86:
I can't install viper and oreo. TWRP always ended with Error message "Updator process ended with Error 2: Error Installing /sdcard/New Folder/Dolby oreo.zip"

I think TWRP may has some issue. I've tried manually to mount the data,system,vendor and storage partition before flashing. But can't mount the storage.

What should I do ?

BTW, I've successfully install magisk version of viper and it's working.
[Google Pixel 2 XL Questions & Answers] Badger50:
Yeah, I had trouble with Dolby Oreo last night as well. I took the plunge and decided to update my ViPER to the latest magisk version, which went fine, however, Dolby was being a schmuck. Turns out it was due to magisk 16.4 beta. So I switched to 16.0 stable, and BAM! It worked. Here is the exchange that Matt and I had last night. Sorry for the confusion my friend. I'm still learning stuff everyday myself ????

https://xdaforums.com/pixel-2-xl/how-to/viper-dd-atom-t3724096/post76750499
[Google Pixel 2 XL Questions & Answers] Micheal86:
It`s Ok.

No need to say sorry.

I`m also learning from you and our XDA every time.

I`ve switched from magisk(16.4) to magisk(16.0) - Upgrade directly via magisk manager.

Install Viper Material magisk module via Magisk Manager and it`s working.

I`ve tried to flash Dolby oreo zip through TWRP, but it always stopped with an error "Error 2: Error Installing \sdcard\New Folder\Dolby Oreo.zip and failed".

What should I do ?

I think TWRP can`t flash any files.
[Google Pixel 2 XL Questions & Answers] Badger50:
Hmmmm.....that's weird, I flashed it just fine in twrp. Maybe install magisk 16.0 via twrp, then try flashing Dolby again, then go to Advanced wipe, and wipe dalvik/ART cache, reboot, and see what happens :confused:
[Google Pixel 2 XL Questions & Answers] Micheal86:
Strange.

I really don`t understand what I`m missing ?

TWRP behaves abnormal.

I`ve just flashed successfully Magisk(16.0) via TWRP. But after that can`t dolby zip via TWRP. Same Error 2 and failed.

Should I reflash TWRP Installer zip. And then followed by Flash kernel and Magisk again?
[Google Pixel 2 XL Questions & Answers] Badger50:
I think I know what might be the issue. That Dolby zip I linked you to from my drive, might be the culprit. Go to this link...https://xdaforums.com/android/software/r-s-e-sound-systems-auditory-research-t3379709/post74901736

And download the Dolby Oreo.zip to your pc, then transfer it to your phone, then try flashing it with twrp. I just remembered that this was an issue early on :good:

Here is the post that talks about the error 2 message in twrp :good: https://xdaforums.com/pixel-2-xl/how-to/viper-dd-atom-t3724096/post74943179
[Google Pixel 2 XL Questions & Answers] rickysidhu_:
You can also do Desktop Mode in chrome and download it that way, also works!

:D
[Google Pixel 2 XL Questions & Answers] Badger50:
Thanks for the tip Mr. Ricky! :good::good:
[Google Pixel 2 XL Questions & Answers] Micheal86:
Thank you so much.

It`s working( and credit goes to you my friend).:good:

Both Viper and Dolby right now working. Though haven't tried Bluetooth yet.

BTW, the first time it was same with error 2. Then I copied the files to the magisk folder and reboot to TWRP and flashed and then it`s working (though don`t know why?).

Really I don`t understand why the TWRP behaves like this - sometimes it flashes successfully and sometimes not. Would you share what`s wrong with TWRP?

BTW, which partition/s should be ticked as mounted by default in TWRP?

---------- Post added at 11:31 AM ---------- Previous post was at 11:30 AM ----------

Thanks for sharing. :good:
[Google Pixel 2 XL Questions & Answers] Badger50:
Glad you got it working my friend:good: However, the credit goes to the Devs like Guitar Hero, Matt, Zachptg5, and so many others that make these sound mods. I'm just an information regurgitator?

As far as twrp goes, your guess is as good as mine. I suspect that the main reason is due to our devices having the A/B partitions that make a custom recovery much more difficult to function properly. But hey, at least we've got one. The partitions I keep checked off are, boot, system, and data. Hope you like your loud phone my friend ??
[Google Pixel 2 XL Questions & Answers] Micheal86:
Exactly.

I totally agree with you, my friend.

Yup, I really like my loud phone.:)

The Devs are really awesome and working very hard for the shake of us.

I always thank all the Devs of our beloved XDA for their dedications and hard work. And obviously to all of my friends, like you, who always spread their hands to help. :good:

Really this A/B partition thingy is very difficult.

But in my case, Data partition is always checked on and boot,system are off.

Should I manually checked Off before flashing ?
[Google Pixel 2 XL Questions & Answers] Badger50:
You really only need to worry about those when making/restoring backups. As long as twrp is decrypting your data properly, your good :good::cool:
[Google Pixel 2 XL Questions & Answers] Micheal86:
That means I`ve to manually checked Off(in Mount Option) all these 3 partitions before making/restoring Nandroid backup - right?

BTW, have you tired any custom roms in P2XL?

Does substratum work flawlessly in stock?

And which magisk modules are you using right now ?
[Google Pixel 2 XL Questions & Answers] Badger50:
Yes, when you make or restore a backup you'll see I think 6 option....

Boot

System

System image

Vendor

Vendor image

EFS

Just select the 3 I mentioned. They'll stay that way unless you change them.

Custom roms....oh yeah, I've tried, DU, Nitrogen, AquariOS, S.I.X rom, and AICP. They're all good in their own way with many similarities.

Substratum works perfectly for me on stock. My favorites are...Swift Black & Dark, Domination, Sprite, and Swift White.

The pics show all my magisk modules ??
[Google Pixel 2 XL Questions & Answers] Micheal86:
Excellent. :good:

You`re the man, my friend.

Installed all the magisk modules (except Pixel 2 wifi tweaks - not found).

Will try the substratum.

BTW, What about DU - can I use it as a daily driver? And the most important thing is - what about the camera?
[Google Pixel 2 XL Questions & Answers] Badger50:
No problem with DU for daily driver at all. I believe it's the stock google camera as well. Here's the wifi tweaks if you want it :cool:

https://drive.google.com/file/d/11CCuBslEHsBf7JiNtSb2RwFeeRRYd1dI/view?usp=drivesdk
[Google Pixel 2 XL Questions & Answers] grifforama:
Question for OP. How did you unlock the bootloader on the Verizon Pixel2?
[Google Pixel 2 XL Questions & Answers] Badger50:
He didn't. He has the Google variant of the P2XL :cool:
[Google Pixel 2 XL Questions & Answers] HACK3DANDR0ID:
I must have missed the Backup EFS after TWRP install.....
[Thinkpad Tablet General] mletchworth:
Do you think I can restore the TWRP backup without doing the other steps? My X90F is working fine but it doesn't have the latest OTA.
[Thinkpad Tablet General] joesnose:
Yes it is just standard twrp backup.

If you are hoping to preserve your data, make sure to make a backup of your data partition to either external sd or usb otg.

Copy the twrp backup, unencryption zip and twrp data enabled img from root instructions thread to your external sd or usb otg.

Restore backup from this thread then Flash unecyption zip and twrp data enabled img.

Reboot to bootloader , from pc issue "fastboot format data" then reboot to recovery.

Restore data.

Should work.

Possibly just restore twrp and flash the data ununcryption zip, not sure if this will work but it might. As you have made a data backup you may as well try this method first.
[Thinkpad Tablet General] mletchworth:
Thanks so much. It was even simpler than you thought.

I made a full TWRP backup, restored your TWRP backup (without wiping anything), installed the flashed the unencryption zip, and rebooted. All my data was still there. Only some of the system settings had changed.
[Thinkpad Tablet General] joesnose:
Good to know. Thanks for sharing.
[Thinkpad Tablet General] dibranoice:
Can i downgrade to Android Lollipop 5.0 using this same method ? Im struggling so much with this device at the current update on Marshmallow.I own a 2GB model and its really slow and sluggish.Tried restoring a TWRP Backup from an earlier update but i totally hate marshmallow update on this device.I have currently issues loading apps like zynga poker in my device.It opens and spins and never get pas that screen.This is not the reason i want to go back but the overall perfomance.
[Thinkpad Tablet General] joesnose:
Are you running unencrypted? That is the biggest help to stopping this tablet suck.

I have not heard of anyone downgrading successfully . However i have only heard of people trying to restore their lollipop twrp backup over marshmallow, i gather this does not work.

There is factory images of lollipop floating around and it may work but i dont actually know.

Try running tablet unencrypted, difference is like night and day. **it does delete all user data, make sure you backup anything important first**
[Thinkpad Tablet General] OscarBrito:
Hi everyone,

I ran into some problems with my tablet (YT3-X90F | 6.0, 4GB) and I believe I found the latest firmware for it here.

Original TWRP backup was displaying the firmware version in the name: YT3-X90F_USR_S200322_1706140050_WW17_BP_ROW

All firmware I've seen are old (YT3-X90L_S200219_170323) or for other devices (X90L), like in this in this thread.

The link above is YT3-X90F_USR_S200322_1706140050_WW17_BP_ROW.zip

My question is, by using this zip & following the instructions, Can I just be done in #5?

I also wanted to post this here to hopefully help others in my situation.
[Thinkpad Tablet General] OscarBrito:
Update:

I tried to flash the firmware I found but Intel Flash tool is not detecting my device.

I believe I'm able to boot into DNX, this is what I see:

When I connect the tablet to the computer (windows) I am getting the sound that it is detected but Flash tool shows nothing.

Output doesn't show any errors of missing drivers or else. What am I doing wrong?
[Thinkpad Tablet General] OscarBrito:
Update:

Reinstalled drivers & Intel Flash tools and I was able to flash firmware.

It had an error while writing /data. It was showing something about encryption (can't remember what exactly), I skipped it and got my tablet up & running again. But this error seems to be carried , I can not write to /data in TWRP. When I tried to install Magisk it ended in an error, I gained root nevertheless but when I tried to disable encryption TWRP fails to intall it saying: Unable to mount storage. Any ideas, anyone?

Thank you joesnose for the instructions!
[Thinkpad Tablet General] joesnose:
Sorry only just saw this, did you get it sorted?
[Thinkpad Tablet General] OscarBrito:
Yes I did, thank you.

I've posted the firmare used and I can confirm it works perfectly, in case it is of use to someone else.
[Thinkpad Tablet General] pcircle:
problems by using this manual

i have download all tools and roms for this thread. thanks for this manual.

ich use the intel platform flash tool 5.8.4. 0, after "Start Flash" the program has an Error Code:

1. ERROR : [Port 2/3] "Command "C:\Program Files (x86)\Intel\Platform Flash Tool Lite\fastboot.exe" "-s" "YOGAA8DC2034" "flashing" unlock"` failed"

2. ERROR : [Port 2/3] Flash failed (Command type: Fastboot)

I have "Developer Optiosn" enabled an "USB debugging" enabled.

Same Problem, any ideas for this problem?

thanks!
[Thinkpad Tablet General] joesnose:
Have you got fastboot drivers properly installed on your pc?
[Thinkpad Tablet General] HipHopBlond:
Thanks a ton, friend! I was able to get my unlocked, rooted, stuffed lenovo YT3-X90L back to stock in order to sell it with warranty! It even updated to the latest version after I flashed your image, with no issues! You're the man! :highfive:
[Thinkpad Tablet General] Zladimir:
Hi joesnose,

Ive exact same isse like you had. Messed with bios to boot Windows, but bricked YT instead. Since then my Yoga is laying around in silence. Just read your successful attempt and wish to revive mine, too.

Ive issues in entering DNX mode as my YT is stucked in uncharged state and wont charge normally on cable. Its like blinks of seconds I have to put it in this state and than have fastly to switch cable to computer.

Did you had a similar problem ? How to proceed ? Is there a way to flash it fully switched off ?

Thanks in advance !

EDIT: With some fast finger combos and cable switching I managed to get into DNX mode. However trying to flash it finally gave me same error as pcircle:

ERROR : [Port 0/2] Command `"C:\Program Files (x86)\Intel\Platform Flash Tool Lite\fastboot.exe" "-s" "YOGA3D76EBF0" "flashing" "unlock"` failed

ERROR : [Port 0/2] Flash failed (Command type: Fastboot)

Used the command fastboot getvar all:

unlocked: no

secure: yes

device-state: locked

boot-state: ORANGE

secureboot: no

This surprised me a lot. I never relocked my tablet. So why it is locked again ? I tried to unlock it with fastboot flashing unlock: FAILED (remote: Unlocking device not allowed)

Tried to boot TWRP: FAILED (remote: command not allowed in locked state)

Also tried format userdata and format cache, also tried directly to flash recovery or other image files, all same errors, not allowed in locked state.

So Im quite frustrated, as Ive no clue why Im in locked state and also how to flash stock firmware on my tablet now. Any help would be appreciated.
[Thinkpad Tablet General] joesnose:
Hi Zlad,

Have you tried other options under configure in intel platform tools? I seem to remember there was a recovery option or something. Not sure if it will work but worth a try maybe.
[Thinkpad Tablet General] Zladimir:
Hi Jose,

thank you for your fast response. Could kiss you right now. :D Like u described in your first post, user2user configuration did the trick. I do not know how, but this configuration enforced an unlock state. After that I could flash straight away. Like you I had a lot of errors during this process and the whole procedure took like 3 hours, but in the end he succeeded the flash and I could charge and boot up my device first time for almost two years, yehaa!

Thank you for that.

Also had the problems regarding Launcher3 and wrong time zone, the least I fixed as described. Launcher3 suggested fix didnt work for me, so I exchanged it by another Launcher just. Anyway I didnt like it much.

Also need to mention, Ive the 2GB version of YT3-X90L but flashed your 4GB stock firmware version. So I can confirm it works compatible without flaws. Updated everything, rooted and unecrypted.

Maybe by time I ll try a liveboot from a pendrive with Win10, instead of trying to install it. Haha. :D

With new Win10arm and Win10S maybe there are new options on this tablet.

How faw you ever came with the try to install Win10, Jose ?
[Thinkpad Tablet General] enricojacko:
I used your method and it worked.

Thanks a lot!
[Thinkpad Tablet General] joesnose:
i am not sure how you even got the installer to boot, i always get acpi bios error, for installer and win2go. How did you get past it?

I think the only two options left are...

bios edit- to enable OS id option....

or dsdt edit loaded from grub2 to boot windows.

Bothe these options are beyond me.
[Thinkpad Tablet General] joesnose:
Are you using intel flash tools to install the stock firmware first?