yashsingh1/xdaforums huggingface dataset:
[Magisk] cymBlood:
Same happening for me on my oneplus 3t oxygen os 5.0.5...
[Magisk] evildog1:
Yes it always processing but does it lag or scratching?

Good to know i'm not the only one.
[Magisk] justjr:
Same here. On Galaxy S5. I mean, works flawless here.

Scratches occur 99% of the time when cpu is not high enough while playing. Mostly is a matter of tunning the governor.

Enviado de meu SM-G900M usando o Tapatalk
[Magisk] jack allen:
Erm no lag and no scratching at all here but that being said i tune my kernel and edit build prop etc so mine is unique to me so my phone works different etc
[Magisk] evildog1:
The scratching occur when using device for 1 day after reboot.

I solved it by setting governor to performance but i'm not going to keep performance all the time. Setting min freq to higher like above 1000 Mhz but still scratching. No any scratch when not using patch and only Moonlight app that scratches which can be solved by setting Governor to ondemand. Then what thing in kernel caused the audio to scratch? anyone is kernel expert?

It's probably the custom kernel issue i'm using but I need custom kernel for drm fix

AyoDance audio lagging is a different issue and it's definitely the patch issue
[Magisk] jack allen:
What phone do you have?? Some devices work and process things differently and some just wont as the hardware in the device is crap i use pulsar music player its awsome better than the stock samsung one i used to only use th sammy one but i been using pulsar player for a year now no issues maybe you try pulsar player it cant hurt to try
[Magisk] justjr:
It's only a matter of tuning the governor, processing audio uses power, so if your kernel cap the max frequency with screen off, it is it, almost sure. Otherwise, check target_clock, above_hispeed, a more deep understanding is needed. It's different on every device, ROM, kernel, apps installed and personal usage, so you need to do the homework yourself.

Try searching for advanced governor tweaks. edit here: https://xdaforums.com/nexus-5x/general/guide-advanced-interactive-governor-t3269557

Enviado de meu SM-G900M usando o Tapatalk
[Magisk] evildog1:
My device is Sony XZ1, it's a good device and it's very easy to root+drm fix.

The music player is not the problem at all. No problem on X-plore abd Floating apps, it's working fine even screen off.

Scratching mostly occur on Video players X-plore Youtube, Browser, Twitch. Audio scatching a lot and sometime caused video to lag too

Changing govenor to performance does not help anymore

Games, no scratch during gameplay but only occur when downloading data or loading which is normal. so far it work fine on Minecraft story mode and Gameloft games. For AyoDance, i must disable the patch

I think I'll read it later. I would always like to use a device without having to tweak kernel at all.

Now i'm unsure if it's kernel issue because only video players scratching a lot while others scratch few or nothing at all. Read above
[Magisk] jack allen:
Sorry i dont want to sound like im implying your stupid far from it but is it one file that makes a scratching or is it constant, is it the phone speaker or headphones. Gotta ask it may help.... also XZ1 good phone i only root my S9+ not so much tweaking kernel as S9+ could power an african town for 12 years i like being able to do more cosmetic little personal changes im sure you know what i mean. Feel free to pm if you want me to try this file to see if its the same on my phone just to eliminate your phone
[Magisk] SacredDeviL666:
Thread Cleaned.

Stay on topic :highfive:

Thanks

SacredDeviL666

Forum Moderator.
[Magisk] yeihang24:
Can you add support on retro music player? Thanks
[Magisk] Quami:
Please can this fix the sound not playing through headphones ?
[Magisk] Loydkun:
It worked for me, thank you~
[Magisk] afoyem:
Hi I flashed udbr.zip (universal deep buffer removal) but after watching mixer paths and found non deleted values i deleting manual?
[Magisk] TenzoSRx:
SoundCloud isn't processing after I installed this...
[Magisk] Zackptg5:
ACP has been updated to unity v1.7.2
[Magisk] PinBot01:
Hello, I use an Samsung Galaxy S5 (SM-G900F) with Lineage Android Pie 9.0. To listen to music, I use Google Play Music. I have tried many equalizer apps, the sound effects only work with Bluetooth headphones, but not with headphones connected via the 3.5mm jack. I tested the patch and remove versions of your Audio Compatibility Patch, but no difference. What else can I do to use an equalizer with cable headphones with my Phone?

Many Thanks!
[Magisk] Electrolite_XYZ:
Sorry for the stupid question but to install it using magisk I just download and install the module using magisk? Do I need extra setup or steps? Because I'm having issues with Viper I'd like to make sure that I installed this mod correctly for troubleshoot
[Magisk] Lughnasadh:
Yes, just install through Magisk and follow the directions. You'll also need to install AML to patch both ACP and V4A so they all work together properly.
[Magisk] Electrolite_XYZ:
Well so I think Spotify killed all DSP for me. I'm using ACP and AML and I have the same issue both with JAMESDSP and V4A.

So now I'm lost because I have no idea what's the source of my problems.

The audio effects keep turning on and off when I change track/click on the progress bar. Was there a similar behavior reported somewhere? Something else messing with them? Maybe when I kept installing and uninstalling stuff to fix stuff I made things worse.

I'm going crazy with this DSP issue and since I don't know the source of my problems I don't know where to look for solutions

SO IMPORTANT EDIT:

I found a workaround. There's an option in JamesDsp called Reg, I changed it from global to conventional, I have no idea what I does but now when the song starts I has no effect from a split second, then there's a quick stutter and the effect kicks in, so not ideal but at least I have EQ.

But using ACM with both logics patch and remove didn't fix the EQ problem so I'm still not sure what I'm missing.

Not sure if relevant I'm using the LG V20 on Android 7
[Magisk] nightfury04:
Has anyone tested this on Oneplus 6 after pie update and can confirm working?

I am also having problems with my V4A, it stops processing poweramp's sound output randomly.

---------- Post added at 05:56 PM ---------- Previous post was at 05:56 PM ----------

Has anyone tested this on Oneplus 6 after pie update and can confirm working?

I am also having problems with my V4A, it stops processing poweramp's sound output randomly.
[Magisk] ZidanBlaster:
Bullet Force sound is screeching after i install this module on 8.1 and 9.0

my phone is Redmi Note 3 Pro
[Magisk] kayc23:
I'm running Samsung Galaxy S7 flat (Lineage OS 16 BETA)

My problem is that when this mod is enabled, and I have music playing; when I switch to a game the audio completely cuts out on both the game and my music. It shows that the song is still playing but no sound. I only have viperfx installed as my equalizer. When I close the game, the audio in my music comes back after about 5 seconds and continues playing as if it never stopped. I disabled the mod, and try again, both audio from the game and my music work fine. I usually shut off my bgm in game and let my own music play as bgm. I would just disable the app alltogether, but then the audio mods don't work for my SoundCloud, Spotify, etc...

Please help :)

I'm new to this community, so if there is any logs or files you need, please let me know.

Thank you.
[Magisk] Lughnasadh:
Since you didn't mention it, I'm assuming you do not have AML installed. If this is the case, you need to install it. Whenever you use 2 or more "Unity-based" audio mods you need AML to patch the other audio mods so they all work together. Otherwise there may be conflicts between the mods .

I don't know if this will solve your problem, but at the the minimum you do need to install AML.

https://xdaforums.com/apps/magisk/mod-audio-modification-library-t3745466
[Magisk] kayc23:
Well that was easy! Lol it works now! Only thing I am realizing is the audio in my SoundCloud is not being modified by Viper. Same default sound... Any recommendations?

Also thank you for the quick reply
[Magisk] Lughnasadh:
Glad you got it going :good::good:

I don't really use SoundCloud so can't be of help there. But I know its been discussed in the V4A thread so pop on over there and do a search for SoundCloud in the thread (and this thread too) and hopefully you'll find your answer. If not I'm sure someone will pop in to help :good:
[Magisk] kayc23:
Thank you, will do!
[Magisk] Zackptg5:
Updated ACP to v1.5.2

Edit: Updated to unity v2.1
[Magisk] Zackptg5:
Updated acp to unity v2.2
[Magisk] Zackptg5:
Fixed zipname trigger in ACP
[Magisk] Homeboy76:
Happy New Years everyone :)
[Magisk] Zackptg5:
ACP has been updated to unity v3.0
[Magisk] noobgs2:
Hi, and Happy New Year to all,

I'm curious about the changes made in this update,

Because until today, Viper doesn't work with Spotify on my Galaxy Note 4 with stock Android 6.0.1

I will try the update when I have more time.

Thanks anyways.

Edit: My bad, Unity is the installer. :rolleyes:
[Magisk] Zackptg5:
Since I'm going to be much more busy in the coming months, I'm passing on this mod to [MENTION=6815443]JohnFawkes[/MENTION] who's been nothing short of amazing with helping me out with unity and these mods. Welcome aboard! :)
[Magisk] Zackptg5:
ACP has been updated to unity v3.2. This'll be the last update from me (@JohnFawkes is taking over)
[Magisk] tangkije:
This module broke my notification sound....

Any solution to that?
[Magisk] Francescorm76:
Acp 1.5.9 won't install with magisk manager and twrp... Please fix

Enviado desde mi SM-N950F mediante Tapatalk
[Magisk] Lycanx:
Mine upgraded just fine using Magisk 18.1
[Magisk] SonicoXD:
After installing the mod, there's a bit of delay in sound, causing music from services like Spotify, etc to stutter. Also, it disables the possibility to use Poweramp's HiFi output mode.

Samsung Galaxy S7 edge, stock ROM, using Patch Logic. AML is installed and I'm using only Viper for audio.
[Magisk] joedajoester:
I get that issue only when I use compatibility mode in viper so the music processes in Android auto. Are you using compatibility mode? Actually, I think that is compatible mode and the developer just renamed it. It sounds like it does the exact things
[Magisk] Plonkyplonk:
When installing ACP 1.5.9 upgrade I'm getting a really weird behaviour:

* Any other sound module handled by AML disappear from it: if I reflash AML, only ACP is showing up

* Therefore, other modules are broken: if I try to launch JamesDSP, it forceclose, if I downgrade to ACP 1.5.8 (removing all of my modules and reinstalling them) it works like a charm.
[Magisk] warrencoakley:
Since the last update this is broken on Spotify. I am using Dolby and V4A and they work perfectly on YouTube but when I start Spotify is plays for a few seconds and then cuts out. I've tried going both in to Dolby and V4A but they do not give me the option to toggle and switch them back on unless I reboot. Can you plesse fix this bug please as I use Spotify alot and it's disappointing it's not patching V4A and Dolby anymore.

---------- Post added at 07:54 PM ---------- Previous post was at 07:34 PM ----------

I've reverted back to 1.58 and its still the same. It could possibly be the AML patching that is broken.
[Magisk] warrencoakley:
Can you please fix support for Spotify as it's broken. Thanks Zack.
[Magisk] warrencoakley:
I'm having problems with Spotify not working with Viper. How did you fix it?
[Magisk] noobgs2:
I fixed it by replacing my audio_effects.conf with a clean one, taken from a fresh install on my second phone.
[Magisk] warrencoakley:
Any chance of guiding me through the process. Really miss Viper on Spotify. It runs for 5 seconds and then switches off. Need to reboot to reactivate it. Such a pain.
[Magisk] noobgs2:
First, I dont no if this will work for you.

I did this because I had no time to do a fresh install on my daily driver, and got lucky.

You can try, by first uninstall all audio sound modules within Magisk, Audio Compatibilty Patch, Viper 4 Android, and other if any.

Then reboot your phone.

Next replace with rootbrowser the audio_effects.conf file, located at root/etc with a clean one from a fresh install on another phone.

Reboot again, and reinstall ACP and V4A.

Reboot again and test it.

Good luck.
[Magisk] warrencoakley:
I just reverted back to V4A 3.3 and all is working again
[Magisk] noobgs2:
OK, Good for you.
[Magisk] Qui Peccavit:
Download link still leads to the previous version

Unfortunately, the download link on your Android Projects page still points to version 1.5.8, dated 15 Jan 2019. Whenever your time permits it, updating the link to version 1.5.9 would be appreciated. :)
[Magisk] iceman0826:
Where can I find v1.5.9 or v1.6 for the meantime? Since downloading it via magisk leads to failed installation (corrupt download)
[Magisk] jcmm11:
I just downloaded (not installed) 1.6 via Magisk. The zip is fine, not corrupted. Archive test comes back clean.
[Magisk] neekless:
[MENTION=6037748]Zackptg5[/MENTION] So I pressed Vol Up to remove notification_helper_effect but the install log said both Patching existing audio effects configs... and Removing volume listener library... How can I check if the library was removed?

Edit: It also said both Using patch logic and Using remove logic... Is it not detecting my vol keys properly? Pixel 2XL

- Select Fix Method -
Remove Notification Helper Effect or Volume Listener Library?:
Vol Up = Remove notification_helper effect
Vol Down = Remove volume listener library
Only select Remove library if removing effect doesn't work for you

Would you like to patch usb policy file for usb dacs?
Vol+ = yes, Vol- = no

Lib workaround option specified in zipname!
Applying lib workaround...
Patching existing audio policy files...
sed: /dev/tmp/module.propp: No such file or directory
Using patch logic
Using remove logic

Patching existing audio effects configs...
Removing volume listener library...
Note that AML is NOT needed for this
Patching usb policy files...
Installing scripts and files for arm64 SDK 28 device...

Edit2: type in https://github.com/Magisk-Modules-R...e46#diff-79fdbb8c2713b03e1a384457d9a477ddR185

sed -i "s|patch=false|patch=true|" $TMPDIR/module.propp

Edit3: [MENTION=6815443]JohnFawkes[/MENTION] some variables (e.g. NOTIF and VOLU) are not initialized. The vol key test will set one of them (e.g. NOTIF=true). But since VOLU is not initialized, both if $NOTIF and if $VOLU will be true (info here: https://stackoverflow.com/questions...n-variables-in-shell-script/21210966#21210966). Both cases will execute, as shown in the magisk install log. This applies to other variables as well. I edited unity_install.sh to initialize all the relevant variables and the above problem doesn't happen anymore. Made a pull request on github.
[Magisk] JohnFawkes:
Yea i already fixed locally on my pc. It's my bday so won't be updating anything until tomorrow
[Magisk] neekless:
That's good to hear. Happy birthday!
[Magisk] JohnFawkes:
THANKS :good:

if you want to follow any changes i made to any modules i maintain you can see them on my personal repo before i push to magisk repo btw. so if youd like to test the changes i did you can grab the zip from https://github.com/JohnFawkes/Audio-Compatibility-Patch
[Magisk] BenParz:
How do you install the file? It says in Magisk that it is not a valid module.
[Magisk] JohnFawkes:
You have to unzip and rezip it. The folder structure is different. The files need to be outside the Audio_Compatibility_Patch-v1.6.zip folder that's in root of zip. And then delete the acp folder from root. Actually just give me a few and I'll post it here
[Magisk] BenParz:
OLhh, haha sorry.xD I do not have much experience with these.xD
[Magisk] JohnFawkes:
https://github.com/JohnFawkes/Audio-Compatibility-Patch/releases/
[Magisk] BenParz:
For the first option, the vol - is similar to the notification helper remover vol - option as well, right?
[Magisk] JohnFawkes:
No. If you select no it skips that option. Selecting yes will will give nh or volume listener library removal

---------- Post added at 02:43 PM ---------- Previous post was at 02:42 PM ----------

When I get home ill update this thread and zacks site too. I'll add to the OP what each vol option does too
[Magisk] Elliro:
When using this module all bluetooth audio systemwide is nonexistent. When I try to play audio through bluetooth with this module I either get no sound at all or really loud sound through speakers. This is super annoying as without it I cant use Viper4Android with spotify...

Anyone have a fix for this or at least know the reason it's happening?
[Magisk] JohnFawkes:
please explain more. did this just happen with latest modules? what options have you tried? v4a version? rom version? device?
[Magisk] Elliro:
I have not tried with ealier versions of Audio comparability patch, but am willing to try if you have a link. I've tried both app and magisk versions of v4a, both new and old. I've also tried both with and without audio modification library and still nothing. Worked audio still also works great.

I have a OnePlus 6 running Pixel Experience on Android 9 and SmurfKernel. The same problem still happened with stock kernel, however.

Tell me if you need any more info or files. I just hope there's a fix...

Edit: to clarify I'm currently using v4a 2.7.0.0 but the problem also happened with earlier versions. In earlier versions of V4a I've also had problems with processing.

Edit2: I installed audio comparability patch through magisk.
[Magisk] JohnFawkes:
have you tried just v4a without acp to see if the issue still happens?
[Magisk] Elliro:
Yes, then everything works as expected, but I need acp to process in Spotify.

I have now changed from pixel experience to DotOS and from smurfkernel to FK kernel, but am still experiencing the same issue... I really don't understand the cause of this and it is very annoying

Edit: I reinstalled it with remove logic and now I can hear Bluetooth audio but v4a doesn't process Bluetooth audio at all. Even from things it would have without acp. And it still doesn't process in Spotify with wired.

Edit2: installing audio modification library makes worked work properly but breaks Bluetooth again. *sigh*

Edit3: Uninstalling acp makes everything including processing in Spotify work until I change input source.
[Magisk] warrencoakley:
Had that issue. It was the new viper that done this. Revert back to an older version and older version of AML
[Magisk] xunholyx:
Please do. I have no idea what those options are for
[Magisk] JohnFawkes:
v1.7.3 is live on magisk and on github releases. OP has been updated with options and new features! enjoy
[Magisk] Matoumix:
Twrp on rn4 is OK?

Hi, and thx.. Can I flash it with twrp on rn4 SD 4/64 withool Any e issue,.. Bootloop? Thx for answer...
[Magisk] JohnFawkes:
yes you can flash on twrp
[Magisk] cahyo_diegol:
how do I remove the full module ... ???

I have deleted it in Magisk, but like there are still files in the system
[Magisk] Peter1212:
Unable to install the module with zipname flags. Can someone give me an example of how to accomplish this? The base zipname is "Audio_Compatibility_Patch-v1.7.3.zip" I already tried adding "_nrem_notif_nlib_usb" before .zip and also tried "nrem-notif-nlib-usb-" before the start of the file. I couldn't get it to install at either attempt. Trying to install in recovery only. Any help???
[Magisk] JohnFawkes:
this doesnt add any files. it only patches them.

---------- Post added at 04:59 AM ---------- Previous post was at 04:58 AM ----------

ill look at the basename code and see whats going on. will push fix later
[Magisk] Peter1212:
This is not just with this module, happened with viper4x too.
[Magisk] Fif_:
I'd like to report a crash when this module is active.

This is on a OnePlus 5, running OOS 4.5.15 (Nougat 7.1), with Magisk 18.1.

Using ACP 1.7.3 with the following options:

- Audio policy: tried both patching and removing

- Notification: always skipped

- USB DAC: always skipped

- Lib workaround: tried both with and without

How to reproduce:

Just make a regular phone call. After hanging up, the UI freezes for about 4-5 seconds, then resumes.

Every time this happens, a new tombstone is written to /data/tombstones. Apparently audioserver crashes.

Here is the stack trace part of the tombstone:

backtrace:
#00 pc 00036c3a /system/lib/libaudiopolicymanagerdefault.so (_ZNK7android11VolumeCurve12volIndexToDbEiii+17)
#01 pc 00037515 /system/lib/libaudiopolicymanagerdefault.so
#02 pc 0002ac7d /system/lib/libaudiopolicymanagerdefault.so (_ZN7android18AudioPolicyManager13computeVolumeE19audio_stream_type_tij+104)
#03 pc 0002ae4b /system/lib/libaudiopolicymanagerdefault.so (_ZN7android18AudioPolicyManager17checkAndSetVolumeE19audio_stream_type_tiRKNS_2spINS_21AudioOutputDescriptorEEEjib+102)
#04 pc 0002aa15 /system/lib/libaudiopolicymanagerdefault.so (_ZN7android18AudioPolicyManager15setOutputDeviceERKNS_2spINS_21AudioOutputDescriptorEEEjbiP20audio_patch_handle_tPKc+1572)
#05 pc 0002804f /system/lib/libaudiopolicymanagerdefault.so (_ZN7android18AudioPolicyManagerC1EPNS_26AudioPolicyClientInterfaceE+1370)
#06 pc 00006fed /system/lib/libaudiopolicymanager.so (createAudioPolicyManager+16)
#07 pc 000063a7 /system/lib/libaudiopolicyservice.so
#08 pc 0000238b /system/bin/audioserver
#09 pc 00001d63 /system/bin/audioserver
#10 pc 00016ef9 /system/lib/libc.so (__libc_init+48)
#11 pc 00001a30 /system/bin/audioserver

I also am running V4A if that matters.
[Magisk] Faithful4real:
Viper4android is not processing and not enabled
[Magisk] warrencoakley:
Does anyone have any previous versions of ACP please?
[Magisk] BenParz:
I have all these installed and I have no problems at all.
[Magisk] warrencoakley:
at

Himm. Strange. Last time it took me hours to figure out it was Viper causing the issues.
[Magisk] warrencoakley:
It seems I have found the problem. If it's cutting out in Spotify more than likely you have the equalizer turned on within the app that for some reason conflicts with both Viper and DDP so make sure this is switched off and you'll be good to go
[Magisk] MistaC4:
Is there any way to install this without flashing through recovery? I have a rooted Honda headunit and I'm trying to get viper4a to process FM and satellite radio, my headunit does not have a recovery available and flashify is probably gonna brick it cause the bootloader is locked, can I just copy files over and change permissions and modify audio effects config file?
[Magisk] Zackptg5:
Are you rooted? You can flash through magisk manager. Also, did you try compatibility mode in v4a? I recommend trying v4a 2.7 and you probably won't need this mod
[Magisk] MistaC4:
Yes I am rooted, there is no recovery for my headunit model atm and I don't have magisk. Pretty sure I'm on 2.7 and on compatibility mode,.
[Magisk] infinitely:
Soundcloud is the only app which doesn't process on latest v4a on my s8 with latest renovate ice. Nobody seems to know in the v4a thread.
[Magisk] NickosD:
Anyone tried this module to make V4A process with ldac connected bt headphones?
[Magisk] MistaC4:
Tried compatibility mode and it breaks after reboot and dosent process audio after switching to it, is there a way to allow all audio to pass through viper4a using scripts and changing audioeffects config/ policy? I cant flash anything and dont have a recovery or magisk/xposed to do this, my headunit is running 4.2.2 android so im pretty limited. It processes audio over usb and I think bluetooth on android auto(spotify) no problem and sounds amazing all the other sources I have dont get processed IE. XM radio, AM,FM,Ipod/iphone over usb.
[Magisk] clcombs262:
Sry wrong thread
[Magisk] youkisoba:
How to configure ACP with V4A 2.7 on Resurrection Remix 7.0.2 Pie? I have Mi 6X (wayne)