Guide to Viper on 4 XL (Easy) - Google Pixel 4 XL Guides, News, & Discussion

Here are the steps to install viper with a Pixel 4 XL:
1. In magisk go to downloads, install the audio compatibility patch 1.7 3. Choose volume up for requested settings, although USB can be set as preferred.
2. Reboot
3. Install XDA Labs Viper. Do not open.
4. In magisk go to downloads, install the Audio Modification Library v2 4. Do not reboot.
5. Open Viper, let it install driver and it will reboot.
6. Go to app info for viper, disable battery optimization.
That’s it. Enjoy the audio bliss.

Thanks for this.
Questions;
- For step 1 in your OP (install the audio compatibility patch). Just want to make sure I'm using the correct patch. What version number? At the time of writing I see V1.7.3. Is that what you used?
Also, during installation of that patch, there are a number of vol up/down options that need to be chosen. What did you choose for;
- Do you want to skip audio_policy patching? (Original acp before became 3in1 module) Vol+ = yes, Vol- = no
- Would you like to skip notification_helper remover? Vol+ = yes, Vol- = no
- Would you like to skip usb policy patching for usb devs? Vol+ = yes, Vol- = no
- Use lib workaround? Only choose yes if you're having issues. Vol+ = yes, Vol- = no (recommended)
- For step 4 (install the Audio Modification Library). What is the version number? At the time of writing I see V2.4. Is that what you used?

pdfruth said:
Thanks for this.
Questions;
- For step 1 in your OP (install the audio compatibility patch). Just want to make sure I'm using the correct patch. What version number? At the time of writing I see V1.7.3. Is that what you used?
Also, during installation of that patch, there are a number of vol up/down options that need to be chosen. What did you choose for;
- Do you want to skip audio_policy patching? (Original acp before became 3in1 module) Vol+ = yes, Vol- = no
- Would you like to skip notification_helper remover? Vol+ = yes, Vol- = no
- Would you like to skip usb policy patching for usb devs? Vol+ = yes, Vol- = no
- Use lib workaround? Only choose yes if you're having issues. Vol+ = yes, Vol- = no (recommended)
- For step 4 (install the Audio Modification Library). What is the version number? At the time of writing I see V2.4. Is that what you used?
Click to expand...
Click to collapse
Thanks. Good questions.
It was 1.7.3 of the compatibility patch.
Volume up to all the options.
Version 2.4 is also correct.
I'll amend the guide to contain this information.

I didn't do the audio compatibility patch part. You reckon that could cause issues? If I were to reinstall, would uninstalling everything and starting from scratch be okay? So far viper does work.

Or you can grab V4A version 2.7, install it, do the drivers 3 or 4 times for it to actually take, profit. I have it working on my phone without any other steps.

likepeas said:
I didn't do the audio compatibility patch part. You reckon that could cause issues? If I were to reinstall, would uninstalling everything and starting from scratch be okay? So far viper does work.
Click to expand...
Click to collapse
As I understand it the audio compatibility patch enabled viper on USB output like for Android auto.
It also makes it so you don't have to reboot repeatedly to get the driver to stick (according to others).

Hello, I followed all the steps and I still getting "No audio driver found"

I got this

madscribblerz said:
Here are the steps to install viper with a Pixel 4 XL:
1. In magisk go to downloads, install the audio compatibility patch 1.7 3. Choose volume up for requested settings, although USB can be set as preferred.
2. Reboot
3. Install XDA Labs Viper. Do not open.
4. In magisk go to downloads, install the Audio Modification Library v2 4. Do not reboot.
5. Open Viper, let it install driver and it will reboot.
6. Go to app info for viper, disable battery optimization.
That’s it. Enjoy the audio bliss.
Click to expand...
Click to collapse
Hey OP, do you use Google maps navigation by any chance?
I have Viper working on my 4 XL as well, and with the installation of Audio Modification Library and Audio Compatibility Patch installed, I can get system wide equalization except for one thing, Google Map's voice direction audio.
I guess it's a minor problem but if I'm listening to music and Google is about to alert me the next turn, Viper stops processing and my music goes all flat while Google is speaking, and then for like a split second to a few seconds later after Google is finished speaking, Viper starts to kick in again.
I can't seem to figure it out for the life of me on how to get Viper to still process even when Google is speaking the next turn direction. Has anyone ran into this issue? Anyone managed to fix this?

Mine says "Enabled: No" and I can only sense any change on gain. When I use Bluetooth USB it still says "Speaker" in the notification box?

Last time I checked selinux must be on permissive for it to stick. Gonna try it out and I'll give you all my feedback.

Tested it out and need selinux permissive.

matssa said:
Tested it out and need selinux permissive.
Click to expand...
Click to collapse
Just curious, does your viper still process when using Google maps navigation while playing music? My viper cuts out whenever maps is about to speak the next turn direction, and right after it's done speaking, viper will kick back in either right away or a few seconds later. I did recall trying to switch to permissive but that didn't seem to work

bestgio said:
Just curious, does your viper still process when using Google maps navigation while playing music? My viper cuts out whenever maps is about to speak the next turn direction, and right after it's done speaking, viper will kick back in either right away or a few seconds later. I did recall trying to switch to permissive but that didn't seem to work
Click to expand...
Click to collapse
I don't use maps I only use Waze but without the audio so can't really tell. However I think I already had this issue, it's because it cant process some apps like when your on the phone with someone. If I use it I'll try to check

matssa said:
I don't use maps I only use Waze but without the audio so can't really tell. However I think I already had this issue, it's because it cant process some apps like when your on the phone with someone. If I use it I'll try to check
Click to expand...
Click to collapse
Did you follow the installation instructions from OP and then just switched selinux to permissive? I might just try redoing my installation just to see if that happens to be the magic trick

bestgio said:
Did you follow the installation instructions from OP and then just switched selinux to permissive? I might just try redoing my installation just to see if that happens to be the magic trick
Click to expand...
Click to collapse
Yup followed then switched selinux.

matssa said:
Tested it out and need selinux permissive.
Click to expand...
Click to collapse
Didn't do anything except install V4A version 2.7 and install the drivers until it took. Nothing else including selinux permissive. Works fine here.

matssa said:
Last time I checked selinux must be on permissive for it to stick. Gonna try it out and I'll give you all my feedback.
Click to expand...
Click to collapse
What do you mean by selinux needing to be on for it to stick? The processing? I ask because last night in my car the music didn't sound like it should. Opened V4A and flipped a toggle off then back on and all of a sudden the sound changed to what it should sound like. This happened at first on my Pixel 3xl, but later wasn't an issue at all. Not sure why.

gettinwicked said:
What do you mean by selinux needing to be on for it to stick? The processing? I ask because last night in my car the music didn't sound like it should. Opened V4A and flipped a toggle off then back on and all of a sudden the sound changed to what it should sound like. This happened at first on my Pixel 3xl, but later wasn't an issue at all. Not sure why.
Click to expand...
Click to collapse
It was for the installation of the driver in order to make it stick.
For the issue you're having, check the battery optimisation option and make sure it isn't on. I had this before and changing that fixed it.

matssa said:
Yup followed then switched selinux.
Click to expand...
Click to collapse
Tried doing this and unfortunately viper still didn't process maps navigation audio :/ Thanks for sharing though!
My viper installation was able to stick without the need of changing anything related to selinux, just audio compatibility patch and audio modification library did the trick for me (minus maps navigation ofc)

Related

MIUI Music player for Oneplus three

Hi all, I've recently upgraded to the Oneplus three but i'm not able to get the same quality audio output using Mi in ear pro headphones or the Pistons which i was getting using mi4. Is there any way to port the MIUI Music player to OP3 so that i can use the sound enhancer specially designed for Mi branded ones(i've quite a collection of the Mi branded headphones). Any help would be appreciated.
How about viper4android?
viper4android would be great but i soft bricked my phone by flashing viper yesterday... where can i find a functional viper4android version?
viper4android is great but the MIUI MUSIC player has been greatly optimised for use with the headphones of their brand. Combination of the miui music player and viper4android would be absolutely amazing.
VincAlastor said:
viper4android would be great but i soft bricked my phone by flashing viper yesterday... where can i find a functional viper4android version?
Click to expand...
Click to collapse
I should get the device on Monday so I'll put together a version that will work properly on the OP3.
You usually have to make a tweak to the audio policy to make it work with apps other than play music.
I don't get how you managed to soft brick unless you flashed a version with system modifications designed for a different device.
Sent from my Nexus 5 using Tapatalk
Thank you so much!
Yeah what did I do?! First I tried the official apk in permissive kernel mode. But the driver status was abnormal and it didn't work. Then I flashed xtrememusic mod with v4a through TWRP. It was running great but battery life was really worse (more than normal for the v4a) the camera couldn't take pics anyone and some other errors occurred.
VincAlastor said:
Thank you so much!
Yeah what did I do?! First I tried the official apk in permissive kernel mode. But the driver status was abnormal and it didn't work. Then I flashed xtrememusic mod with v4a through TWRP. It was running great but battery life was really worse (more than normal for the v4a) the camera couldn't take pics anyone and some other errors occurred.
Click to expand...
Click to collapse
The abnormal driver status is due to the audiopolicy.
If you want to try yourself you can edit /system/etc/audio_policy.conf and remove the section relating to deep buffer. (It's usually about 10 lines)
Reboot and the driver status should change to normal and start working
Sent from my Nexus 5 using Tapatalk
I would like to test it, really but the other problem is, you can't roll back a twrp backup in twrp beta - I tried by changing system partition writable but the phone doesn't boot after backup roll back
VincAlastor said:
I would like to test it, really but the other problem is, you can't roll back a twrp backup in twrp beta - I tried by changing system partition writable but the phone doesn't boot after backup roll back
Click to expand...
Click to collapse
Ok. Well I'll put a zip together once I get the device
Sent from my Nexus 5 using Tapatalk
I got my info wrong yesterday.
The deep buffer prevents processing in apps other than play music.
The unusual driver status is because of having enforcing selinux.
You either change to permissive or you can also use the following su.d script to allow processing while enforcing.
/system/su.d/V4A.sh
Code:
/system/xbin/supolicy --live "allow mediaserver mediaserver_tmpfs:file { read write execute };"
Sent from my Nexus 5 using Tapatalk
VincAlastor said:
viper4android would be great but i soft bricked my phone by flashing viper yesterday... where can i find a functional viper4android version?
Click to expand...
Click to collapse
Never flash v4a. Always install it normally.???
Sent from my A0001 using XDA-Developers mobile app
Yep, now I know this too
Alex240188 said:
I got my info wrong yesterday.
The deep buffer prevents processing in apps other than play music.
The unusual driver status is because of having enforcing selinux.
You either change to permissive or you can also use the following su.d script to allow processing while enforcing.
/system/su.d/V4A.sh
Code:
/system/xbin/supolicy --live "allow mediaserver mediaserver_tmpfs:file { read write execute };"
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
could you get v4a running now?
VincAlastor said:
could you get v4a running now?
Click to expand...
Click to collapse
I also tried to install V4A on my oneplus 3 with the following steps.
1. Set selinux to permissive by following padhu1989's init.d workaround (Selinxmod not working in oneplus 3).
2. Install V4A app+driver and reboot.
However, the driver status shows processing = no, and sound effects not working (Other driver status are all yes and normal).
Could it be due the deep buffer matter you mention in the above post?

[Module] Stereo Sound Mod for OP5T [N-O]

Just wanna share simple modification for our beloved 5T.
This module allows the earpiece to be used as speaker, and enable true stereo mode.
*np: flash at ur own risk
Instruction:
1. flash via magisk manager
2. you're good to go
if you use the version with OP5TSpeakerCtrl app, please read this
chdloc said:
"Mono" mode -- the main loudspeaker's volume is set to maximum (stock behavior) and it is fed with a downmix of the left and right channels (also stock behavior)
"Stereo" mode -- the main loudspeaker's volume is lowered to match the volume of the earpiece and is fed with the right audio channel (true stereo)
In "Adaptive" mode, stereo operation is applied when the screen is on and mono when the screen is off. In "Stock" mode (I should have named it "Manual"), the mode of operation does not change automatically, but is manually selected by tapping the "Mono" and "Stereo" buttons in the app's permanent notification.
Click to expand...
Click to collapse
Changelog:
----18/4/2018----
added new updated module from @CazeW post
CazeW said:
Added a noApp version with a loop by @osm0sis to adjust the volume instead of the Tasker app. If you use this version, you don't need that app.
Click to expand...
Click to collapse
----10/2/2018----
updated magisk template
updated to a new version for true stereo mode (refer to original post >> @chdloc)
----5/1/2018----
added oreo OOS version
Click to expand...
Click to collapse
*thanks to*
@chdloc @osm0sis @gunyz @CazeW
for further update u may check posts from them in this thread, pardon for my lost presence
if u are looking for a louder one, you can check @gunyz post
does not work. installation failed in magisk
Working fine here in magisk. I forgot what i downloaded so i flashed it via twrp but it was the magisk version
Magisk 14.5 oos 4.7.5
Did you make this ZIP or is it from the OP5 forum?
keaheng said:
does not work. installation failed in magisk
Click to expand...
Click to collapse
try install via twrp
MrPhilo said:
Did you make this ZIP or is it from the OP5 forum?
Click to expand...
Click to collapse
i just replace the path mixer file, the original zip is from OP5 forum
I get this: Magisk is not activated? Version 14.5
appileh said:
I get this: Magisk is not activated? Version 14.5
Click to expand...
Click to collapse
try install via twrp
Is this mod good? If so, i will do it with twrp
appileh said:
Is this mod good? If so, i will do it with twrp
Click to expand...
Click to collapse
well, it's good because u now had the stereo speaker enabled on ur 5T
andrizmitnick said:
u may want to try it out with the more stable version of magisk, i use v14.3
Click to expand...
Click to collapse
Not working for me on v14.3, appears to have installed ok but no sound from earpiece
Flashed with Magisk 14.3 on OOS 4.7.4. Works perfectly, thank you!
kxf41 said:
Not working for me on v14.3, appears to have installed ok but no sound from earpiece
Click to expand...
Click to collapse
umm, i don't know why it wasn't working for u, maybe did u use sound mod like arise?
I was going to try this on 8.1 Omni, but it would probably break the sound all together since the mixer path file is completely different.
What lines do you edit to change it? I can just do my own editing.
xocomaox said:
I was going to try this on 8.1 Omni, but it would probably break the sound all together since the mixer path file is completely different.
What lines do you edit to change it? I can just do my own editing.
Click to expand...
Click to collapse
i just added a new file for oreo in the first page
Sadly it isn't working.. Magisk not activated... on v15.0
CodeRR said:
Sadly it isn't working.. Magisk not activated... on v15.0
Click to expand...
Click to collapse
try flashing via twrp
Omfg I'm more excited even more than when I received my 5T I just installed this mod and it's dope AF! Thanks so much for this!
Had to flash it twice via TWRP because in the first time it wouldn't work.
Is this for headset or speaker?
appileh said:
Is this for headset or speaker?
Click to expand...
Click to collapse
Lol really now?
Works great!
Only small niggle: it is possible to adjust the volume of the two speakers? As of now the sound coming from the earpiece is lower (which I can understand as it most probably is a much smaller speaker) but if it would be possible to lower the volume coming from the main speaker the balance would be much improved
But for now: much better already :good:

Improved Audio on Oreo Custom ROMs (Ainur Sauron)

I am part of the team for Ainur Sauron, and I am here to present improved audio on the Le Max 2. Sauron has a userconfig which can be adjusted. Download the latest from there and place the attached file at /sdcard before installing. Make sure to remove the '.txt' at the end of the file too! Enjoy :victory:
Impedance is currently set to 16Ω which can be changed to whatever you desire. To set edit the attached sauron_useroptions file and change qc.impedance to whatever your headphones impedance is in Ohms multiplied by 1000 (eg. for 22Ω it would be 22000).
Tested by @I_Raptor_I on his x2, if it doesn't work just send me a log
EDIT: Attached the file
I did not know that anyone else was using Ainur Sauron on LeX2 It really improves the audio quality significantly on Oreo!
Quick question - why does it say "Axon 7" during installation procedure?
LazerL0rd said:
I am part of the team for Ainur Sauron, and I am here to present improved audio on the Le Max 2. Sauron has a userconfig which can be adjusted. Download the latest from there and place the attached file at /sdcard before installing. Make sure to remove the '.txt' at the end of the file too! Enjoy :victory:
Impedance is currently set to 16Ω which can be changed to whatever you desire. To set edit the attached sauron_useroptions file and change qc.impedance to whatever your headphones impedance is in Ohms multiplied by 1000 (eg. for 22Ω it would be 22000).
Tested by @I_Raptor_I on his x2, if it doesn't work just send me a log
EDIT: Attached the file
Click to expand...
Click to collapse
Hi, I download and flash the version MK II but can't see any app for setting my personal audio. How it works?
GaetanoS.89 said:
Hi, I download and flash the version MK II but can't see any app for setting my personal audio. How it works?
Click to expand...
Click to collapse
Hello GaetanoS.89, first things first uninstall the MK II Magisk module. Now place the given text file in /sdcard folder, then go and flash that module again, it should state that it has detected the user options text file and that's it.
I_Raptor_I said:
Hello GaetanoS.89, first things first uninstall the MK II Magisk module. Now place the given text file in /sdcard folder, then go and flash that module again, it should state that it has detected the user options text file and that's it.
Click to expand...
Click to collapse
I have not installed magisk n the smartphone.
Can you tell me how I can uninstall it?
Do I need magisk to let work this audio mod?
Thanks
GaetanoS.89 said:
I have not installed magisk n the smartphone.
Can you tell me how I can uninstall it?
Do I need magisk to let work this audio mod?
Thanks
Click to expand...
Click to collapse
Magisk isn't needed as it'll install with any configuration. All you need to do is placed the attched file at /sdcard (called Internal Storage) and rename it to sauron_useroptions (remove the .txt. at the end).
LazerL0rd said:
Magisk isn't needed as it'll install with any configuration. All you need to do is placed the attched file at /sdcard (called Internal Storage) and rename it to sauron_useroptions (remove the .txt. at the end).
Click to expand...
Click to collapse
Did it, and after What I have to do?
@Lazerlord: I tried your mod today by described method.
I copied "sauron_useroptions" into sdcard folder by TWRP file explorer.
Afterwards I flashed latest zip (17.03.) using TWRP. Everything was fine with it during this.
Wiped chache and dalvik and rebooted without any problems.
Result: No ringtone anymore, no message sound, but media sound works fine and was adjustable, no app or menue occoured in regard to your mod. I did not check more.
I could succesfully remove your mod by described method (flash again same file from TWRP)
After removal everything was fine as before :good:
My Phone: X829 with latest AEX 8.1 using Magisk 16.0
123Bart said:
@Lazerlord: I tried your mod today by described method.
I copied "sauron_useroptions" into sdcard folder by TWRP file explorer.
Afterwards I flashed latest zip (17.03.) using TWRP. Everything was fine with it during this.
Wiped cache and dalvik and rebooted without any problems.
Result: No ringtone anymore, no message sound, but media sound works fine and was adjustable, no app or menue occoured in regard to your mod. I did not check more.
I could succesfully remove your mod by described method (flash again same file from TWRP)
After removal everything was fine as before :good:
My Phone: X829 with latest AEX 8.1 using Magisk 16.0
Click to expand...
Click to collapse
Ah, well could you follow these instructions on the main thread which say "help to extend features". It'll help us fix those issues. :good:
How was the media sound though? Did it sound better according to you?
LazerL0rd said:
Ah, well could you follow these instructions on the main thread which say "help to extend features". It'll help us fix those issues. :good:
How was the media sound though? Did it sound better according to you?
Click to expand...
Click to collapse
I removed the "sauron_useroptions" from sdcard folder (as it was described in the file itself, that UO is not mandatory) and reflashed the zip-file again.
With this way everything works !
Will read a little bit the instructions now...
Generaly I have to say I am using Leeco CDLA as headphones atm which are extraordinary by themselves.
So maybe I will use adapter for 3,5mm jack whithin next days and try some user options. Leeco Loadspeaker judgement is difficult imho.
Also new AEX is very good ROM in regard to speaker sound I have to say.
On Oreo 8.1.0. PixelRevenge 15.1 works very well in music playback. He gave me a strange problem. I removed the system camera that I can not install anymore. I had to put another one. I have not tried calls and notifications yet
edit:- Notifications and ringtones ok. In-call audio worsened, the voice is less clear. In speakerphone there is a loud hiss that makes the speakerphone unusable
RISS23 said:
On Oreo 8.1.0. PixelRevenge 15.1 works very well in music playback. He gave me a strange problem. I removed the system camera that I cannot install anymore. I had to put another one. I have not tried calls and notifications yet
edit:- Notifications and ringtones ok. In-call audio worsened, the voice is less clear. In speakerphone, there is a loud hiss that makes the speakerphone unusable
Click to expand...
Click to collapse
We're working on a fix for the mixer_paths that'll correct notifications, ringtones, and other audio. I'm happy that you're enjoying music playback. However, the system camera app problem is nothing to do with Sauron it's probably a ROM issue, or possibly even a Magisk issue.
I've installed this Mod by using Magisk 16.0 (v5.6.4) on RR 6.0(22-03-18).
Before I did this I placed the file sauron_useroptions to /sdcard folder.
During the installation Magisk showed that the useroption file was found and used for the installation.
In Poweramp I get the message that there is a problem with app native libraries (libampffmpeg.so).
I don't know whether the error message has something to do with that, but the volume control in Poweramp after flashing this modul is faulty.
Just when the volume is set the half I can hear anything. The volume control steps seems to be broken, but just in Poweramp.(After uninstalling, the issue is gone, but the error message is still sthere)
In other Apps the volume control is normal.
Since I use RR 6.0(8.1) instead of RR 5.8.5(7.1.2) the speaker sounds cheap tinny - Ainur Sauron didn't help to solve this issue. I removed AudioFX, can this be the reason?
It's difficult to describe the issue "cheap tinny", but I think the audio drivers have problems to divorce the difference frequences.
On RR 5.85. the speaker was more "smooth" and the frequences were divorced much better.
Sorry for my bad english and the critic. I think I'm an individual case and other people don't have the problems which I have, but in my case, the Mod seems not to improve the audio quality.
Azubi96 said:
I've installed this Mod by using Magisk 16.0 (v5.6.4) on RR 6.0(22-03-18).
Before I did this I placed the file sauron_useroptions to /sdcard folder.
During the installation Magisk showed that the useroption file was found and used for the installation.
In Poweramp I get the message that there is a problem with app native libraries (libampffmpeg.so).
I don't know whether the error message has something to do with that, but the volume control in Poweramp after flashing this modul is faulty.
Just when the volume is set the half I can hear anything. The volume control steps seems to be broken, but just in Poweramp.(After uninstalling, the issue is gone, but the error message is still sthere)
In other Apps the volume control is normal.
Since I use RR 6.0(8.1) instead of RR 5.8.5(7.1.2) the speaker sounds cheap tinny - Ainur Sauron didn't help to solve this issue. I removed AudioFX, can this be the reason?
It's difficult to describe the issue "cheap tinny", but I think the audio drivers have problems to divorce the difference frequences.
On RR 5.85. the speaker was more "smooth" and the frequences were divorced much better.
Sorry for my bad english and the critic. I think I'm an individual case and other people don't have the problems which I have, but in my case, the Mod seems not to improve the audio quality.
Click to expand...
Click to collapse
I've heard from @I_Raptor_I that RR already has a loss in audio quality. I advise the use of another ROM and if the tinnyness persists use the attached Sauron zip.
The Poweramp problem is probably due to DVC (Direct Volume Control) in their FAQ they state it may cause issues with 24-bit or HQ audio. The native libraries issue is not related to Ainur as it doesn't touch that file.
About the audio. ROM (which Sauron edits) isn't the only thing that contributes. the HAL and kernel do too, so RR's bad audio may not be able to be fixed or corrected by Ainur but we'll take a look into it.
Ok guys, @LazerL0rd is kindly developing a very nice Oreo kernel for our Le Max 2 improving the speeds dramatically and most importantly audio, he has already optimized our Qualcomm DSP, expect a very nice audio experience on Oreo from now on so stay tuned and make sure to thank LazerL0rd for his hard work, he doesn't even have a Le Max 2 and yet he is spending hours making this kernel for us
Magisk viper?
I have installed viper on RR Oreo via magisk and audio quality is now on point with how it worked through flashing viper and Dolby Atmos on the nugart RR via twrp. There are a couple of things to consider though, viper must be activated before listening to music through your app, viper does not work over Bluetooth by default in viper meaning you must go to viper settings and set mode to compatibility from normal and then viper will work over Bluetooth. The last thing, and I can't remember if this was true on nugart but viper seams to only work with music that you have downloaded to your device and will not work with streaming music from the web.
mikedavo said:
I have installed viper on RR Oreo via magisk and audio quality is now on point with how it worked through flashing viper and Dolby Atmos on the nugart RR via twrp. There are a couple of things to consider though, viper must be activated before listening to music through your app, viper does not work over Bluetooth by default in viper meaning you must go to viper settings and set mode to compatibility from normal and then viper will work over Bluetooth. The last thing, and I can't remember if this was true on nugart but viper seams to only work with music that you have downloaded to your device and will not work with streaming music from the web.
Click to expand...
Click to collapse
To fix streamed music install universal deep buffer remover magisk module by @Zackptg5 , it's on the repo too.
I_Raptor_I said:
Ok guys, @LazerL0rd is kindly developing a very nice Oreo kernel for our Le Max 2 improving the speeds dramatically and most importantly audio, he has already optimized our Qualcomm DSP, expect a very nice audio experience on Oreo from now on so stay tuned and make sure to thank LazerL0rd for his hard work, he doesn't even have a Le Max 2 and yet he is spending hours making this kernel for us
Click to expand...
Click to collapse
Kernel released and in Havoc OS. Source is https://github.com/Havoc-Devices/android_kernel_leeco_msm8996. I'll update personal repo and both to 3.18.108 soon.
does it work on xiaomi mi 6 miui 9? Android 8.0
Wysłane z mojego MI 6 przy użyciu Tapatalka
LazerL0rd said:
Kernel released and in Havoc OS. Source is https://github.com/Havoc-Devices/android_kernel_leeco_msm8996. I'll update personal repo and both to 3.18.108 soon.
Click to expand...
Click to collapse
waitting for the update, thanks

Viper4Android not kicking - Going Nutz!

So i have 9.0.3 + root + unlocked + Magisk.
Install this new rom update, but more and more i have difficulty time to activate Viper4sound.....im going nuts and crazy to the point to send the phone donw a river:cyclops:
What i do:
Press corner right, get out from Viper (with or without jack inserted) sometimes did work, not now...
Reboot.....not doesn't work.
Kill Viper, press Viper, and nothing.
Remove and inset several times jack, with or without jack.....
Lately, put music on poweramp, without jack and use headset, then go to Viper and is activated. Insert jack....not activated.....:silly:
Im audiophile, i ear music and i NEED Viper4audio...and this is completely crazy! Even try on last version install as system, but it tells me is not installed with drivers error or something...
Why cant i put this **** work??
P.S. - i dont have TWRP and i use last Viper4sound version on Magisk. With 9.0.2 i didn`t have so much problems...:crying:
Make sure you use the one in Magisk repo with newest drivers and as system app.
Already did. Sometimes appear, others not.....
Why can`t someone inject this stuff directly on the rom and Nuke it?
It's working for me on 9.0.3. But I've had difficulties at times, too. Are you running any other audio mods along with V4A? If you are, try installing Audio Modification Library. It's in the Magisk repo. Install it last after installing any other audio mods.
You could also make SELinux permissive. Usually, I haven't needed to do that, but often, when V4A has failed, this has worked for me. If there's no setting for it in your ROM, try from a terminal on the phone:
Code:
su
setenforce 0
To make SELinux enforcing again:
Code:
su
setenforce 1
I think there's an app somewhere on XDA that does this, too, so that you could avoid the terminal if you're so inclined. Making SELinux permissive may create some security risks. I don't know that much about the details.
1. Open Viper
2. Uncheck "Master power"
3. Click the 3 dots on the upper right corner and click exit
4. Close Viper from recent apps
5. Open Viper again and check "Master power"
stephenbryan.colasito
Doesnt work for me, thank you.
I don´t feel confident using Terminal commands...
I read somewhere to use Init.inject or something like that....but its too risky...
Its real sad this. Is just have install Gcam, and hace to open 10X the app, until i can get a photo working....
This Mod enters in the reign of "Sorcery mods": work or not:crying:
You have to have a music playing whenever you check if Viper is working. Whenever you check the driver status of Viper and there is no music, it will say that it isnt processing. But when there is music, it should say that is processing.
I also know that.....its a lottery the get it working.....
Found a temporary fix:
Connect the jack - Fast reboot - Then open Poweramp and Viper4 is kicking...
This is ridiculous....

[GUIDE] Get perfect surround sound from phone speaker with dolby atmos and viper4a

INTRODUCTION
*WARNING USE AT YOUR OWN RISKS*
Though the poco F1 has stereo speakers, the earpiece is sort of weak in comparison to bottom one and so the sound quality falls short when compared to other phones with dual speakers. With this guide, you can make your phone sound much balanced, immersive and better. Basically what it does is increase audio coming out from earpiece by using viper in combination with Dolby. Also this does not increases sound from earpiece beyond max level but instead reduces volume of bottom speaker slightly so it will not damage your speaker
REQUIREMENTS
Any custom rom with magisk and permissive SElinux
STEPS
1. Flash permissiver zip or use SElinux switcher to make SElinux permissive for Dolby module to work
2. Flash viper4a rootless zip in TWRP
3. Flash v4afx zip in magisk then reboot and test if Viper4A is successfully installed and working
4. Flash ACDB zip first in magisk then flash dolby audio zip and then reboot. You should now have moto audio app installed and working.
5. Put XHR WideFX irs file to main storage/Android/data/com.pittvandewitt.viperfx/files/Kernel
6. In Viper, enable convolver then choose the file to enable it.
7. For dolby, the default settings (smart audio) is great but personally I use film mode with surround sound and volume leveller enabled.
I have tested this in evolution X rom and it should work in other roms also. For stock rom it may require a custom kernel. If Dolby Atmos doesn't work then try Dolby Digital instead.
If you face issues like Dolby getting disabled automatically then heading to viper settings and switching Attach Audio Effects toggle or rebooting the system fixes it. If dolby app force closes then reflash it and clear catch after installation
DOWNLOAD
https://drive.google.com/folderview?id=1ublWcvZQ8QrQ0-uvMDlFTTEssLpcsoBC
its really sad there's no link :crying: hmmmm
new user not allowed to attach file / url original thread to their post ?
DOYANMAIN said:
its really sad there's no link :crying: hmmmm
new user not allowed to attach file / url original thread to their post ?
Click to expand...
Click to collapse
I updated the post with download link. XDA have a rule to not allow very new users from posting links or attachments. But by doing a few posts it allowed me to do so.
Geetesh Sonwani said:
STEPS
1. Install Audio Compability Patch first in magisk then reboot
Click to expand...
Click to collapse
Do you want to skip audio_policy patching? (Original acp before became 3in1 module)
Vol+ = yes, Vol- = no
Would you like to skip notification_helper remover?
Vol+ = yes, Vol- = no
Would you like to skip usb policy patching for usb dacs?
Vol+ = yes, Vol- = no
Should i skip this ? Or No ? Is this really matter ? because i really dont know what their usage for, so i just skip it
and also
on STEP 2, when i installing viper4a rootless in twrp it say done but i got red warning it say "unable to mount system"
so it is successfull or nah ? i confuse
i already installed v4afx via magisk ( STEP 3 ) and it working.
BUT
DOYANMAIN said:
on STEP 2, when i installing viper4a rootless in twrp it say done but i got red warning it say "unable to mount system"
Click to expand...
Click to collapse
It this thing ? should i ignore it since my viper4a working ?
DOYANMAIN said:
Do you want to skip audio_policy patching? (Original acp before became 3in1 module)
Vol+ = yes, Vol- = no
Would you like to skip notification_helper remover?
Vol+ = yes, Vol- = no
Would you like to skip usb policy patching for usb dacs?
Vol+ = yes, Vol- = no
Should i skip this ? Or No ? Is this really matter ? because i really dont know what their usage for, so i just skip it
and also
on STEP 2, when i installing viper4a rootless in twrp it say done but i got red warning it say "unable to mount system"
so it is successfull or nah ? i confuse
i already installed v4afx via magisk ( STEP 3 ) and it working.
BUT
It this thing ? should i ignore it since my viper4a working ?
Click to expand...
Click to collapse
On first choose no then select patch (new logic) then again choose no for notification helper and select remove volume listener library
Even if you skipped it wouldn't matter much because ACP is used just to fix audio not working in some apps and it does slightly enhances audio quality and volume.
For usb dac you can choose yes if you don't use wired headphones from usb c port
For viper though, you shouldn't get that warning
Maybe problem could be in your twrp
Manually mount system in twrp then try flashing again. If it didn't work you may have to reflash recovery
But you said that it is working? Did you tested the audio also? Because the magisk module only installs the app and some configs. The drivers are installed from recovery. You can also tap on the chip like icon button in viper and it should show the driver info and enabled as yes properly
Geetesh Sonwani said:
On first choose no then select patch (new logic) then again choose no for notification helper and select remove volume listener library
Even if you skipped it wouldn't matter much because ACP is used just to fix audio not working in some apps and it does slightly enhances audio quality and volume.
For usb dac you can choose yes if you don't use wired headphones from usb c port
For viper though, you shouldn't get that warning
Maybe problem could be in your twrp
Manually mount system in twrp then try flashing again. If it didn't work you may have to reflash recovery
But you said that it is working? Did you tested the audio also? Because the magisk module only installs the app and some configs. The drivers are installed from recovery. You can also tap on the chip like icon button in viper and it should show the driver info and enabled as yes properly
Click to expand...
Click to collapse
Yes even tho i got warning, but it properly working. I already use it like 6hour, all is working fine.
but when i installing Dolby Atmos, i got bootloop and force me to bootloader. but when restarting phone i can access twrp, just removing them in module via twrp everything is back normal.
but i think it doesnt support latest MIUI Global 11.0.4 ? i got stock MIUI11
Anyway, after wiping module via twrp my viper now doesnt have driver on the app. i already doing the exactly same step 1 - 3 to install viper and it didnt work rightnow. driver still doesnt work even tho i tried installing this many times.
I already go to viper4x thread, someone say need to overwrite 2 file ( post-fs-data.sh & sepolicy.rule ) but still doesnt fix driver.
maybe you know how to ? :laugh:
DOYANMAIN said:
Yes even tho i got warning, but it properly working. I already use it like 6hour, all is working fine.
but when i installing Dolby Atmos, i got bootloop and force me to bootloader. but when restarting phone i can access twrp, just removing them in module via twrp everything is back normal.
but i think it doesnt support latest MIUI Global 11.0.4 ? i got stock MIUI11
Anyway, after wiping module via twrp my viper now doesnt have driver on the app. i already doing the exactly same step 1 - 3 to install viper and it didnt work rightnow. driver still doesnt work even tho i tried installing this many times.
I already go to viper4x thread, someone say need to overwrite 2 file ( post-fs-data.sh & sepolicy.rule ) but still doesnt fix driver.
maybe you know how to ? :laugh:
Click to expand...
Click to collapse
Dolby Atmos is known to not work as of now in stock kernel or roms for many devices as it is still under development. You can try dolby digital instead
But are you getting the same error on twrp for viper? With system not mounting?
Unfortunately I don't have much idea for viper so I can help you till the limits of my knowledge only
Anybody make it work with Pixel Experience ROM 10.0'
Hi, I want to install it and I have Pixel Experience ROM 10.0 Official. I'm curious if anybody successfully instaled it on this ROM.
Thanks
Geetesh Sonwani said:
INTRODUCTION
Though the poco F1 has stereo speakers, the earpiece is kinda weak in comparison to bottom one and so it doesn't give that true stereo like audio performance (surround sound) compared to other phones with dual speakers. But with this guide, you can make your phone sound much balanced, immersive and better with Dolby Atmos and Viper. It actually feels like if the sound is coming towards you and not from the side
This requires the XHR WideFX irs. This is the only one I found till now which worked so perfectly with atmos after testing 500+ irs files.
REQUIREMENTS
Any android 9+ rom with magisk and permissive SElinux
STEPS
1. Install Audio Compability Patch first in magisk then reboot
2. Flash viper4a rootless zip in TWRP
3. Flash v4afx zip in magisk then again reboot and confirm if Viper4A is successfully installed and working
4. Flash Dolby Atmos zip file in magisk (you can download it from guitardedhero's post also for new version) and reboot. You should have both Dolby Atmos and Viper4A working at this point
5. Now to get that stereo sound effect, put XHR WideFX irs file in main storage/Viper4Android/Kernel folder
6. Open Viper and enable convolver then choose the same.
You can now test the sound and enjoy the stereo sound effect. It is best for gaming or while watching movies.
I have tested this in evolution X 4.0 rom and it should work in other roms also but I am not sure for OOS. For stock rom it may require a custom kernel. If it works in your rom then please comment down below so that others could also know it.
If you face issues regarding Dolby getting disabled automatically then heading to viper settings and switching Attach Audio Effects toggle or rebooting the system fixes it.
DOWNLOAD
https://drive.google.com/folderview?id=1E1ALAVIp82Cx36Dua1zCf8c5sWvt4z9m
Click to expand...
Click to collapse
puiocku said:
Hi, I want to install it and I have Pixel Experience ROM 10.0 Official. I'm curious if anybody successfully instaled it on this ROM.
Thanks
Click to expand...
Click to collapse
I have personally tested it in PE pie and Evo X 10 version. But this one should work in any android 10 based custom rom as long as you don't have any other audio mods installed conflicting it or else you may require AML also.
Geetesh Sonwani said:
I have personally tested it in PE pie and Evo X 10 version. But this one should work in any android 10 based custom rom as long as you don't have any other audio mods installed conflicting it or else you may require AML also.
Click to expand...
Click to collapse
Thank you, in that case I think too that should work fine with Pixel Experience 10.0 ROM.
Cheers
DOYANMAIN said:
Yes even tho i got warning, but it properly working. I already use it like 6hour, all is working fine.
but when i installing Dolby Atmos, i got bootloop and force me to bootloader. but when restarting phone i can access twrp, just removing them in module via twrp everything is back normal.
but i think it doesnt support latest MIUI Global 11.0.4 ? i got stock MIUI11
Anyway, after wiping module via twrp my viper now doesnt have driver on the app. i already doing the exactly same step 1 - 3 to install viper and it didnt work rightnow. driver still doesnt work even tho i tried installing this many times.
I already go to viper4x thread, someone say need to overwrite 2 file ( post-fs-data.sh & sepolicy.rule ) but still doesnt fix driver.
maybe you know how to ? :laugh:
Click to expand...
Click to collapse
+1.
Viper is working fine but after installing Dolby Atmos and rebooting i am stuck at Fastboot, had to remove the dolby module.
Is this related to Miui 11 or some selinux problem??
Please suggest some workaround.
Will this work on miui 11?
Ravindrasan said:
+1.
Viper is working fine but after installing Dolby Atmos and rebooting i am stuck at Fastboot, had to remove the dolby module.
Is this related to Miui 11 or some selinux problem??
Please suggest some workaround.
Click to expand...
Click to collapse
Looks like it doesn't work in miui as of now
But you can try dolby digital instead which is also good. Dolby Atmos is still like an early release and currently only works in custom roms and kernels
But remember to choose the IRS file in viper. That makes the earpiece work more balanced. Dolby is just to further enhance the sound quality.
Geetesh Sonwani said:
Looks like it doesn't work in miui as of now
But you can try dolby digital instead which is also good. Dolby Atmos is still like an early release and currently only works in custom roms and kernels
But remember to choose the IRS file in viper. That makes the earpiece work more balanced. Dolby is just to further enhance the sound quality.
Click to expand...
Click to collapse
Same is happening in Evolution X I'm stuck at bootloader..
It's not even working in a custom rom.
Works perfectly with Pixel Experience (Android9) + No Gravity Karnel.
Thank you, so wonderful!
Thanks for stereo convolver file, but dolby atmos giving bootloop on miui 11.0.6 android 10
I'm running Pixel Experience Plus Android 10 on my poco. I've managed to get V4A to work but when I flash Dolby Atmos and reboot the device and try to open it nothing happens and after some time and after 10-15 attempts of trying to open it a crash message appears. I also tried installing Dolby Digital Plus for Android Q but that crashes as well
naziraaqib3k said:
I'm running Pixel Experience Plus Android 10 on my poco. I've managed to get V4A to work but when I flash Dolby Atmos and reboot the device and try to open it nothing happens and after some time and after 10-15 attempts of trying to open it a crash message appears. I also tried installing Dolby Digital Plus for Android Q but that crashes as well
Click to expand...
Click to collapse
Make sure that SELinux is permissive as they will not work in enforcing
Flash permissiver zip file to fix it
I am also currently on PE+ latest and have not encountered any such issues
My recommendation is use Dolby digital instead as it is more stable (v7.2)
Geetesh Sonwani said:
Make sure that SELinux is permissive as they will not work in enforcing
Flash permissiver zip file to fix it
I am also currently on PE+ latest and have not encountered any such issues
My recommendation is use Dolby digital instead as it is more stable (v7.2)
Click to expand...
Click to collapse
I've used this setup on miui 11 eu version and it ran just fine also I had already set SELinux to Permissive uaing the SELinux Switcher. Also can you provide me with the link to dolby digital link. Thank you for your help.
naziraaqib3k said:
I've used this setup on miui 11 eu version and it ran just fine also I had already set SELinux to Permissive uaing the SELinux Switcher. Also can you provide me with the link to dolby digital link. Thank you for your help.
Click to expand...
Click to collapse
Here is the original thread -
https://forum.xda-developers.com/android/software/mm-p-dolby-digital-plus-arise-20181115-t3868192/amp/

Categories

Resources