yashsingh1/xdaforums huggingface dataset:
[Magisk] tech_head:
I had a similar problem that I could not figure out.

After some beating my head on a wall here is what I found out.

First disable and uninstall all modules in Magisk.

Reboot into TWRP and wipe caches.

Reboot the phone.

Now re-install modules and reboot.

If you wipe the cache with Magisk modules installed strange things happen.

At least they do on my Nexus 6P.
[Magisk] Battlecreed5:
I installed V4A from magisk manager and rebooted but I found no app in app drawer but it shows module as installed in modules section in magisk manager
[Magisk] Didgeridoohan:
Wrong thread... This is not the module found in the repo (check the authors). For that module you'll need to download the app separately. Check the readme for the module (click it in the downloads section).
[Magisk] leelre:
Serious bug with netease music setting.. When tapping netease music setting button , the application no answer any more, just freeze
[Magisk] Donric13:
Hi. Very like sauron sound mod. I also like to use v4a as eq app for systemwide eq. But on latest despair os (angler) got fc on viper app (1.3 and 1.4) and a lot of system app. This only happens when i activate magisk hide. When magisk hide is not activated viper modul runs with sauron mod whitout any issues. Need magisk hide for citrix app.... Anybody having an idea?
[Magisk] Zackptg5:
Odd. Couple suggestions: if you have magisk BusyBox enabled, disable it.

Also, you need to flash sauron after v4a. If you flashed it first, flash the sauron uninstaller, v4a uninstaller, and then reflash v4a followed by sauron
[Magisk] Donric13:
Thanks for suggestions. Already tried this. Busybox is disabled. Fc begin even after flashing ahrions v4a modul whitout flashing sauron mod.... I think gonna look for other possibilities for music effects....
[Magisk] jgates86:
Not sure if anyone else has experienced this but for some reason a lot of the convolvers do not work with this. I know they work because before I had magisk installed I had V4A installed normally and they all worked. So not sure if it's magisk or something on my end.
[Magisk] 24imelqui:
Try flashing audiomodlib again if you encounter FC or drivers not installing.
[Magisk] R0BiN0705:
so I'm facing some weird problems imo.. I basically tried so many different combinations however all I could achieve was either to get v4a working with spotify (v4a compatible, no audiomodlib or deep buffer fix) or to get it working with the stock music app.. running v4a as system app resulted in poweramp and other music apps not outputing sound at all however spotify working but without effects.. I'm running OOS4.1.3 7.1.1 on 1+ 3T, franco kernel

EDIT: did a fresh install of all modules actually currently only v4a, now spotify + stock music app seem to be working (v4a still compatible) however poweramp still no audio output
[Magisk] SavageRobot:
Heyllo,

I'm pretty new to Magisk and trying to get my head around it. I've flashed V4A in magisk and shows as a module, however, do no Magisk modules actually have a GUI or anything? How do I turn it on/off or set equalisers etc? Or is it just on full bore if enabled and off if disabled or something?
[Magisk] Didgeridoohan:
The module in this thread is NOT the one in the Manager. You'll need to install the apk manually for that one... You'll find the link by clicking on the module in the Downloads section.
[Magisk] SavageRobot:
Ah found it thank you. So what is the difference between this one and the one in the manager please?
[Magisk] Didgeridoohan:
Different authors, for one. And this module uses the Audio Modification Library by [MENTION=5357345]ahrion[/MENTION]. It's explained in the OP...
[Magisk] Thyrador:
Is there any way to get systemless V4A working under SELinux Enforcing without changing SELinux policy?

I've ran into trouble with an app I really need that keeps crashing when SELinux mode was changed within runtime. No matter if I change it back right after. Somehow it can detect it.

I have to restart my device into Enforcing to get it working again.

Is there any way around this? Because it's so extremely annoying :(

My Note 4 tapablahed this!
[Magisk] Zackptg5:
This one works in enforcing
[Magisk] Didgeridoohan:
If I understand you correctly, you mean that the SELinux policy changes that's made with the Audomodlib this module uses causes an app of yours to crash, right?

Those specific SELinux policy changes is what makes the module work with SELinux set to Enforcing, so I believe the answer to your first questions would be: no. But, I'm not all that familiar with the inner workings, so I might be wrong.

For your second question: What app are we talking about? Easier to troubleshoot with all the information available.
[Magisk] Thyrador:
Nah, that's not the issue here. V4A and these specific app are unrelated.

Currently I have to have SELinux Permissive to be activated to use V4A.

When doing so, my app crashes regardless of SELinux set to Enforcing afterwards or not.

I'm talking about my banking app (com.fidor.fsw). I had to switch to systemless root to actually get it to work.

I also figured out that custom kernels seem to cause it to crash too. It only works with stock kernel as long as I don't change SELinux policy.

There's no other application I can use with my bank account, though. So I have to stick with that one.

So all I need is something to get systemless V4A to work under SELinux Enforcing. So I can enjoy music and take care of my financial business at the same time without having to reboot my phone ;)

My Note 4 tapablahed this!
[Magisk] Didgeridoohan:
In that case, use this V4A module. Works fine on enforcing SELinux.
[Magisk] aDarkBox:
ive attached the log, but unfortunately im unable to locate any magisk/v4a fodler in my root or data directories :( im not sure if that's part of the issue.
[Magisk] aDarkBox:
i tried that as well, and then reinstalling the driver after selecting that option, but they had no effect with those options.
[Magisk] Zackptg5:
/sbin/.core/img/v4a or whatever is the full path
[Magisk] aDarkBox:
Thanks, that worked. Attached.
[Magisk] Zackptg5:
Dang, everything looks fine. Can you uninstall and v4a apps you manually installed, uninstall and reinstall magisk, flash v4a, then pay full logcat after attempting to open v4a?
[Magisk] aDarkBox:
Will do.
[Magisk] abhi021:
Having issues since new update on V4A. Not been able to install the drivers of V4A old or new on my device Mi A1 running Oreo 8.0. It was working with Sauron MKII but once I updated to SAURON MKII.I not able to get through. Tried every possible way installed AINUR>AML>V4A or the other way around from Magisk and TWRP but not able to get it started. Attaching the logcat of the device. Any help appreciated. Thanks.

If there is any other info required sought this issue let me know how to go about it.
[Magisk] aDarkBox:
here you go: http://f.drawnact.org/Public/Documents/log.txt

reinstalled, had no app, so extracted and installed, then opened and asked to install driver, so accepted and rebooted, then opened and was asked again. then took the logcat.
[Magisk] Ragnar Eldur:
Wish you the best luck and I'd be glad to help in any way.
[Magisk] Zackptg5:
Hmm, can you open the post-fs-data magisk v4a folder and add this line to it: setenforce 0

And see if it works after a reboot
[Magisk] aDarkBox:
here you go! i added that line to the end of the file in the .core img v4a folder. it unfortunately didnt fix the issue. I tried reinstalling the driver and also changing it to setenforce=0, and reinstalling as well, but same effect. Here's another logcat: http://f.drawnact.org/Public/Documents/log2.txt
[Magisk] joedajoester:
If I send a WhatsApp message the processing stops for a second and comes back. It's so annoying because I have my gain set to -12 so when I send a message my ears get destroyed every time ):

I'm using a pixel 2 XL on the Feb patch. Let me know if anyone else gets this
[Magisk] Zackptg5:
Comment out the notification_helper effect in your vendor audio_effects.conf file in the magisk v4a folder
[Magisk] Ragnar Eldur:
You did an excellent job, installed the new update and it's working perfectly!
[Magisk] dviree:
How come I get an IO error with the new version and not the 2.9?
[Magisk] Didgeridoohan:
Because for some reason it can't detect the driver that's installed by the module, and the regular V4A app get that I/O error on Nougat+.

You need to provide details and logs for troubleshooting (see the OP).
[Magisk] SilvrDrgn:
What do you mean by lock the output device?
[Magisk] Oliver94:
Sorry, would you explain how to do that?

I'm in the file but I'm not really sure how to comment that line, if it needs an structure or something.

Just tried but didn't work
[Magisk] Zackptg5:
So there should be a section under the effects section like this:

notification_helper {
blahblah
}

You need to add a "#" in front of each of these lines
[Magisk] Oliver94:
Looked into it, but that line isn't there. There are similar lines but nothing related to notifications or notifications_helper, so I added it but had no effect. This is weird since this happened after an update of the module. This didn't use to happen before. This happens currently in LOS15.1, also in 14.1.
[Magisk] Zackptg5:
Hmm, can you post your vendor audio_effects.conf?
[Magisk] Zackptg5:
can you post your magisk v4a folder? (unless you use aml in which case post it)
[Magisk] Oliver94:
https://drive.google.com/file/d/1ihdmloe94QPttu4zvXEGJmekpMtToApY/view?usp=drivesdk

Enviado desde mi MI 5s Plus mediante Tapatalk
[Magisk] trackloading:
I have the same issue with my Huawei Mate 10 Pro.

Actually the issue is the same for all mods with the Unity installer?
[Magisk] Zackptg5:
As I suspected, you have an audio_effects.xml file so the syntax will be different. The file is located in /system/vendor/etc in your v4a folder and you want to comment out the notification_helper effect like the installer already did for music_helper (I have the line highlighted in the picture attached. You want to take the highlighted line and put "<!--" before it and "-->" after it. I already did it in the attached file but now you know how to do it in the future :)

See what I wrote above, you need to commend out the notification_helper effect. If your vendor cfg is a conf file instead of an xml, you just put a "#" in front of every line that's part of it (I outlined how to do it a few posts back)
[Magisk] Zackptg5:
According to this logcat, selinux is still in enforcing. Can you send me your v4a folder?
[Magisk] aDarkBox:
Thanks for looking into this. Here it is.
[Magisk] Zackptg5:
Updated v4a to v1.2. Added removal of sa3d effect for proper samsung device support

---------- Post added at 17:38 ---------- Previous post was at 17:28 ----------

Try this post-fs-data and send a logcat, thanks!
[Magisk] aDarkBox:
i dont see the file/attachment D:
[Magisk] Zackptg5:
Danget xda, let's try this again
[Magisk] aDarkBox:
Ok, I replaced my file with that one and restarted, then opened the app and tried reinstalling the driver, rebooted, and opened the app. still said it needed to install. Heres the logcat: http://f.drawnact.org/Public/Documents/log3.txt
[Magisk] drich66:
Ive been trying for 2 weeks with differnt versions and roms on my htc u11 running oreo. Leedroids lastet w Magisk. I have no other sound mods. I havent been able to get the pocessing staus to say "yes". I just loaded 1.2 version and it worked one time, all driver status functions said "yes". I cycled the main power off and back on, now wont work.. Processing is back to saying "no".. Im so baffled, i ran V4A flawlessly on Nouget roms. Its the main reason i root. Any ideas?
[Magisk] Zackptg5:
Click on the 3 dot menu, select exit. When app reopens, it should work again
[Magisk] drich66:
I wish it was that easy. No go on that. I may do a full wipe.. Ive dirty flashed about 7 different times.
[Magisk] Zackptg5:
Can you post your full logcat after that happens? 2 other things to try: universal deep_buffer remover, setting selinux to permissive
[Magisk] nebulac:
After installation, xposed(89.2 sdk23) is not activated.

Old version (v2.9) is OK.

Galaxy S5 (klte) MM
[Magisk] Zackptg5:
Hate to tell you, but this has nothing to do with xposed so there's something else causing that
[Magisk] xXxNeXuSxXx:
I just flashed Oreo on my Kenzo.

Have installed magisk + iytbp + this V4A.

After reboot both the apps are not visible in app drawer... in magisk it shows as installed. Later when I uninstall V4A, iytbp is visible again...
[Magisk] peepee007:
Hey,

I wonder if this works on Nexus 6P running Stock Oreo 8.1 (rooted with magisk v15.3).

Thanks!
[Magisk] arifulhaider:
everything works fine on kenzo nos8.1 thanks dev.
[Magisk] dikexpz:
I installed this ViPER4Android in Magisk, I have a Pixel 2 XL, it's on 8.1 with Magisk 15.3 and systemless xposed installed. After I installed V4A, when I open the app it always asks for me to install driver. I'm very confused and have no idea what to do. What logs should I upload?
[Magisk] Taebom:
For me systemless messes up something for viper. Everything was working fine then I installed adaway systemless and that broke viper processing. Then I uninstalled adaway and viper is back up and running on my Pixel 2 XL
[Magisk] Ragnar Eldur:
Nice work on the latest update, everything works fine now on my Samsung system and I don't need the AML module anymore!
[Magisk] Zackptg5:
Check the troubleshooting section of the OP. Either your cfgs aren't patched properly (unlikely), or you have an sepolicy issue
[Magisk] mbrian27:
New update works perfectly on my OP3T, only issue I'm having is that when I turn Convolver on, every time I change the song it skips/cuts out briefly at the beginning of the song. I think I read somewhere a while ago that it was a bug or had something to do with the way the audio processing works for Convolver, just don't remember if there was a way to fix it. Any help?
[Magisk] SixFourSix:
I can confirm whatever you did for Samsung devices did the trick. Now V4A works just fine on my S8+ running stable Oreo firmware (tested on YouTube and Spotify on BT), no trickery****ery needed! Thanks!
[Magisk] Zackptg5:
Minor v1.3 update, big improvements to sepolicy, fix for vendor cfgs on goofy roms

Edit: quick hotfix to v1.3.2 - op3/3t on oos oreo no longer needs selinux set to permissive. Thanks to [MENTION=4667597]Didgeridoohan[/MENTION]
[Magisk] preference:
Hot fix shows no Viper processing on any format, bt speakers or headphone jack. Reinstalling all of the mods via twrp after removing them.

Current status: no aml or audio mods

Next step: install aml, sauron, and Viper via twrp

If it works: I'll let you guys know

If it fails: will provide logs of me starting and stopping Viper

Phone: oneplus 5t (same as Zack), new resurrection remix Oreo 6.0

Note: the previous version of Viper worked with sauron installed as well. Haven't ****ed with JamesDSP recently though I might use it again if Viper fails on me.

LAST THING: Is the enforcing change just for the 3/3t? Does it affect only oos?

---------- Post added at 12:15 AM ---------- Previous post was at 12:03 AM ----------

UPDATE:

it's working but I had to reset Viper 3 times. I tried compatability more and switched it back and it started processing after I exited the last time. I'm providing logs because I think this is a rom related issue.

I don't know if Viper needs to "warm up" sometimes but I've never experienced this. I've had to exit and start to get the driver going, but never multiple times.

If this persists I'll let you guys know.

Log: https://drive.google.com/file/d/1dnxrCBBX_-AcUwXVLJaxaFEZKOH6hv8H/view?usp=drivesdk
[Magisk] Zackptg5:
The enforcing thing is specifically aimed at OP3/3T running oos oreo, not any other devices/roms. I don't see any sepolicy errors so that's fine. When you say "reset viper", do you mean open it, click 3 dot menu, select exit, then reopen it? That's the typical workaround I use for my op5t. You could try using ubdr. In terms of changes between last version and hotfix in regards to op5t, nothing really changed except that sepolicy statements are concatenated into 1 for faster run time and moved to late start service script (which worked fine for you based on your log).
[Magisk] preference:
Thanks so much for the input, it's helpful having the same phone.

On boot up I had to reset Viper a few times (3 dot menu method) and pause/play jetAudio about 4 to 5 times. Then it would start processing after a lot of toggling. From what I understand, this "late start service script" could delay how long it takes for Viper to be enabled? Sorry, I can code a calculator not a dsp, so i may sound ignorant. It may be that my rom has startup services that hadn't finished yet.

Another log where you can clearly see me start/stop Viper multiple times, then it just begins to work. It's not a huge problem... I can wait a minute or two for the service to start, I just wanna make sure that the program is exhibiting the correct behavior.

Last time I'll bother you today, promise:https://drive.google.com/file/d/1-8d8CSZP0Ptbc3yTMjLvrZF-kxwIJwv5/view?usp=drivesdk

It says a few times that the audio config had been established and Viper requires a reset - this happens whenever I opened it, everything perfect (driver enabled, etc.) except processing. Thank you for clarification.
[Magisk] Zackptg5:
The boot script is actually the opposite. It does what you were doing manually so v4a should already be processing when you start your phone. The fact that it isn't makes me think it's something rom related. Have you tried deep_buffer remover? If that doesn't work, try setting selinux to permissive
[Magisk] preference:
I fixed it by changing to a different kernel, so you were right it was not a Viper issue. Thanks for your input it helps me think outside the box.
[Magisk] saruthvolk:
Is there any different in sound quality in fx compatible mode with Compatible and normal mode because if I set to normal mode everything is working but if I start music there is no process. If I change to compatible mode everything worked fine so I just want to know that there is different in sound quality or not and how to fix process issues (already try remove deep buffer and set selinux to passive)
[Magisk] Zackptg5:
Do you have any stock eq apps like musicfx or audiofx? If so, remove them
[Magisk] saruthvolk:
No I don't have it sir
[Magisk] DvLAx3l:
The latest version for me that work fine was the 2.9, the new version say no process, I've tried also to install the aml, but nothing.

Anyway the material app keep crashing so I'm using the normal one.

What I should provide to you for investigate the issue?

At the moment I'm using the module provide by ShadySquirrel on the repo.

Device: OnePlus 5 with OOS 5.0.2 Stock Kernel
[Magisk] anujyadava:
Try flashing the latest viper4a version through magisk and flash magisk zip through twrp afterwards and see if it's solved or not
[Magisk] MrBrady:
[MENTION=6037748]Zackptg5[/MENTION] any idea why Viper stops processing audio after screen off? Sometimes it may be 30 minutes and sometimes it may work for a day or two.

I have battery optimizations disabled for both Magisk and Viper. Also have Viper's persistent notification enabled.
[Magisk] preference:
I'm having a similar issue with processing being hit or miss. Going to try just installing aml + viper alone to see if it helps. I can't get processing to stay consistent on the latest magisk repo installs.

---------- Post added at 06:18 AM ---------- Previous post was at 06:17 AM ----------

I'm having a similar issue with processing being hit or miss. Going to try just installing aml + viper alone to see if it helps. I can't get processing to stay consistent on the latest magisk repo installs. I'm hoping by flashing each mod one by one in TWRP I'll be able to reduce the issues.
[Magisk] dviree:
Latest version works ! But it stops it's processing for a second when I get a notification
[Magisk] preference:
Just realized, is there a specific order I'm supposed to flash these modules... that could cause a huge issue if i'm doing that incorrectly.

Right now I flash AML first, then sauron, then V4A. Should I be flashing the soundfx modules first (sauron + v4a), then the AML afterwards? I know I probably look like a dumbass right now but would appreciate any input.
[Magisk] exodius48:
[MENTION=6037748]Zackptg5[/MENTION] [MENTION=5357345]ahrion[/MENTION] I combine this v4a with dolby oreo by gh, but when i enable master power & other v4a toggles no sound processing , whats the problem?
[Magisk] Didgeridoohan:
I'm running the same two modules. You might have to exit the V4A app, start it again, start your music and then it'll start processing.
[Magisk] Mar-cel:
I have the same two modules. But V4A is not working...

Device: Oneplus 5

Rom: OOS 5.0.2

Magisk: 15.3
[Magisk] Didgeridoohan:
You have a different issue... Your installation doesn't recognise the drivers.

Do you have the latest version of V4A (v1.3.2)? Also, could you try the new app instead?
[Magisk] exodius48:
Wow,, it works. :D

Thanks for the workaround.

But when i change IRS on Convolver, no sound change, i use convolver for speaker. But when i toggle on/off speaker optimization there is sound change. Are you facing smae problem?
[Magisk] zen2fans:
When install from magisk manager and reboot, all apk modules from magisk disappeared?

Redmi note 4

Unofficial LOS 15.1 treble

Permissive

Magisk 15.3

Sorry cant attached logs im busy now maybe later
[Magisk] Mar-cel:
the new materialized V4A (v1.3.2) works but dolby Atmos oreo is force closing
[Magisk] trackloading:
Thanks...

I don't see that in my audio_effects.conf?

I also tried the newest mod, but still no icon.
[Magisk] Numicros:
Doesn't work on Mate 9 Pro (Android 8.0) with Magisk 15.3. I read that it also doesn't work on Mate 10 / Pro.
[Magisk] Zackptg5:
logs? Can you run through troubleshooting section on op?
[Magisk] Nosferatu.:
Just wanted to confirm with you that option #2 does work. :good:

Lost the effects. Hit exit and the second I relaunched it you can hear the audio effects take effect again. :cool:
[Magisk] theman480:
It's not working with the Magisk 15.4 beta right? I can't install this, the "mount failed" error.
[Magisk] Zackptg5:
Works fine for me. Nothing's changed on the module template side of things so any mounting issues your having is with your device/magisk install
[Magisk] xontax:
Flashing "SafetyNet Fix" solved the issue https://xdaforums.com/showpost.php?p=73694054&postcount=1163
[Magisk] theman480:
Did you flash with Magisk? Or TWRP? With Magisk I have an "installation error".
[Magisk] 0kk0:
Does somebody knows how to fix this issue:

I can get v4a to work... 2.5.0.5 or 2.3.4.0 but before it works i first have to disable and then enable / toggle master power switch in v4a app...

On all other phones i have, v4a works after boot without to open app and disable and then enable it.

I have oneplus 5t Nougat
[Magisk] Zackptg5:
That's a well known app issue. Nothing anyone can do about it unfortunately
[Magisk] 0kk0:
ok really? that sucks... i thought yesterday i had it working but wanted to do clean install... thought knowing what to do but not really.. :crying:

On my htc 10 nougat 7.0... same viper4android magisk module is just working after reboot without to have open v4a and disable and enabled it.

Thansk for your reply!

Btw oneplus 5t is a beauty :laugh::good:
[Magisk] return.of.octobot:
I'm a little perplexed by these newer independent releases of V4A/AML. Before the split, this module was the only one that allowed me to get V4A working on my stock Essential PH-1 (currently, 8.1 beta).

I just attempted to install the newest release for the first time and now I'm getting dialogues about the driver needing to be reinstated and subsequent I/O failures when attempting to do so. I uninstalled the module, and then installed AML first followed by V4A again, even though I don't use any other sound mods I thought AML may have had something to do with why it was working for me previously but the results are the same either way.

I've attached my Magisk Log, although I'm not seeing anything that jumps out at me as having gone wrong (that doesn't mean you won't).

Any insight/thoughts on this, or anything I can do to help further diagnose the issue would be greatly appreciated.