yashsingh1/xdaforums huggingface dataset:
[Magisk] Zackptg5:
Hmm, not really sure what it would be then other than some battery saving like greenify messing with things. Just to make sure everything installed right, can you post your AML folder and magisk log?
[Magisk] SignetSphere:
Attached are the log of magisk and screenshot of the aml folder.
[Magisk] Zackptg5:
Can you post a zip of the folder? I want to make sure the files are patched properly.

Try removing art optimization, clearing dalvik cache, and rebooting. Sometimes that can mess with things
[Magisk] SignetSphere:
Here's the aml folder. I'll try removing art optimization and clearing dalvik cache now.

UPDATE: Removed art optimization an cleared dalvik cache but Spotify still doesn't get processed by v4a and dolby atmos.
[Magisk] Zackptg5:
Well you can actually remove ACP. You're device doesn't have raw, deep_buffer, or low_latency so this mod actually does nothing for you (it literally patches nothing in your case). That means the problem is something else on your device
[Magisk] SignetSphere:
I see... i have removed it now. But I still don't have any idea why the Spotify is kind of killing the two mods. It was working fine when I was still using Spotify Dogfood (until it got DMCA'ed). I'm just using the free app now.
[Magisk] Zackptg5:
Updated acp to unity v1.5
[Magisk] DarkSilentSC:
Hmmm youtube/soundcloud V4A processing is not consistent (No problem on play music) in any audio medium...
[Magisk] Zackptg5:
Updated acp. Changelog: updated to unity 1.5.2 - added aml detection for noobs
[Magisk] lakshya dahiya:
First flash udbr 3.1 on top acp 1.1.3 both of these after ankur and jdsp and SoundCloud works
[Magisk] Zackptg5:
Thats a bad move. Not only is that a bad idea but its also the same as just flashing acp by itself. ACP uninstalls old ubdr during the install. Acp does what ubdr does but better and more
[Magisk] DarkSilentSC:
Now I have to re-toggle sound gain and FireEqualizer to get the v4a processing again. I removed ubdr as told tho. Well it is processing by the sound, but the driver status still says NO for processing.
[Magisk] Zackptg5:
Are you using new material? Thats a known bug being worked on
[Magisk] lakshya dahiya:
I knw but that is the only way I can get processing otherwise SoundCloud doesn't process, o don't knw why?
[Magisk] Zackptg5:
Can you post your acp folder (and aml folder if you're using aml) from your magisk img? SoundCloud is problematic for many devices. Not sure exactly why though
[Magisk] hjjiang:
is it possible to install this patch with Supersu as the Root Client?
[Magisk] lakshya dahiya:
Where is the acp folder
[Magisk] whalesplaho:
/Magisk/magisk/
[Magisk] lakshya dahiya:
I on supersu not magisk, what to do I tried to fi d couldn't find?
[Magisk] whalesplaho:
Seriously??

Dis is a magisk module and not SU buddy.... Without magisk no way man!
[Magisk] Zackptg5:
Actually, all unity mods work with all root solutions (including rootless)

---------- Post added at 07:01 PM ---------- Previous post was at 06:51 PM ----------

Can you run this command, then post the files it outputs?

find /system /vendor -type f -name "*audio_*policy*.conf" -o -name "*audio_*policy*.xml"
[Magisk] whalesplaho:
Didnt know it doesnt really required magisk

Ok.
[Magisk] lakshya dahiya:
Here are the files
[Magisk] lakshya dahiya:
O missed one more not able to upload audio policy. Conf
[Magisk] lakshya dahiya:
Had to put. Xml behind to upload [MENTION=6037748]Zackptg5[/MENTION]
[Magisk] Zackptg5:
What device/rom are you running? There's no FLAGS at all which makes me think you have an older device and also explains why udbr worked and acp didn't. I'm working on an update for acp that'll bring back the old udbr logic if you choose to use it or if there are no FLAGS such as in your case
[Magisk] lakshya dahiya:
I am running rr 5.8.5 7.1.2 12 Dec on redmi note 3 keno. Yes make it work. Thank you. Also when I have to update ainur i have to dirty flash tom otherwise jdsp crash can u help, I also put my low latency file
[Magisk] Zackptg5:
Not sure why it would do that. Dirty flashing shouldn't change anything either since they should survive dirty flashes (unless your rom doesn't have addon.d support)

---------- Post added at 16:07 ---------- Previous post was at 15:29 ----------

Updated ACP to v1.4! This is a major update. Changed a lot under the hood. You'll now have 2 options:

Either flags patching (usual ACP stuff), or old-fashioned removal of the sources like in udbr days. I recommend only doing the removal option if the flag patching doesn't work for you as the removal can break things like bluetooth on some devices. The OP has been updated with the zipname options if you want to skip the vol key stuff (note that zipname stuff doesn't work in magisk manager)
[Magisk] Francescorm76:
With compatibility update 1.4 the file music with extensions (. Ogg) not working.... With 1.3 work

Edit... Reinstalled the 1.4 and working [emoji28]

Enviado desde mi SM-N950F mediante Tapatalk
[Magisk] Zackptg5:
ACP have been updated to unity v1.5.3. See unity thread for changelog
[Magisk] Hakkinen3K:
Hello, I installed some days ago but YouTube not working on Xperia XZ Premium.

Thanks.
[Magisk] whalesplaho:
I installed tha latest version but latest method which us patch method didnt worked, its tha remover(old) method dat worked.
[Magisk] Zackptg5:
ACP has been updated to v1.4.2! Ironically, the error check I added to aml revealed an error with the raw patching. All fixed now :)

If you used remove before, try patch again and see if it works now
[Magisk] whalesplaho:
[MENTION=6037748]Zackptg5[/MENTION], latest version now patched by aml using patch mode in acp.... BigUPs!!! :good:
[Magisk] moooztar:
Hi guys, this patch did not work for me. I have Viper4Android on Sony XZ1 Compact with Magisk. I tried it because on some audiobook apps I have to "click in" on the actual EQ sliders in V4A for it to start processing. After this patch this little trick does not work. The driver states "processing" (V4A) but the sound stays the same (no EQ). Any tip?

Thanks again to all the contributors and devs on this forum!

Moo.
[Magisk] lakshya dahiya:
Remove option acp option or down click
[Magisk] moooztar:
Thanks! I disabled it, and saw a new version of V4A (1.6.8) in Magisk and it seems to work now. I will test your solution if it doesnt. Thanks!!
[Magisk] Vatsal157:
When I apply ACP sadly I can't process Viper from streaming apps like YouTube and Prime music. Audio plays perfectly with all mods on my offline music player. I've tried both patch and remove solutions but it doesn't work. Any help is appreciated.
[Magisk] Vatsal157:
Attaching logcat for reference.
[Magisk] Zackptg5:
ACP has been updated to unity v1.5.4! See unity thread for changelog
[Magisk] tropical cactus:
Hi, viper is processing Spotify for me except when I switch from Bluetooth to phone speakers. Then it stops processing. The thing is it happens randomly. Sometimes, it continues to process. I've tried this mod but it's still happening. Viper continues to process using any music player. Really don't know what's going on. Any help would be appreciated. Nexus 6p. Thanks.
[Magisk] Curiousn00b:
Don't really know how to explain this, but when I have it installed and I'm playing music, then open up something such as certain webpages from Google Now, if that page has some form of audio, I get this weird skipping noise and nothing can play for like, 10 seconds.

Anyone experience something like I'm trying to explain? ?
[Magisk] Dreamer(3MF):
---------- Post added at 11:54 AM ---------- Previous post was at 11:46 AM ----------

Kindly Try The Following

- Uninstall All Audio Mods Including The Pre-Installed Sound/Video/Equalizer Apps As A System Apps Then Reboot

- Download ViPER4Android From This Link https://androidfilehost.com/?fid=818070582850508290 & Add The Following

-NEW

To The End Of Its Name. And Flash It Thru Magisk Manager Then Reboot

- Try To Use ViPER4Android & If It Didnot Work, Download Audio Modification Library From This Thread https://xdaforums.com/apps/magisk/mod-audio-modification-library-t3745466 & Flash It Thru Magisk Manager Then Reboot

- Try To Use ViPER4Android & If It Didnot Work, Download SELinuxModeInverter4Magisk From This Thread https://xdaforums.com/apps/magisk/selinux-mode-inverter-t3775271 & Flash It Thru Magisk Manager Then Reboot

- Try To Use ViPER4Android

- If It Worked, Try To Use Spotify, YouTube & SoundCloud

- If It Didnot Work, Download Audio Compatibility Patch From This Link https://androidfilehost.com/?fid=673956719939837250 & Add The Following

-NREM

To The End Of Its Name. And Flash It Thru Magisk Manager Then Reboot

- Uninstall Audio Modification Library From Magisk Manager Then Reboot

- Flash Audio Modification Library Thru Magisk Manager Then Reboot

- Try To Use Spotify, YouTube & SoundCloud

- If It Didnot Work, Uninstall Audio Modification Library & Also Audio Compatibility Patch From Magisk Manager Then Reboot

- Change The Last Added Part To The End Of Audio Compatibility Patch Name From

-NREM

To

-REM

& Flash It Thru Magisk Manager Then Reboot

- Flash Audio Modification Library Thru Magisk Manager Then Reboot

- Try To Use Spotify, YouTube & SoundCloud. And Also Check If The Issue Still Exists Or Not
[Magisk] Curiousn00b:
Late reply, but it causes Viper to process Spotify, SoundCloud, etc through Bluetooth, speaker, headphones and all, but it also causes things such as videos on Chrome to do a weird skipping noise that interferes with whatever audio was already playing.

I'll screen record a video later today to show what I mean.
[Magisk] Gereld The Cat:
Patch makes the audio in some games stutter and lag. Not all games are affected by this, but some of them are. (example games: Crashy Cats, Color Blind, Vault, Data Wing)

EDIT: Nevermind. Its a different audio mod. I'll try and figure out which one.
[Magisk] Zackptg5:
Updated ACP to v1.4.4. Just has some minor bug fixes for aml
[Magisk] Zackptg5:
Updated ACP to v1.4.5. Updated it for the soon-to-be-released aml v1.7
[Magisk] jilx:
Dear...

This problem also for me .. It caused by viper/James DSP/Dolby/anure magisk modules

Installed single or combined
[Magisk] Gereld The Cat:
That's what I thought. The audio works just fine without Viper installed.
[Magisk] Curiousn00b:
This only happens when I install the Audio Compatibility Mod. I get audio lags, and when 2 sources of auto attempt to play or one plays, I get a major skipping sound and no audio plays for like... 10 seconds. It only happens once this mod is enabled though.

I can't pinpoint why it happens or how to stop it, especially since I don't have another device to test on.
[Magisk] jilx:
Actually we need only opensl audio output thats work through out device

ACM need to pacth only for open SL audio output not audiotrack output
[Magisk] cheeser101:
Weird Processing Break

Hi there I've discovered an unusual issue on my phone in regards to audio processing in Viber4Android.

First things first - I have Android P DP3 which very well could be causing the problem.

Now on to the good stuff. When my phone first turns on everything is fine. I have 3 apps I use for audio, Google Play Music, YouTube Music (the beta), and an offline music app. If I play a song in YouTube Music and then switch to Google Play Music and vice versa, then all audio processing stops. Even on the offline app. However I can use the offline app side by side with YouTube Music and Google Play Music with no issue. The issue arises with the two streaming apps and breaks processing for the whole system. One last thing - I can make the processing work again by clearing data in Viber4Android or by rebooting my phone.

While I'd appreciate any help, I understand that there are probably more pressing issues for people that aren't running a beta on their phone. If you want me to test anything on the beta, let me know, I'm happy to help! ?
[Magisk] Zackptg5:
Note: moved to relevant thread

Can you try this build and send me your acp magisk folder after? Make sure you choose "patch" during install. Thanks
[Magisk] hxq88:
ACP not work probably. Idk it's buggy cuz most of time I stream music from my drive via Sony music app ( audio mods work well on it).

Recheck with SoundCloud it was not work as you said.

Ps: first zip is acp folder installed from repo, second is from yours provide (Overwrited acp module by your file, not clean install)
[Magisk] Zackptg5:
Hmm. Do you have aml installed? If so, can you post that folder? There's no audio files in the acp folder so that's why I was wondering
[Magisk] hxq88:
Here you are, whole folder of aml, acp, and .core

My magisk version is 16
[Magisk] Zackptg5:
Sorry for the delay, life caught up with me. Can you try this one? I'll need the same stuff as before
[Magisk] nerak11111:
this mod work with youtube?

i use a sony xperia and i would like that youtube use sound enhacement of sony
[Magisk] Zackptg5:
It should
[Magisk] Zackptg5:
ACP has been updated! Changelog: Updated to unity v1.5.5, fixed patching with busybox sed, added patch support for samsungs with deep_buffer contained in primary-out/primary output
[Magisk] lenana:
[MENTION=6037748]Zackptg5[/MENTION] thanks for the good work. I upgraded to OOS oreo 8.0.0 (OP3T) when I flash v4a from magisk repo and Aml from the same the audio works for a while then stops until you reboot. Also flashing acp cripples Bluetooth audio..Bluetooth headphones simply stop working with acp installed. What would you recommend for my setup? How do I make v4a effect stick? Thanks in advance.
[Magisk] Didgeridoohan:
If you're only using V4A you don't need AML. That's only if you're using several audio mods at the same time... Having said that, it should still work though. There's a troubleshoot section in the OP of the V4A thread (better to post there about V4A issues), with info on what to test and provide in case of issues.

For what it's worth, I'm using a OP3T, OOS 5.0.3, and have zero issues with V4A. I did have issues when I was trying to run Dolby alongside V4A, but since I chose to go V4A only everything's been working fine. No AML or ACP installed...
[Magisk] Zackptg5:
Bluetooth breaking is a known issue with acp removal method. Did you try the patch method? There not much I can do about that unfortunately (this mod is kind of a hack)
[Magisk] lenana:
I will try and research the method and get back to you. Unfortunately, as of now I do not know the difference.
[Magisk] Zackptg5:
I mean reflash the zip. It'll ask which you want to use
[Magisk] lenana:
Great! I was wondering where to start, I will test and get back.
[Magisk] mentallo:
I have been having an issue for the last couple of releases where some audio from games sounds stutter and duplicated. Music through poweramp sounds fine.

I use Viper in conjuction of course.

Any ideas?
[Magisk] ag6ag:
can this fixes hauwei nova2plus that got hifi or at least huawei histen effect disabled after unlocking bootloader? (this cause low volume for wire headset)
[Magisk] Megabliss:
This works perfectly on my Nexus 6p on SoundCloud, thanks so much!!
[Magisk] ahrion:
[UPDATED] Universal deep_buffer Remover

v2.3:

- AudModLib v1.3 update push which includes the script addition to allow various audio mods working with SELinux Enforcing

- Remove (audmodlib)service.sh and replace with pos-fs-data(.d) audmodlib.sh, which should fix when root may be lost upon installing certain mods

Download

Previous Changelogs (Universal deep_buffer Remover):

v2.2:
- Added audmodlib.sh post-fs-data.d script
- Install script fixes
- post-fs-data.d script fixes
- Push AudModLib v1.2 hotfixes

v2.1:
- Updated to Audio Modification Library (Magisk) v1.1
This should fix the boot loop issues seen in only Magisk v11.6

v2.0:
- Initial Magisk release
- Audio Modification Library v1.0 is included
- Unified installer that will install mod for both Magisk and System
- Pixel support included
- Magisk Template v3 support
[Magisk] WorD ZerO:
This kinda breaks my sound quality. When enabled it distorts my sound at max volume with V4A, Dolby Atmos or AM3D. Disabling and removing this and AudioModLib module restores the quality. Can't figure out the exact problem.
[Magisk] ahrion:
AudModLib is what makes the audio effect changes, this just installs all the apps and files.

You only need to install this when you have issues with these apps not processing equalizer audio apps. If you don't have issues then you don't need to install it.

I don't understand why people don't get this concept.
[Magisk] WorD ZerO:
I installed it because my 'Streaming Apps' wasn't processing audio using V4A. But guess won't be using any of your modules if your attitude is going to be this way. Thanks, anyway.
[Magisk] ahrion:
I don't get paid for this stuff. I do it because I love it and love to help people.

Losing a user isn't going to hurt me as I've never gotten a penny for all the countless hours I've put in helping people or doing this. I've also never gotten one donation in the years I've been here.

However, it would have been nice to know more information regarding an issue because then we would be able to help you out and figure out how to solve it. Information such as Android version, ROM, did this happen with v4a before hand, has v4a ever worked, etc etc.

Depending on your device it could be an issue anywhere from soundalive, to improper installation to a multitude of other things. You stated audmodlib caused your device to crackle, and didn't mention anything regarding streaming apps not processing.

HTC is one of those device manufacturers that has issues, but others can as well.
[Magisk] HampTheToker:
Bootloops my OP3T.
[Magisk] ahrion:
For all of you getting bootloops, I need a boot log. If it doesn't work because of FC, provide a boot log. Do NOT post the log in here, put it in pastebin but don't clog the thread with a long ass post.
[Magisk] nosit1:
[MENTION=5357345]ahrion[/MENTION] - Where can we donate to show our appreciation for your work? ? Yours was the first solution for working Viper for me and was a main reason I wasn't upgrading to Nougat (due to xposed and systemless).
[Magisk] ahrion:
Ahrionmgallegos@gmail.com is my PayPal email.

I will never ask for donations.
[Magisk] nosit1:
0YA279513T101712D - Not a lot, but will buy a nice bottle of beer for you!
[Magisk] ahrion:
Thank you sir.
[Magisk] SpiritBreak3r:
Would it be possible to include support for soundcloud? It works for mixcloud, spotify but not soundcloud.

Thanks!
[Magisk] ahrion:
I don't know anything about SoundCloud or why it doesn't work with it.
[Magisk] ahrion:
It's finally pushed to the magisk manager.

Enjoy folks.
[Magisk] zurik:
Tried to install from Magisk manager but gave me Installation Error toast notification. (Nexus 5X)
[Magisk] ahrion:
Uninstall magisk and reinstall.
[Magisk] zurik:
The Magisk manager?

Edit : Done. It works with AudioFX
[Magisk] Spiricore:
Genuine thanks for your work on this!

I have (what I believe to be) a weird setup by streaming music from my PC through Chrome Remote Desktop, but audio isn't being passed through V4A with this installed. Is there any kind of workaround to make this compatible?

Samsung Galaxy Note 5 (SM-N920P) running Nougat 7.0 and Magisk v12.
[Magisk] Didgeridoohan:
Have you tried without this module? It's only supposed to be used if you have issues with the other audio mods...
[Magisk] BadToThePhone:
I'm hoping someone here can help me with my LG v20 running nougat with Viper.

I am able to get the speaker and headphone options to process everytime but bluetooth will never stay processed. The only way bluetooth processing will stay on is if I make a Bluetooth call while being connected to a Bluetooth device. There is an app that I can run that simulates a phone call while connected to Bluetooth in order for Bluetooth to stay on processing. This is the only way I have gotten it to work. I've even tried changing selinux to permissive and that didn't work.

I've done lots of reading, research and testing. I've tested every version of Viper with and without this patch that I could find on Xda and magisk and I can't get it to work right. Maybe someone has an idea?

Any help would be really appreciated.
[Magisk] Nitz327:
Did you try locking the effect mode in Viper's settings? Is it LG's stock Nougat? Sometimes there's a lot of wacky stuff going on with stock operating systems and the only solution is another ROM.
[Magisk] BadToThePhone:
Unfortunately this doesn't work. It is LG stock.
[Magisk] Nitz327:
Are you running it with Magisk? That's how I'm set up, it's the only way I've ever gotten it to work reliably haha. Other than that, you might want to consider a custom ROM, or look for a thread specific to your phone.
[Magisk] BadToThePhone:
I am. And there's a few versions on Magisk. Is there a particular version that may be better? Unfortunately there aren't any custom reliable roms at the moment.
[Magisk] Nitz327:
There's a few solid ones, RR and Lineage are super good. This is the version of Viper I'm on:

https://xdaforums.com/apps/magisk/module-viper4android-fx-2-5-0-5-t3577058

The developer is super active, lol same Dev as this thread were in now actually. Sorry, I wish I could be more helpful, device specific problems are brutal, if that's even what it is.
[Magisk] Zackptg5:
AOSIP and Liquid remix are both pretty rock solid too
[Magisk] Zackptg5:
Reuploaded acp with system ro fix
[Magisk] BadToThePhone:
Unfortunately the custom roms are still being developed. I'm just hoping someone can do something in magisk or look into Viper and maybe figure something out. Speakerphone and headphones are working in Viper. Thanks
[Magisk] Jon.StatiK:
Cancel that.. Sorry.
[Magisk] jerryspring:
No obvious change. How do I uninstall this? Thanks.
[Magisk] Lughnasadh:
Just flash it again.
[Magisk] jerryspring:
Ok. Too bad it didn't work.
[Magisk] themohd:
Hi, I have a problem on S7 Edge, Superstock Room. I wanted viper to work with SoundCloud.

When I flash this in NREM, everything plays at Max volume (Viper works with SoundCloud here) and can't be turned down, when I flash it in REM it goes back to normal and viper stops working with SoundCloud. Has anyone experienced this?
[Magisk] Zackptg5:
Updated ACP to unity v1.6
[Magisk] Hakkinen3K:
Is it working with YouTube? The last time I used this module not working on a Xperia XZ Premium G8142... Only YouTube, others works fine.
[Magisk] Lughnasadh:
Working fine for me with V4A & JamesDSP on Nexus 6P.
[Magisk] Hakkinen3K:
No, a Sony phone without any soundmod only Sony sound enhancements.
[Magisk] Zackptg5:
Updated ACP to unity v1.6.1! See unity OP for changelog
[Magisk] Zackptg5:
ACP has been updated to unity v1.7! See unity op for changelog (full compatibility with magisk 17 and stuff)
[Magisk] evildog1:
This patch make V4A processing work on Firefox and all my favorite games ?
[Magisk] Shayan LP:
Does it work in Pie? I tried it installs but having a issue of Bluetooth stuttering while playing music through Spotify and YouTube! Device: Xiaomi Redmi Note 3 (Kenzo)!!!
[Magisk] evildog1:
This patch makes audio scratchy on Youtube and Moonlight. Without this patch, no scratch and V4A still work on YT and Moonlight but I need this patch for games and unsupported apps.

My device is XZ1, running Oreo with Magisk 17.1 and it's high-end phone
[Magisk] evildog1:
Too bad, it makes audio lagging too much like it makes slow motion on a game called Ayodance Mobile. Disabled the module and issues is gone but now i'm going to deal with it without equalizer processing :(

I miss the old behavior of V4A that works for everything on device running Lollipop without patch
[Magisk] jack allen:
Hi there, could you explain what i need to do please im not quite sure how to edit these things yet
[Magisk] emuandco:
Funny thing happens here... I installed this and ahrion's Viper4Android and hoped to get it handle Spotify. Well, it works for ONE song after a reboot and then processing falls back to no. Maybe because I use Android Pie? More information see my sig. And before I forget: I tried both installation methods and both do the same.

EDIT: Setting to compatibility (I always forget that...) makes things work ^^
[Magisk] jack allen:
Thats strange i have S9+ on oreo magisk 17.1 this patch and v4a works fine v4a is always prossessing works spot on.