yashsingh1/xdaforums huggingface dataset:
[Magisk] manhong2112:
well...

1-audio_effects.xml : dolby is working

2-audio_effects.xml : dolby is working

3-audio_effects.xml : dolby is not working

4-audio_effects.xml : dolby is working

5-audio_effects.xml : dolby is working
[Magisk] Zackptg5:
Interesting, well that answers my question as to what the heck is going on. It seems that the xml files are more picky than the confs. What I theorize is happening is that in the original aml file and #3, postprocessing is trying to call music_helper but since that effect was commented out/removed, some wonky error stuff occurs. So I'll need to remove it from the postprocess section instead. I'll have that fixed in the same version but in the mean time, just delete the "music_helper" section from postprocess section at the bottom of the file (or comment it out: <!--whatever_line_is-->). Thanks for the troubleshooting, it helps a lot! :good:
[Magisk] nadeemakhtar1994:
Latest version messes with custom fonts
[Magisk] Zackptg5:
Can you post the stuff outlined in the troubleshooting guide on the op?
[Magisk] Zackptg5:
Can you also follow the troubleshooting guide? It shouldn't touch it
[Magisk] Homeboy76:
Are you using any other Audio modules? If yes disable them, then start Viper and enable them one by one until you find the one that is breaking Viper (Troubleshooting in OP). Start by enabling AML first.
[Magisk] svendsvin:
Thanks. Works like a charm.
[Magisk] Zackptg5:
Quick PSA everybody. Narsil has some issues with the install script I'm currently working on. No ETA but be aware that if you're having weird issues and you have narsil installed, it's more than likely the culprit. This isn't an aml issue in this case
[Magisk] TheKerevas:
I have Narsil and new versione of AML, no problem. I have Pocophone F1 with MIUI 11.0.6.0 Global Stable
[Magisk] Zackptg5:
Aml v3.1 is here!

Nothing major but here's the changelog:

* Enhanced osp_detect - needed for some mods (dolby)

* Added chcon fix for Q - may fix issues some users have with v4a/jdsp

* Use proper contexts for aml files

* Clean up script a little bit
[Magisk] Kayniedude:
Awesome! hope it works with me
[Magisk] Zackptg5:
Quick turnaround the past couple days but v3.2 is already here! This may fix the xposed issues users were having - it did for me

Changelog:

* Restructured script for better efficiency/faster running time - may fix xposed issues

* Fix prop issue where non-aml supported mods were affected

* Favor module .aml.sh scripts over built-ins
[Magisk] moozyedogawa:
I installed dolby, viper and aml but why did the sound in the sound game have no effect, while the music player and youtube went well. Can it be helped answer?
[Magisk] alwynjoshy:
After long use of Bluetooth, The output stops comes from Bluetooth and comes from earpiece only. A restart will fix the issues. But i was hoped it will be fixed on v3. I have attached the log cat. Please look into it.
[Magisk] alwynjoshy:
Bro, have you tried run viper only. Try that viper wouldn't process on video game i think
[Magisk] Zackptg5:
Try install still compatibility patch

Can you post the files/folders noted in the troubleshooting guide in the op?
[Magisk] moozyedogawa:
I have installed it, but I'm confused which choice I choose? when installing the patch compatibility module, maybe I made the wrong choice and had no effect when I played the game

The settings I installed

Skip Audio policy NO

Remove (old logic) VOL DOWN

Skip notif NO

Skip usb NO

YES
[Magisk] Zackptg5:
Best to bring that up on the audio compatibility thread, question is probably already answered there - check the OP of that thread
[Magisk] Revontheus:
Updating to version 3.2 breaks Viper4Android processing when used alongside Ainur Sauron. I'm currently on Android Oreo on my Galaxy S9. To other users who will update on Oreo, just remain at version 2.5.

I already knew it was a stupid idea to update when the older version was working perfectly fine. I just hope there is an option here to download the older versions. Reverting to an older version before the boot script fixed the problem.

Regardless, thank you for your hard work, none of this paid and truth be told, we don't really have any right to complain.
[Magisk] repey6:
Thanks a lot for v.3.2! Good job!
[Magisk] Zackptg5:
If you get the chance, could your upload the aml module folder when using 3.2 as outlined in op for troubleshooting? I'd like to see what the problem is so I can fix it
[Magisk] Jonas Cardoso:
i am using your last version from https://github.com/Magisk-Modules-Repo/ViPER4Android-FX and https://github.com/Magisk-Modules-Repo/aml, but i has problem (pic bellow), after kill viper app and re-open, all get back to normal, this problem is recurrent, i uploaded logs bellow, if you need anything more, just tell me
[Magisk] warrencoakley:
I've nothing but nightmares with compatibility with not just this module but a host of others too
[Magisk] Soumy1234:
Did you try flipping some of the switches in V4A settings? Or maybe uninstall all audio mods and start again?
[Magisk] Jonas Cardoso:
yes²
[Magisk] XtraWater:
I probably off-topic ; I saw in a log I created that it contains some OMX errors. Now I wonder if this library would fix it.
[Magisk] Zackptg5:
Logs look fine, sounds like you didn't toggle the "attach audio effects" switch in v4a settings. You need to do that depending on the audio app you're in. It's due to how android routes audio
[Magisk] Jonas Cardoso:
I enabled and got same problem
[Magisk] Soumy1234:
Maybe try removing all mods again and install in the following order:

Flash Ainur in Magisk Manager (DON'T reboot yet)

Install V4A through the app (it will automatically reboot)

After reboot, flash AML in Magisk and reboot to finish.
[Magisk] Revontheus:
I also replied to you on your other post at the Official Viper4Android thread. It seems that the latest version of AML uses a different boot script which interferes with the modified audio_effect.conf being utilized. I suggest you try the older version I will attach here.

Uninstall Viper4Android and any other audio mods including AML. Install the AML I have provided below and re-install Viper4Android + other audio mods (such as Ainur Sauron).

[MENTION=6037748]Zackptg5[/MENTION], it seems that was my problem as well. I have reverted to the older version of AML for now as it has no issues. Would you happen to have version 2.5? Could you please upload it? Much appreciated!
[Magisk] ISoreo:
Here you are View attachment Audio_Modification_Library-v2.5(48).zip
[Magisk] Zackptg5:
Nope, I'd rather fix the current version so could you run through the troubleshooting guide in the OP and upload the files listed in it?
[Magisk] Revontheus:
Alrighty, I will try to do so! Thank you very much.
[Magisk] Zackptg5:
AML has been updated to v3.3! Changelog:

* Fixes for magisk 20.4
[Magisk] ParadoxLogic:
Hi,

When i install this, it installed fine, but when I reboot I cannot connect to my WiFi network.

When i go to WiFi options I can see the ssid, but when I click it, it goes grey for a few seconds as if its trying to connect, but then it doesn't do anything.

No connection, nothing.

Please can you advise?

Thanks in advance
[Magisk] Zackptg5:
This doesn't affect wifi in any way so it'd be caused by some other mod
[Magisk] ParadoxLogic:
Well, my WiFi was connected, and this is the only thing I have installed.

After install and reboot WiFi doesn't work, after uninstall and reboot WiFi works.....

So it is this mod. This was the only change to my phone for days.... Not even Google play updates!
[Magisk] Zackptg5:
Why is this the only mod installed? Sounds like you didn't read what this mod was for...

Regardless, go through the troubleshooting guide in the OP and we'll go from there.
[Magisk] ParadoxLogic:
Well I have had no need for the AML, today I was going to install something that required it, so this was installed first.

I noticed after reboot my WiFi issue, then uninstall it and the WiFi worked again.

I'll have a look through the OP now and see if anything helps.

Thanks
[Magisk] Obito_Sama:
Hey sir, i already have sauron and i want ro try dolby digital plus, i heard a lot of great abou it...

Should i install AML before or after installing my second audio mod??
[Magisk] Zackptg5:
Order no longer matters since almost everything happens in the boot script
[Magisk] Obito_Sama:
Ah ok, cool ! Thank you for the clarification.

If it's not too much, what's the best audio mod combination you can advise to install i'm by no means an audiophile, just trying to get a decent-improved sound quality ou of my XZ Premium.
[Magisk] Zackptg5:
There is no "best combo". It's all dependent on user preference. Some prefer dolby for ease of use, others (like myself) want more control over different aspects of audio and so prefer v4afx and/or jdsp. Some people combine dolby with another dsp app, still others want a more vanilla sound with something like narsil and then addon other mods while others just layer on effects. You'll lots of people think "more is better" and have 4+ audio mods installed. At that point you have too many competing dsps and/or effects so good luck with that.

To an extent, this is can be a subjective process so I recommend pick a couple and stick with them based on your preference. Don't get bogged down with the plethora of audio mods out there and be wary of the "snake oil" mods that don't do anything
[Magisk] Obito_Sama:
Yup, just what i was thinking about, more is never better, at least in the case of audio mods, i'll stick with sauron and DDP...

Again, thanks for the clarification.
[Magisk] castrum_doloris:
A report of a little strange bug:

With the new AML (3.0+) some musicfiles are getting skipped instantly. As far as I could research this phenomena, all skipped files are encoded with the ogg/vorbis codec. My music library contains vorbis/opus/mp3 files. The other 2 filetypes seem to be working fine. (Didn't test any further codecs)

Installed audio mods:

- Viper4Android (2.7.1.6)

- Ainur Narsil (27.03)

- AML 3.3 (52)

I tested these settings to see, if another module is causing this bug:

Only V4A -> everything works

Only Narsil -> everything works

AML + V4A -> bug occurs

AML + Narsil -> bug occurs

AML + V4A + Narsil -> bug occurs

The last working version was your old AML 3.0 Beta 4 with Magisk 20.3. But since the update to Magisk 20.4 it doesn't work anymore.

I've attached the aml folder and the aml backup folder.
[Magisk] alwynjoshy:
[MENTION=6037748]Zackptg5[/MENTION]

After using Bluetooth connection for long time and when it turned off, the output is coming from ear speaker only. A Reboot will fix the issue
[Magisk] thunderteaser:
On my device I need Magisk 19.3 because boot scripts don't work on lavender with Magisk 20+. So I was using aml 2.4 and everything was fine. I tried updating to Magisk 20.4 to see if the issue was fixed but that was not the case, so I started from scratch and reinstalled magisk 19.3. Problem is that now aml 2.4 (and 2.5) are not detecting sauron anymore. my audio_effects files are present on my device. What can i do?

EDIT: solved by deleting all ainur files from /sdcard and installing again. Now viper won't install drivers, again. I'm going to throw my phone out of the window.
[Magisk] Zackptg5:
Update aml to v3.4!

Changelog:

* Permission fixes

* Minor bug fixes
[Magisk] Zackptg5:
Try new aml update and latest narsil build from the ainur telegram group - lots of bug fixes in the narsil zip including issues with its aml related scripting so there's a good chance that's where the issue lies

What audio mods do you have installed? I see you have xposed installed, removing that would be a good first troubleshooting step

Sauron is dead, you try narsil? Latest aml should detect sauron regardless though - note that it doesn't print out anything during the install
[Magisk] castrum_doloris:
Thanks, but unfortunately the bug persists despite the two updates.

I'll reset my Rom and try again later this WE, maybe I've messed up somewhere

I'm updating my music library anyways and migrate everything to .opus

But I'll help you fixing this bug, if you want :)
[Magisk] lorepingas:
Works well now
[Magisk] serpent android:
Hi Sir. Im.on los 17.1 on the Lg V20..the issue is that the dacs are not working and yhere is a constant buzzing sound (distortion) when ghe headphones are plugged in.. I tried ainur sauron but doesnt help.will aml help?
[Magisk] qbaqi9300:
I discovered a problem on Xiaomi Mi9 (ROM: Xiaomi.eu stable V11.0.9.0.QFACNXM, android 10).

I had Audio Modification Library 3.2 and updated to version 3.4.

When the module in Magisk is activated, sounds in applications and games "stutter" and crackle.

The problem does not occur on YouTube or while listening to Music - only in games.

If I turn off the module in Magisk, everything returns to normal, but then Viper4Android doesn't work :( and the rest sounds weak

Do you have any solutions?
[Magisk] Zackptg5:
AML has been updated to v3.5!

Changelog:

* Fix for proxy effects
[Magisk] BrahmaGandhi:
V4fx 2.7.1.6 doesn't work after when v.3.5 got installed (magisk module) ,it kept asking me for "installing driver" after every reboot. without AML the driver installation successful, but without AML v4afx won't persist (says no processing) toggle on/off doesn't work. i have no other audio mods installed.

been using viper for many years. any suggestion? thanks dev

*havoc Q v.3.4/oneplus 3T*
[Magisk] Zackptg5:
If v4a is the only audio mod installed, you don't need aml. But can you run through the troubleshooting steps in the OP?
[Magisk] BrahmaGandhi:
thanks for reply!

heres the situation..with AML installed it kept asking to "install driver" after every reboot.

unfortunately AML is needed in my case.. because without AML, if i toggle off/on the "master/any effect switches" the app and all the effects applied simply don't work, it indicates "processing: NO" (with music/audio currently playing) so i need to force closed the app to get it working again.

some infos:

v4fx magisk module 2.7.1.6

tried both AML v3.4/v.35

latest canary 283/20405

latest osmosis's BusyBox module 1.3.11-april 22
[Magisk] Zackptg5:
Still need you to follow the OP troubleshooting guide or I can't help.

For your v4a issue, you need to toggle the attach audio effects in v4a app settings when that occurs. It's not a v4a bug but due to how Android audio sessions work
[Magisk] BrahmaGandhi:
just tried it works for music player (only with gappless playback enabled) if not, no working effect every next mp3 playing /after skip mp3.

unfortunately doesn't work on youtube playing. if attach audio effects is toggled off, youtube audio is back to normal. so weird.

could this be a ROM side issue? i'll check on my ROM thread later.. anyway thanks for your replies..very appreciated!
[Magisk] BrahmaGandhi:
[MENTION=6037748]Zackptg5[/MENTION] problem solved, so i fully uninstalled magisk and switched to magisk v.20.4 and now both v4afx and AML 3.5 finally works properly
[Magisk] zack483:
Can somebody upload the previous version aml 3.4 here. Please
[Magisk] Zackptg5:
Why? If there's an issue with 3.5, go through the troubleshooting steps so I can fix it (FYI, 3.4 and 3.5 are identical except for proxy effects - very few mods use these)
[Magisk] zack483:
Sorry, my mistake.

The reason i facing some problem is because the magisk canary.

Aml 3.5 works just fine.

Sory again.
[Magisk] Techguy777:
Has anyone gotten viper 2.3.4 working on android 10? It would be cool if this mod could add that or something. I haven't tried maybe im missing something does this mod fix the files that would allow to work? Im thinking it just allows you to run multiple sound mods on android.
[Magisk] Zackptg5:
That apps been dead for a long time. Best to use 2.7
[Magisk] nousernamesorry:
i dont know what seems to be the problem, but when i install AML, it breaks my bluetooth and just wont switch to the device. Keeps giving audio output through speaker. What am i missing?

And without that, Viper wont stay on processing. It keeps going back to processing: no after a while ( while playing music )
[Magisk] Zackptg5:
Search the thread, this has been brought up more times than I can count and I still can't find the reason for it occurring or replicate it on any of my devices
[Magisk] Zackptg5:
Quick PSA everyone (updated the OP with this):

Some audio mods look for aml installation and behave differently when it's not detected so although flashing order doesn't technically matter, it's best to always flash aml FIRST
[Magisk] nousernamesorry:
Hey, thanks for replying.

I think it's the issue with lineage os based ROMs

I'm currently using crdroid which is lineage based, and the person who had also had the same issue, was using lineage os based ROM. (Aosip)

We both are using one plus devices. Is there anyway I could help you out with troubleshooting this? Let me know.

Any help is appreciated
[Magisk] nagi_007pk:
AML 3.5

Hey Zack

I've been using the aml mod for a while but since now the audio mods are patched at boot. I lose my other configurations that I've added to the tasha_mixer_paths.xml

My phone has a low in call volume. Whenever I manually the handset speaker value it gets reset at boot. Is there any possible workaround for this. I'm on the version 2.5 which works fine for the mods I use but the latest is 3.5 and I was intending to upgrade to it. Any help in this regard will be appreciated.

Mods I use with AML is Ainur Sauron, V4AFX 2.7.1.6 and that's it

OnePlus 3T running Oxygen OS 9.0.6
[Magisk] bradical711:
I don't know any workarounds but an update isn't always necessary... I mean like you said, if aml v2.5 works for you just fine on your setup, you shouldn't need to update to v3.5 because you wouldn't experience a difference between v2.5 and v3.5 in your use case except version numbers. It's like the old saying "if it ain't broke, don't fix it". No need to reinvent the wheel if it works just fine as it is you know? Just my 2 cents. Do you know if you actually need anything from v3.5 or did you just want to update? Cause updating just for updating's sake isn't always good. One step forward can sometimes be 2 steps backwards. :good:
[Magisk] Zackptg5:
Ya, just make an .aml.sh file in your module folder with your patches in it and aml will run those at boot
[Magisk] jmadiaga:
What's the effect of AML in Ainur Narsil? Is AML effective if Ainur Narsil is the only mod in use? HAVOC OS on 3t. Thanks
[Magisk] Soumy1234:
If you're only using Narsil, you don't need AML. You only need AML if you're using multiple mods, like Narsil and V4A, for example.
[Magisk] Gourcuff14:
Hello. Is there an archive link to all versions of Audio Modification Library please I can only find the latest version. Thank you.
[Magisk] whalesplaho:
I am having issues with AML... It breaks v4a and dolbt! Without aml v4a works fine buh with aml installed v4a keeps asking to install drivers... Just stuck with v4a only since aml isnt working cant use dolby... Any help! Please.
[Magisk] surajloharia:
Use ACDB , it won't touch Viper and will process dolby
[Magisk] whalesplaho:
Please can yhu help me with a download link. Thanks!
[Magisk] surajloharia:
https://t.me/viperatmos

Join telegram channel, all mods available

This is update channel, tou can also join the group

Or

https://drive.google.com/drive/mobi...6yo1VEFYoki90U7QU2V7kt75q?sort=13&direction=a
[Magisk] whalesplaho:
I saw ACDB 0.47 right???

Thanks man.
[Magisk] asusgarb:
Hi. Are there any effects or problems if I install it without adding audio mods? Or will it be useless?
[Magisk] Lughnasadh:
You only need this if you have 2 or more audio mods, and depending on the audio mod, you may not even need it then. So yeah, useless without audio mods.
[Magisk] NoxOn3:
For me, the last 3 or 4 releases don't even work. Had to reset my phone and now I'm f***er. I'm so pissed I can't get any old releases the worked so well...
[Magisk] Zackptg5:
New beta build for testing! Overhauled boot scripts so it won't time out if too many files are being patched, updates for Android 11, added support for new Dolby mod and more.

If you have any issues, remember to follow the troubleshooting steps in the OP, I can't help you otherwise :)

Edit: removed test build, see next post for new one
[Magisk] Zackptg5:
New test build! Turns out the way I was using to detect the magisk mirror path (magisk --path) isn't accessible during beginning of post-fs-data leading to the script timing out sometimes. Reworked it in this new test build. Also, rather than just copying/mounting all audio files, aml will only copy/mount audio files used by installed mods
[Magisk] warrencoakley:
Thanks.

Will you be updating DDP to work with Android 11?
[Magisk] Zackptg5:
You'd have to ask the maintainer of the ddp mod for that, I don't maintain any ddp mods and I'm no longer supporting any of my Dolby atmos mods (aml still supports them all of course)
[Magisk] a_khusairi:
Thanks it work with Dolby on Android 11
[Magisk] Zackptg5:
v4.0 is finally here! Pretty extensive changelog which will fix issues with large audio mods, possibly bluetooth related issues, and android 11 among other things:

Reworked boot scripts - no more time limitation

Misc bug fixes

Removed prop processing

Allow use of "aml.sh" in addition to ".aml.sh" scripts

Added support for another dolby mod

Updated for Android 11

Only copy files to aml if needed by other mods
[Magisk] mrrocketdog:
v4.0 , finally. oof weef. ;emojiThank.you.so.much;
[Magisk] Techguy777:
Here is 2.4 that was always the best working one in my eyes to. I have others like 1.8 I keep files for that reason it always happens. lol

https://mega.nz/file/6ktVAQwL#9RMk_MPovRr89-CtIFyxnE_juBEjEwL--GpnZ8YLIT8
[Magisk] Techguy777:
Is there a way to get viper2.3.4 to work on samsung enforcing kernel android 10. I can get it to work on permissive but the new 2.5 update wont allow 2.3.4 driver to stay installed because its enforcing or can I switch the driver of 2.7.1.6 ?
[Magisk] Zackptg5:
Aml supports all of those v4a builds but you're best off with the new 2.7 v4afx. The other apps are ancient so good luck with them
[Magisk] asripath:
4.4 Viper Fx legacy with the same driver as 2.7.1.6

works with enforcing on K20 Pro.
[Magisk] walkwitmeinhel:
4.0 broke my dolby atmos ..i cant open app..i revert 3.5 and now its fine
[Magisk] Techguy777:
viper 4.4 is my go to but it will only install on permissive kernel with enforcing kernel. I've tried like 100 times and samsung removes permissive you have to build it into the kernel source code so no selinux switchers. It could be months before samsung releases the source code. Drive always uninstalls on reboot Im actually wanting 2.3.4 super quality driver instead of the normal one in 2.7.1.6 from 2.5.0.4. I wish someone would update 4.4 to work on enforcing or if anyone knows how to do it different.
[Magisk] Zackptg5:
Without following the troubleshooting steps in the OP, I can't help you
[Magisk] purgy:
I've got an issue with 4.0, where a reboot results in a bootloop, however a boot from power off works fine.

Also using audio compatibility patch 1.73, and viper4androidFX 2.7.16.

Pixel 3a running the August security patch of A10.
[Magisk] Zackptg5:
Doesn't sound like an aml or audio mod related issue since cold boot is normal. Regardless though, you don't need audio compatibility patch on pixel 3a so you could remove that and aml too if v4a is all that's left. The reboot problem is probably related to the rom or another mod/app
[Magisk] Riki Irawan:
[MENTION=6037748]Zackptg5[/MENTION]

AML is good ?

I created Moto Waves with AML support

but seems Audio Compatibility Patch v1.7.3 is failed to load with AML 4.0, I have to add additional command to load ACP to AML in my moto waves
[Magisk] reven20:
With the 4.0 version the driver of the v4fx isn't recognized at all. I install the aml and Viper, I click install drivers, the phone reboot and ask me again to install drivers
[Magisk] Zackptg5:
Are you on android 11? You'll need to grab the updated v4a apk (v2.7.2).

Easy way to determine if it's due to aml of the audio mod itself: remove aml and if mod doesn't work, it's not an aml problem

Also read through troubleshooting section in the OP if v4a works after aml removal