yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Lord Sithek:
After the device reboot to fastboot, reboot to recovery and replace file named "post-fs-data.sh" in data/adb/modules/viper4androidfx directory with the one from my drive:

https://drive.google.com/open?id=1-11mghaQ5IMHabdnsxMzDjVXoBs7gjfO

This is qfix from Viper official Telegram group: https://t.me/ViPER4AndroidFX

If this won't work, try to delete this file at all
[Android Apps and Games] apistoletov:
Unable to install (as Magisk module)

The installer tries to download something ("latest apk"), fails to do so, and doesn't move any further. Tried many times, the issue doesn't fix itself.

I see it's all about `zackptg5.com`, I can open it just fine in Firefox on the same smartphone, so it's not an actual connectivity issue.

Is there some way to obtain viper4android magisk module as a self-contained zip so that it won't need to download anything at install time, or to skip that step and install the apk later?

The full log, if you'd like:

- Copying zip to temp directory
- Installing ViPER4Android_FX-v2.7.1.0(2710).zip
Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
inflating: module.prop
******************
ViPER4Android FX
******************
*******************
Powered by Magisk
*******************
Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
inflating: customize.sh
Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
inflating: VDCIndex.txt
inflating: bt_a2dp.xml
inflating: headset.xml
inflating: speaker.xml
inflating: usb_device.xml
inflating: curl-arm
inflating: curl-x86
inflating: keys.sh
inflating: service.sh
inflating: vdcs.zip

- Downloading latest apk...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
>>>>>> deleted some nearly identical lines here for clarity
0 0 0 0 0 0 0 0 --:--:-- 0:01:12 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:01:13 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:01:14 --:--:-- 0curl: (6) Could not resolve: zackptg5.com (Timeout while contacting DNS servers)
Download failed! Connect to internet and try again
! Installation failed
[Android Apps and Games] markoscouse:
Can't download drivers, it says installation failed at obtaining root access, and there is no Magisk prompt to give it superuser rights.

Android 10, custom rom, any ideas how to fix it?
[Android Apps and Games] Joe199799:
Magisk, audio compatibility patch or audio modification library.
[Android Apps and Games] martinmc87:
The Process will be killed after a couple of hours if the notifications are turned off. Have to start and close app again to get it working.

Is there any workaround for this problem, maybe battery saving mode or will the process always be killed if the notifications are off?

Just wonder because in the legacy verision and with android 9 this problem was not present.
[Android Apps and Games] marciozomb13:
You answered your own question. Exclude the app from any battery optimization, and cleaning tool. I use without notification and never faced killing issues. Or back to your legacy and be happy, is the same old driver in all versions.
[Android Apps and Games] apistoletov:
May someone help me with this please?

Or maybe this should be asked elsewhere? (I don't know who maintains the magisk module specifically tbh)
[Android Apps and Games] Zasnizas:
Ok let's me share how I make viper work perfectly without processing being killed after a couple of hours. I tested it on havoc os 3.0 (Q) and MSM xtended (Q) rom both are working perfectly fine. First uninstalled older v4a including its folder, open file manager go to internal storage and delete viper4android folder. Now install V4A 2.7.1.0.zip with magisk don't use twrp and then reboot, open v4a grand root access and install driver reboot actually it's won't boot you will get bootloop but don't worry, just reboot to twrp and go to file manager search for data /adb /modules /v4a change name post-fs-data.sh to post-fs-data.bak and reboot to system. This time it should boot fine and the driver should successfully install... That it, hope it will help others

edit: you can hide v4a notification on status bar without any problems
[Android Apps and Games] L-rs:
I use an HTC DAC usb-c-to headphone on my OnePlus 6 and after upgrading to Android 10 that obviously nuked it as an output. I switched over to the regular headphone output for now, even though it has massively worse audio / noise floor / dynamics.

Anyway, yesterday I was playing around with my phone and the DAC and when I switched on the OnePlus's "Audio Tuner' (turned off normally because well, it's pretty useless) and it somehow kicked something into gear. Viper4AndroidFX 2.7 started to output over the DAC and actually processed audio from Spotify.

It was glorious, but also, sadly, not permanent. :( Even retracing all my steps I couldn't get it to output again. But I did learn that, in principle, it should work under Android 10 over a DAC. Reading through XDA pages I noticed I'm not alone with DAC troubles.

It worked fine under Android 9 so I wonder, anyone have any magic tricks I could try? The compatibility patch is installed. I'm really missing my audiophile output...
[Android Apps and Games] Lord Sithek:
Interesting, thanx. May I ask what is exactly the aim of changing the file's extention?
[Android Apps and Games] Grin59:
Thanks, where did you find this? This fixed both my calculator and Viper4android
[Android Apps and Games] marciozomb13:
Same as deleting but keeping as back up

---------- Post added at 03:53 PM ---------- Previous post was at 03:52 PM ----------

Posted a couple of times in this thread, found by searching for dark theme.
[Android Apps and Games] jcmm11:
1 - no need to change the extension

2 - in any case if you don't want it to run you need to change the permissions and remove the execute permission. If you leave the execute permission it will run no matter what the name is. If it doesn't have execute permission it won't run, again no matter what the name is.
[Android Apps and Games] lonesomecrow:
Hey guys, is anyone here by chance having problems with the V4A driver not getting installed? It seems that this problem started happening to me since I upgraded to the Jan patch on my Pixel 3 XL.

On my device I open the V4A app and it shows the "No driver found" popup, I then tap on 'OK' for it to install which reboots the device upon finishing, then when it reboots and I go to open the app again I get the "No driver found" prompt (which only means that the driver is not getting installed). I also found that the Magisk module in the repo is gone... Can anyone lend a hand?

Thanks!
[Android Apps and Games] doubledragon5:
I have this installed on AOSPExtendRom V6.7. It installed with no issues.. I assume busy box is not needed?
[Android Apps and Games] MikeyLee:
Sadly this stopped working for me on my Umidigi S3 Pro and there's no fix in sight. No support. It worked fine until a Magisk update. Now neither the app or the Magisk module will work.

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

Same happened to me. It used to work fine.
[Android Apps and Games] DiamondJohn:
There was a new build so did a new flash and gave Viper another go. Again it rebooted constantly to download Samsung mode. So I went in and had a play at trying to delete files to see if it was a particular file that was triggering the issue.

Weird thing was that it ended up being the post-fs-data.sh :silly: which is really strange because the ROM is currently permissive. I tried re-naming it to service.sh, and it seemed to brick the phone, but at least not reboot to download mode. So I ended up deleting it, as the ROM is permissive, and this script only adds the selinux allows. And now it works!

Of course when the ROM goes enforcing, another "solution" may e required. Thought you guys may want to know to give it a try.

I also tried running the script after the ROM had booted, and all seemed fine.
[Android Apps and Games] Lord Sithek:
This issue is long discussed on Viper's Telegram group. The dev prepared so-called "qfix", namely, replacing origingal post-fs-data.sh with a custom one (I'm not enough skilfull to explain what it does exactly). Unfortunately, it doesn't work well for me, I'm getting interface freezes, and I had to remove this file at all too. But from what I've read, the work is in progress on both the Magisk's dev and Viper's dev sides.
[Android Apps and Games] Mathriix:
guys, so .. I'm using Miui 11 with Android 10 on mi 9t pro. I can install viper4android, but every time I clean it by clicking on the broom when I open the apps, the viper closes and stops working. I have to go into the app again for it to work again. Any solution?
[Android Apps and Games] DiamondJohn:
As I said, its not an issue for me personally, as its not my daily and the rom is still permissive anyway, which is what the script is correctung (targeted).

What you may wish to try is move the script out of magisk, and then manually run it after your phone has finished booting. That way your phone will boot, and as long as you run the script before you start playing music, it should work. On a previous phone, I basically had the selinux allows happening as part of my boot scripts; before I was using Magisk or compiling my own ROMs with allows built in.

Give it a test, i'd be interested to know if it does work. I cant really test it as my kernel is already permissive, so the allows are basically wasted.

Although, I am a little surprised it is such a common issue, as its only the latest build that happened a few days ago that actually worked with magisk at all, so I thought it was very specific issues to my device/ROM (I say ROM as I did a build with a different kernel, and that worked, as in magisk, but didn't boot with viper).

has anyone tried an asynchronous delay?

(sleep 300;
magiskpolicy --live "allow....................................)&
[Android Apps and Games] em56464:
On my redmi 4 prime always i turn the app on to work ..

..............on older vipers that doesn't happen.................... and even when i put the battery settings to not put the app on save mode
[Android Apps and Games] DiamondJohn:
I did test, and changed the name to service.sh, as well as the above code change, and the phone booted !

HOWEVER! 5 minutes in, the phone went into meltdown, with wacky screen issues.

What the above *may* provide is the ability to connect via adb (before it goes crazy), then take a logcat just after it turns.
[Android Apps and Games] skythian:
Same issue here, with a OnePlus 7 Pro and LOS 17.1. V4A works on speaker but not with USB DAC. Tried modifying audio_policy but no luck so far.
[Android Apps and Games] Wishmasterflo:
I have a Oneplus 6 with AOSiP based on Android 10 and have no issues with my USB Dac using with V4A.
[Android Apps and Games] skythian:
Yes, it worked for me as well on PA. Not on LOS. Lots of Lineage users here, which is why I asked.
[Android Apps and Games] L-rs:
Not sure if I'm willing to install a complete new rom, but then again.... if I had known it would cost me this I probably wouldn't have upgraded at all. There's some comfort in knowing I'm not alone but the difference is so huge the regular headphone out is truly second best. Happy the OnePlus 6 has a physical headphone out, so there's that... :rolleyes:
[Android Apps and Games] lonesomecrow:
Anyone else having similar issues?
[Android Apps and Games] skate6board:
can some one give me a link of mega presets?in private massage i want about 1000 presets:D:angel:
[Android Apps and Games] SharifulRonie:
remove magisk module, restart device, open viper4android app, it'll install magisk module again and reboot your device, you're done! I had same issue after updating magisk but this solution worked for me perfectly :)

UPDATE

Steps to Install ViPER4Android on Android 10

1.Download the latest ViPER4Android v2.7.1.0 APK

https://labs.xda-developers.com/stor...dewitt.viperfx

2.Install the downloaded APK on your Android 10 device using a file manager app.

3.Launch the ‘ViPER4Android’ app but do not install the drivers right now.

4.Open ‘Magisk Manager’ and go to the ‘Downloads’ section of the app.

5.Search and find the “Audio Modification Library” module and press the download icon next to it.

6.Tap on the ‘INSTALL’ button to install the module on your device.

7.Magisk module installer will prompt you to reboot but do not reboot your phone yet.

8.Now go back to the ViPER4Android app, tap on “OK” to install the required V4A drivers.

9.Grant the Superuser permissions to the app when prompted.

10.After the drivers are installed, the device will automatically reboot.

11.Once the device reboots, go to ‘Magisk Manager’ → ‘Modules’ and uncheck the ‘Audio Modification Library’ to disable it.

Now head back to ViPER4Android, repeat the driver installation process, and let the device reboot.

Once the device boots, launch the ViPER4Android app. Now, if the drivers are installed properly, you’re done! If not, only then follow the steps further.

Go to ‘Magisk Manager’ → ‘Modules’ and re-enable the ‘Audio Modification Library’ module.

Open ViPER4Android, install the drivers when prompted, and let the device reboot.

Source: https://xdaforums.com/oneplus-7/one...r4android-2-7-1-0-ddplus-dolby-atmos-t4027115
[Android Apps and Games] anttaz:
V4A Not processing in OOS Pie OP3T since update to new magisk. Unable to set kernel to permissive. Is there going to be a way to get it working with new Magisk version?
[Android Apps and Games] knpk13:
What's an asynchronous delay? Also, my ROM was selinux permissive earlier, but I still had to delete post-fs-data.sh for it to boot. Its selinux enforcing now after I updated it by dirty flashing, and I expected viper to stop working because [MENTION=5893314]shadowstep[/MENTION] (im top 200 hearthstone this month btw :P shadowstep) told me that script is necessary for selinux enforcing roms. But it still works, so I'm kinda surprised. Is it supposed to? I'm on android 10.
[Android Apps and Games] Joe199799:
Good luck with that I searched pretty deep for IRS files and DDC files and was lucky to find a little over 300 IRS files and maybe 25-30 DDC files. If you search in this thread there's multiple posts from me with a drive link to both of them.

Edit: Turns out I was way off I have 1906 IRS files and 85 DDC files whoops it seems like a lot less in viper I would assume I have some duplicates and it's making them not show up.
[Android Apps and Games] DiamondJohn:
An "Asynchronous Delay" is where

1. The action is delayed (ie it happens later)

2. Asynchronous mean the next step does not wait for the delay to finish. ie it continues on with the boot process.

I tested it myself, with a 5 minute delay, so the script ran 5 minutes after the boot,and when it finally did occur, the ROM went south. So its not a soln.

Regarding SELinux permissive/enforcing, the script in question adds in the necessary Allows to enable Viper to run in an enforcing environment. IF you are running permissive, then they wont be blocked anyway. The only real difference, is that they will be logged as being allowed to bypass.

So, if your running permissive, you do not really need the script to run, so its safe to delete. And therefore, if you're permissive, it will work without the script.
[Android Apps and Games] knpk13:
Oh you meant delaying the script. Got it.

That's where I'm confused. Like I said in my earlier post, I'm running selinux enforcing now. But viper is working although post-fs-data.sh was deleted. I rechecked the folder and the script was still not there. I was expecting it to *not* work on enforcing without the script.
[Android Apps and Games] shadowstep:
It could be a case where your ROM developer has added the necessary SELinux policies for V4A to work without needing a permissive environment or a script (like post-fs-data.sh) to inject the required SELinux policies in an enforcing environment. Of course, this is a shot in the dark, but could be true. :)
[Android Apps and Games] DiamondJohn:
Its not too big a shot in the dark.

I build ROMs from source, and I always add the required SELinux allows for ViperFX directly into my ROMs.

Also, by not running the script, even/especially on a permissive kernel, you will get logs (in the logcat) of what is not allowed. When I checked my log (without the script running), I didn't notice any that would of been specifically corrected by the allows in the script (Android 10, HavocOS).

You can check for yourself using this app I built:

https://xdaforums.com/android/apps-games/app-temefi-comprehensive-documentation-t3806260

You can explicitly see the SELinux stuff under the menu: Logcat>Logcats>Logcat - SELinux

Other interesting possibilities for ViperFX in the above app, is setting the Nice and OOM values of Viper, and the IONice of your music player ;)
[Android Apps and Games] crazy4jack:
im on MOTO Z PLAY stock Oreo, i install Viper i see settings but nothing is happened whan i press bass or otehr different options :(
[Android Apps and Games] Joe199799:
Try installing audio compatibility patch from magisk or audio modification library
[Android Apps and Games] fil3s:
What happens if you toggle the 'attach audio effects' in settings?
[Android Apps and Games] DiamondJohn:
Have you removed all other AudioFX's?
[Android Apps and Games] crazy4jack:
i dont have any ;)
[Android Apps and Games] DiamondJohn:
Have you checked a logcat? tried switching temporarily to SELinux permissive?
[Android Apps and Games] Pirateguybrush:
If anyone else is getting "Downloading Latest APK" then "Download failed" and "Connect to internet and try again" after trying to install Viper4Android with Magisk (you're welcome, people searching with key words :) ), I resolved this by disabling my VPN, disabling my ad-blocker, and trying on a mobile connection rather than wifi.
[Android Apps and Games] fil3s:
I have almost 2,600 irs which you can download here. it's in zip format so you can unrar it with RAR or similar program :D

Edit: oops you wanted presets. My mistake.
[Android Apps and Games] Mysterious_RSA:
Not installing driver on Nokia 7 Plus (TA-1046, Android Q December, magisk 20.3)
[Android Apps and Games] bigodon:
That's why I'm making huge effort to like and stay on Q, but feeling unhappy and failing to like it, thanks I'll try here
[Android Apps and Games] ADDICTED777:
hey why

adb shell pidof com.pittvandewitt.viperfx

returns nothing???
[Android Apps and Games] DiamondJohn:
I am not sure, but maybe it has something to do with magisk hide.:confused: The following works to get me a pid

top -n 1 -b -o pid,name| grep -i viper4android | awk '{$1=$1};1' | uniq | cut -d" " -f"1"
[Android Apps and Games] skate6board:
i love you bro i wish i wanted to be milyoner im sure you could do that XD
[Android Apps and Games] Joe199799:
Hey man, thanks for the IRS and DDC files i had a ton of each back when I had either my G5 or V20 but lost all of them. With your zip I'm around where I used to be. I uploaded my stash of them if you want to merge yours with mine. After merging then I have 528 DDC and 3526 IRS. If you want to just let me know.
[Android Apps and Games] Andry Nano:
Any fix bluetooth Menu not processing audio.

Speaker, Headset work perfectly

Device redmi note 7

Android 10

Selinux permisif
[Android Apps and Games] ParanoidVisitor:
Hi. The latest version 2.7.1.0 works on my device alright, thanks! I noticed it's also mentioned as a module in Magisk Manager, but in repositary it's missing. How it should be updated to another version, in future? :)
[Android Apps and Games] BHUSHAN7988:
If anyone want to make the V4A legacy work on latest magisk 20.3 with Android 10 (i also have edxposed YAFHA 4497)

Just download the most recent V4A legacy zip (as of now it's v4.4 (86) )

Before flashing the V4A copy the selinux file to "/data/adb/service.d" give it 777 permissions (i use mix plorer)

Then reboot and flash the V4A in magisk then follow setup using the volume keys.

This is what worked for me on both OnePlus 6 & 6T

https://drive.google.com/file/d/1uQ7ezZb1MRNWM4cNiKd3TbIZ3y1wM3kR/view?usp=drivesdk
[Android Apps and Games] BHUSHAN7988:
Ss
[Android Apps and Games] mrjuniork:
Has anyone managed to get Viper working with OP7T? Are the above mentioned steps also applicable for this device?
[Android Apps and Games] fil3s:
:confused:

No problems! :D:svetius:
[Android Apps and Games] Joe199799:
https://drive.google.com/file/d/1RtMBe2e3Fo9yMohX2K6kQHsruMZpusOz/view?usp=drivesdk

That's the merged V4A folder
[Android Apps and Games] Zahr:
Viper Legacy installed & working on Android 9 for me (after trying a couple of times).

Removed v2.7.1 due to never installing, audio compatibility patch & audio modification library modules, rebooted.

Reflashed 4.4 from magisk downloads (Canary Update Channel setting) as system app as it installed.

SELinux is set to permissive on latest app.

Works with YouTube & Spotify w/o flashing anything else.

Device is an UMIDIGI S3 Pro

Hope this can help anyone.

?
[Android Apps and Games] marciozomb13:
The magisk module is created by apk installer. No need for be in repo, where the legacy VFX already is. Could bring confusion.
[Android Apps and Games] Hunt3r775:
Can someone explain how do I get viper running. I am confused because in this post it's said to download the apk. But other video tutorials use magisk.

I am using a. MOTOROLA G5 plus with pixel. Experience Rom running on Android 10
[Android Apps and Games] Lord Sithek:
You have to install apk first, 2.7.1.0 version. Open, grant root access and let it install driver and reboot. The magisk module will be installed automatically, but when on Android 10 the device will probably go into bootloop or fastboot mode, so you have to do additional steps to get it work. Do you use Telegram?
[Android Apps and Games] Badger50:
You could always try this methodology. It has worked for many :good:

https://xdaforums.com/pixel-2-xl/help/android-q-viper4android-compatible-t3929914/post80185220
[Android Apps and Games] Hunt3r775:
Hey yeah my device went to boot loop. Thankfully I had a backup.

https://t.me/Hunt3r775

---------- Post added at 08:29 PM ---------- Previous post was at 08:28 PM ----------

Thankyou. I will try this.
[Android Apps and Games] MBechirM:
Installing on Android 10 causes a bootloop :(
[Android Apps and Games] fil3s:
heres v4a 2.7.1 module for magisk. Just load it thru mm and reboot, install drivers, reboot then add - ainur sauron - then add audio modification library. Let it patch v4a & ainur (note: could take a few min) then it should work. I have had zero problem installing v4a 2.7.1 usinf this method on android 10
[Android Apps and Games] Lord Sithek:
Just read some posts above
[Android Apps and Games] kos25k:
Hello.Can we install also viper4a apk on android tv boxes running Pie rom?Did anyone tryied?
[Android Apps and Games] Hunt3r775:
So I tried this method. Even after downloading and installing Audio Modification Library, the device still goes into boot loop after I install drivers from viper. Well maybe I am not destined to hear those sounds.
[Android Apps and Games] Hunt3r775:
Fix for Getting Viper4android to work on Android 10 devices.

First visit this Official Telegram Channel https://t.me/ViPER4AndroidFX and type #qfix.

Then download the files named post-fs-data.sh and sepolicy.rule and place it in your internal or external sd card.

After that Download the official viper Application ViPER4Android FX 2.7.1.0 from xda labs and open it and allow it to install drivers.

Now your phone will go into bootloop and you wont be able to reboot it.

To fix that go into your recovery mode and then go to advanced. Then tap file Manager. After that navigate to the folder where you downloaded the above mentioned files and copy them and place them into data/adb/modules/viper4androidfx.

After successfully copying your files reboot your system and it will boot. Enjoy listening.

Edit- https://drive.google.com/folderview?id=1yUBcrdqnSkT8GlKF83q9iDD3GVBU4Ucn

Files for people not familiar with telegram or unable to. Download the files.