yashsingh1/xdaforums huggingface dataset:
[Magisk] Sandor.Varga:
Hi guys,

I have a strange issue.

My ringtones, notifications and alarms are distorted when the V4A FX module is active in Magisk.

Processing is fine on speaker and on headphones; did not try Bluetooth and USB/dock.

Phone is a Pocophone F1 with latest AOSP Extended 6.0, Magisk 18.0 (did the same on 17.3 as well) no other soundmods, only safety patch and YouTube Vanced are the other two modules.

V4A FX 2.5.0.4; V1.8.2.

Have logcat as well, but the XDA app did not allow me to attach it.

Sandor
[Magisk] skipper002:
In TWRP remove /vendor/lib/soundfx/libvolumelistener.so and /vendor/lib64/soundfx/libvolumelistener.so
[Magisk] Sandor.Varga:
Thank you so freaking much!

It drove me nuts for the past week.

I googled the heck out of Google and tried every single thing I could imagine.

But if it is a simple fix like that, why did I not find anything on the subject? Or did I just search wrong?

And what is it that is causing it to behave like that?

Sandor
[Magisk] Dennis@@:
After each update I load my profile from the folder and till know it has been working like a charm. But since the update to the version 1.8.2 the processing status is not changing. As an media player I'm using Pulsar+ and in the the setting I have activated the head phones as well as the phone speaker. Normally when I'm watching YouTube Viper4Android is also running in the background, because during the installation process, I selected it should be installed as an system app. But in the latest version for some reasons it's not working properly. Now I back to the previous version and everything is working fine.
[Magisk] Zackptg5:
Processing status says no? Do you have any other audio miss installed? Can you post your magisk img with 1.8.1 and 1.8.2 so I can compare them? Logcat? (Sorry for all the questions, just want to narrow down where the problem lies since I can't replicate the problem on my end).

One other thing to try too: flash 1.8.2, then delete any policy files in the v4a folder. If that works, then scratch the above stuff and just send me those policy files before and after v4a patches them
[Magisk] Dennis@@:
Dear Zackptq5,

in the attachments you fill the previous and the latest version of Viper4Android FX which were downloaded via Magisk. In addition to that, I do not have any other sound mod installed. Also I uploaded my Viper4Android folder were the configuration is stored.
[Magisk] maaakn:
Exactly same problem here. Updated to dec Patch Who i GUESS caused this issue.. Sony xz1 c
[Magisk] Sandor.Varga:
Could you fix it in the end?

Sandor

---------- Post added at 07:09 PM ---------- Previous post was at 07:02 PM ----------

Look what skipper002 wrote a few pages further.

It fixed the problem for me and was on a 9.0 build as well.

Sandor
[Magisk] Zackptg5:
I mean the viper folder installed on your device. So flash 1.8.1, save the folder, flash 1.8.2, save the folder. The folder is located at: /sbin/.core/img/ViPER4AndroidFX
[Magisk] maaakn:
NO I havent checked.. But i found Some /system/media/audio/alarms

IM gonna try hold

Fixed it. Go into that folder and click with a root browser your favorite. Open as... I choosed VLC.

Rhen go into sound settings and choose the alarm with same name.. Wee

---------- Post added at 11:09 PM ---------- Previous post was at 10:54 PM ----------

[IMG="better alarm lol"]http://www.bilddump.se/bilder/20181209230011-2.70.212.233.jpg[/IMG]
[Magisk] maaakn:
I GUESS that alarm settings wasnt directed to any sound.. There fore that vad noise
[Magisk] vibrantliker:
Still not working with just Vipers and AML. Logcat attatched.
[Magisk] frewys:
It is working from what I can tell for me on Dec pixel 3. But sometimes processing says no and sometimes yes ?*♂️

It sounds like it is working all the time though
[Magisk] SkexxGo:
Thank you
[Magisk] deepu458:
Hi there, i dont see any option for 3rd party apps under play protect. Its just on or Off. can u be little bit more specific of where to find that option?

Thanks in advance.
[Magisk] Ken C:
Little hamburger menu on the left in the playstore is where you'll find it.

It's on and off unless somebody can tell me different
[Magisk] deepu458:
Yes that i y i asked the person who quoted abt the 3rd party apps scanning which i never saw that. So lets wait if he comes back with option of how to do that
[Magisk] Ken C:
I tried to post a screenshot to show you what I see and xda wouldn't let me for some reason. When I tick the protection off it says only playstore apps will be scanned. I've never seen anything about 3rd party. I'm not trying to win a contest or anything so if somebody has more info I'd like to know myself
[Magisk] TheUndertaker21:
it doesn't work samsung pie :( but i'm sure the dev knows lol
[Magisk] tsongming:
I attached a screenshot
[Magisk] winamp26:
Hi

Any body install v1.8.2 on magisk v18.0?
[Magisk] aneesh12:
delete
[Magisk] bafforosso:
Yep, working perfectly here (Pixel, Stock Android 9.0)
[Magisk] bohemist:
Yes. It works for me on OnePlus 6.
[Magisk] Dennis@@:
Dear Zackptg5,

in the attachment you fill find both of your mentioned folder, which I copied from the path that you have gave me.

EDIT: After I flashed the new version and loaded my old profile it seems, that V4A is working fine.
[Magisk] Sreekantt:
Working perfectly on Poco but sadly as earlier reported, there's no sound while using bluetooth after the module installation.
[Magisk] Zackptg5:
Well the folders are identical except the usb policy xml file in system/vendor/etc. However, the usb pol shouldn't effect non-usb devices so I'm not sure why that would be causing a problem. Regardless, just delete that file from the magisk folder and it'll be identical to 1.8.1 then. I'll make the usb pol patch optional in the next version.

Can you post a full logcat before you delete the usb file (After opening v4a)?

adb logcat -d > log.log

or with a logcat app
[Magisk] Dennis@@:
I must correct my yesterdays post. After a while V4A 1.8.2 stopped working for some reasons. Then I flashed back to V4A 1.8.1.

How can I delete my personal information from the log file?
[Magisk] krafg:
I Installed it and works, but when I chatting on WhatsApp, at the moment to send o receive messages, the audio processing stops and immediately recovers. I'm listening trough Bluetooth, and with normal headphones (with cable) this not happens.

What can I do?

Regards.
[Magisk] joedajoester:
Any idea if the new USB changes help with Android Auto? Compatibility mode DESTROYS my ears if i skip into a song because i need a negative gain
[Magisk] deepu458:
Hi [MENTION=6037748]Zackptg5[/MENTION],

Thank u so much for this Mod, trust me this is must mod for all my devices starting from last 2 yrs. Currently im using ur mod on OnePlus 6T with OOS Pie 9.0.7 Magisk V18. The issue i have is if i install the app as User it simply bootloops with ending into TWRP for RescueParty, but the same if i install this app as System its all boots fine and working. I really cant understand what i did wrong to have this issue. I tried searching in thread but no luck .

let me know if there is anything i can provide to address the issue? is this a known issue with OOS devices?
[Magisk] Zackptg5:
Any chance you could get a logcat via adb when it's bootlooping? The cause of the bootloop is the boot script that should install v4a as a user app. Since I don't have an op6t (I have the 5t and it works fine), I can't replicate the problem on my end.

In the mean time, flash zip with user app selected. Then mount magisk img in twrp and delete the v4a boot script from .core/service.d folder. Then install the apk manually after booting (it'll be in the v4a magisk mod directory)
[Magisk] deepu458:
Thanks for the reply, i was trying to attach the logcat that i got while bootlooping as user app. But the file size was 9 MB which is large for XDA. But will dod it at at the earliest possible.

PS Edit: Please find below is the logcate.

https://drive.google.com/open?id=1XcUUlxQ2LpOhBPlSzj8VmAdo-X_ro6pS
[Magisk] deepu458:
The logcat was big to attach here to XDA. So i have added to it Drive and sharing the link here : https://drive.google.com/file/d/1XcUUlxQ2LpOhBPlSzj8VmAdo-X_ro6pS/view

I have tried to find a magisk Mod that can mount magisk img in TWRP and that only mod was not working with Magisk V18. So if you any mods kindly let me know i will try the process u mentioned earlier. Currently i am using V4A as System app.
[Magisk] jcmm11:
Not a Magisk module, just a flashable zip that toggles mounting the img. (First flash mount, next flash unmount). Get sumount https://xdaforums.com/showthread.php?t=2239421
[Magisk] Zackptg5:
Updated V4A to v2.0! Lots of changes here:

* Unity v2.0 update

* Fixed limitation in zipname triggers - you can use spaces in the zipname now and trigger is case insensitive

* Fixed old boot script bug - may fix issues for some users

* Improved boot script for user app install - should fix bootloop issues

* Removed really old stuff
[Magisk] TheUndertaker21:
will this work on sammy pie?
[Magisk] Zackptg5:
It should but I don't have a samsung so try and see
[Magisk] WhoIsJohnGalt1979:
Hello, I have been using viper4android fx magisk module 2.5.0.5, material design as a system app along with audio modification and compatibility modules successfully on my s9+ since the last 7 months. Today I got an update for all the three modules. All three updated perfectly fine as always in magisk manager. But after reboot viper app kept prompting for driver to be reinstalled. Once installed, it prompts to reboot and after reboot it again prompts for driver to be reinstalled. I went back to the previous 1.8.2 module and everything is working fine. Am I doing any wrong while updating to the new module build? Appreciate any suggestions. Am on 8.0 rom.

EDIT: Thank you [MENTION=6530865]Lughnasadh[/MENTION]. I did uninstall Audio Modification Library module and reinstalled it back. It detected V4x. The last time I remember while updating it, it hadnt detected V4x, but I didnt pay attention to it. Now all the three modules are updated and working fine.
[Magisk] Lughnasadh:
I think it may be because AML didn't patch V4A. I upgraded V4A, JamesDSP and ACP just now as well and noticed AML (1.9.1) patched JamesDSP and ACP, but not V4A. I uninstalled AML, wiped dalvik and cache, then reinstalled AML (1.9.1) and it then patched all 3. Seems to be a similar problem that happened with AML 1.9? [MENTION=6037748]Zackptg5[/MENTION]
[Magisk] deepu458:
Thanks a lot. This update fixed the issue of installing V4A app as User app on OOS OP 6T.
[Magisk] TheUndertaker21:
thanks Zack but sadly still broken on samsung pie beta.

asking for update drivers
[Magisk] Zackptg5:
Can you post your vendor audio_effect files in the v4a mod directory? Samsung is known for doing weird stuff with those
[Magisk] TheUndertaker21:
you want audio effects.conf ? or something ?
[Magisk] Zackptg5:
Yessir :)
[Magisk] TheUndertaker21:
https://drive.google.com/open?id=1YZBovauebpl0c9n1C2iSYnx_SQFnl-e4

thanks Zack.

let me know if you need anything else.

cant live without viper
[Magisk] Zackptg5:
Hmmm. Can you post your whole v4a module folder?
[Magisk] TheUndertaker21:
where is that located ?
[Magisk] Zackptg5:
/sbin/.core/img

You'll see a viper4androidfx folder there
[Magisk] TheUndertaker21:
ah dont see anything like that in there.
[Magisk] Zackptg5:
.core is a hidden folder. Do you have visibility for those set in your file explorer?
[Magisk] TheUndertaker21:
lmfao

you learn something everyday

forgot about hidden files

but here it is

https://drive.google.com/open?id=1tPbgVDLT1BDdpuKpHHrDBp7eY6_hXRAB
[Magisk] Cablespider:
2.0 is working great on OOS OB9. :svetius:
[Magisk] iu1nguoi:
I'm on Nougat 7.1.1 and Viper keeps asking to install driver. I tried both this module alone and with the deep buffer remover, but none of them worked. Any clues?
[Magisk] ahrion:
Turn off audiofx.

Do you have any other audio mods installed?
[Magisk] ahrion:
I have a OnePlus 3 so you'll probably be good.
[Magisk] iu1nguoi:
What is audiofx? I only have your modules installed.
[Magisk] ahrion:
And has viper4abdroid ever worked for you?
[Magisk] iu1nguoi:
It has. I used to use this module https://xdaforums.com/showthread.php?t=3535401 before Magisk updated and broke it.
[Magisk] ahrion:
Are you still using that mod? Or do you still have it installed?
[Magisk] iu1nguoi:
No not at all. It is removed (otherwise I would still have bootloop)
[Magisk] ahrion:
Show me what's in your audmodlib folders and your audio_effects.conf. You can screenshot me the config and the contents of the top lines. Then show me what's specifically in your v4afx folder.

These are folders located in /magisk/
[Magisk] iu1nguoi:
Sent
[Magisk] ahrion:
https://drive.google.com/file/d/0BxlY-VYiFXU7OWxPRHdxNWsyYUU/view?usp=drivesdk

Try this.
[Magisk] ahrion:
AM3D is working.
[Magisk] iu1nguoi:
Still not working :(
[Magisk] ahrion:
Kind of running out of options for you.
[Magisk] iu1nguoi:
Thank you for trying :)
[Magisk] ahrion:
Do you have a system/etc/audy_policy.conf?
[Magisk] ahrion:
Here's v2.1 AM3D Zirene Sound with the unified magisk/system installer. I'll update my AM3D OP when time permits.

https://drive.google.com/file/d/0BxlY-VYiFXU7ZE5SZUNwY3F1SWc/view?usp=drivesdk
[Magisk] iu1nguoi:
I sent you my /system/etc
[Magisk] Sytis:
I got one too, but your zip completely crashed my setup. I was running OOS 4.1.0 with Magisk 11.6 and blu_spark. The only audio mod i flashed was your v4a 1.1 and after the reboot (which didn't loop) i got a blackscreen and constant vibrations. Even after reflashing (clean flash with wipe and uninstalling everything except factory reset) the ROM, Magisk, the kernel etc. the problem still persists. I haven't got a backup so i currently try to revert everything your zip did, wish me luck. :(
[Magisk] ahrion:
Are you running SuperSU or magisksu.
[Magisk] locolyric:
using magisk 13.2

install v1.4

module enable in magisk. v4a in drawer , however, unable to install driver due to no busybox detect.

But sauron already bring an busybox as module .

How to fix this??
[Magisk] romixer:
confirm, that 13 magisk breaks Viper, still in drawer, but no icon in launcher and if I bring back 12 version everything is good
[Magisk] theredbaron1834:
You don't install the driver if yoi have this module..

If it is saying that, you may have the wrong app. don't get from the play store, get from the devs web site.

Also, confirmed working on my moto g4 lineageos with the newest updates (magisk 13.2, lineage 14.1 5/22 (android 7.1.2). And Viper 2.5.0.5). The only issue is my kernel defaults to restricted selinux, and I have to switch to permissive, safetynet still passes with that though.
[Magisk] locolyric:
I get everytHing from XDA.

might be wrong steps ?

-----------------------------

........ i think v4a try to install something while i try. and cause safetynet test failed.

try to remove magisk , use v4a uninstaller and still getting test fail result.

need to reset my phone now to get my banking app works.
[Magisk] theredbaron1834:
Yeah, safetynet was patched,now fails. Hit me right after I posted this :(.( I keep a twrp backup for safetynet access anyways, takes about 10 min to backup/restore, but it works).

About viper. Use

(Viper)[https://www.androidfilehost.com/?fid=312978532265364193]. The apk that is needed with viper4magisk

Magisk, install the viper4android module.

That could be all you need. If it still has an issue...

(SELinuxModeChanger)[https://xdaforums.com/showthread.php?t=2524485]. This lets you change your kernel to permissive, allowing it to use the module. Root is needed, but provided by magisk now.

If it still doesn't work, well, I am not sure what else it could be. Sorry.
[Magisk] locolyric:
after i re-flash the rom and again the same setup. now v4a works /
[Magisk] locolyric:
although v4a state as working, but it won't process anything when i enable the phone speaker effect.
[Magisk] theredbaron1834:
Install selinuxmodechanger, and see if switching helps. As this is exactly what happen for me if the kernel is restricted. If enforcing is grayed out, that means thar it is enforcing.

Also, there is a fix for safetynet now. Check out the issues thread in magisk for a quick fix, or wait for an update.
[Magisk] vergilbt:
For switching Selinux install terminal from store, grant su permissions

status: #getenforce

to Enable SELinux: #setenforce 1

to Disable SELinux: #setenforce 0

Have to set again after reboot

Gesendet von meinem MIX mit Tapatalk
[Magisk] locolyric:
my phone is in enforce status.
[Magisk] vergilbt:
Then bring it into permissive before you start music+viper

Gesendet von meinem MIX mit Tapatalk
[Magisk] locolyric:
i force stop music player and v4a and change from enforce to permissive .

Still same result, status normal. v4a enable but not process anything.

i confirm audmodlib and v4a magisk all ok.

---------- Post added at 03:15 PM ---------- Previous post was at 03:03 PM ----------

ok. i think is the player issue. i change to another player and it works.

I not sure if the deep buffer remover module did help on fixing the problem .

but some how finally I able to use v4a in any kind of music player right Now
[Magisk] akash.mahadeshwar:
Hey i tried this module on andrioud N (7.0) , i was able to successfully install it however the app is not working i can see the app version but its showing unsupported

can u help ?
[Magisk] Didgeridoohan:
Are you using Magisk v13+? If so there are a few thing you'll need to fix to get the module working (until it's updated). Look backwards in the thread and you'll find a few script edits and permissions you'll need to do. YMMV, but it's worked perfectly for me and a few others.

Edit: Oh yeah. Setting SELinux to permissive (not recommended) should work as well.
[Magisk] zoel.fahmi:
I'm using this module /app in omniROM

Latest magisk 13.2

Nothing wrong, work flawlessly

Great job, mate
[Magisk] KenjiHannya:
Try change to FX compatible
[Magisk] stevewons:
Following your steps and finally got the module working in my device (R3S with MIUI beta). Thanks a lot!
[Magisk] jianwen03:
A3003+Magisk 13.2 users facing this issue (Enabled: Yes, Status: Abnormal, Processing:No) who find the method above not working (stuck at Enabled: Yes, Status: Normal, Processing:No) please try the method below. Change extension to .sh and set 755 permission. Works for me on sultanxda los. Remember to revert all the changes you did in the above method.
[Magisk] kresnadetea:
if i install this module when i had already dolby atmos installed, it is save?

sorry for my bad english:D
[Magisk] PraneethMv:
Yeah, i have both Dolby and V4A. Just remember to flash audio modification library before you install V4A. :)
[Magisk] Zackptg5:
Files looked like they were patched properly but samsungs do have a goofy setup. Can you take a full logcat and post it? (sorry for all of this stuff, I'm trying to see what the heck's going on lol)
[Magisk] TheUndertaker21:
nah you can ask whatver you need.

it's that dumb pie beta.

https://drive.google.com/open?id=1APa_Boif-vZZk0-DJR3PlIKAc5qIdCW8
[Magisk] diimaan:
Can anyone share the zips of v4afx 1.8.2 and aml 1.8.5 versions? Couldn't find them anywhere!

Uninstalling AML/Clear Dalvik-ART Cache and Cache and then reinstalling AML doesn't help. As my Viper asks for installing the driver again and again whenever I open.
[Magisk] Zackptg5:
Uninstall and reinstall all audio mods with aml last if needed
[Magisk] Zackptg5:
So the only thing the log is showing me is that v4a is complaining that the driver isn't set up correctly (it is though). My suggestion would be to try commenting out or deleting samcrap effects and see if removing any of them will enable v4a to work (you'll need to reboot in between).

The folder containing the files to modify is this in the v4a mod folder: /system/vendor/etc

If I had to guess, I'd try getting rid of the sa3d effectproxy first, then if that doesn't work, dha effectproxy. Just play around with it and see what happens

You could also try setting selinux to permissive but I didn't see any denials relate to v4a in the log
[Magisk] TheUndertaker21:
can't find sa3d and dha effectproxy.
[Magisk] Zackptg5:
Not system/etc but system/vendor/etc. You have multiple audio effect files. Check them all, especially the one sec.xml one
[Magisk] TheUndertaker21:
I know

I looked

still no luck.

;(
[Magisk] gloeyisk:
Updated V4A to v2.0, and everything working as well like usual :fingers-crossed:.
[Magisk] bohemist:
New update works well for me on OnePlus 6 Pie with blu_spark kernel.
[Magisk] diimaan:
Tried that more than once! No dice so far. Viper says driver not installed and AML is not detecting any mods installed. Not only Viper.

So the last working version of Viper was 1.8.2 and AML was 1.8.5.

I have Samsung S8+, and running on Renovate ICE ROM (Stock Oreo based)

Thanks
[Magisk] WhoIsJohnGalt1979:
sent you the relevant files on PM.
[Magisk] cd993:
Hmm having issues with the latest release too. Pixel 2 xl user on latest HavocOS rom.

After having driver not installing issues or successful installation and no processing, I uninstalled viper and AML, rebooted, reinstalled viper, rebooted tested it didn't work, installed AML rebooted tested and still doesn't work.

Upon that reboot it wasn't working, then after a minute or so of playing music, it pauses and then resumed, I check the viper status and it is processing and enabled, but adjusting any sound settings/effects make no difference, so technically not processing despite saying it is...
[Magisk] whalesplaho:
Anyone else experiencing dis.. When i got a call, v4a processing turns to No until i exit and relaunch v4a... Any solution please!

Thanks
[Magisk] gloeyisk:
Afaik V4A's Processing will be showed "No" if you not play any music/video on any player. Mine was the same, it's showed "No" but when I play music and recheck V4A, it's start processing like usual.
[Magisk] catharsis724:
I'm having the same issues on Pixel 2XL (AEX ROM), installed through magisk repo.
[Magisk] PSZ97:
I installed V4A via Magisk, it work just fine with spotify but my ringtones, notification, and alarm sounds become distorted since i installed V4A and still couldn't figure out how to fix it. Does anyone have a solution for this?
[Magisk] whalesplaho:
It doesnt.. I have to open v4a and exit den open v4a again!
[Magisk] Zackptg5:
Can you both post your v4a and aml module folders from your magisk img?

Also, what versions of magisk are you both on?
[Magisk] cd993:
OK this is weird, I quite literally just left if be and now it's working?! Is it the case that it needs a few mins after boot to start working?

Attached is the info you requested.

Magisk v18
[Magisk] PSZ97:
Uh, so i check it in TWRP file manager and there's no such directory listed. There is /vendor/lib64/ though but no soundfx/libvolumelistener.so
[Magisk] diimaan:
I am on Magisk 17.3, now I am back on previous versions.

Waiting for a ROM rebased update, so once I flash, I will update latest viper and post the folders if it is still showing up like this
[Magisk] rodrigoaveloes:
android pie no working on account of Busybox
[Magisk] Zackptg5:
I'm on pie and BusyBox works fine. Not sure what you mean there
[Magisk] qhsusb_bulk:
I am experiencing this with my bluetooth apt-x headphones. Only solution i found is rebooting phone. No issues with cable headphones.

OnePlus 3 OxygenOS 5.0.8
[Magisk] Zackptg5:
Try notification helper remover from the magisk repo

---------- Post added at 18:41 ---------- Previous post was at 18:40 ----------

@diimaan

Try V4A 2.1 with new aml and see if your issues are fixed.

V4A 2.1 is here! Main changelog: Usb policy patching has been removed since it's caused problems for some users. If you want those patches, there's a separate module for it on the repo now
[Magisk] zigbye82:
I installed Viper v2.1 and it seems to be working just as before. How would i know if i need to install the USB policy patcher?
[Magisk] Zackptg5:
If you try to use usb headphones with it and v4a doesn't process audio with them
[Magisk] gloeyisk:
I'm still installed V4A v2.0 and AML v1.9.1, need to clean flash of both the modules? Or upgrading is just working fine?
[Magisk] Lughnasadh:
Just upgrading worked fine for me.
[Magisk] gloeyisk:
Very well.