yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL Guides, News, & Discussion] ridobe:
I've never seen a non-wiped flash wipe anyway. I think what happens is something goes wrong CAUSING you to wipe. There are 3 files in the image folder that have the potential to be flashed. One could remove the wipe flag on one file and flash another potentially. I dunno. The safest way BY FAR is to adopt a backup plan so that when one of these unforseen glitches causes you to wipe happens, you shrug your shoulders and do it.

With the things we do to our phones, it pays to have a backup plan as issues will happen.

---------- Post added at 06:43 PM ---------- Previous post was at 06:33 PM ----------

You need to flash magisk AFTER flashing a custom kernel. Try it again in the opposite order.
[Google Pixel 2 XL Guides, News, & Discussion] djmouse:
I can't do anything because I bought the two for one on Verizon,but been following this thread,heres a great app to get info on what slot,build,radio,your on also has a lot of useful info.you can dl it right from play store also.may help a lot of people not framiliar with adb,but if your rooting you should know cmds.

https://xdaforums.com/android/apps-games/app-devcheck-1-4-beta-information-t3171427
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
Nice find! I was about to say though.... (referring to the last part of your last statement that I underlined). If anything, you get a certain type of information -- if not more or better than the app -- with the fastboot command (though you'd have to have root [essentially, or at least oem unlocked] and get into Bootloader Mode)

fastboot getvar all

"cmds" like these right? Something to keep in mind....
[Google Pixel 2 XL Guides, News, & Discussion] djmouse:
You do not need to be bootloader unlocked to use fastboot or adb,you can run all the cmds you want,you can't flash anything if your bootloader is locked but you can adb sideload ,or adb shell Grant certian permissions.You can get to bootloader mode with power button and volume down,I don't want to clutter thread was just giving a link to that app
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
This only happened to me once. I believe I didn't save the edited flash-all file correctly after removing the -w.

Now, I remove the -w, save the file, get out of the folder, reopen the file and verify it saved with -w removed.

Then I flash-all.
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
Yes, exactly right. I also just also wanted to make it clear that I never stated that you needed bootloader unlocked (if that's what you thought or the impression you got); but apparantly I was wrong in thinking that you needed to be rooted. But, as I learned with the current method/workaround for the OG Pixel, you need OEM unlock to at least fastboot and (I believe) adb commands...
[Google Pixel 2 XL Guides, News, & Discussion] mayorblurps:
You may need to give it a little more time. At first i thought Flash kernel was worse than stock, back when I first installed it earlier this year. Then it settled in, so to speak, and I have zero complaints and battery life is as good or better than stock.
[Google Pixel 2 XL Guides, News, & Discussion] srqrob:
Stuck with 2 month old Pixel2xl. Was all OK on May security update, Rooted Magisk 16.4, Flash Kernel 2.38. Removed security. Did TWRP backup, rebooted OK, copied backup to laptop. Removed -w from flash-all.bat, connected Pixel2, confirmed fastboot devices and launched flash-all.bat. Apparently completed OK, went to restart and now phone has Red triangle and your device is corrupt message. Press power to continue and get to Orange triangle bootloader unlocked message and then unlocked icon and boot screen but never goes to the G screen. Forced shutdown and retried. Changed slots with fastboot downloaded new June update and tried with and without -w and finally put back the -w and tried again. Completed update supposedly and then wiped but same process Red your device is corrupt. Device is now off and I can get to the bootloader screen and see device on my laptop but no go with completing restart normally. Tried to relaunch TWRP from fastboot screen, shows TWRP startup screen and then stops there. Next step??
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Dang! Looks like you did everything right. Your SDK/platform-tools is up to date? All extracted files from the factory image are in your platform-tools folder?

And you've tried different USB cables and ports?? If yes to all of these, then look into the Dueces recovery script.
[Google Pixel 2 XL Guides, News, & Discussion] thereal_bigjake:
Might try redownloading the June image, it might have been a bad download. Kinda doubt it but worth checking
[Google Pixel 2 XL Guides, News, & Discussion] srqrob:
This thing was your proverbial box of rocks but it's back. Have no idea what caused it. Used the same cables, ports I've used for a couple of years with phones and it just went south.

Deuce's script made me do it twice as the first time I told it to skip unlocking as that was already done. All kinds of errors. 2nd time, perfect.

Thanks to you and Deuce. Saved a wait/return.

---------- Post added at 07:31 PM ---------- Previous post was at 07:29 PM ----------

I was already on my second download but Deuce's script saved me.

---------- Post added at 07:32 PM ---------- Previous post was at 07:31 PM ----------

I was already on my second download but Deuce's script saved me.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Well done my friend. Yeah the P2XL seems to get menopausal from time to time. Go figure! ??
[Google Pixel 2 XL Guides, News, & Discussion] CyberpodS2:
Dude that's exactly what I do. I always reopen the file to verify I wasn't retarded. Lol
[Google Pixel 2 XL Guides, News, & Discussion] marvi0:
Guys I tried anroid P, got it rooted via magisk but I have decided to sell my pixel. What’s the best way to return to stock. I am used to using the minimal and tool, can I use that to return to stock , using the instructions in the op please?or is there some kind of a tool I can use to make this more easier for me please?
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
I'm not sure about any of that ("minimal and tool" or tools for this in general...), but if you wanna check out these posts here, here, and here. It may not be as simple as you are looking for, but it's a great place to start.

Good luck to you and hope this helps...!
[Google Pixel 2 XL Guides, News, & Discussion] djmouse:
From what I've learned by trial and error with the pixel 2XL,My OEM is greyed out, I have verizion.I can run fasboot cmds and adb,but if you try to /fastboot flash any part of the boot, system,recovery .img, it will return error can not flash in locked state.I can fasboot getvar all or any common cmd,and I have also adb sideloaded official OTA.im doing fine with no root,the only thing I'm not liking now running P beta 3 is substratum doesn't work and I can't theme my phone.

Also I'm wondering since I actually own one of the devices because of the deal they offered,if they will give me an OEM ID unlock code.When I ran /fastboot getvar all there was a line (bootloader)OEM unlock ID= YES or something close to that.They should do what HTC did when I had the A9 from att. if you wanted to OEM unlock you signed a stipulation saying you were responsible if you choose to proceed.
[Google Pixel 2 XL Guides, News, & Discussion] marvi0:
I might have realised my mistake. As I was on android p, am I right to assume I need the android p factory images?, for me to return to stock?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Your on P, but want to go back to stock P?? ?

Or, if you meant stock 8.1, then yes, you'll need the factory image, or, unenroll from the beta program :good:
[Google Pixel 2 XL Guides, News, & Discussion] marvi0:
Thanks am currently in boot loop so trying to flash stock. Prior to boot loop was on android p. So to return to stock do I need android p or 8.1 factory images ?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Either way, you'll need the factory image. I'd recommend a clean flash, which will wipe your phone. Unless, you remove the -w from the flash-all.bat on DP3, which may get you back up and running on P.
[Google Pixel 2 XL Guides, News, & Discussion] Pkt_Lnt:
"What we've got here is failure to communicate." - Cool Hand Luke :D
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
That, my friend, is one of the best movies of all times! Good pick my friend! :good::good:
[Google Pixel 2 XL Guides, News, & Discussion] Pkt_Lnt:
I have no idea how many times I have watched it, gotta be close to 100 now. :silly:
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
That's where I acquired my love for eggs! ??
[Google Pixel 2 XL Guides, News, & Discussion] marvi0:
Thanks I managed to flash the android p factory image and also locked the boot loader. Now am having another issue. I am unable to download the update to return to Oreo. I keep getting errors “couldn’t install system update”. Does this have anything to do with me having had the phone rooted before?. I was under the impression flashing stock images willl clear root and also install stock recovery?. Could I have done something wrong to cause me having issues with ota updates?
[Google Pixel 2 XL Guides, News, & Discussion] Reechings:
If you want to be on Oreo, just unlock the bootloader and flash the Oreo factory image then relock the bootloader.
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
And....correct me if I'm wrong....but I thought there was something about (at least Pixel 2's) not being able to "downgrade" or flash an image of an older version.....?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Why even bother locking the bootloader? I've just seen too many folks have troubles when they do this. Trying to go back to 8.1 via OTA won't work if you weren't already enrolled in the beta program. So, like Reechings said, unlock the bootloader, and clean fastboot flash the latest 8.1 factory image :good:
[Google Pixel 2 XL Guides, News, & Discussion] Reechings:
I thought the same thing but I guess it applies more to locked bootloader.
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
I'm shaking the bush boss! :p
[Google Pixel 2 XL Guides, News, & Discussion] marvi0:
Many thanks. Putting all the files in the Sdk folder files in op definitely helps. Many thanks I managed to successfully flash the Oreo images and all good now.
[Google Pixel 2 XL Guides, News, & Discussion] srqrob:
I don't know why more encouragement is not given to adding the platform tools folder to the path variable in Windows. It solves all of the recurrent issues about where you can call adb and fastboot.
[Google Pixel 2 XL Guides, News, & Discussion] pantmunu:
I am having issues fastbooting TWRP. Keeps getting stuck at downloading .. anyone else having this issue .. I have tried all the ports on my laptop. Same issue.

And pls excuse my ignorance if this is in the wrong thread.
[Google Pixel 2 XL Guides, News, & Discussion] thereal_bigjake:
I can't get my linux laptop to work at all, get the same thing so I use another Android to boot twrp or a windows laptop I have. This device is really picky for some reason so you might have to use a whole different machine to use fastboot
[Google Pixel 2 XL Guides, News, & Discussion] pantmunu:
Weird .. coz it was working till few days back and updated to June patch from pp3. Might just try someone else's laptop.
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
You probably already know this, but just in case you don't and/or to help another using linux that does not know...

You've made sure to include the " .\ " when typing in the fastboot commands, right?
[Google Pixel 2 XL Guides, News, & Discussion] Pkt_Lnt:
Almost. the dot slash is needed in scripts "./" but not on command line entries.

I just type like this -

adb shell pm grant com.xda.nobar android.permission.WRITE_SECURE_SETTINGS

adb backup -apk -shared -all -system -f ~/Pixel2XL_adb_backup/backup20180511.ab

I have used Linux for many years, currently Linux Mint 18.3 (Ubuntu based).
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
Ahhh, I'm just going off of what I previously read in other places...I, myself, don't use Linux. And/or I may be thinking of the ./ for MacOS, maybe(?)

Thank you for the clarification....
[Lenovo A6000/Plus ROMs, Kernels, Recoveries, & Oth] mayu19:
Install instructions

We highly recommend you to follow these instructions very carefully. Users usually tend to skip a few steps and eventually fall in trouble. Are you with me? Good. Let's get this train going.

Instructions & requirements

1. Flash the ROM

2. Reboot the ROM

3. Flash gapps and magisk

Please follow these steps only. Dont try for yourself
[Lenovo A6000/Plus ROMs, Kernels, Recoveries, & Oth] Harshad121:
Bro this ROM was long awaited finally we have it thanks mayu,har****,varun gaymar and jack sucklaw ???
[Lenovo A6000/Plus ROMs, Kernels, Recoveries, & Oth] rubitryofficial:
Lol. I was just planning to release this ROM xD.
[Lenovo A6000/Plus ROMs, Kernels, Recoveries, & Oth] mayu19:
Your welcome brother ;)
[Lenovo A6000/Plus ROMs, Kernels, Recoveries, & Oth] mr.anonymous12:
Hotspot is missing
[Lenovo A6000/Plus ROMs, Kernels, Recoveries, & Oth] glewo45:
Any screenshot bro?
[Lenovo A6000/Plus ROMs, Kernels, Recoveries, & Oth] ImTester:
Really an awesome work bro...it works fine ??i love it??
[Lenovo A6000/Plus ROMs, Kernels, Recoveries, & Oth] mayu19:
Screenshots
[Lenovo A6000/Plus ROMs, Kernels, Recoveries, & Oth] mayu19:
Thanks buddy
[Lenovo A6000/Plus ROMs, Kernels, Recoveries, & Oth] mayu19:
Added
[Lenovo A6000/Plus ROMs, Kernels, Recoveries, & Oth] V@RuN_:
K sir k
[Lenovo A6000/Plus ROMs, Kernels, Recoveries, & Oth] mayu19:
THREAD UPDATED

NEW KERNEL UPDATED FOR PA . THANKS TO VARUN. NOW THERE WILL BE NO LAGS AT ALL

KERNEL LINK IS HERE

ENJOY !!!!!
[Lenovo A6000/Plus ROMs, Kernels, Recoveries, & Oth] ImTester:
Bro I would like to try dualboot Viper with PA...is it possible...
[Lenovo A6000/Plus ROMs, Kernels, Recoveries, & Oth] mayu19:
yes it is possible
[Lenovo A6000/Plus ROMs, Kernels, Recoveries, & Oth] m4gaikwad:
[MENTION=6992223]mayu19[/MENTION] thank you.. Waited for PA since long time... Is xposed working with this ROM...?
[Lenovo A6000/Plus ROMs, Kernels, Recoveries, & Oth] mayu19:
Have not tried it yet....try and report me
[Lenovo A6000/Plus ROMs, Kernels, Recoveries, & Oth] Marshib:
Any problem with hotspot?
[Lenovo A6000/Plus ROMs, Kernels, Recoveries, & Oth] ChaRun6:
bro hotspot is missing and i found it to be a bit laggy.

I followed complete installation steps.