yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL Guides, News, & Discussion] soundneedle:
Bluetooth viper does not work for me either, and i'm on Sep. Speaker works fine tho. Tried the deep buffer mod too.
[Google Pixel 2 XL Guides, News, & Discussion] gettingerr:
If i start by playing music from speakers with processing (have to disable selinux in viper Dev mode settings,), then turn on my BT headphones, I can keep it processing. But trying to start with BT doesn't work. I've had issues getting consistent working with BT on v4a for a long time on many phones though.
[Google Pixel 2 XL Guides, News, & Discussion] zachman1750:
UPDATE: I've started to notice that the Bluetooth viper processing is extremely inconsistent. It does seem to be pretty reliable through both the phone speaker and headphones. I've yet to find a good solution for the bluetooth issues, so please keep this in mind.
[Google Pixel 2 XL Guides, News, & Discussion] igknight:
I had to uninstall Viper after I tried it. Made me re-pair my watch, then it kept disconnecting it. Once I got rid of it my watch worked normal again.

Not sure if it is the November update or the fact that I still have the MusicFX app disabled, but I have no issues with the audio now.
[Google Pixel 2 XL Guides, News, & Discussion] zachman1750:
Try using compatible fx mode in viper settings along with the SE linux disable that you already did. This combo finally got Bluetooth viper consistent for me. The last 4 times I've driven my car it's been automatic.
[Google Pixel 2 XL Guides, News, & Discussion] gettingerr:
V4A Bluetooth will kick in for me if I have Google maps up and the voice navigation says something, then when the music unpauses, it is processing. Before though, no processing...
[Google Pixel 2 XL Guides, News, & Discussion] KHANrad_SIN:
I can confirm that this works. I now have viper working for bluetooth. Thanks so much lol
[Google Pixel 2 XL Guides, News, & Discussion] Taebom:
That worked for music but then pocketcasts wouldn't play until i put it back to fx normal. I ended up using this magisk module and everything works perfect for me https://xdaforums.com/apps/magisk/module-viper4android-fx-2-5-0-5-t3577058. All you would have to do is uninstall everything installed before and just download this and flash it in magisk manager. It was upated on 11/8 so it's not available in the magisk manager downloads yet. If you're starting clean then you can follow your steps 1-14 or skip snokes kernel and keep stock and just download a selinux mode changer to keep kernel permissive. Then install this module and everything else is done.
[Google Pixel 2 XL Guides, News, & Discussion] zachman1750:
Awesome man thanks for the tip! I'm hesitant to try it now that I've got a setup that's working great for me, but for the sake of making the guide as best as possible I'll give it a shot and update the OP if it works out!
[Google Pixel 2 XL Guides, News, & Discussion] zachman1750:
For anyone watching this thread, so far so good on this method. It comes with the added benefit of music not cutting out and phasing in at the beginning like compatible mode sometimes will. I'll update the main thread in a day or so of testing.
[Google Pixel 2 XL Guides, News, & Discussion] Taebom:
Same here, i've been testing it out this afternoon and i'll let you know if i run into any problems as well. I'm running stock kernel with the mode changer so we can see if that effects it. I'm just glad we have viper working for the new pixel, it's literally my only reason for rooting :highfive:
[Google Pixel 2 XL Guides, News, & Discussion] joedajoester:
[MENTION=6398836]zachman1750[/MENTION]

Hey I thought I'd share viper module on xda that works a lot better than the one in the downloads section of magisk. This one works system wide and can be used in normal mode, it does not need compatible mode. Works perfectly normal with headphones Bluetooth and phone speaker. All you need is permissive selinux, no compatible mode needed.

https://xdaforums.com/apps/magisk/module-viper4android-fx-2-5-0-5-t3577058

Edit: whoops
[Google Pixel 2 XL Guides, News, & Discussion] Taebom:
lol, he's on it:good:
[Google Pixel 2 XL Guides, News, & Discussion] soundneedle:
I'm playing catch up....is everyone installing 2.2, which IS in the magisk manager. Or, is there a secret VIP updated version being downloaded elsewhere? The source's thread title says 3.2...but guessing 2.2 is current AND in the download section of Magisk Manager.
[Google Pixel 2 XL Guides, News, & Discussion] zachman1750:
You were so close. :) Good to have another confirmation that things are working though.
[Google Pixel 2 XL Guides, News, & Discussion] KHANrad_SIN:
Thanks for the info. I also had issues when using compatible mode when watching youtube videos with viper bluutooh master power on. No sound would come out of my bluetooth headphones when watching youtube videos. But the link you provided works perfectly. Thanks!
[Google Pixel 2 XL Guides, News, & Discussion] jbarcus81:
What am I missing? I followed everything in the guide.. ViPER4Android ... keeps telling me to install the driver, I do, and get 'Driver install failed: I/O error, please reboot and try again.' ... I do this and still the same error.. root is fine with Magisk.. not sure what I missed.. any ideas? Just checked the apps permissions and all granted.. still getting the error.
[Google Pixel 2 XL Guides, News, & Discussion] Taebom:
I had to delete musicfx with titanium backup or another program of your choice. Also kernel.must be set to permissive. Here is the newer magisk module that has less complications if you were using the original one in the OP https://xdaforums.com/apps/magisk/module-viper4android-fx-2-5-0-5-t3577058
[Google Pixel 2 XL Guides, News, & Discussion] Taebom:
You need 2.2 linked in the thread. I still couldn't find the one you said was in magisk manager. Here. Is the screenshot of the one you need
[Google Pixel 2 XL Guides, News, & Discussion] jbarcus81:
Ok.. I'll give it another go.. Also as an FYI I'm using 8.1 Beta ... I can go back to the non-beta version of that may help.. I just like using the 8.1 feature that allows me to take advantage of my AT&T Enhanced calling ...

**Edit**

I've tried everything I know.. still the same I/O error.. will this not work on the stock kernel?
[Google Pixel 2 XL Guides, News, & Discussion] hugebulge:
The new viper is now in the magisk downloads
[Google Pixel 2 XL Guides, News, & Discussion] abuttino:
Thanks for this guide.
[Google Pixel 2 XL Guides, News, & Discussion] krash2k:
Hey guys.. I know twrp isn't stable yet but when I try to fastboot into it, it just hangs at the splash screen. Tried rebooting and doing it again, same problem. Anyone else experience this?

Edit:

Am I doing something wrong? It seems like it's downloading a 40mb file way too quickly. Feel like I'm doing something wrong.

p\Pixel XL 2>fastboot boot twrp-3.1.1-alpha1-taimen.img

downloading 'boot.img'...

OKAY [ 1.017s]

booting...

OKAY [ 0.003s]

finished. total time: 1.022s
[Google Pixel 2 XL Guides, News, & Discussion] Taebom:
yes stock kernel works fine.

IMO i would skip all that nonsense and just use stock kernel and a selinux mode changer. That way you don't have to mess with twrp at all just magisk and flash the patched boot file. But if you are so inclined to use custom kernel then you have to use Sept. update because twrp does not work on the Nov. update or 8.1 DP1 or use this guide located in the OP https://xdaforums.com/pixel-2-xl/how-to/guide-unlock-flash-root-pixel-2-xl-t3702418
[Google Pixel 2 XL Guides, News, & Discussion] krash2k:
Thank you I will look at that.. honestly at this point all I am looking for is root. I can patiently wait on all the other goodies until everything is a bit more developed.
[Google Pixel 2 XL Guides, News, & Discussion] Wilazn:
Has anyone got v4a to work on 8.1 preview?
[Google Pixel 2 XL Guides, News, & Discussion] weaver11b:
So I had viper installed but wasn't properly working, (from what I could tell). So I uninstalled viper and tried reinstalling via instructions in OP. Just wondering if anyone else is getting an installation error. I'm on the November update running flash kernel. Any help would be appreciated. See attached screenshot, says magisk_merge.img mount failed.

Thanks

edit: for some reason when i open flashfire it says my active boot slot is B, and i dont ever recall setting it to B. When i tried switching it to A via fastboot, it just hung on the splash screen. All new to the pixel world; coming from droid turbo.
[Google Pixel 2 XL Guides, News, & Discussion] Taebom:
The OP is dated, you need this module. https://xdaforums.com/apps/magisk/module-viper4android-fx-2-5-0-5-t3577058/page103
[Google Pixel 2 XL Guides, News, & Discussion] weaver11b:
Thanks, will give it a go and see how it works. Thanks again.

I had already tried that late last night and am still getting the same error; even tried a different kernel; went from the flash to snoke.r11permissive. Same results.
[Google Pixel 2 XL Guides, News, & Discussion] zachman1750:
FYI, I've updated the OP to include the newly referenced Viper module as it's been flawless for me. So glad that this updated magisk module is working well for everyone.
[Google Pixel 2 XL Guides, News, & Discussion] Wilazn:
Followed the instructions on the Pixel 2 XL. I'm still not able to get V4A to work. I get this when I try to install the driver.

"Driver install failed: I/O error, please reboot and try again."
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Did you flash the new, updated module with magisk manager? Or just installed the apk manually?
[Google Pixel 2 XL Guides, News, & Discussion] abuttino:
Just so you know, 2.2 is already in the downloads section on the Magisk app. I'm using it with success with The Linux SePolicy changer and a stock kernel.

The only ***** of it is, you have to change the policy every reboot. I am going to find out if there is a Tasker plugin that can do it for me.
[Google Pixel 2 XL Guides, News, & Discussion] Taebom:
This mode changer does it automatically for me on reboot. https://xdaforums.com/showthread.php?t=2524485
[Google Pixel 2 XL Guides, News, & Discussion] abuttino:
I figured it out.

Tasker action run shell setenforce 0 with root.

Don't need another app if I can do it with Tasker ;)
[Google Pixel 2 XL Guides, News, & Discussion] Quinny899:
+1 to this, it works on 8.1 on my 5X but not on the 2 XL. Installs fine, files are where they should be but it complains about the driver not being installed (either with or without selinux disabled). Will debug it when I have time
[Google Pixel 2 XL Guides, News, & Discussion] bryantjopplin:
Newest Magisk that fixes avb-verity https://www.mediafire.com/file/5poo50s3zt89995/Magisk-v14.4.2.zip
[Google Pixel 2 XL Guides, News, & Discussion] abuttino:
How do we use that?

Sent from my Pixel 2 XL
[Google Pixel 2 XL Guides, News, & Discussion] bryantjopplin:
Flash with newest beta twrp

---------- Post added at 10:47 PM ---------- Previous post was at 10:46 PM ----------

But be sure it's already rooted with the kernel your want first if not, flash kernel then this

---------- Post added at 10:47 PM ---------- Previous post was at 10:47 PM ----------

See my newest magisk that dude's avb-verity and fixes your issues
[Google Pixel 2 XL Guides, News, & Discussion] abuttino:
What does this mean for Magisk? What is avb-verity?

Sent from my Pixel 2 XL
[Google Pixel 2 XL Guides, News, & Discussion] bryantjopplin:
https://source.android.com/security/verifiedboot/
[Google Pixel 2 XL Guides, News, & Discussion] abuttino:
What does it mean for Magisk? I am lost on that one.

Sent from my Pixel 2 XL
[Google Pixel 2 XL Guides, News, & Discussion] bryantjopplin:
Nothing really. Viper needs to have it to change/vendor. I'm sure others need it as well.
[Google Pixel 2 XL Guides, News, & Discussion] abuttino:
Thanks for clarifying!

Sent from my Pixel 2 XL
[Google Pixel 2 XL Guides, News, & Discussion] bryantjopplin:
Here's a little better

The problem (it’s a problem if you like root and modifying devices) stems from something I pointed out a long time back, when it first hit AOSP – the introduction of*dm-verity to Android. Verity is a security feature, originally found in ChromeOS, designed to provide assured and trustworthy computing devices, preventing malicious software from modifying a device.
[Google Pixel 2 XL Guides, News, & Discussion] abuttino:
Oh. I understood what verity is. Just was trying to understand why it mattered for Magisk.

Sent from my Pixel 2 XL
[Google Pixel 2 XL Guides, News, & Discussion] bryantjopplin:
It's new commits in [MENTION=4470081]topjohnwu[/MENTION] GitHub he implemented it I just compiled from his GitHub.
[Google Pixel 2 XL Guides, News, & Discussion] abuttino:
What would be the proper way to flash arise by just booting into TWRP, not flashing?

I have my electron kernel is patched by Magisk and is flashed in fastboot (flash boot patch.img)

Not sure how to proceed from there. Can you help?

I am sure you know from reading my earlier posts on other threads, I'm not a beginner ;)

Just need to know the order to flash them in.

Sent from my Pixel 2 XL
[Google Pixel 2 XL Guides, News, & Discussion] bryantjopplin:
Booting into twrp is fine. Still having issues with enforcing kernels working. but viper worked just fine for me.
[Google Pixel 2 XL Guides, News, & Discussion] abuttino:
Thanks but, the question was.. What order do I flash them in?

Sent from my Pixel 2 XL
[Google Pixel 2 XL Guides, News, & Discussion] bryantjopplin:
What do you have installed right now??? You have magisk already? Kernel? Twrp? Wasn't sure what you were asking lol. Or just if you were asking about arise.
[Google Pixel 2 XL Guides, News, & Discussion] abuttino:
I have electron patched with Magisk in fastboot. That's all.

Would like to add arise instead of the traditional Viper4Android.

Need to know the order.

If I am gathering right:

Boot TWRP b2

Flash arise

Flash your zip of the avb-verity inclusions for Magisk

Anything else?

Sent from my Pixel 2 XL
[Google Pixel 2 XL Guides, News, & Discussion] bryantjopplin:
Ooh ok makes sense now. Sorry. Yes seems right but you have to have permissive mode on for it to work. It's easy to toggle in adb shell or terminal emulator. Just

su

setenforce 0
[Google Pixel 2 XL Guides, News, & Discussion] abuttino:
I understand that.

Already have Tasker doing the setenforce ;)

Sent from my Pixel 2 XL
[Google Pixel 2 XL Guides, News, & Discussion] bryantjopplin:
Sounds good.
[Google Pixel 2 XL Guides, News, & Discussion] Quinny899:
Still has the same issue, it doesn't find the driver
[Google Pixel 2 XL Guides, News, & Discussion] bryantjopplin:
Are you permissive?
[Google Pixel 2 XL Guides, News, & Discussion] Quinny899:
It's the same regardless of permissive or not
[Google Pixel 2 XL Guides, News, & Discussion] bryantjopplin:
The I/o error? If something else?
[Google Pixel 2 XL Guides, News, & Discussion] Quinny899:
No, it just doesn't find the driver. Offers to install it (to the system) on start, which obviously will break systemless. The logcat shows it searching for and not finding the driver
[Google Pixel 2 XL Guides, News, & Discussion] bryantjopplin:
Which version are you using? Also if you type getenforce in terminal or adb what does it say?
[Google Pixel 2 XL Guides, News, & Discussion] Quinny899:
2.5.0.5, v4afx_v2.2, with the 14.4.2 Magisk zip, running 8.1 DP1 as I already said

setenforce works as it's supposed to, it shows "Enforcing" until you do setenforce 0 and then shows "Permissive"
[Google Pixel 2 XL Guides, News, & Discussion] bryantjopplin:
That was a long time ago lol, forgot since then lol. Or you doing they zip through magisk or twrp, for viper that is? I wonder if it's 8.1. I'll ask the chat if anyone has it on 8.1.
[Google Pixel 2 XL Guides, News, & Discussion] Quinny899:
I flashed the Magisk zip in TWRP, it does show the "internal problem with your device" on boot as others have reported if that helps
[Google Pixel 2 XL Guides, News, & Discussion] bryantjopplin:
That is the changes to /system or /vendor is seeing. What does your audio_effects.conf file look like in /vendor/etc?
[Google Pixel 2 XL Guides, News, & Discussion] Quinny899:
There isn't one, there isn't in the Magisk modules either. I tried copying it manually yesterday and it made no difference
[Google Pixel 2 XL Guides, News, & Discussion] bryantjopplin:
As far as I can tell it needs to be empty. I'm starting to think the avb-verity changes for 8.1 are different. That's something someone smarter than me has to check lol.
[Google Pixel 2 XL Guides, News, & Discussion] Quinny899:
Think I know what it is. There's an audio_effects.conf in /system_root/system/etc/ which is not modified. Trying to add a matching folder structure to the Magisk module doesn't work, it doesn't even try to mount it

EDIT: I see system_root is the Magisk mirror, never mind
[Google Pixel 2 XL Guides, News, & Discussion] bryantjopplin:
Lol yeah I was about to say the only one that matters is in vendor. The one in /system/vendor is the same
[Google Pixel 2 XL Guides, News, & Discussion] abuttino:
Is there any way to keep in the OTA path with Arise?

Sent from my Pixel 2 XL
[Google Pixel 2 XL Guides, News, & Discussion] whezzel:
Thanks for this. I used the stock kernel but instructions are the same.
[Google Pixel 2 XL Guides, News, & Discussion] SilvrDrgn:
Looks like TWRP is up to beta status for Pixel 2 XL. Here is a LINK.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Old news.
[Google Pixel 2 XL Guides, News, & Discussion] Wilazn:
Yes. I flashed the 2.5.0.5 module on the magisk manager. I set my kernel to permissive. I disabled my musicfx.
[Google Pixel 2 XL Guides, News, & Discussion] jbarcus81:
No matter what guide I follow.. steps I follow.. trying 100s of different approaches.. I can NOT get Viper to work. I get an I/O error when trying to install the driver. I've tried everything and even direct PMs of wonderful help from [MENTION=2955144]bryantjopplin[/MENTION] ...
[Google Pixel 2 XL Guides, News, & Discussion] Taebom:
I can only get viper to work on November 8.0 and not dp1 8.1.
[Google Pixel 2 XL Guides, News, & Discussion] Quinny899:
It's strange because it isn't just an AOSP 8.1 change that's doing it, because it works fine on my 5X on 8.1, but something specifically different on the P2 on 8.1
[Google Pixel 2 XL Guides, News, & Discussion] Wilazn:
Same problem. Getting i/o error on 8.1 DP
[Google Pixel 2 XL Guides, News, & Discussion] abuttino:
Did your newest Magisk zip fix Arise?

Sent from my Pixel 2 XL
[Google Pixel 2 XL Guides, News, & Discussion] bryantjopplin:
It worked for me but some others are having issues. No issues here
[Google Pixel 2 XL Guides, News, & Discussion] Taebom:
Here are some sound profile settings from WETA's sound mod from the old pixel. Just unzip the file and copy contents to your viper4android folder on SD card. https://drive.google.com/file/d/1M8i_u_wwn-XKHedaWMpY7JJN_5nVzIRA/view?usp=sharing All credit goes to Mentalmuso for his presets.
[Google Pixel 2 XL Guides, News, & Discussion] Youngbloodx:
Anyone have a method of skipping tracks with the volume buttons? I tried using pocket skip track apk but that doesn't work.

Edit: found an app called frinky music controller that works quite well.
[Google Pixel 2 XL Guides, News, & Discussion] Wilazn:
Damn. Keep Us updated!
[Google Pixel 2 XL Guides, News, & Discussion] Quinny899:
(Please don't quote long posts, cut the content out)

I already got it working like I said in my reply, but it needs selinux to be set to permissive
[Google Pixel 2 XL Guides, News, & Discussion] madscribblerz:
This viper works with 8.1 completely.

https://xdaforums.com/apps/magisk/module-viper4android-fx-2-5-0-5-t3577058/page126
[Google Pixel 2 XL Guides, News, & Discussion] xD3CrypTionz:
Anyone know if this tutorial still works on the Jan 2018 update? Previous Dec 2017 update this did not work... Mind you this is 8.1.0 on Pixel 2
[Google Pixel 2 XL Guides, News, & Discussion] madscribblerz:
The viper I listed in the post above has a 2.8 release that is compatible. I use magisk se permissive and Busybox modules to support it. I'm also using the flash kernel, but see no reason why snoke wouldn't work. If you use a permissive kernel then you wouldn't need the permissive module.

Note I've also gotten Dolby to work with viper. Look for Dolby-oreo.zip for the module.
[Google Pixel 2 XL Guides, News, & Discussion] patt2k:
"ViPER4Android: A running program has requested Android to disable audio" I'm getting this error and then v4a is not working, flashed buffer remover and still the same. Anyone know how to fix it?
[Google Pixel 2 XL Guides, News, & Discussion] gettinwicked:
I just got an email for my home mini. I was able to choose charcoal, even though I swear it was for chalk only. Anyway, it'll be here by Friday! Fairly excited to try this thing out! Anyone else get theirs?
[Google Pixel 2 XL Guides, News, & Discussion] krolla03:
I got mine. I also thought we were only gonna get the white one. I ordered the black one.
[Google Pixel 2 XL Guides, News, & Discussion] jaben2:
That's funny must have posted at the same time. Ordered charcoal here too
[Google Pixel 2 XL Guides, News, & Discussion] chris11882:
When did you receive your phone? I got mine on the 28th, so I'm thinking I still got a couple weeks.
[Google Pixel 2 XL Guides, News, & Discussion] byproxy:
ditto. ordered the charcoal!
[Google Pixel 2 XL Guides, News, & Discussion] BlackLavender31:
Just got mine as well. Funny thing is though, I initiated a return on the last day of my 15 day return window (I wanted the preferred care and they wouldn't add it after the fact, so reordered). I bought a mini assuming I would have forfeited my promo but I just ordered another one using the promo code!
[Google Pixel 2 XL Guides, News, & Discussion] GuestK00143:
Just got my phone yesterday and got the promo code today. I ordered the "exclusive" coral one.
[Google Pixel 2 XL Guides, News, & Discussion] Heisenberg420:
The free mini was only for preorders, correct?
[Google Pixel 2 XL Guides, News, & Discussion] gettinwicked:
October 18th. So, about 20 days after receiving it.
[Google Pixel 2 XL Guides, News, & Discussion] arvonn:
Ditto..my wife thought the other colors were boring... She wished there was a "kinda blue" or periwinkle option.. but coral was good enough...
[Google Pixel 2 XL Guides, News, & Discussion] Voicebox:
The Project Fi store was chalk only. Probably the same for the regular store. However, they may have decided to not make an issue of it considering how messed up the fulfillment of phone orders was. Or, they'll charge you the full amount and say, hey, you can still use that code if you want for a chalk color.
[Google Pixel 2 XL Guides, News, & Discussion] NOSTALGIA:
orders from oct 4-19. so yes.
[Google Pixel 2 XL Guides, News, & Discussion] THEbigSWEEN:
So did anyone who pre-ordered through Project Fi receive their code yet? I'm hoping the whole "while supplies last" thing is just legalese to cover all bases and that no one actually gets excluded by them sending more promo codes than they're willing to fulfill or some BS like that... Been watching my inbox like a hawk because I figured the promo codes would be coming in any day now.
[Google Pixel 2 XL Guides, News, & Discussion] cmplaya:
is anyone who preordered and got their device still waiting? i preordered on day 1 and got my xl weeks ago...still no email
[Google Pixel 2 XL Guides, News, & Discussion] iceman4357:
In the same boat as you.
[Google Pixel 2 XL Guides, News, & Discussion] cmplaya:
so why are dudes who just got the phone yesterday already receiving codes....
[Google Pixel 2 XL Guides, News, & Discussion] chris11882:
I ordered on 10/4, received 10/28, but no code yet. I am only on 11 calendar days since receiving it, so I won't start sweating yet.
[Google Pixel 2 XL Guides, News, & Discussion] cmplaya:
im starting to perspire slightly
[Google Pixel 2 XL Guides, News, & Discussion] KennyG123:
Ordered mine on the 10/6 and on Google Fi, got my phone 11/3 but no code yet....no need to sweat.
[Google Pixel 2 XL Guides, News, & Discussion] clnzx2:
Same here, purchased through Fi