yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] DiamondJohn:
Holding onto your own possessions is not "hoarding". I am thankful for what I have received. But thats just another persons opinion.
[Android Apps and Games] Ken C:
Had the same issue with that version. Nothing I did worked on it. From day one viper has been finicky as hell to get to work.

I'm on the 2.4.0.1 version from the magisk manager. (the unity version that asks what version of our new you want using the volume keys when you flash it. I personally picked old for everything) Everything is working as it should. I did have to install the aml module also. And I removed or froze everything audio related.

Didn't dive into editing build props or anything like that.

Hope it helps you out
[Android Apps and Games] MrBrady:
Maybe it's because I'm on Android 9, but whenever I flash the Unity version, or the version here, the Viper app doesn't appear. It worked fine when I had Magisk installed previously, even on Android 9. Just tried installing the Unity version with all the old options and same result.

Do you know which version of the Unity release you're using?
[Android Apps and Games] Ken C:
This is what I see in help and about. Just in case I misspoke earlier.
[Android Apps and Games] Ken C:
Sometimes I'm just a dumb ass lol
[Android Apps and Games] Ken C:
With all that being said I never had to install any drivers that I can recall even if I did it wasn't a big deal
[Android Apps and Games] icecoldsipra:
[MENTION=9073985]Team_DeWitt[/MENTION], a big thank you for creating/updating the new Viper4Android. This is working perfectly in my Lineage OS 14.1 rom. Because of your hard work, the audio quality from my Moto X Play is just mind blowing. When connected to Bluetooth in my car, the sound effects are crystal clear. I have never enjoyed listening to audio from my phone this much. I look forward to the new builds of this project. Thank you once again.

Edit - I am having a weird problem. Every time I reboot my phone V4A does not work. My workaround for this is to uninstall the driver, reboot phone again, reinstall driver, reboot again, completely reinstall V4A to get it to work. The driver version I have selected is 2.5.0.4. Anyone else seeing something similar? This is not a big deal if I rarely reboot my phone. But lately, I have been exploring a lot of magisk and xposed modules that force me to reboot the device. This is when it becomes a little hard. Any help would be really appreciated. My LOS 14.1 comes preinstalled with AudioFX and I have turned it off. I use Magisk 17.1 and MagiskSU for root if this helps.
[Android Apps and Games] Team_DeWitt:
https://www.reddit.com/r/headphones/comments/5z7h7m/couple_things_to_improve_usb_dac_audio_quality/

Here you can find the solution. The driver supports 44.1 and 48 khz only. Your DAC is most likely working at 96khz
[Android Apps and Games] dracinn:
I'll check it out.
[Android Apps and Games] djjohnnyblaze:
Which driver provides the best sound? 2.5.0.5 or 2.3.4.0? Thanks!

Also what is the correct magisk module I should be using for this version of Viper? Thanks!
[Android Apps and Games] gil80:
Can anyone help me have viper4android processing work on OnePlus One with LinageOS 17.1?
[Android Apps and Games] jjcdennis:
Just installed latest 2.7 via Magisk Manager V22.0. The app when opened doesn't show the bottom bar - Headphones Speaker, etc. I tired to search this with no success. How do I resolve this?

I tried to delete the module twice via Magisk Manager, but it doesn't delete it and it still opens up to the main page. How do I delete the module and driver if Magisk delete doesn't work.
[Android Apps and Games] Lord Sithek:
this version work differently than previous ones. it shows only current output settings. you'll see another options when you connect to headphone jack or bluetooth

BTW, if needed, you can delete the module in root directory: /data/adb/modules/ViPER4AndroidFX
[Android Apps and Games] jjcdennis:
I didn't find it in that location, but did find it at /storage/emulated/0/ViPER4Android. I deleted that folder and the app still opens when I tap the icon.
[Android Apps and Games] _mysiak_:
Viper4android is a standalone Android app, Magisk module is needed only for driver. If you want to completely remove Viper, you must uninstall module from Magisk and app from the phone.
[Android Apps and Games] Demianis:
Sorry haven´t been here a while.

No , it was working without AML., just activated Legacy Mode. At first it looked like the driver was not enabled, but after second boot it surprisingly worked.
[Android Apps and Games] Scientist07:
Viper works well for me using spotify but I want to use ith with other media players. I have youtube vanced installed and also tunein radio. Any idea how to get it to work with these apps?
[Android Apps and Games] _mysiak_:
With legacy mode Viper works in all apps - did you try it?
[Android Apps and Games] Scientist07:
Turned on legacy mode and got it to work with vanced. Still no go on tunein. Thx though, since one is better than none.
[Android Apps and Games] _mysiak_:
I don't use tunein app, but tried it quickly and Viper seems to be working in it with legacy mode enabled. Maybe try to restart tunein completely after enabling Viper legacy mode.
[Android Apps and Games] Scientist07:
Did that and no change. Will try reinstalling Viper.

EDIT: Reinstalled and no change.

EDIT: Installing audio modification library seems to do the trick.
[Android Apps and Games] serralha137:
Been using this version for a couple of days now, man it´s great! Really missed this! Thank you for providing this!
[Android Apps and Games] vibrantliker:
which version?
[Android Apps and Games] serralha137:
Sorry, should've specified that I tried to install a previous build than the one on this thread.

This one works like a charm.
[Android Apps and Games] kalehrl:
After a couple of days, it just stops working and then I have to go to settings and disable and enable legacy mode and it starts working again until the next time.
[Android Apps and Games] emuandco:
I don't find the mentioned convolver tbh. Where in this riddled list of files is the irs file inside?
[Android Apps and Games] Mathsiel:
Driver version should be 2.5.0.4??
[Android Apps and Games] Lord Sithek:
Yeah. It's closed source, it isn't updated anymore, only the app itself
[Android Apps and Games] Camack:
Same for me, each time the processing status is no and I have to toggle off and on the legacy mode to have it processing again.
[Android Apps and Games] Bradford1040:
I get that too, normally when I quit using a music app or two different notification goes off at about the same time
[Android Apps and Games] _mysiak_:
If Viper stops working, I just click on home screen widget with Viper profiles and it starts working immediately again.
[Android Apps and Games] vibrantliker:
Anyone getting it to work on a rooted S21 Ultra?
[Android Apps and Games] james28909:
I cannot get the driver to install. I get endless "no driver found" and it installs it without error it looks like, then reboot.

I have android 9.1 and a chinese head unit. I run adb disable-verity and then adb root and the adb remount. Then I install the newest viper for android via magisk and it will never install the driver even though it looks like it is successful. Is there some way I can manually copy it over?
[Android Apps and Games] Camack:
I have a Galaxy S20 FE 5G running OneUI 3.1 (Android 11) and was wondering do I just flash this zip via Magisk Manager and all will be done or will I need Audio Modification Library as well?

Also, how do I switch boot to SELinux Enforcing in the zip?
[Android Apps and Games] DiamondJohn:
All I did was disabled (I froze & hid it, but freeze is enough to get it to work) any existing equalizer in my ROM, flashed the ZIp from Magisk, rebooted, then turned on and configured Viper, and it worked. I had no other libraries or legacy mode or such to contend with.

As for switching to SELinux Enforcing, there is a script named "permissive.sh" in the Magisk service.d directory. I changed it to the attached. i.e. its much easier to do after flashing the zip. Its currently set to do it 3 minutes after boot, but my plan was always to cut that down but I never got around to it.
[Android Apps and Games] Camack:
Thanks, do I just flash the permissive zip in Magisk Manager or unzip it and place it in Magisk service.d directory?
[Android Apps and Games] shadowstep:
Just download the SELinux Switch module from this post of mine, flash it in Magisk and reboot. It should do the trick.
[Android Apps and Games] DiamondJohn:
You just unzip and rep[lace the permi8ssive script. Its NOT a flashable zip.

I prefer the change to the script over adding another layer/component to my config. Its also an unknown, as I do not personally know if there is a delay in the module as I have included in my script.
[Android Apps and Games] shadowstep:
And that's why my reply was directed towards Camack, not you. I know you know your stuff. :) I made that module, and confirm there is no delay I've added for the script. Feel free to audit the code here.
[Android Apps and Games] DiamondJohn:
It's been a LOOOOONG time since I first used the script. But I *THINK* when I first installed it, I then tried it without the permissive boot script, and Viper did not work; hence I added the delay. But, I could be mistaken, i repeat it was a long time ago I first used the above zip & script. However, IF I remembered correctly, then this Viper install needs to boot permissive,

The other weird thing with this install, is in previous versions of Viper, root was only needed for the install steps, after that, you could turn off root for viper, and it still worked. Now, I get a toast message on every boot, that Viper was granted root. Which would only pop-up if it requested or did something requiring root (possibly the Magisk install appears as an install on every boot). So maybe, it also needs selinux permissive to initialise. Again, I repeat, its been a long time since I first installed it, and now, since its working, I have let it be.
[Android Apps and Games] _mysiak_:
You could try this approach as well, it's safer as you can keep SELinux enforcing.

https://xdaforums.com/t/app-all-roo...android-fx-2-7.3774651/page-249#post-84121895
[Android Apps and Games] DiamondJohn:
To be clear, those manual mods, are what the zip is doing for you. i.e. it creates the permissions script.

What that does imply is that the permissive script is NOT required.

Just looked again, I would check if the script could be moved to service.d instead of post-fs-data. Also, using the above zip does not require legacy mode. Just checked my install, I did not see any "legacy" mode switch. Do you mean "compatibility"mode?
[Android Apps and Games] _mysiak_:
Not sure that I understand. Your zip file switches whole SElinux to permissive which is a security risk and some apps will detect it and refuse to launch. "Mine" fix (the idea is included in Viper Magisk module, but it doesn't work with recent Magisk versions) patches only necessary SElinux permissions.

Legacy mode is required for some apps (e.g. Youtube or Netflix) or system wide audio processing. New "non-legacy" mode attaches to audio sessions which are usually provided only by music player apps. Legacy mode switch is just above the compatibility mode, at least on my phone. :)
[Android Apps and Games] DiamondJohn:
Lets start by saying its NOT "my" zip, its simply a zip I found on here, somewhere, which works.

The SELinux is only for the first 3 minutes of boot (and could be cut down). On my Pixel 4a, this is not a big risk, as the phone takes a while to get to a usable state. Even the wallpaper does not load until after you first log in. And that time could be cut down or possibly removed. Thats what I was explaining in my post.

You talk about "legacy mode" But I have only seen "compatibility mode" in the viper menu. Where is this "Legacy Mode" setting?

I just checked, and Viper IS applied when I play YouTube videos, with compatibility mode turned off. I am using Vanced for YouTube.

Having a post-fs-data script should ONLY be used if placing it in service.d does not work.

The zip applies the same SELinux allows as your post does, but its in service.d, not post-fs-data

By 'recent magisk versions", which are you talking about? I am running 22.0 on a Pixel 4a running March A11 firmware, but have seen a very recent magisk update of 22.1 is available, which I was planning to update in the coming week, along with my ROM to Aprils release
[Android Apps and Games] _mysiak_:
Sorry, I checked wrong script. You are right that it turns SELinux back to enforcing so shouldn't be a big security risk. But in each case "mine" script is "allow only absolutely necessary selinux", "your" is "allow everything".

Attach audio effects in your screenshot is basically Legacy mode. Why it's named differently on your and mine phone..no idea. I must keep legacy mode enabled for youtube vanced. Non legacy works only for Youtube music. But I have different phone and system - Mi 10T lite with MIUI 12.
[Android Apps and Games] Bradford1040:
Been watching the convo, my viper is just like yours, not sure why the other one is named differently either, I was wondering if he installed viper fx, legacy, xhfi, myself.
[Android Apps and Games] Lord Sithek:
Looks to me like you have previous Viper version installed, like 2.7.1.6. On latest it's "Legacy mode" in my case as well
[Android Apps and Games] DiamondJohn:
Again, selinux is switched to enforcing. Therefore, only the absolutely minimum changes to SELinux are running. It is NOT "absolutely everything".

The following are the details from running AAPT on my device, against Viper:

View attachment 5276647 (something is buggy with XDA)

So it appears to be "FX". Hmmm... whats the difference with non-FX Viper? apart from legacy mode. I guess I should also read the change log to find out what is new/improved in the next version. But I have no issues, it always boots and processes, and never randomly turns itself off. So, I'm sitting on "don't fix it if it ain't broke". ;)

Well, in the screenshot above (not my install), the other version has both legacy and compatibility mode settings. But it appears I do not need legacy mode (or even compatibility mode), as my YouTube IS being processed by Viper; although I personally only really care about my music app.
[Android Apps and Games] 4josh2u:
Is it possible for the developer to add an option where you can force the driver output. Like in the legacy version I could plug my phone into Android auto and then make viper process for my "headset" instead of the phone speakers. but in reality it was actually processing for my Android auto. So
[Android Apps and Games] AngryLady:
Viper-DDC is empty.

Where to download, and where to put, and what's folder name?
[Android Apps and Games] Elmarigo:
Hello! I just installed the V4A module through latest Magisk.

I'm confused that my options are so minimalist:

There isn't even Viper-DDC. Earlier there was an option for enabling the expert mode.. but I don't see any further options. What is wrong there?

Thank you :)

Hi Lady, It said this at installation:
[Android Apps and Games] Lord Sithek:
in the latest update additional options will appear as soon as you change the audio output. Means when you connect your headphonse eg
[Android Apps and Games] Elmarigo:
Ah, OK, thank you! :)

Will try it next.

Edit: It's working with headphones (only in legacy mode, and stil got to test Bluetooth later.)

So most effects don't work with the internal speaker, OK.
[Android Apps and Games] marceloBoZo:
This must be fixed on first page, thanks.

Using on Redmi Note 9s (curtana) miui.eu 12.0.3.0 Android 10
[Android Apps and Games] okanorman:
Finally running smoothly with MIUI 12,Magisk 22.1 and Viper 2.7.2.1.Thank u.
[Android Apps and Games] BHUSHAN7988:
So I have

OnePlus 6T

Stock OOS 10.3.9

Magisk 22.1

LSPosed 1.3.5

I use ViPER4Android FX Legacy v4.4

I have the 2.3.4.0 app version with super duper drivers.

I used to use "selinux.a" file with this text "#!/system/bin/sh

setenforce 0"

in the "data/adb/service.d" folder to make my viper work, but it makes the whole device permissive.

Any other way for the old drivers to work properly?

I tried you codes in the file "service.sh" in "data/adb/modules/ViPERAndroidFX-Legacy" but they don't work for me.

Could you please help out.
[Android Apps and Games] gfrank227:
Hi all, I need some assistance installing V4A. I'm using a Moto G8 Plus running Android 10. It's rooted. I have been able to get the app into a normal state using legacy mode. However, no matter what I do the "Processing" stays at No and the mods don't seem to make any difference. I have tried changing the SELinux to permissive, no effect. Any help would be greatly appreciated. Thanks!
[Android Apps and Games] gfrank227:
OK please disregard. I finally managed to get it to work. I am not sure what did it, but it may have had something to do with the Audio Mod library.

I can only describe the sound coming out of my phone now as glorious. V4A is that good.
[Android Apps and Games] JairPaalman:
The only way I can get it working is by enabling legacy mode on V4A 2.7+ and enabling the Audio Modification Library Magisk module. Strangely, just using AML with legacy V4A doesn't work (liked the design better). Dunno what Team DeWitt fixed in the driver installation, but Samsung doesn't seem to like it. Mine works now, but as a CS student, I really want to know what's going wrong. My first guess was the ever problem causing SoundAlive, which caused all kinds of issues with V4A before on my other Samsung devices, but force disabling SoundAlive doesn't fix the driver acting up this time. Driver state is abnormal and everything else says "No" without legacy mode & AML, but the correct driver number does show up.
[Android Apps and Games] gfrank227:
Ok so I installed AML, let V4A install drivers. Then disable AML and reboot. V4A will reinstall drivers again. Then I got it to work with SELinux set to permissive and legacy mode turned on.

Is there any way to get it to work with SELinus set to enforcing? I see a couple of threads including a zip file but I'm skeptical because it's a couple years old.
[Android Apps and Games] vibrantliker:
this worked for me:

Install in order

Viper4androidFX via Magisk

Reboot

Audio Modification Library via magisk

Reboot

Push the file (extract from the zip) to data/adb/modules/ViPER4Android/ that i have uploaded and set permission 644

(it should now be data/adb/modules/ViPER4Android/post-fs-data.sh)

Reboot

Open viper, set to legacy mode, then check if status is now normal

Amazingly this has been working on all my phones with A11
[Android Apps and Games] JairPaalman:
I just figured out it was not really working. Some boots V4A works in legacy mode, some boots it doesn't, and the driver is abnormal.
[Android Apps and Games] JairPaalman:
Disabled AML and reinstalled V4A driver, then rebooted. V4A is working normally. Wonder if it'll survive a reboot. Yes it did...

I have absolutely no idea why it's being so consistent. Apparently, I needed AML for it to work the first time, then needed to disable AML, as it wouldn't work anymore. At this point, I'm not even sure if it'll survive the next couple reboots. I read those specific instructions, installing then disabling AML, somewhere, but I figured disabling AML was more in order to clean up. I guess not.

The last 5 hours of shenanigans have once again reminded me of an important lesson: if it's not broken, don't touch it.
[Android Apps and Games] gfrank227:
That's always good advice. At one point I put SELinux back to enforcing to verify whether that made a difference. And I almost couldn't get it working again. I would prefer to have it on, but not at the cost of V4A.
[Android Apps and Games] Ronny Say:
I've been struggling with Viper for days now, was giving up, and then I found this. I installed it without any hopes, and IT WORKED ON THR FIRST TRY. You did say it works every time 🤗😘😘
[Android Apps and Games] _mysiak_:
This zip seems to be setting SELinux to permissive, not the best idea how to make Viper working (in terms of security). Especially as it also contains proper fix with Magiskpolicy.. :)
[Android Apps and Games] DiamondJohn:
As has been discussed in an exchange including yourself @_mysiak_, this install does not require your system to remain permissive. I have posted a modified script here on XDA, that switches to enforcing after a few minutes. You simply replace the one created by the zip. Somone could modify the zip to include the change if it also works for others. Viper works [perfectly for me. But it is ViperFX, and no-one has explained what is different with the other vipers. Read a few pages back for more info.

I have posted this exact zip, but I have no idea where I sourced it from originally. It would of been here somewhere on XDA.
[Android Apps and Games] marceloBoZo:
Sorry the delay

I don't know how to help you, I only try fixes for miui and Xiaomi devices, maybe lsposed could be interfering with your system, the use o lsposed ans xposed gerate a lot of problems with some apps

My selinux still enforcing
[Android Apps and Games] Essentrix:
Hi

Wondering if anyone has some possible solutions to my prob?

Galaxy Tab S5e, android 10 rooted stock ROM

V4A 2.7.2.1 installs perfectly through Magisk 22.1 first time using legacy option

Songs play normally at first then start to stutter periodically.

Changed sleep options so apps not put to sleep.

Any ideas?
[Android Apps and Games] Essentrix:
Update:

Played with options. Turns out to be an issue with the player app combo - only shows up when using V4A and my Sennheiser ie800s. Fine otherwise.
[Android Apps and Games] _xenoxis_:
This make me blocked at the MIUI's logo after the reboot, checking logs with adb logcat seems that the startup loop internally with a permission denied, so I reboot again (using ADB) without changing anythings and this time I boot normally (I absolutely don't know why).

But it doesn't work for me when I toggle on legacy mode on (still "abnormal status").

I reverted the post-fs-data.sh to the original one.

My device used : Redmi Note 9 Pro Global - MIUI 12.0.3(QJZMIXM) - Magisk 22.1

Is Viper4android have a sample rate or even a bit_depth limit ?
[Android Apps and Games] BlueJeans:
How can I get it to work on OnePlus 7 OxygenOS 11 (Android 11) without setting the selinux to permissive mode? I have tried multiple combinations (with and without AML, sequence of install etc.) but nothing works. The status always remain "Abnormal".
[Android Apps and Games] hachamacha:
I don't know about the OP7, but maybe my OP7T is close. It's global on 11.0.0.2 stable, with latest Canary Magisk. I did mostly what this post did https://xdaforums.com/t/app-all-root-solutions-6-0-viper4android-fx-2-7.3774651/post-84880859

I might have differed from it a little. I used legacy mode and I tried compatibility mode and both work fine for me.
[Android Apps and Games] BlueJeans:
Just checked the script from the other post which you mentioned. It's setenforce 0. Which means it'll set selinux to permissive which is something I don't want.
[Android Apps and Games] hachamacha:
Thanks for pointing that out - This is what I show with my phone with Viper working:

OnePlus7T:/ # getenforce
Enforcing

-- I think I just noticed the nearest post and used it. My guess is that my script is a little different doesn't setenforce 0. If so, I'll send it up here.

Notes: Reading the script which is what I used, it appears it spawns a shell instance, runs a temporary setenforce to be able to run the subsequent commands and then goes right back to being enforced. I could be wrong. This is how I'd set selinux status permantantly, not like the above:

vi /etc/sysconfig/selinux -- (change it in this file)

Meanwhile, this is what I get back right now on adb shell -- on my op7t: