yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] iankelly2001:
Thanks [MENTION=3710809]LeifAlbor[/MENTION] for your solution for auto profiles for each bluetooth device given in your post.

However, I'm having trouble to get it to work properly. Something is going on, but it's not setting the presets for each individual device. I'll try to explain what I am doing, but as I am not familiar with using Tasker, perhaps I am missing something?

I set up individual Profiles for "Off" and some different bluetooth devices, naming them exactly as they appear in the Bluetooth device menu on my phone. I installed Tasker and imported the profile from Taskernet successfully. Superuser for Tasker is enabled from Magisk 20.4.

When I connect a device, you can see that Tasker is working, as a toast appears to say that Superuser has been enabled for Tasker, and if the Viper4Android FX screen is open, you can see the console switch from "Speaker" to "Bluetooth". But what it fails to do is to switch to that device's individual presets saved in its Viper Profile. It will just use the presets stored for the last connected bluetooth device.

Is there something else I need to be doing in Tasker, to ensure a bluetooth device's individual presets are loaded, rather than just loading the presets for the last connected device? If I try to connect a device that has not had a Viper Profile set up, instead of changing to the default settings, it just holds onto the settings for the previously connected bluetooth device.

I hope this makes sense.

My phone is a Samsung Galaxy S7 G930F running LineageOS 17.1 Build 9 (Android 10).
[Android Apps and Games] pkdon123:
Ringtones and Notifications Sounds Bad

I am facing a strange problem, when I install Viper4Android on phone, my ringtones and notifications sounds like my speaker is broken and they sounds very distorted. I use Spotify as main music player and it works just fine with Viper, but everytime a message comes or I get call from someone, it sounds really distorted. Removing Viper4Android solves the problem but Viper is really good and I want it installed on my phone. The complete details of my phone model and ROM are provided below:

1. Phone Model: Xiaomi MI A3 (laurel_sprout)

2. ROM: Evolution ROM v4.3 Link: https://xdaforums.com/mi-a3/development/10-evolutionx-4-3-07-05-2020-t4095609

3. Viper4Android Installation Method: Installed using latest Magisk Manager.

4. Root Method: Magisk v20.4

5. Any other audio mods installed: NO OTHER MODS INSTALLED BY ME...

Edit: Viper doesnot work with spotify either, I have to enable Attach Audio effects setting to "All sessions but 0" in order for it to work properly. without enabling this setting, spotify music sounds like distorted too.
[Android Apps and Games] LeifAlbor:
There's a massive number of variables that could be causing the issue I'm afraid. The obvious one is where on your SD card has V4A stored your presets? I've written the Tasker profile to expect them to be stored in 'SDcard/ViPER4Android/Preset/[PRESET NAME]'. If this is different on your device, the Tasker profile won't work.

Can you check Taskers Run Log after triggering a preset change (from Tasker select the 3 dot menu, then 'More', then 'Run Log')? Were there any errors shown? If you can export the Run Log and share it with me, I'll have a better chance of debugging what the issue is.
[Android Apps and Games] aryanpv:
I am on Android 11 and it shows installation failed at patching system, I thought I would work as the new version supports scoped storage, but installation always fails
[Android Apps and Games] mowolf:
Wifi breaks

After some trys i got it working with Lineage 17.1 on my Mi 9t pro.

The problem is, that the wifi breaks after the driver installation. With breaks I mean, it goes off and I am unable to turn it on ever again.

I have read on reddit, that others have this problem too, but no solution yet.
[Android Apps and Games] yugotprblms:
I've noticed this as well. It will stop processing bluetooth, seemingly at random. I have to do a full device restart to fix it.

Have you had any luck with a fix?
[Android Apps and Games] K@m¡k@zE_S¡D:
No luck with it. Even contacted the dev on telegram. He said it should not be happening and that he's seen it work perfectly. So it's just something that I guess won't be fixed. Rest it works fine with 3.5mm jack earphones etc. Only issue is with Bluetooth.
[Android Apps and Games] yugotprblms:
Odd. I can't seem to pinpoint a cause. I have noticed it happening right after a notification lowers the volume of the music/podcast and makes noise, but it isn't consistent.

I've installed the AML module to see if that does any trick.
[Android Apps and Games] K@m¡k@zE_S¡D:
Do let me know if AML module helps you get past this issue. I'll also check it out then! TIA
[Android Apps and Games] flieswithhawks:
There's talk of an easter egg for this app. Where could I find how to access it?
[Android Apps and Games] surajloharia:
Deleted
[Android Apps and Games] xda67:
Where can I find the old versions before v2.7.1.6 ?

v2.7.1.0 or v2.7.0.0 magisk modules.
[Android Apps and Games] iankelly2001:
[MENTION=3710809]LeifAlbor[/MENTION], thanks for the advice and sorry for the delay in responding, I've only just had a chance to look into this.

Well, the puzzling thing is that I cannot locate a folder called ViPER4Android on either my external SD card, or internal storage. When I go into the properties for the app, under permissions, it says no permissions have been granted and this is greyed out. Should there be an option here to add permissions for Storage?

I attach a copy of the Tasker run log, which I hope will assist. There is indeed a failure. Also, screenshots of the log, if that's easier to follow than the plain text file and also the added presets in ViPER4Android, to show at least the labels are being stored somewhere.

I hope you can help!

UPDATE: I've tracked down where the the presets are being stored: "/storage/emulated/0/Android/data/com.pittvandewitt.viperfx/files/Preset". If I create the presets, then copy them to a new folder on my External SD card with this path, "SDcard/ViPER4Android/Preset/", should this work? Is there any way for newly created presets to be automatically saved to this new location?

View attachment runlog.txt
[Android Apps and Games] nyaasar:
Viper works fine, but the sound is somehow compressed(?)

Hello guys, I'm new here. So, please be gentle with me. :D

Before I reveal my problem, here's my phone info:

Xiaomi Redmi 4x (santoni)

-Android 7 - Stock MIUI (Before)

-Android 9 - AEX (Before)

-Android 9 - Resurrection Remix (Current)

-Magisk root solution (I used newest V4A available in repo, V4A FX)

Ok, so here's the problem. My stock Redmi 4X is quite laggy, so I tried to find some Custom ROM that works well with it. The first one I tried is AEX ROM, yes, it works well. There is no issue with V4A processing or anything. But when I connected my phone to BT speaker, I realized that the sound produced is quite strange, kind of breaking or compressed (I hope you understand the sound). I check through my preset, and found nothing wrong. I mean, it works well on my previous stock ROM.

So maybe V4A is not compatible with AEX ROM.

Then, I flashed Remix ROM to see if it works with V4A, it did. No issue with processing or anything. But the same problem still persist. I searched the internet for the cure, found nothing related. And here I am.

Is there any way to fix this?

My phone doesn't feel complete without V4A, I mean it. :(

p.s. Sorry for my bad English, I tried my best. :p
[Android Apps and Games] Kevin112288:
Driver Enabled No

Hi. I have the latest version of V4A downloaded through XDA Lab. Installed the drivers as mentioned in the popup. The app worked on and off for a few hours and now the drivers are just set to Not on. I have removed audiofx data folder. Disabled it already. Tried setenforce 0. Is there a way to fix this? I have the One plus 6t Lineageos rn. V4A was installed through magisk.
[Android Apps and Games] MaverickNextDoor:
Does your V4A installation work well on headphones? Did you disable AudioFX? If yes, then it might well be a ROM issue.

By the way, you can pass for a native English speaker.
[Android Apps and Games] Ms0206:
Hmm, 2.5.0.4-driver is active, even though I installed 2.7 through Magisk...whatever I try. Not sure if I have root, I'll have a look but until now I just get 2.5 to work.

Btw, 2.5 is awesome (beside the already known problems)...keep up your great work and make (install of 2.7) more perfect...great software.

Btw, does it utilize the DAC inside an LG V20?
[Android Apps and Games] Lughnasadh:
V4A 2.7 uses the 2.5.0.4 driver. There is no 2.7 driver, so what you notice is normal.
[Android Apps and Games] ounerkouks:
hi all

its possible to install viper4android 2.4.0.1 to android q ? i find old version better :)

I have problem for install drivers...

my phone samsung s9

big thanks
[Android Apps and Games] Ms0206:
Ahh ok good to know, many thanks.

And does anyone know if the dac of the LG is utilized by Lineage/Viper? Does it need special driver at all, is it always in usage?
[Android Apps and Games] nyaasar:
Yes, it works well with headphones. I have also disabled the AudioFX.

I've tried using another Bluetooth speaker and the result are same.

And about the ROM issue possibilities, might need to ask the ROM forum about this. Maybe after this.

Here, I found these options inside the developer menu.

[IMG="Dev-Opt"]https://i.imgur.com/5BhnRFK.jpg?1[/img]

I don't recall such options available before in Android 7. It might have something to do with the audio output, but I can't change a thing in it.
[Android Apps and Games] surajloharia:
So my headphone jack was broken and I was using bluetooth headset for a while being.

I have made edits in the bluetooth profiles, and now I want the same profiles as bluetooth for headphones.

I don't want to edit each one by one again

So is there a way I can have the same profiles.
[Android Apps and Games] gubacsek:
+1 to this, I'm on android 11 with the pixel4

After requesting root, viper drops the same error.

Here is a short log, that doesn't say much...

06-12 22:53:47.235 1469 1843 W InputDispatcher: channel '4269bbf com.pittvandewitt.viperfx/com.pittvandewitt.viperfx.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
06-12 22:53:47.236 1469 1843 E InputDispatcher: channel '4269bbf com.pittvandewitt.viperfx/com.pittvandewitt.viperfx.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
06-12 22:53:47.236 1469 2890 W InputDispatcher: Attempted to unregister already unregistered input channel '4269bbf com.pittvandewitt.viperfx/com.pittvandewitt.viperfx.MainActivity (server)'
06-12 22:53:47.277 11613 11656 I LibraryInstaller: Patching system
06-12 22:53:47.284 3682 4038 V FuseDaemon: pf_getattr : node = [node_path: /storage/emulated]
06-12 22:53:47.295 11613 11656 I LibraryInstaller: Installation failed at patching system

I can try some thins if someone has the time to look into the issue.

Thank you for keeping viper alive!! :D
[Android Apps and Games] m.mohtashimsadiq:
Tried them. They do not work. The Attach Audio Effects just makes the driver unsupported.
[Android Apps and Games] Gruber008:
Holy s*it how Viper improved my 30$ wireless earbuds, it's incredible. :laugh:

I just have one question though, how come speaker section has way less settings than the other ones?
[Android Apps and Games] vibrantliker:
Wondering if anyone has a comment:

I've been using Viper for years and we all know that it's become more finicky recently then ever before.

Currently I have Viper installed on my Samsung Note 10+ but always have to toggle "attach audio effects" on and off to get it to work on that phone. This version I installed from XDA labs.

On my new OnePlus8 Pro, I have to leave it on to get it to work and I think that effects it working system wide?(not working with Youtube) This version was included in this Magisk rom:

https://xdaforums.com/one...ition-t4087355

Just looking for advice on the best way (most trouble free) to install.
[Android Apps and Games] Lucario_OwO:
Encountered an app problem: the app can't be deleted.

I've tried with different apps and file managers and no results.

Using Redmi 5 LineageOS 17.1 unofficial
[Android Apps and Games] Cyberavater:
How do I increase the volume? My max volume isn't loud enough.
[Android Apps and Games] Lughnasadh:
Playback gain control. Set your desired strength and set Maximum gain to infinity and the Output threashold to 0db. Certain convolvers will also increased volume.
[Android Apps and Games] Kiastinger:
Have permissive kernel as this helps install the software even without root but do install latest Magisk to get viper4android systemlessy.
[Android Apps and Games] Cyberavater:
My current settings after your suggestion, I don't see any difference (in volume) turning the Playback gain control on and off.
[Android Apps and Games] lilbrat:
Go into twrp, mount system , and delete it through the file manager..
[Android Apps and Games] Lughnasadh:
That's because you have the master power turned off. Turn it on. No settings will work when that's turned off.
[Android Apps and Games] Cyberavater:
Still, no luck mate.
[Android Apps and Games] Lughnasadh:
If it shows your driver is processing while playing music then it should work. Are you sure you're processing fine? If you are using a streaming app you may need to toggle the Attach audio effects on for that particular source.
[Android Apps and Games] Cyberavater:
Yes, it says processing (speaker) but volume is the same.
[Android Apps and Games] Lughnasadh:
That's very weird. Are the other settings working? You can also try to increase the Output gain under Master power but that tends to distort things.
[Android Apps and Games] marciozomb13:
If you want to increase the speaker volume system wide you must use a kernel with sound features.
[Android Apps and Games] Lughnasadh:
I assumed that person was just trying to increase the volume of what they were playing and not system wide volumes since it looked like they were playing YouTube, but I could be wrong.
[Android Apps and Games] Cyberavater:
Yes, I was playing Youtube Vanced. Also, I'd like to know if it's safe (worth it). As I found many Volume Boosters on the Playstore that explicitly says that, " This app can damage your speaker". So, I'd like to learn more about this app.
[Android Apps and Games] Cyberavater:
I know nothing about it. I'd need a farther guide or a link to a thread that explains this topic.
[Android Apps and Games] Lughnasadh:
I've never used any of those apps as V4A does the job for me. Those warnings are disclaimers to protect themselves.
[Android Apps and Games] Cyberavater:
Ya, I get that. But what about V4A? Can it cause damage to the speaker while using it?
[Android Apps and Games] Lughnasadh:
Anything can cause damage to the speakers if your volume is loud enough. It's not the app/mod per se, but the loudness that can cause the damage.
[Android Apps and Games] RheinPirat:
Where can I finde the list of headphone types?

PS: The UI is so... aaaghhhhrrrrrr BS

---------- Post added at 08:37 PM ---------- Previous post was at 08:36 PM ----------

Where can I finde the list of headphone types?

PS: The UI is so... aaaghhhhrrrrrr BS
[Android Apps and Games] paulCIA:
Unfortunately, turned out even disabling PlayProtect didn't stop v4a from getting disabled eventually. I don't really have time to debug it so I'm just gonna have to abandon it and get a bigger amp i guess!

Re: whether magisk and other sound mods with root can damage your speakers: depends on the phone I'm guessing. The pixel 2 xl has a TI TAS2557 speaker amp, and it has very good internal overload controls that will cut out the signal before it's able to damage itself.

Unfortunately, one app i installed from the play store, and I don't even know which it was, decided to try increasing the internal current level beyond what it considered safe, and it would almost immediately cut out the sound to save itself, but the speakers were still equally useless.

I literally had to download the documentation for the chip from TI which is mercifully freely available on their website and find out the right ioctl to send it to make it do an internal firmware reset, and everything was fine again. So yes, and no. be very very careful in any case stick to reputable apps anytime root is involved. I never had any problem with anything I got from xda.

(this thing saved my ass, 4 MB PDF https://www.ti.com/lit/pdf/slasec2)
[Android Apps and Games] lazyaf01:
Try Audio Modification Library or Audio Compatibility Patch. Both are magisk mods. Also imo stick to xda labs version.
[Android Apps and Games] DiamondJohn:
I have a comment:p

I disagree that "Viper" has become more finicky. Two things have changed over the years for you. Viper, but also Android has moved forward, and Google has clamped down more and more on non-standard type adjustments to their OS. I think its more a case of Android becoming more finicky than viper. I find it less so than 5 or so years ago when I first started using Viper on Gingerbread.
[Android Apps and Games] absoluthamm:
Having trouble using DDC's, Kernels and profiles after going through and wiping and re-doing everything on my Pixel 2 XL. I could have sworn I was on 2.7.1.6 before, but maybe I wasn't. I can see my presets that I had and transferred from the old to new, but nothing else.
[Android Apps and Games] CreaB:
Hi there,

till now i have used the rootless version on HavocOS for Xiaomi Mi 9t pro (Raphael) with Magisk. Yesterday i updated the ROM to the latest version (3.6) and Viper4android stopped working. It says driver version 2.5.0.4 but is not processing anymore.

I wanted to try a fresh install, maybe with the magisk menu, but i am not able to remove the rootless drivers by even wiping system and reinstalling the ROM.

What can i do to

a) remove the drivers

b) make v4a work again?

Thanks in advance!
[Android Apps and Games] danszczerba:
I too would like to know why the speaker section has way less settings than the other ones?

I'm using v4a for the first time with the hal9k v.4 rom in my car head unit. I can only get v4a to work with the "speaker" preset-is that normal?

I understand that with previous version you could "lock" the headset settings to work with the speaker output, but i'm assuming that option has been removed because i cannot find it anywhere.

....p.s. this is the first of many questions to follow in the future-you have been warned :)
[Android Apps and Games] DiamondJohn:
The physical speaker in a phone is a single cheap rubbish device that cannot produce the frequency range that viper affects. Also, trying to get or modifying some of the parameters could drive your phone speaker to the point of damage.

For example, using the bass boost can output frequencies well below the physical speakers capabilities and at levels that could end up moving your speaker beyond it physical range (sound is produced by the speaker moving back and forth) ie it physically moves tooooo far back and forth to breaking point. There is not point in having a control that the speaker cannot respond to or that could break it. And since it does not reproduce it, you would have a tendency to try and turn it to counteract it, starting a "vicious cycle" for damage.

No point sending 20Hz-20kHz dynamic range to something that can only recreate, say, 200Hz-6kHz.
[Android Apps and Games] Shaftamle:
Okay I'm dying here. I've tried absolutely everything. I'm pixel 3xl, stock, may update with magisk 20.3. I've tried everything from every post that I could find on the internet and XDA. What am I doing wrong here. This is what I get no matter what. This was after a factory reset, So everything was clean.

I followed the prompts just like the app said to do and this is what I get
[Android Apps and Games] Lughnasadh:
Have you tried this?

Delete all remnant of V4A and reboot

Install AML from Magisk Repo but do not reboot (I know AML is meant to be used with 2 or more audio mods, but sometimes this works)

Install V4A and open it and install drivers

Hopefully after it reboots automatically the drivers will be installed correctly.
[Android Apps and Games] Arcide:
Same here on Realme X2 Pro. Well, almost the same... It's not exactly distorted for me, but ringtones and system sounds have something weird going on like crackles and glitches. It's most prominent after the sound stops and then you can hear a sudden loud spike or a crackle a couple of times. This is only an issue for me when using a convolver.
[Android Apps and Games] danszczerba:
Thank you DiamondJohn
[Android Apps and Games] aryanpv:
First, uninstall any viper you have also make sure you completely uninstall audio modification library if you have it installed, not disable, uninstall it and reboot after uninstalling what I've listed.

After you're all booted back up, install viper from labs (link in this thread)(Also, forget about compatibility mode, don't use it) now open viper but do NOT install the driver yet, just open the application then go to magisk and install audio modification library but dont let magisk reboot the phone after it installs. Once installation completed, go back to viper and install the driver and let it reboot. Once booted, go straight to magisk and DISABLE audio modification library (uncheck the box next to it if you dont get what I mean) don't uninstall it. After disabling AML head back to viper and install the driver again. Now once rebooted is the moment of truth, if you open viper and its installed you're obviously done but if it's not installed you have to take this next step: don't install the driver just yet, go to magisk and re-enable AML then back to viper and install the driver.

I hope this helps
[Android Apps and Games] pkdon123:
Have You Tried This MOD??? It Solves My Problem...

https://xdaforums.com/k20-pro/how-to/tutorial-viper4android-android-10-t4012249
[Android Apps and Games] fizzingbees:
Cant we manually install viper drivers?

Is there a way to install v2. 3.3.3 on new phones with magisk root?

I tired but couldn't resolve busybox not getting detected by viper4android v2.3.3.3

---------- Post added at 07:28 PM ---------- Previous post was at 07:27 PM ----------

Couldn't agree more.

With Samsung note 2 it was as simple as root > install busybox > install viper4android app and install drivers.
[Android Apps and Games] Arcide:
Realme X2 Pro has dolby atmos integrated, so I would need to use this mod to have both dolby and V4A working. Also, this works perfectly if I don't use the convolver ("attach audio effects" option disables V4A processing for system so that works fine too), I just wanted to see if there's a workaround.