yashsingh1/xdaforums huggingface dataset:
[Magisk] preference:
I love this version of Viper but it's not installing on my 6p, nitrogen rom. I removed audiomodlib, I removed Viper, I removed udb, and reinstalled them with no luck. The Viper app just doesn't show up, and I manually installed the apk but it said the driver was missing. The command line entries that you get from installing modules said everything was successful.

Gonna try using Viper for magisk14+, and I'll let you guys know how that goes. Would love to stick with this version, but I guess since I don't need audiomodlib, I may need to stick with the other version.

Appreciate any help I can get.
[Magisk] ahrion:
The only time a mod needs approval is when it is initially added to the repo. Pretty much what happens is topjohnwu clones our personal repo, and then makes us contributors. Then we are freely to do what we'd like.
[Magisk] preference:
I switched to ABC rom on Angler and it seems to work again. Thank you for your hard work.
[Magisk] Hellsblade:
I seem to have the same problem the convolver stopped processing or the irs file not loading.

Can you elaborate on the exact steps. I never experienced this before. Convolver is the main reason I am using V4A. Thanks in advance

Edit: Solved my own problem. I had a kernel subfolder in my kernel subfolder. Moving the irs files to the kernel folder solved the problem ?
[Magisk] zoel.fahmi:
Microphone doesn't work, does that because of this app?
[Magisk] ilbert:
I tried the menu thing, exit the app and re-open it actually makes it process, but I'd have to do that every time I get in the car..
[Magisk] Zackptg5:
That happens on my bullhead. Solution is:

Install universal deep_buffer remover

Then when you first boot your phone, toggle master power switch in v4a

This is an old v4a bug, not mod specific so there's not much we can do about it
[Magisk] TahirZX:
Installed the latest udbr from magisk repo and installed through it too but I still don't see any processing in v4afx in youtube.

Any idea why? I'm on RR 5.8.4 nougat 7.1.2 HTC Desire Eye

Local music works fine with v4afx processing just that even after installing udbr there is no processing on YouTube.

I flashed udbr after flashing v4afx and Dolby Atmos
[Magisk] Zackptg5:
Just had this pop up with another user. If you have art optimizer or any kind of mod like that, remove it and the app should then show up. Installing the app manually will break things
[Magisk] RisingNoob:
Sorry to ask, what is aml? I suppose that delete all folders for aml should mean delete all the folders regarding V4A?

Regarding the rest I can do, I'll get back to you as soon as I can.
[Magisk] Zackptg5:
AML=audmodlib (audio modification library)

Easiest way to do it is to just uninstall and reinstall magisk
[Magisk] ilbert:
Putting V4A in compatible mode did the trick.
[Magisk] TahirZX:
[MENTION=6037748]Zackptg5[/MENTION]

[MENTION=5357345]ahrion[/MENTION]
[Magisk] mmichaell:
Help

I can't install the driver...

Keeps showing the message 'Driver install failed: Unsupported android system or ROM'

I've tried a lot of things, but can't make this work...

I'm on SupermanROM.
[Magisk] Didgeridoohan:
If the module installs properly you don't have to install any drivers. Try getting the module to install properly, don't focus on the drivers.
[Magisk] andre0005:
Is there a way to get this to work on oreo? Running a pixel 2 xl. the module installs properly but i can't get it to process anything.
[Magisk] Badger50:
Did you disable music fx?
[Magisk] andre0005:
Yes i have.
[Magisk] Badger50:
https://xdaforums.com/pixel-2-xl/how-to/guide-magisk-root-snoke-kernel-t3701930

This is the guide I used. Hopefully it helps you out :good:
[Magisk] andre0005:
Thanks a lot. That looks like quite a hassle tbh. I'll probably just wait for this module to be updated.
[Magisk] Golf c:
Have you tried Viper settings/turn on dev mode/disable selinux? Working for some of us
[Magisk] erak606:
Hi, this is a general question about the functionality. I'm currently on a OnePlus 5 with a USB-C to USB-A OTG cable that's connected to a USB DAC, the ZuperDAC by Zorloo. I'm just wondering why the settings seems to think it's a Phone Speaker instead of using the USB/Dock menu.
[Magisk] andre0005:
Tried turning on dev mode with no luck. Probably won't change selinux state only to get this to work. Thanks for the advice though.
[Magisk] FSMcas:
Vipder is systemless and does not disable OTAs?
[Magisk] joedajoester:
Is it possible to get the old viper UI? The new one annoyingly makes you go to the output device tab and then you have to tap equalizer for it to switch to the proper one. The old viper app would automatically switch the profile.
[Magisk] bluuquthug:
Sorry for newbe question, can someone help my problem? Have tips for that 'no processing' notif?

OP 3T with magisk 14.3
[Magisk] ScottIsMyName:
Attached are 2 screenshots from installing magisk on the Pixel 2 XL with november security updates. Viper does not work until you turn enforcing off.

Here is the post-fs-data script in /magisk/audmodlib file:

#!/system/bin/sh
SH=${0%/*}
SEINJECT=magiskpolicy
AMLPATH=/magisk/audmodlib
MAGISK=true
XML_PRFX=/magisk/audmodlib/system/xbin/xmlstarlet
SYS=/system
VEN=/system/vendor
MODIDS=""
test -d $SYS/priv-app && SOURCE=priv_app || SOURCE=system_app

# AUDIO EFFECTS
CONFIG_FILE=$SYS/etc/audio_effects.conf
HTC_CONFIG_FILE=$SYS/etc/htc_audio_effects.conf
OTHER_V_FILE=$SYS/etc/audio_effects_vendor.conf
OFFLOAD_CONFIG=$SYS/etc/audio_effects_offload.conf
V_CONFIG_FILE=$VEN/etc/audio_effects.conf
# AUDIO POLICY
A2DP_AUD_POL=$SYS/etc/a2dp_audio_policy_configuration.xml
AUD_POL=$SYS/etc/audio_policy.conf
AUD_POL_CONF=$SYS/etc/audio_policy_configuration.xml
AUD_POL_VOL=$SYS/etc/audio_policy_volumes.xml
SUB_AUD_POL=$SYS/etc/r_submix_audio_policy_configuration.xml
USB_AUD_POL=$SYS/etc/usb_audio_policy_configuration.xml
V_AUD_OUT_POL=$VEN/etc/audio_output_policy.conf
V_AUD_POL=$VEN/etc/audio_policy.conf
# MIXER PATHS
MIX_PATH=$SYS/etc/mixer_paths.xml
MIX_PATH_DTP=$SYS/etc/mixer_paths_dtp.xml
MIX_PATH_i2s=$SYS/etc/mixer_paths_i2s.xml
MIX_PATH_TASH=$SYS/etc/mixer_paths_tasha.xml
STRIGG_MIX_PATH=$SYS/sound_trigger_mixer_paths.xml
STRIGG_MIX_PATH_9330=$SYS/sound_trigger_mixer_paths_wcd9330.xml
V_MIX_PATH=$VEN/etc/mixer_paths.xml

# SEPOLICY SETTING FUNCTION
set_sepolicy() {
if [ $(basename $SEINJECT) == "sepolicy-inject" ]; then
test -z $2 && $SEINJECT -Z $1 -l || $SEINJECT -s $1 -t $2 -c $3 -p $4 -l
else
test -z $2 && $SEINJECT --live "permissive $(echo $1 | sed 's/,/ /g')" || $SEINJECT --live "allow $1 $2 $3 { $(echo $4 | sed 's/,/ /g') }"
fi
}

set_sepolicy audioserver audioserver_tmpfs file read,write,execute
set_sepolicy audioserver system_file file execmod
set_sepolicy mediaserver mediaserver_tmpfs file read,write,execute
set_sepolicy mediaserver system_file file execmod
set_sepolicy $SOURCE init unix_stream_socket connectto
set_sepolicy $SOURCE property_socket sock_file getattr,open,read,write,execute
set_sepolicy $SOURCE,audio_prop

# MOD PATCHES
if [ ! -d "/magisk/ViPER4AndroidFX" ]; then
MODIDS="${MODIDS} ViPER4AndroidFX"
for CFG in $CONFIG_FILE $HTC_CONFIG_FILE $OTHER_V_FILE $OFFLOAD_CONFIG $V_CONFIG_FILE; do
if [ -f $CFG ]; then
sed -i '/v4a_standard_fx {/,/}/d' $AMLPATH$CFG
sed -i '/v4a_fx {/,/}/d' $AMLPATH$CFG
fi
done
fi #ViPER4AndroidFX

if [ "$MAGISK" == true ]; then
for MOD in ${MODIDS}; do
sed -i "/magisk\/${MOD}/,/fi #${MOD}/d" $SH/post-fs-data.sh
done
test ! "$(sed -n '/# MOD PATCHES/{n;p}' $AMLPATH/post-fs-data.sh)" && rm -rf $AMLPATH
fi

echo "Audmodlib script has run successfully $(date +"%m-%d-%Y %H:%M:%S")" > /cache/audmodlib.log
[Magisk] danmaman:
[MENTION=2133630]skaforey[/MENTION]

for me too on oneplus 3T OB 18 Oreo

it works only if i install [MODULE] Magisk SELinux Permissive Script

then it works

on nougat i had the enforcing script in post-fs-data

#

# V4A Magisk support script

# by LazerL0rd @ XDA

#

magiskpolicy --live "allow audioserver audioserver_tmpfs file { read write execute }"

magiskpolicy --live "allow audioserver audioserver_tmpfs file { read write execute }"

but now on Oreo it doesn't work anymore
[Magisk] y2klol:
I installed v4a through magisk and when I tried using it I can't tell a difference. I went to settings and set FX Compatible Mode to "Compatible" and I also rebooted my phone. went to the headset profile and turned on master power then ViPER Bass to Max (and turned on) and I couldn't hear a difference. I tired this with both my shure215 and hd600. I also tried different settings like clarity, surround, etc and no difference. The only thing that gives indication that it's working is that when I turn master power on/off the audios discontinues for a sec then comes back, but sounds the same. This is using spotify.

I tried increasing playback gain and it didn't get louder.

I moved /magisk/v4a/system/etc/audio_effects.conf to /magisk/v4a/system/vendor/etc/audio_effects.conf but when I got to /magisk/v4a/system/etc/audio_effects.conf there was no file to move. Can anyone help?
[Magisk] emuandco:
Current system is in my sig. Problem I have is that V4A works on Oreo, but any application running exclusive like Pokemon Go are crackling and the app has slowdowns.
[Magisk] FullWipe:
Deleted
[Magisk] Inchworm333:
Found a fix for Oreo. Go into viper4android and under settings enable developer and click disable SELinux
[Magisk] emuandco:
Not really a solution. SELinux is there for a reason. Security >>>> Viper4Android IMO
[Magisk] Didgeridoohan:
Have anyone on Oreo that is having issues with V4A tried something like this?
[Magisk] SilvrDrgn:
Device = Google Pixel 2 (non-XL) with November update. Patched stock boot.img via Magisk Manager.

Magisk v14.5, Magisk Manager v5.4.2 (screenshot attached).

Installed V4A module by ShadySquirrel. FX Compatible Mode = Normal. It works, but only if I set SELinux permissive via the V4A settings. Not a setting I would like to keep. Would rather be able to run in enforcing.

Via Magisk Manager, uninstalled the ShadySquirrel module and rebooted. After reboot, attempted to install V4A 2.5.0.5 via Magisk Manager. It inflates the ZIP file and shows the text below after the module banner. I do have the Audio Modification Library v2.2 and Universal deep_buffer Remover v3.2 installed.

End of Magisk Manager install log:

- A/B partition detected, current slot: _b

- Mounting filesystems -

Mounting /system, /vendor, /data, /cache

! Device skip_initramfs detected

! Magisk is not activated!

Failed!

! Installation failed

EDIT: Uninstalled Audio Modification Library via Magisk Manager and rebooted. Universal deep_buffer Remover still installed. Flashed V4A from OP via TWRP beta1 for Walleye. FX Compatible Mode = Normal. Same issue in that it only appears to be operable when setting SELinux to permissive. Will put links to TWRP recovery.log and post-fs-data.sh script at bottom of this post.

These links are to my Box.com account. If they don't display, just click the "Download" link in the middle of the page for each one.

Magisk Manager v5.4.2 screenshot

TWRP recovery.log

post-fs-data.sh script
[Magisk] SilvrDrgn:
[MENTION=6037748]Zackptg5[/MENTION], please see post #1049 in this thread. In there, I have links to the files you requested from my TWRP beta1 for Walleye flash.
[Magisk] Didgeridoohan:
That's probably because this module (and other AML modules) use a custom util_functions.sh file (instead of the other included in Magisk) which in turn means it's susceptible to a bug recently found with module installation. [MENTION=4470081]topjohnwu[/MENTION] fixed the bug in Magisk, but [MENTION=5357345]ahrion[/MENTION] and [MENTION=6037748]Zackptg5[/MENTION] are gonna have to look at fixing it on their side...

Edit: it only happens on Magisk v14.5+.
[Magisk] Zackptg5:
Fix is in the works :)
[Magisk] SilvrDrgn:
For the other issue with installing from Magisk Manager, in the Magisk thread (LINK), they mention this:

"As I mentioned in the release note, the module you're installing does not use my util_functions.sh. Instead they use their own, which of course would not meet the changes Magisk have done internally.

I have pulled all logic from the module template and place them in Magisk's universal utility scripts for a reason, please ask the developer of the module to update the module"
[Magisk] greenawatterson:
Hey guys, I have this old viper4android magisk module. And when I check the download section, there's a new module update. When I see the changelogs, it said that I must clean install the module. So, what does that mean? Should I remove the module first then flash the new one or just flash it over? Thanks.

*I don't know if this is the modded one or not
[Magisk] Didgeridoohan:
Uninstall Audio Modification Library and ViPER4Android FX (remember to save the effect profile first, so you don't have to set it all up again later). Then install the latest ViPER4Android FX... Done.
[Magisk] DeKiesel:
I installed v4afx_v2.2.zip through magisk and rebooted. V4A said "Enabled: Yes" but "Processing: No" and changing settings while playing music didn't have any effect on the music.

I marked "Viper4Android FX" and "Audio Modification Library" for deletion in magisk and rebooted. After rebooting I installed v4afx_v2.2.zip again.

Now it says "Enabled: No" and "Processing: No".

What can I do to get V4A to work? I am on Android 7.1.2 (Resurrection Remix) with a non-enforcing kernel. Magisk 14.0.
[Magisk] DarkDestiny08:
Guys the recent updates to AML are awesome.

I can now use Viper, Dolby Atmos and AM3D side by side along with Samsung SoundAlive on my Stock ROM and it sounds awesome!

Thanks a ton devs!

It didn't work for me before the new AML update.

Samsung Galaxy S6 G920I

Android 7.0 Nougat Stock

Rooted with Magisk v14.5

SELinux Enforcing

Keep up the good work!
[Magisk] chudy_85:
I cant install latest 2.2 on my p9 witch magisk manager 5.4.3 and magisk 14.5. I install by twrp but it broke my bluetooth comunication and when i install 2.3 its install correctly by magisk manager but lost viperfx apk and when i install manual its want install drivers
[Magisk] Scottay5150:
This should work on my Pixel XL 8.1?

---------- Post added at 05:28 AM ---------- Previous post was at 05:27 AM ----------

This should work on my Pixel XL using 8.1?
[Magisk] iskandar1023:
Did anyone tried this on 3T Oreo Oxygen os? It kinda brokes all of my installed module if the "Audio Modification Library" module is enabled. I use Magisk 14.3

Here is magisk log with the module disabled: https://hastebin.com/gadobidoci.js

With the module enabled: https://hastebin.com/laperiwehu.hs

Please tell me if i miss something, thanks.
[Magisk] Schrotty35:
Can not install on my Oneplus 5T and Magisk 14.5

Log:

https://hastebin.com/uzubuwocof.sql

https://www.file-upload.net/download-12834617/install_log_20171126_083936.log.html
[Magisk] shantam3108:
It's not compatible with 14.5 yet
[Magisk] Schrotty35:
Please update.
[Magisk] IThinkALot:
Hi! I tried to flash this using magisk but it only works on youtube, it doesn't work on some other music streaming app like spotify even on my stock music app on my device and when I try to use it with my stock music app it renders my audiofx useless like it doesn't work anymore. Is this normal? Sorry for this noob question lol
[Magisk] Darkside1984:
Has anyone gotten it to work with Dolby / Dolby Atmos? I've a OnePlus X running on Oreo Unofficial AOSP Rom and Magisk 14.2. ViperFX module works properly but when I flash Dolby (in different versions), it get stuck when I play any Music app...
[Magisk] danmaman:
we have to wait till update comes....for OREO

for those who don't want to wait can install Deuteronomy 2.94 aroma

https://androidfilehost.com/?fid=457095661767141554

with permissive kernel or the permissive magisk script

and the video here

https://www.youtube.com/watch?v=BC8JkAH2bdg

cheers
[Magisk] xflowy:
getting "magisk is not activated" when trying to apply the script via magisk (paradox). i'm on pixel 2 xl with (root) patched electron kernel and oreo 8.0 nov.

any ideas?

thanks much!
[Magisk] Golf c:
Have you tried flashing in Twrp?
[Magisk] Didgeridoohan:
That's a bug with this module that is being worked on.
[Magisk] xflowy:
should i run the uninstaller zip (which has been talked of here) or didnt the (failed) routine apply/install anything?
[Magisk] redpoint73:
I have this mod working, but v2.0 on my 3T (on Oreo OOS and Magisk 14.3) and SELinux permissive mode (using Magisk module).

Couldn't get v2.2 of this module to work, including wipe/clean flash of Oreo and multiple installs/uninstalls of the module, install with TWRP, SELinux permissive, etc. The module seems to install properly. But when you open Magisk Manager, it always says for the V4A mod (in red) "changes will occur after reboot" (or something like that). No amount of rebooting will get it working (V4A app does not appear in app drawer). It always acts like I just installed the mod, and need to reboot (even though I already did many times).
[Magisk] ahrion:
Disregard.
[Magisk] pjprofili:
I'll second that.
[Magisk] joedajoester:
Is it possible to manually install this module like through twrp or similar? I can't live without viper and I need the newest 8.1 DP2 so I can take videos for vacation without the messed up audio on the 2 xl.

Thank you!
[Magisk] Zackptg5:
V4A has been updated to the latest aml and so all issues with magisk 14.5 should be solved (as well as those with pixel 2 [MENTION=4789334]joedajoester[/MENTION]).

Good ol' V4A 2.3.4.0 with super quality driver has also been added in and you can choose between it and the newer one during install now :)
[Magisk] joedajoester:
Awesome! I love the older ui. Sadly though, after flashing it prompts me to install drivers, even after setting selinux to permissive. Could just be me since I'm on 8.1 DP2. Things are notorious for not working on the betas. Anyone else getting success? All I did was flash the zip and it comes with AML.
[Magisk] Zackptg5:
Works fine for me on 8.0 but I've never tried 8.1. Driver should already be installed and it should work with selinux set to enforcing so it must be something with 8.1
[Magisk] tom.android:
How to new v4afx-v2.3 work with magisk 14.5. ? Thank you.

"error waiting to select version"
[Magisk] Zackptg5:
? You need to select what version, it tells you in the output on the screen. Press vol up for new or vol down for old
[Magisk] SilvrDrgn:
What is recommended way to remove 2.2 and install 2.3?
[Magisk] Zackptg5:
The upgrade process is worked out now so you can just flash v2.3 and you're good to go :) It'll upgrade aml automatically, uninstall v2.2 of mod, and then install v2.3 of mod
[Magisk] SilvrDrgn:
OK, via TWRP still the best way to go with that?
[Magisk] papzi57:
Something I do not understand.

I successfully installed the module with Magisk 14.5. Installation without error. But I can not see the application icon between the applications or the list. Where is?

I'm on Oxygen 27 Beta Oreo.
[Magisk] redpoint73:
I had to go back to the V4A module v2.0 for it to work correctly on my 3T running Oreo.
[Magisk] DaveedDB:
Good job man you're the real deal you an ahrion are doing some great work
[Magisk] Frenzi2012:
I'm on AOSP Nitrogen OS OREO for redmi note 3 pro (kenzo), i have installed magisk 14.3. i need to install busybox before install this from TWRP? any guide?
[Magisk] MEKCHR:
new version *2.3* works perfectly, installed via twrp with magisk v14.5, thanks alot
[Magisk] Frenzi2012:
can you describe steps? only flash from twrp, i need install some module before? like busybox?
[Magisk] MEKCHR:
1- download latest version

2- reboot to twrp

3- flash the zip

4- during flashing it will say press vol+ "volume up* to install new driver or press vol- " volume down" to install old driver, choose what you want

5- in will continue installing, after it finishes reboot to system, you ll see the viper4android icon in app drawer + the module in magisk manager

and that's it
[Magisk] :
I would like to say that after flashing this newest module version and audio mod library v2.3 it totaly bricked my speaker sound on my HTC 10. Nothing could fix it except flashing RUU.
[Magisk] Frenzi2012:
abdroid 7.1.2 or 8.0?
[Magisk] MEKCHR:
7.1.2
[Magisk] sillygooes:
gGot it working with the Viper4Arise 2.5.0.5 and it works wonderfully (as somebody in the thread suggested)

Magisk 14.5

Android Oreo

Oneplus 3T
[Magisk] mamama07:
OP3, oxygen 5.0 (mean android Oreo), last magisk beta and mod 2.3. after install it is successful but no app into app drawer. Someone have same thing?
[Magisk] Aaiight:
Flash viper4arise in twrp instead, that should work.

And you'll need magisk permission script for oreo aswell.
[Magisk] mamama07:
But I'd like to have this simple audio mod viper4android so I prefer just w8 for next, maybe proper version.
[Magisk] Zackptg5:
Can you post the magisk log (you can get it from the magisk manager)? Thanks
[Magisk] Taebom:
8.1 dp2 here for 2xl and a no go as well :(
[Magisk] joedajoester:
Sorry if it's off topic but it might help some people who are in the same boat as us with a pixel 2 on on the 8.1 beta.

I did some digging and found a thread where someone was wondering the same thing and an awesome dev posted a fix. Make sure you look at the entire first page, he explains what you have to do. Also the processing doesn't seem to stick after one or two songs so you need to enable compatibility mode.

Here's the post: https://xdaforums.com/showpost.php?p=74681544&postcount=8
[Magisk] Taebom:
I already tried that as I posted in that thread u linked before I posted here
[Magisk] bkkzak:
[MENTION=5357345]ahrion[/MENTION] and [MENTION=6037748]Zackptg5[/MENTION] (Or, please, anybody else too!)

I had originally posted this in a magisk support thread, but it appears that now I can install all modules (by flashing osm0sis's busybox module first) and they all function except yours (I'm trying to use V4A and Dolby). I'm beginning to wonder if the commonality is the AudModLib component; mainly because other complex modules like the xposed magisk module works fine (so does Youtube and emoji changer). But I can't code or anything yet so I am lost.

It would mean a lot if you could take a look at the logs (and I can provide more if you want me to log certain scenarios or the like) and see if this problem is with your modules or something else like magisk. I am completely willing to help in any way I can, just let me know!

I appreciate your modules and am excited to try the old version v4a, thanks for the ability to select! I just need to get thru the learning curve from going to a Pixel xl from a 6P..
[Magisk] anware:
App not displayed in drawer

I've been facing the same issue on Open Beta 18. Flashed Magisk 14.5, and V4A v2.3 from this thread. The installation in TWRP shows no errors and I can see the module in Magisk Manager. However, there is no app icon in the drawer to change any settings. I'm at my wit's end trying to figure out how to get the app to show up. Can anyone help? I'm sorry if this question is being asked unnecessarily, but as the 2.3 version is just a couple of days old, I was hoping somebody fixed this issue for themselves?
[Magisk] mamama07:
Ofc I can. Btw it was done on clear system, no other modules (I only install busybox but not from module, because apps didn't see this BB from module. I use app from market instead).
[Magisk] M4TT3X:
I have the same thing... ? let's wait and hope for a fix asap.
[Magisk] Hellsblade:
For me the latest version seems to work fine.

I get two v4a icons and can switch between the two by installing the driver and reboot. I tried both versions but the 2.3 shows 44.1 khz when active and 2.5 shows 48khz. I don't know if this is how it's supposed to work, but I think I will stick with 2.5 version.
[Magisk] mamama07:
Something else about your device and config?
[Magisk] Zackptg5:
Have you tried v2.3? I see in the logs you used 2.2 and quite a bit has changed there, especially with mounting and such (2.3 now uses the actual magsk util_functions)

---------- Post added at 08:53 ---------- Previous post was at 08:50 ----------

Looks like it didn't install properly. Can you send me your magisk img so I can see what's there - and what's in some of the files?