yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jamiejames:
I think for me it was flashing the twrp zip over the existing manager. I flashed the boot.img first thinking that's all I needed to do. I didn't know the manager was in the twrp zip. Only a theory on my part lol. I flashed the factory image and started over. Problem solved. Like you said it doesn't seem to be affecting anything. Lol just my ocd. Actually was suggested by bryantjopplin yesterday thats what might of happened.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joeyddr:
What order did you do it? I booted tmp twrp then flashed stock boot then twrp zip then magisk 14.42
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jamiejames:
I fastboot flashed the boot.img to both slots. Then booted twrp, flashed twrp zip then Magisk 14.4.2. I did not delete the manager first which I think I should have. Don't have a clue lol.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] drewski_1:
also on 8.1 DP1 & get that message
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jamiejames:
Just out of curiosity. Did you take the 8.1 Ota or flash via fastboot?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] drewski_1:
flashed via fastboot.

no error message until the 14.4.2 install via TWRP. was previously on 14.4 via Magisk Maanger boot.img patching method
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] iluvamk:
[MENTION=2955144]bryantjopplin[/MENTION] Did you get decryption to work for you? I know your on the 2XL and I'm on the 2, but I've been trying all day to get decryption to work and i havent been able to.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
Yeah mine works. You're using the newest beta 1?

---------- Post added at 08:40 PM ---------- Previous post was at 08:38 PM ----------

Now the newest magisk does mess with the avb-verity which is Android verified boot. That might cause some flags on 8.1. But it does allow more optimization like viper.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] iluvamk:
Yes. Im on beta 1. Have tried everything and still says phone encrypted. What steps did you take? I went as far as to reflash factory image.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
I just reflashed factory image without the -w and the bootloader and the radio. Just let it do the zip. Then booted into Android. Copied kernel, twrp flash, and magisk. Then fastboot into TWRP. Chose the kernel first and then twrp. Let them flash, them hit home button and went back and flashed magisk. Rebooted and magic
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] themultiX:
How do you get Titanium working?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
If you are properly rooted, shouldn't take anything more than opening up the app and granting root access.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] iluvamk:
And that decrypted your phone? As in when your in Android -> Settings-> Security&Location->Encryption & credentials? Tried everything and still says phone encrypted.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] themultiX:
Thank you. I managed to install and run it.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bleez99:
Cannot get past password prompt

Pixel 2 XL

I'm currently running 8.1, flashed manually. When I fastboot boot beta 2 img, I get the TWRP splash then password prompt. Like my the previous XL, I typed in my pin (very slow response) but this time kept getting to an incorrect password prompt Any Ideas?

Thanks,
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Mike02z:
I was not able to decrypt my phone either. I flashed a fresh factory image, did not set up my Google account and did not set a password/PIN/Pattern. I still remained encrypted. I don't think being unencrypted provides much, if any, performance gains like it used to on older Google phones.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
Oh shoot I thought you meant something else. No that's still encrypted. Afaik that's a kernel thing to not force we encrypting. Why do you want that?

---------- Post added at 08:58 AM ---------- Previous post was at 08:56 AM ----------

Maybe try pattern, lots have been having issues with pin.

---------- Post added at 08:59 AM ---------- Previous post was at 08:58 AM ----------

Yeah I don't think you will see any gains from it. It's not worth it imo
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Or maybe remove fingerprint and pin, flash your twrp and magisk, then boot up, add your fingerprint and pin, then go back into TWRP. That's what I did, and have had zero difficulties with my pin in twrp. Just my 2 pennies worth :cool:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
He is meaning encrypted period. Afaik no one has done it. Twrp just decrypts the data using your pin or if no pin using default password. Check twrp log and it's showing what it's doing.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] murphyjasonc:
I get the error message also on 8.1. I took the OTA. Everything seems to work fine though.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] iluvamk:
Ok. I just assumed that it was phone decryption like on the 6P. I feel better now. I thought I was going nuts. Don't know how many times I wiped data in TWRP. If anything else I leaned the correct order to flash kernel, TWRP, and Magisk as well some new adb commands. Thanks.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] drewski_1:
yeah, what's another warning message during boot, like the bootloader unlocked screen? :D

at least there's not a 30 second pause to contemplate the error of my unlocking ways like on my Pixel C :rolleyes:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jasonstackhouse:
Anyone else having a similar issue? I'm on 8.1, twrp flashed onto the phone fine, however I noticed that I can no longer turn on my wifi, if I try to many times the settings app let's me know that it's no longer responding.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] murphyjasonc:
This happened to me when I first installed on 8.1. I uninstalled Magisk from the app and rebooted into TWRP from fastboot. Reinstall TWRP zip and Magisk and rebooted. It started working again.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jasonstackhouse:
Thanks, I gave that a go but no luck for some reason, I'm gonna try some other things before clearing data and starting back from scratch
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ballaz:
Had that issue along with multiple force closures. Had to factory reset phone, root, and just flash snoke kernel without TWRP.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
I am also getting a System Error message after 8.1 boots up when I open my home screen. Before the Android Beta Program message.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
That must mean the magisk that is patching fstab in dtbo hasn't been updated for 8.1 is all I can think of.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] drewski_1:
It was OK (no error message) with base 14.4. is the fstab patching for 14.4.2 modified?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
You asking if the 14.4.2 is removing avb-verity? It is according to tjw. Now its prolly not setup for 8.1 since no source code yet.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] LLStarks:
Does the 8.1 boot image not like injecting TWRP as a permanent recovery?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] arh09:
is anybody else not able to use the keyboard to enter PIN / Passcode??
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jasonstackhouse:
I actually lose touch all together on reboot to recovery. I noticed that if I reboot to boot loader than from there select recovery, touch works, I am able to enter my password and go through the twrp menu. However, if I reboot to recover from my phone via rom tools or a similar app rebooter it corrupts twrp beta 2 for some reason and disables the touch interface.

I feel like at this point in time you need to chose one or the other, either root with magisk or recovery with twrp, you can't have both, maybe it's just me but I lose root on any reboot that's not a fast reboot, also one last thing to look out for, whenever I have done a back up in twrp thus far, on reboot it's either switching boots from A to B or B to A. I actually experienced a soft brick while trying to restore a recovery.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
That's weird. I have magisk, kernel, and twrp permanently installed. I wonder why some are having issues
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CyberpodS2:
Same here, all is good. Either they did something different than we did or there is a factor or instability that is effecting some installs and not others.

After the temp flash to get TWRP going, I flashed kernel, twrp and magisk from TWRP. Don't ask me for a tutorial though cause it took several attempts and several factory image flashes to get here. lol It's all a blur.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jasonstackhouse:
All my issues are now resolved. I can reboot however I want and don't lose touch or root, it appears that I had an old version of magisk. I fastbooted the stock boot image, than fastbooted into twrp, flashed twrp and than flashed magisk 14.4.2 and it seems like everything is good to go now. I am thinking that the issue came from a combination of the out of date magisk, with the root method of patching the image. When I ditched the patched boot image method and fastbooted back the stock boot, I was good to go with twrp and from there good to go rooting through twrp.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
It sounds like they are not flashing magisk 14.4.2.zip in TWRP before reeboting. After the TWRP.zip and Magisk.zip being flashed, TWRP touch screen behaves as it should.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
Yeah not too sure. I had some issues before have but nothing with twrp. Just my boot img screwing up my system lol
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] cwalker0906:
Did you try flashing the latest su zip?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] chazall1:
Yes I have unlocked critical. I never read the how too's on the but Just the Pixel 2XL in past # 4 here, https://developers.google.com/android/images.

said fastboot flashing unlock_critical, for Pixel 2 XL only: the critical partitions may also need to be unlocked before flashing. The unlock can be performed with this command, and should NOT be done on other devices:

When I just ran fastboot flash unlock I could fastboot flash all images except for bootloader. I flashed critical and I had no issues with flashing the bootloader.img. It made a difference for me.

---------- Post added at 08:57 PM ---------- Previous post was at 08:51 PM ----------

Not a good Idea to try any SU or other root at this point. Will not work.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bajasur:
Thank you [MENTION=912474]Dees_Troy[/MENTION]!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Itachisasuke:
I think this should be possible. I'm not sure if the data decryption is required for all partitions or not. If /system/ is encrypted we won't be able to pull and edit the build.prop until we have decryption support.

This is great progress [MENTION=912474]Dees_Troy[/MENTION] I'll have to PayPal you a beer when I get a chance. Appreciate the hard work.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sharkie405:
Your sig says you're on 8.0 and not 8.1. Is that correct?

I'm on 8.1. Just trying to figure out what the difference is.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bggold:
I was able to push SuperSU sr5 to /data and flash it successfully (no errors) But phone just boots back to bootloader. Flashed boot.img to a/b and phone boot back normally. Looks like SuperSU is going to need some work. Let's hope the group that took it over can figure something out soon. Maybe chainfire will take a last stab at it.

8.0
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] WhiteReign:
Just Amazing! Thank you guys!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] eudemonky:
Reserved!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Gootah:
Thanks for putting in the effort guys, mine is still in the box until we get root and TWRP!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] slothdabski:
has anyone been able to edit build.prop to enable tethering? I'm able to adb pull, make the change, push and chmod permissions. but i still cant tether. ive tried switching slots (maybe this doesnt work in the twrp build yet). If i reboot and then boot back into twrp and adb pull again, the pulled build.prop has the change but still no tethering.

im also have the same issue with adding apks to /system/priv-app. even after a reboot the file shows up in twrp, but it doesnt make a different when i boot back into OS.

is there a way to change the active slot in fastboot? I cant be sure twrp is actually changing the active slot so id like to try with fastboot

thanks!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] cedargreen:
Any chance you can direct me to the proper adb commands for the edit build.prop tethering? I'll work on it as well.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] lucky_strike33:
You need root to do this
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] cmo220:
I haven't tried it on the Pixel 2 XL yet but on the first Pixel you could use the command

fastboot --set-active=a or

fastboot --set-active=b
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] slothdabski:
Not if you do it from TWRP and you mount system. Needs root if you do it from booted os
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] lucky_strike33:
Interesting and I didn't know that. Learn something everyday!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] slothdabski:
doesnt work :(

C:\Users\xxxxxxxx\Downloads\adb>fastboot --set-active=a

fastboot: unknown option -- set-active=a

NEVERMIND!! updated my fastboot and now it works
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] cmo220:
Are you sure your fastboot is the latest update that fixes Pixel 2 problems?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] slothdabski:
my bad, i updated the binary and the command works. but neither slot reflects the changes i made in twrp :(

also, im using despairs custom kernel to ensure theres no issue with DM-verity
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] drumst1x:
First off -- thanks to you and everyone else in here trying so hard to get this working, especially before we have root!

Next, saying neither slot reflects the changes, is this meaning when you boot up you don't see the changes if you try to view build.prop, or meaning the tethering is still not working (or both)?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Dees_Troy:
The Pixel 2 (along with the original Pixel) support FEC or Forward Error Correction on top of dm-verity. Basically the kernel can detect a small amount of changes to the system partition and fix / revert those changes so it magically looks like no changes have been made to your device once you boot Android. You will need to patch the kernel to disable dm-verity to be able to see your changes in Android.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] krweby:
I have twrp, a different kernel and magisk all installed without any issues. Even Google pay works.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
Thanks much. So I flashed the uninstaller and then flashed the installer. I reinstalled the magisk apk. Everything worked until I rebooted . I then got the update notice again. Did I do something wrong?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
Where did you find the uninstaller?

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
See post #305 above.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
Just turn updates off in the magismanager menu. It's looking for correct names and mine is just named after my different compiles
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
Duh! Thanks much; I thought I did something wrong.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] devop:
Is it possible to do what you did with the Verizon version? Thanks op
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Short answer is.....NOPE! Not unless they find a way to unlock the bootloader :eek:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sruel3216:
I cant figure out why i cant get root with supersu...

I got TWRP installed successfully.

It boots to TWRP

I install the latest SuperSu zip and it says successful.

but no root. I am on the stock kernel on november patch 8.0
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joetheshmo:
Probably because the latest SuperSU isn't compatible with either pixel 2 devices
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sruel3216:
ah i see. ok il try magisk way

Edit: rooted and working!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] galaxys:
Just an FYI: if you have Titanium Backup App, then you can boot into TWRP Recovery from TB's Menu (could eliminating needing a 3rd party app)! It worked for me with Beta2.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
I've used quick boot from the playstore even when roms have the advanced reboot menus. I find it easier than having to press the power button. Works great on our device; also and you can set up a widget on the home screen.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] robby88:
So I got TWRP installed and it works, but I can't remove it now. Is there a known way to remove it? When I flash the factory images I always get "boota/bootb failed (no such partition)". I tried flashing the boot manually but the same thing every time.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
Just dirty flash the factory image. Remove the -w from the flash all bat.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] robby88:
Doesn't work, same thing every time. Tried switching slots, flashing opposite slot, flashing current slot. It just won't write to the boot.

This is the output I get when flashing anything

https://imgur.com/bRdpWRx
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joetheshmo:
Up to date platform-tools?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
Wait this is the 8.1 preview your flashing. According to the bootloader it looks like it.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] robby88:
I did need to update my platform-tools, it writes to boot now. Didn't even think of that. Appreciate it.

Yeah I wanted to try out the 8.1 beta but I had tried both the latest 8.0 and 8.1. Ended up just needing an updated platform-tools.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
That's why I was about to ask lol
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] THEbigSWEEN:
You can do the same with Titanium Backup! I've been doing that since I've been on this Stock ROM adventure. Set a TiBu widget for "Actions", then tap on "Action" and select the "Reboot the device" option.

You may need to scroll up in the list, for some reason for me when the list first pops up it starts on "Verify all your backups", which is the 7th option, but looks like you're at the top of the list. Reboot is the 6th option. Just in case you start scrolling down the list looking for it.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
Thanks; I wasn't aware of that and I've had TiBu for years. What I didn't see on the Tibu widget was reboot to recovery and bootloader which is available on Quick Boot.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] buffal0b1ll:
Reboot device and reboot to recovery are available in TiBu widget, but not to bootloader. Create the widget. Then tap it, you'll see the 2 options.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
Yes; I found it. I can't believe after all of the years using TiBu, I wasn't aware of this feature.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
Is this the proper flashing order if I don't want to install twrp?

fastboot flash boot electron.img

fastboot boot TWRP.img

TWRP > Install Magisk 14.4.2

TWRP > Install Arise

Reboot

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
Sounds correct. Is electron permissive?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
No, but I make it permissive in Tasker at boot.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
Should be ok then
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] IlyaKol:
Forgive the ignorance...I see "Arise" is a sound enhancer or whatever. What is "Electron"? I did a quick Google and didn't yield anything that really told me what it was...is it ElectronJS (for devs - in which case I don't need it)? I'll likely give Arise a try when I get my P2XL.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joetheshmo:
It's a kernel
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] murphyjasonc:
I have TWRP and Magisk installed. I have root and most everything seems to be working. The only problem I'm having is installing zips in TWRP that have any kind of .sh file or .plz file attached. I've tried installing OG youtube and IYTB both give me errors when installing in Magisk and TWRP. TWRP says it can't mount system. I have system mounted and can view files without any problems. I can install IYTB without the .sh file that tells it to install through Magisk and detach from the playstore or the .plz file that just detaches from the playstore. I'm not sure if it's something I'm doing wrong or if it's because I'm on the 8.1 dp. I have a TWRP log attached. The only thing that jumps out to me are a bunch of errors that say error reading config file "/system/etc/ld.config.txt" for "/sbin/busybox" (will use default configuration). Any help would be appreciated.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
It's a kernel available in this subforum

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] fracman:
Hi guys. I have a question. I don't know the process so I'm curious. Since we have twrp and can flash kernels how long before we start seeing custom roms? Are we waiting for something else before this happens or is the device just too new? Thank you.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Not sure, but there are a number of kernel subforums for the P2XL and P2 running Android 8.0.

https://xdaforums.com/showthread.php?t=3694266
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Schroeder09:
I successfully installed twrp on my 2XL. I used this version (https://dl.twrp.me/taimen/twrp-pixel2-installer-taimen-3.1.1-beta2.zip.html). However, after booting to it a couple times the screen became unresponsive! It will boot and load twrp and pull up the screen where I have to type in my pin, but I can't because the screen doesn't register my touches. I am installing magisk through the phone now without twrp. What do I have to do to fix this?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
Boot twrp and then sideload the zip the reflash