yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Saumer:
ViPER4Android working on most of musicplayer, videoplayer etc (except some media player that using self-EQ, but I can make it working by turn off self-EQ so it is not problem)

but not work on some "game's sound on speaker" (If I connect bluetooth headphone, ViPER works on ALL game&music etc sound)

the some game : PPSSPP, Battleground Mobile

If I playing music by other music player when playing that game,

ViPER work on music, not on game sound. driver status is always normal. just game sound=viper dismiss it

JamesDSP not works on that game's speaker sound too (same as ViPER4Android. works when headphone connected)

I cannot find solution of this problem. how can i fix it??

I'm using Samsung Galaxy S10 (SM-G973N, Exynos, Android 10 samsung stock rom)
[Android Apps and Games] jackryder38:
I am using Mi 5 ( Havoc Rom - Android 10 - Rooted)

Can anyone give me the installation procedure?

(As I saw many things on this installation and fixing, I am confused)

Thanks in advance.
[Android Apps and Games] thomas140:
Try this way following the link

https://xdaforums.com/poco-f1/how-to/viper4android-patch-miui-11-base-t4039117/page2

My method on installing posted at previous post here.
[Android Apps and Games] jackryder38:
I have successfully installed on my android 10 (rooted) device. Sometimes it seems the driver status is okay, but not all the time it is working while playing something.

Here is my installation process:

1. Installed the apk.

2. Opened it, installed the driver (faced a bootloop)

3. Reboot to twrp

4. Overwrite two necessary files in the mentioned directory.

5. Reboot to system.

Thats it. I need a solution that will enable the v4a working perfectly all the time. Thank in advance.
[Android Apps and Games] marciozomb13:
But that's exactly how it works, only process audio when audio is playing. No bug here.
[Android Apps and Games] jackryder38:
You did not get this. It is not working even when audio is playing sometimes.
[Android Apps and Games] DiamondJohn:
To help understand your issue a little better, not a solution to your issue, if you open ViperFX every time before you start playing music, does it process every time? Does it continue working, or does it eventually cut out / stop processing?
[Android Apps and Games] jackryder38:
When I play music, it does not process every time.

Edit:

Like it is processing now. But few hours later when I again plug in my earphone and start any music, then it is not processing.
[Android Apps and Games] warrencoakley:
This happens to me too. If I open say YouTube sometimes it seems it's not working until I open the app and then it kicks in then.
[Android Apps and Games] marciozomb13:
Might be a battery optimization problem, try disable / exclude Viper apk from any battery optimization tool.
[Android Apps and Games] jackryder38:
May be. Just now I have put viper in 'not optimize' option in battery optimization. Lets see what happens. Btw, thanks.
[Android Apps and Games] thomas140:
Besides the not optimize method, I'm not sure whether there is a feature or app that got set to "clear the cache in xx minutes when lock screen" stuff.

Try to whitelist the viper if can.
[Android Apps and Games] jackryder38:
If the "not optimize" method does not work, then I will try to sytemize the viper app as a system app.
[Android Apps and Games] phoenX80:
Hey, does anyone know a solution how to use it on Android Q on the Note9 etc. I use a stock rooted rom, alexndr. On Android 9 no issues but on Q any install I tried my phone stuck in download mode. Via magisk only error. Via labs apk renders unbootable.
[Android Apps and Games] mrjuniork:
I strongly recommend you to read the last few pages. Your question will definitely be answered. Or you could use the powerful search function. Good luck
[Android Apps and Games] Lord Sithek:
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.

Forwarded from other user :)
[Android Apps and Games] Kaepernick:
I'm using Lineage OS 16.0 on the HTC U11. It's based on Android Pie. I'm having trouble with Processing working for Bluetooth. It works fine when I use my phone speaker, but when I try to use my Bluetooth speaker, nothing seems to work. It says Processing: No. Any ideas? I've tried V4A Legacy and Hifi using Magisk, but those don't seem to work.
[Android Apps and Games] DiamondJohn:
Viper Never stops processing for me, and I have not removed ViperFX from battery optimizations nor made it a system app.

What I have done is I use LMK to start my music via a script, which starts Viper, sets the OOM to 17 (Superman) and the nice to the highest value (the combination of these two I think makes it pretty solid), starts the music player playing and then sets the IO Nice of my music player to the highest (without this last step, sometimes the music would stutter/stall and continue 1/2 sec later, when changing songs:mad:). The other thing you may wish to look into is your CPU Gov and LMK values.

The above is working fine for me, on an S4, with 4 core 2.2GHz, 2GB RAM, no ZRAM or Swap, running HavocOS Oreo.

If you do decide to "Sytemize" Viper, look into doing it via Magisk. Its pretty easy. see https://topjohnwu.github.io/Magisk/guides.html
[Android Apps and Games] Kaepernick:
After tinkering with V4A Legacy, I was able to get it working with Bluetooth. Its just weird that the latest one had that issue on my phone, but I did upgrade from a stock 7.1 Nougat to Legion OS 9 Pie.
[Android Apps and Games] shadowam:
Could you please explain how do you set all these things for a newbie? Is there an app I can use to make this script?

I'm asking because I'm having the stutter at the beginning of each song, easy to notice when changing songs.
[Android Apps and Games] thomas140:
Stutter? If you off the master limiter, does the stutter still exist?

If not, then it is the issue on the viper configuration.
[Android Apps and Games] DiamondJohn:
I built my script long ago, but the techniques / code are all in this app I built. It has over 500 functions / methods, but all the above I spoke of can be found under "Application Info / Manage>State" There you will find "Nice", "OOM" and "IO Nice". Once you run what you want, you can press the second last button on the right to get the script code (or even long press the menu item, and "preview" the script). If you long press the X button, you can filter the long list of apps down to your specific music player.

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

You then need to either run each script, or combine them into a single one, and then work out a way to trigger it. I use LMT to kick off my music by starting the script, which ends with a "play" to start the music; which is simply a input keyevent, which is also in the above app.

NB: I called it LMK above=, I meant LMT

I hope to put out a new release maybe tomorrow, or the next day, but the changes have nothing to do with what you wish to do.

PS: your going to need to be running under root.

A stutter is very different to distortion. My stutter was clearly caused by a choke on IO throughput of my music player.
[Android Apps and Games] thomas140:
My experience was my viper 2.5.0.5 configuration for headset. I have forgotten which one caused it to stutter with a sound when skip to next song. But you are right, it can be other reason too.
[Android Apps and Games] hullun:
How do I select a file for Viper DDC? It always tells me to select a file but only offers a button that points to a Telegram group (which is prolly one of the dumbest ideas ever but whatever)

In Legacy it works just fine like you would expect to but for some reason in this version it is completely impossible....
[Android Apps and Games] ffejy462:
If you don't have files to select from, I believe the option left is request a file, which, if selected, takes you to the telegram group you mentioned.

So, find some ddc (vdc) files, put them in the appropriate folder, and it'll work as intended.

Edit: Just realized that viper isn't showing all the files. I have probably close to a hundred, but only a dozen are shown...
[Android Apps and Games] 42n4:
The method for Android 10 with magisk reboots me to fastboot. How to install viper4android in Android 10 Havoc ROM unofficial? My phone is LG G6 H870.
[Android Apps and Games] PoochyX:
Simple just install audio modification library
[Android Apps and Games] thomas140:
New update for Viper 2.7.0.1

https://labs.xda-developers.com/store/app/com.pittvandewitt.viperfx

Version 2.7.1.0 on 05.02.2019

Stable

- Support magisk 19.1+

- Fixed preset not loading

- Fixed multiple driver install loops

- Add compatibility mode back (needed for car mode)

- Add session attaching logic
[Android Apps and Games] Lughnasadh:
Am I missing something or isn't that the one that was released a year ago?
[Android Apps and Games] marciozomb13:
Thanks but why 2019?
[Android Apps and Games] mixlex:
2.7.1.0 was definitely released last year.

Sorry, no update. At least there's nothing in the telegram channel about it. I hope I am wrong.
[Android Apps and Games] chooks06:
I'm inclined to agree with you.
[Android Apps and Games] thomas140:
Shoots, I'm wrong. haha...Sorry guys. Thought there's a new one
[Android Apps and Games] bohemist:
The latest based pn Magisk Repository is dated 31st December 2019.
[Android Apps and Games] chooks06:
If I'm not mistaken, the version is the same but because the Magisk version needed some further configuration to be updated through Magisk, it'll be a later date. I believe [MENTION=6037748]Zackptg5[/MENTION] is doing the part for Magisk.

For the original zip, it can be flashed via custom recovery (as a system app) without being managed by Magisk.

Please correct me if I am mistaken.

Have not been on rooted device for a while as there's no support for my daily driver.
[Android Apps and Games] GrayJack:
Installation on op7tpro (hotdog) was successful, but when the app asks for driver installation and reboot - I've got a bootloop.

Looks like Android 10 should be checked and blacklisted in installer because it is quite tricky to remove the problem module taking into account the custom recovery is not available yet.
[Android Apps and Games] samyhaff:
I am using a onplus 7t running android 10:

Does updating the device result in having to fix a bootloop for a second time?
[Android Apps and Games] adek89:
In android 8.1 in Lenovo tab 3 plus, option bluetooth ( select screen) dont work, no efect.

Wysłane z mojego Lenovo TB-8703X przy użyciu Tapatalka
[Android Apps and Games] 42n4:
Installing audio modification library in Havoc 3.2 (with or without beast kernel) in Magisk 20.3 leads to reboot to fastboot menu. Thus, I am unable to control my viper app, only after the first boot after the viper-rootless.zip installation. After it I have no control, but still sound is very good, clear and with light detailed bass.
[Android Apps and Games] DOYANMAIN:
could someone help me ?

i installed latest viper from xdalabs, after instal done i open app it says no driver found.

Then ask if wanna install driver, but when i press yes it reboot and i got bootloop.

device pocophone f1 stock kernel miui global 11 (11.0.4)

i got latest magisk also
[Android Apps and Games] marciozomb13:
Workaround already provided on this thread, please search.
[Android Apps and Games] Silencer-22:
It fixed bootloop on Q but still driver is not installed in app...
[Android Apps and Games] DOYANMAIN:
me to also, still doesnt working even already overwrite with 2 files i got from viper4a telegram
[Android Apps and Games] Zasnizas:
Did you delete older v4a folder on internal storage? If not, delete it and repeat the steps mentioned above
[Android Apps and Games] santiago013:
S10+ with viper

Just a little tip, for some follow this great instructions.

https://www.the***********.com/install-viper4android-android-10-guide/

If don't work at the second reboot, just ALLOW PERMISSION TO STORAGE to the viper application, enable audio modification library in magisk and open viper and install drivers
[Android Apps and Games] passtim:
I installed this latest version today on an unofficial LineageOS 16 moto 4g. It took me a while to figure out that I needed the Audio Modification Library - maybe that could be clearer in the instructions. Anyhow, no matter, it eventually installed its driver and worked.

What I was looking for was a feature in past versions that let me set up different left and right equalisations, or at least a left/right balance control. My hearing is quite bad, and is severely imbalanced, so this was the main feature I was looking for. It seems to be missing. Is there any chance it will be added back in at some point? It would be a real boon to those of us with very different left and right hearing issues. If it is still there and I have missed it please let me know!
[Android Apps and Games] DREADPIRATE27:
Please help me with that audio modification library.
[Android Apps and Games] passtim:
I installed it from Magisk, in Downloads. There are, I believe, other ways of getting it, but using Magisk it was straightforward - just search for it and install it.
[Android Apps and Games] NeerajBhatt:
installed it from magisk, pasted those 2 files too into the required folder. It booted but the app is not visible
[Android Apps and Games] passtim:
All I did was install viper4android and the audio modification library, rebooted, run viper and installed the driver files when asked. I didn't paste any files.
[Android Apps and Games] reservation31:
i am having a slightly different problem. I install v4a 2.7.1 it automatically reboots. the phone gets stuck and i cant get ito twrp to moves the 2 files. I am having to install stock android to get into my phone again. sm-n950f and lineage 17.1 Can anyone help
[Android Apps and Games] All-In-One:
Hey there, have you tried adjusting the audio balance going to "Accessibility" into Settings?
[Android Apps and Games] PoochyX:
Every installation process is different
[Android Apps and Games] StarBusters97:
I know there is a workaround for the boot loop in android Q. However, I will wait for the next build of viper which fixes this issue. So, are there any plans for a new build?
[Android Apps and Games] lenana:
The problem I face with viper audio mods is they randomly stop working until you reboot the device. I'm not knowledgeable in android modding but is there a way yo make effects stick no matter what? I'm running andoid pie lineage OS. Thanks in advance.
[Android Apps and Games] passtim:
On my lineageOS 16 system there's no balance control that I can find anywhere, in Accessibility or Audio settings.

The feature I really miss, which used to be in viper4android, and was the reason I installed the new version to try, is the ability to adjust the equalisation differently for each ear. The volume I need in the middle frequencies is roughly the same on each side, but at low and high frequencies is quite different. It's a shame they dropped that feature, because it is quite rare.

---------- Post added at 12:02 PM ---------- Previous post was at 12:00 PM ----------

Sorry, I'm on 16, and there are no files to be moved.
[Android Apps and Games] marciozomb13:
Disable any battery optimization.
[Android Apps and Games] kokoroa:
I have this problem too. My phone is rooted op7 pro and i have to launch the viper4android app to get its working everytime my phone bootup. I made the viper4android into system app. Does anybody has solution for this?
[Android Apps and Games] DiamondJohn:
A few things to try:

1. Look into setting the NICE (for Viper) to the highest

2. Check if its is being killed by the LMK, and possibly adjust your LMK values accordingly

3. Set the OOM to superman (for Viper)
[Android Apps and Games] adek89:
?

Wysłane z mojego Lenovo TB-8703X przy użyciu Tapatalka
[Android Apps and Games] Lord Sithek:
Yeah, the dev said that on Telegram. But when... No one knows :eek:
[Android Apps and Games] fil3s:
I've been troubleshooting v4a 2.7.1 on my Nokia (6.1, A10) The problem I've been facing with audio is the sound in music is very "choppy". I'm thinking there's a culprit app or module on my device.. I had a work profile set up, I thought that uninstalling that would help, but that's not it. Tried removing intensive apps running in background..

I've got ainur sauron mk111 with AML , I noticed the v4a module is not in my modules list (magisk stable)

ATM I'm trying to listen to gplay music with master limiter turned off and so far I haven't noticed choppyness.

Do I need ainur sauron? Or will just v4a and audio modification library suffice. Other wise I'm gonna try James DSP untill next update :confused:

---------- Post added at 06:49 PM ---------- Previous post was at 06:11 PM ----------

Update: removing ainur Sauron seems ok so far.
[Android Apps and Games] lenana:
Where are those settings in viper 2.7.1?
[Android Apps and Games] DiamondJohn:
I have posted this info numerous times in this thread. They are not settings in Viper specifically, but standard features of the Android OS. Simply search the thread using my User Name, and the keyword "oom". I think posting again would be bordering on spam.
[Android Apps and Games] siddarthaps:
I cant seem to find these settings. What is NICE, LMK and OOM?
[Android Apps and Games] DiamondJohn:
Use the search function across XDA.

NICE=Thread priority

LMK=Low Memory Killer

OOM=Out Of Memory = App gets "selectively" killed based on the remaining memory, and the OOM setting for the app.

Each one on their own is well beyond the scope of a single post. Do your research, the information is everywhere, if anything, too much.
[Android Apps and Games] siddarthaps:
But generally if we set battery optimization to OFF for a particular app; the app works perfectly fine. Dont understand whats wrong with Viper though.
[Android Apps and Games] DiamondJohn:
That's my point, my Viper is working perfectly, for me. I have been using the above techniques since gingerbread, when I had Viper running on a 1GHz phone, with only 512MB, totally reliably; and with navigation running at the same time. And if you read this thread, it is not working "perfectly fine" for everyone. This thread is full of complaints of people having Viper randomly stop processing for them.

Battery optimisations is a very limited approach. To put it in perspective, the OOM setting actually has a level termed "superman". Also, even with battery optimisation turned off, that will not protect it from the LMK. One is battery, LMK is memory. They are independent. LMK can kill it regardless of battery optimisations being turned off. To further express the point, I personally do not have viper with battery optimasations turned off, and it has never stopped processing for me.:good:
[Android Apps and Games] siddarthaps:
I am also facing issues with Viper as commented by others. I was also looking for a solution. Looks like there is no solution.
[Android Apps and Games] shadowstep:
If you guys are willing to try, I've repackaged that workaround mentioned in the Telegram group as a Magisk module, for Android 10 ROMs, and attaching it with this post. All you need to do is download and install the module, reboot, install the current APK (v2.7.1.0), and hopefully it detects that the driver is already installed once you launch the app. Let me know if it works! :)
[Android Apps and Games] banzaip:
I try but don't work ! Stuck on boot after reboot of driver install ! :(

Need factory reset (not yet twrp for galaxy note 10 lite !)
[Android Apps and Games] cluster021:
Hey guys i get my viper install but viper still didnt want enable like

DRIVER STATUS

Driver version :2.5.0.4

NEON enabled : yes

Enabled : no

Status : Normal

Audio Format : Supported

Processing : no

Sampling Rate : 48000
[Android Apps and Games] rcurious:
Hi,

Does anyone know, how to toggle-on-off effects using air-mouse-remote in Android TV box? Pressing 'OK' button on it doesn't work.

I can do this only when connect PC mouse, and press with wheel button.

I have ViPER4Android FX 2.7.1.0 installed.
[Android Apps and Games] evildog1:
Did the magisk module version got removed?
[Android Apps and Games] mixlex:
I just checked... it's still there.
[Android Apps and Games] evildog1:
Not this version but older version still there

I now have heard the dev of magisk cleaned up the modules
[Android Apps and Games] mixlex:
When you install 2.7.1.0 version it will show up in your installed magisk modules.
[Android Apps and Games] thomas140:
Yours is done and working.

All you need to do is, play a song, and turn on master limiter, check status again once done.
[Android Apps and Games] DerMetzgermeister:
To the people on Android Q that applied the workaround only to find out that after booting, the driver is not installed yet, try this: On TWRP file manager first check out which files are already installed in your system. In my case it was only pst-fs-data.sh. I overwrote ONLY that file, didn't copy the other (sepolicy.rule) and finally got the driver to work after booting.
[Android Apps and Games] dvishalkhatri:
I tried to enable the master limited but still the audio is not processing for me in speakers or bluetooth or headphones.
[Android Apps and Games] GreySquare:
Yeah, dissapeared for me today, too
[Android Apps and Games] Rookiebunny:
I've done as said. It's working but when I call someone for sometime then it again says 'Processing: No'.
[Android Apps and Games] chooks06:
Probably that's due to the music player being paused while the call is on.

If music resumes after call has ended it should resume.

But I'm not using this on my current daily driver (not rooted).

Just sharing my experience on previous devices.
[Android Apps and Games] dt0807:
I gave up on trying everything to get my phone to boot with Legacy, but this works great for me; running official DU v14.0 (based on Android 10) on OnePlus 3T

As expected, I had to copy the sepolicy.rule and post-fs_data.sh files to /data/adb/modules/ViPER4AndroidFX to fix bootloop issues after driver installation from the APK. After that, I also had to install the AML module and the driver is processing every time I am playing something. I didn't mess with any of the other settings (like compatibility mode, etc.)

Just sharing what worked for me; hope it helps
[Android Apps and Games] Rookiebunny:
Yes it should back to normal when call is over but it isn't. I have to follow those steps as you mentioned in the previous post.
[Android Apps and Games] ecsnead69:
When did you copy the two files, after driver install before reboot?
[Android Apps and Games] dt0807:
Yeah, the phone reboots itself after agreeing to driver installation from the APK but doesn't make it past the OnePlus logo. So from there, I have to power it off and copy those files manually in the TWRP file manager (you could probably use ADB as well)
[Android Apps and Games] shadowstep:
Have a look at this post. I've repackaged the module zip with those files that can be installed directly before installing the APK. :)
[Android Apps and Games] lenana:
I've searched these and found your TemiFi app. I have set OOM to highest and NICE to superman. Hope it fixes my viper issues. Thanks