yashsingh1/xdaforums huggingface dataset:
[Magisk] shantam3108:
Some logs on Oreo. As soon as I start music viper status goes to abnormal and lost root. And Dolby crashing as well as sound stop until the Dolby app is opened.
[Magisk] shantam3108:
Log
[Magisk] Rom:
Personally i have decided to use unity installer zip template to setup my magisk module update, and seriously i have just make...hum, let me remember in how many seconds i have finished basics things like folders, files and properties..5 minutes, no more.

My most (and present) works time is in the devlopment of my customs commands wich will run in post-fs-data mode, so the same things that in the post-fs-data.sh file from native magisk package.

More about sounds mods compatibility, i use V4F maigks module on v14 of Magisk and now i realyze that its really an great works maked. Because i wanted to "port" several sounds mods basically makes for TWRP (no Magisk support yet), and its litteraly an "Chinese puzzle", both at the level of the code specific to each modules and files and to the domain of the compatibility and the limitations or basic bugs with Magisk.

Really we can say an huge thanks to ahrion and Zackptg5 for their works :good:
[Magisk] mttrwlnd:
Just to clarify, this is on Magisk 14.2, and the .zip was installed through Magisk Manager?
[Magisk] Rh7m3Pl4ay:
Have a bug: Magisk 14, flashed your viper module. Installation successful,but it's not processing in YouTube or SoundCloud. Just" processing tab" is listed "no". When using blackplayer- processing- "yes". Flashed deep buffer remover. No changes- same. And also in same 2.5.0.5 version back then, processing was even in system sounds, so it sounded louder. For example, when you unlocked the phone- you clearly heard the difference between unlock sound with viper off and on. To conclude: no processing with SC, Youtube and system.

I use Aosp Extended 4.6, device OnePlus 2
[Magisk] ahrion:
I'm glad more people like yourself are starting to see that Unity is a cool installer. It wasn't made for myself, and Zack isn't doing it for just these modules, but helping others easily.

XMLStartlet will be in next version as well thanks to James from JDSP.
[Magisk] SN22:
Hey.

I've read a few pages and still can't get how to make it work.

Do i need busybox? What about SElinux? Other mods like deep buffer? Im confused.

Can i get a installation guide pls?
[Magisk] Zackptg5:
So with this v4a, flash it and forget it. don't worry about selinux, it'll work in enforcing and v4a itself requires busybox so you'll need to install that. I recommend osm0sis busybox.

So flash osm0sis busybox, v4a, and that's it :)

Some devices have issues where v4a won't process sound from some streaming apps like spotify. These devices require you to flash the universal deep buffer remover zip (you can find that here: https://xdaforums.com/apps/magisk/module-universal-deepbuffer-remover-t3577067)
[Magisk] onliner:
Hello, I am a noob with the sound mods so I ask this question to the most experienced users: Which module is most recommended, Viper or Dolby? Can I use both at the same time? Thanks.
[Magisk] kwanthenewbie:
You can use both at the same time.
[Magisk] Didgeridoohan:
Oh yeah... I've been meaning to ask about that...

I've never needed busybox installed with this module. It works beautiful without, both on my OnePlus 3T and Nexus 6. I'm curious what the module does to make that work.
[Magisk] Rom:
I thinked that XMLStartlet was in current version of your zip, so i will must merge my settings to the future version..

I hope that next version will be available soon.
[Magisk] ahrion:
Changes have been pushed to the GitHub
[Magisk] Rom:
Ok so i dl again the audio modification library zip.

Thanks again :good:
[Magisk] Zackptg5:
Come to think of it, I guess since the flashing process installs the driver, busybox isn't really needed, but why wouldn't you install it? Some application is bound to use it
[Magisk] Didgeridoohan:
None of the apps I use (at the moment) need busybox (or provide their own)... I regularly check through my devices and uninstall stuff I don't currently use.
[Magisk] ahrion:
There's a lot of changes for Unity/AML v2.1. Still adding features and bug fixes before next Unity release.
[Magisk] Rom:
Yeah i have see that on your github's commits.

Now i must find the way to say to xmlstartlet that i want it add a line after several lines with no standart symbols, but i don't find in documentations the instructions about that so maybe it recognize automaticaly them nor i must indicate at each time which elements must to be keeping in original forms or must to be changing.

Actually i hesitate to contact the dev of xmlstartlet on sourceforge..

Bref in other words i don't have finish yet and begin to deviate from the original subject.
[Magisk] ahrion:
I haven't use the xmlstartlet but it does work. Ainur Sauron BETA 3 has the commands there is documentation as well.
[Magisk] Rom:
I have search in that but there isn't any xmlstartles commands, or maybe the dev have use an variant that i don't know.

EDIT: I have finally find a way to achive what i want to do, just please check your PM, it will avoid to deblater about different subject.
[Magisk] Cristiano Lira:
I can go back to Oreo to test.
[Magisk] DerpleNerple2000:
Sorry for late reply. It is on Magisk 14.2 flashed via modified TWRP on the Magisk Pixel thread. After that, I leave the recovery on stock and use flashfire with all of my zips. Reason is for some reason, Magisk and TWRP have problems mounting things and flashfire flashes them fine with automount enabled..

Tldr: Install Zip through latest flashfire on Chainfire's G+ page. Check auto mount and then flash.

Also to note, I've had these issues beforehand but the GitHub for this project has gotten a ton of updates for the installer so it might work on TWRP.. you can test this yourself.
[Magisk] andrizmitnick:
is there any reason why i can't install the driver? it's always giving me alert to check busybox or root _-_ i'm installing the module from magisk repo, i already had osmosis busybox too
[Magisk] Nye-uhls:
This is totally different from the module in the magisk repo. (Atleast the v4a part)

If you want to use this mod, uninstall the v4a module and app. Then flash the v2 version in the OP. It installs everything automatically.

Also: Working great on galaxy s6 (g920p) on nougat with selinux enforcing. (With v4a build.prop edits... Haven't tried v2 without it though)
[Magisk] sushuguru:
Mine works only with local music players, does not work with streaming apps (YouTube, Spotify and SoundCloud), processing is No, i've already have Univesal deep_buffer Remover v3.0 installed.

On Zenfone 2, LOS 14.(7.1.2), Magisk 14.2
[Magisk] Fif_:
Have you tried in compatible mode?
[Magisk] Bryanx86:
Does this work with ainur audio mk2.1 beta? I have a pixel XL and looking for a sound mod that will noticeably work on stock Oreo.
[Magisk] Nye-uhls:
Try adding this to your build.prop

lpa.decode=false
lpa.releaselock=false
lpa.use-stagefright=false
tunnel.decode=false
[Magisk] whalesplaho:
If i dnt open dolby or v4a app, it doesnt work buh wen i open apps, there's effect on sound.

Any workaround?
[Magisk] sushuguru:
Thanks, this worked for me.
[Magisk] dzidexx:
[MENTION=5357345]ahrion[/MENTION]

Hi, I have moto x style/pure, Resurrection Remix 5.8.4.

I installed your magisk modules: v4a 2.0 + audio mod lib 3.0, deep buffer remover 3.0.

Stericson's busybox, selinux permissive(with app).

Unfortunately situation is:

BT: Black player, Spotify - viper works,

Headphones - doesn't at all.

Speakers - Black player yes, Spotify no.

Additionally I installed module: Allow media server - nothing changed.

Is any way to fix it? Do you need any logs of anything?

Thanks for help.
[Magisk] lekcin18:
thumbs up, finally! tried many magisk viper. this is the only one works for me
[Magisk] nefescalanadam:
Does anyone have unistaller zip
[Magisk] pinoholo:
As stated in OP, just add "uninstall" to zip name and reflash, or just reflash zip if module already installed.

Or maybe you could just delete module in magisk manager
[Magisk] SignetSphere:
I can't get this to work. Processing is always "no". I'm on RR 5.8.5 Final (7.1.2). I also installed the AML module still nothing. I'm also using PowerAmp as my default music player.
[Magisk] Fif_:
For Poweramp to work with V4A you need to:

1. Set in V4A: Settings > Compatible Mode

2. In Poweramp, go to Settings > Audio > Advanced Tweaks and set MusicFX to enabled. Then get into the Tone/Vol screen and toggle the MusicFX switch to on. You may now have to quit or force quit Poweramp.

3. Enjoy PowerAmp in full V4A glory.
[Magisk] ChokingHazard91:
You don't have to set V4A to Compatible mode. In Poweramp settings, go to the Advanced Tweaks screen you mentioned and disable Direct Volume Control. With that setting enabled I don't have to set V4A to Compatible mode.
[Magisk] Fif_:
For me in only works in compatible mode, and direct volume control makes no difference.
[Magisk] ChokingHazard91:
Strange. But if it works, it's fine right?
[Magisk] Rh7m3Pl4ay:
Same thing, mate. Magisk 14, device OnePlus2 Aosp extended 4.6. How to make this work?
[Magisk] sushuguru:
Just turn on compatible mode in viper.
[Magisk] SignetSphere:
Thanks! This worked for me. I didn't enable compatible mode though. Still thanks a lot, now my viper4android is now integrated on magisk properly.
[Magisk] r80ies:
When I install this module I do not have the V4A FX apk installed. How can I get the app installed. I am running Pixel XL running stock Oreo.
[Magisk] andrizmitnick:
can anyone share the v2.1 module? wanna test
[Magisk] Sytis:
Just go to GitHub which is linked in the OP and download it if you want to try it out. The Dev kindly asked to not share or mirror unofficial test builds otherwise he might even close public access to his GitHub.
[Magisk] r80ies:
I just did this, but when I try to flash it says it it not a magisk module. Do I need to flash this in TWRP?

Edit: I extracted files from zip, and then created a new zip with the files. Loads perfectly into Magisk. I also get V4A processing now. One little glitch I noticed is that once I upgraded from v2.0 I had to remove the module and reflash v2.1 . Prior to me doing this I had no audio system wide.
[Magisk] dasshubham762:
My phone takes too much time to fully shut down after flashing V4afx 2.0 using magisk. Phone's screen turns off as usually after hitting power off but it runs for few more minutes which might be a problem after uninstalling this module phone shut downs quickly as before. I can't provide a log cat because after reboot logcat refreshes automatically and I don't have a pc to get logcat using adb commands.

My Device- Redmi 3S aka land

ROM- LOS 14.1 with October 5 security patch

Magisk Version- 14.2 beta (Same happens with 14.0 stable)

Please look into my issue..

Edit- Audio Mod is working fine with enforcing SElinux.
[Magisk] r80ies:
How would you edit build.prop since it is system folder? Would editing this ruin safefynet?
[Magisk] Rh7m3Pl4ay:
And.... nothing changed. Even after reboot. Blackplayer processing- yes. SoundCloud, YouTube, etc.- no
[Magisk] GalaxyS3only:
I think i got a similar problem: Audiomods (ViperFX+Dolby) work like a charm on my S3, but sometimes i get "Black Screen of deaths"...the phone won't wake up, even right after using screen stays black, buttons won't work, except longholding the powerbutton til reboot...similar problems as Quote with shutting down.

First i thought it would be LineageOS, will wait if it appears after new update again...but maybe you're right onto something there and its a bug with Magisk or the Mod....

Anyone with same problems? The Sammys seem to have this BSOD problems (a long while now?), but i'm comming from Archidroid (RIP) & didn't knew them :confused:
[Magisk] Nye-uhls:
Just use a normal root explorer like rom toolbox. It wont affect safetynet and these are not considered "dangerous props" or anything like that.

You could also do it systemless by writing it into a magisk module, but its not worth the hassle when no harm comes from doing it normally.
[Magisk] greenza:
Deketed
[Magisk] condor020:
edited
[Magisk] r80ies:
I am running v2.1 and SELinux keeps on re-enabling after disabling through V4A app (reboot usual fixes it temporarily). Then after a few times the V4A will stop processing all together. I know v2.1 is still in testing so I am not expecting a fix. This is for informational purposes. Thanks

Edit 1: V4A continues to stop processing audio randomly. I created a new zip from latest commits, but it is still very random on what is stopping V4A from processing.
[Magisk] DJBoxer:
Thanks [MENTION=5357345]ahrion[/MENTION] this works perfect for Samsung 550T1 with magisk v14.
[Magisk] Navneetae`:
i am not able install viper drivers..

my setup: AEX 4.6 + Radon 5.6 (selinux: permissive) + magsik 14.0

after i flash v2 module and run ,it shows busybox not compatible??

tried clean installing as well..
[Magisk] condor020:
Have issue with lineage or other custom and phone call when installing viper4android and even by disabling it the phone call are horrible, anyone have got this issue
[Magisk] 0kk0:
I've got exactly same problem! :eek:

Already post a issue on github: https://github.com/topjohnwu/Magisk_Repo_Central/issues/138

My problem:

I've noticed something strange. Yesterday i powered off my HTC 10 and after a minute.. wanted to power it on but seems that it wouldnt power on anymore.

Long story short.. and after testing a lot..

When i disable all magisk modules.. when my phone turns off.. it takes few seconds until i can power it on again.

But when i install one module (doesnt mather what module) i takes a minute or sow before i can power on my phone again... Seems likes it powered off but it isnt yet i think?

Looks like it completely powered off but i think something causes delay or hanging or something like that?

When i enable 2 modules.. this time again is longer... 2 minutes or so...before i can power on my phone again.

When i disable all modules again... my phone turns off and after 5 seconds or so i can power it on again.

PS:

This is viper topic so let me notice that i also made a viper4android with super audio quality driver available as a magisk module.

More info here: https://xdaforums.com/apps/magisk/module-viper4android-v2-3-4-0-super-t3687186/post74117435#
[Magisk] Dpat09:
I have the same issue!

I'm in the exact same boat. Although turning on compatible mode for me makes all streaming players Play Music, Spotify. etc work.

Youtube breaks for me in compatible mode. I tried the deep buffer remover module as well. It did not work.

On Xiaomi Mi 5, Paranoid Android 7.3.0, Magisk 14 (Stable)
[Magisk] billiepreks:
Hi everyone,

I've flashed v2.0 on Magisk Manager (v5.4.0) with Magisk 14.2. Both modules, AudioMod Library and Viper4android, are here on Manager, but I haven't any Viper app on my phone.. How can I force the app to appear ?

Thanks you
[Magisk] Zackptg5:
This v4a isn't on the manager (the manager one is different). Flash the one on the op. There's also no need to flash audmodlib because it's included in this v4a

---------- Post added at 11:45 PM ---------- Previous post was at 11:42 PM ----------

Your issue may be caused by messing with selinux. Don't disable it through the app. The module includes some sepolicy statements to allow v4a to work in forcing mode
[Magisk] onliner:
After several attempts I am not able to activate audio processing in oreo, and after reading several previous comments I see that I am not the only one, so I offer myself to be tester if necessary. :fingers-crossed:
[Magisk] condor020:
On Leeco Lepro3, when viper4android is installed, it almost impossible to make phone call with speaker, the quality is so bad, weirdly when the phone play in speaker is really good, anyone have a clue where i could dig to fix this ( it does the same on Lineage or AICP which is the same architecture however but still )
[Magisk] billiepreks:
I've tried v4afx_v2.0.zip, but despite the modules appearing in the Modules section of Magisk Manager, no Viper4android application appears in my applications, and if I try to install from xdaLabs an app like Viper4android FX Materialized, this application tells me that "the drivers needs to be reinstalled" everytime, and only "no" in Drivers status

Edit: With the Viper4android module of Manager repo the Viper app appear, but with same result "the drivers needs to be reinstalled"

Edit2: same with Viper4ARISE zip (who works with arise_customize.prop), the installation seems great, the app appear on my phone.. but didn't work, "the drivers needs to be reinstalled"...
[Magisk] ysalunke007:
How uninstall Viper4AndroidFX from magisk

I've installed it & works perfectly fine, later on I deleted it from magisk by mistake when I reinstalled it always ask to install driver on every reboot but still not works

So uninstall it completely to install it like new..
[Magisk] Nuovo Imperium:
Convolver

Hi Guys,

Everything is finally working but the Convolver function. :confused:

I have no idea what should I do to make it okay. Any guess?

Xiaomi Redmi Note 4 (SnapD, MIDO), MIUI8 - Latest Global Stable ROM (not dev.). Magisk v14 + 5.4.0. App Version.

Here are the installed modules:

10Q!
[Magisk] Zackptg5:
Well you have the wrong v4a module installed. This one isn't on the repo yet so either go to the thread for the be you have installed, or remove it and the permissive module (don't need it with this one) and install this v4a from the op
[Magisk] Nuovo Imperium:
Deactivated both modules, downloaded the one from OP and installed it thru Magisk. New V4A icon appeared and the app now has the original UI skin. The settings are okay: Yes, Supported, Normal etc.

Convolver's still not working. :/ Looks like you know what you are doing; I'm willing to sacrifice Magisk and use Chainfire's SuperSU if you tell me, that this all is Magisk's fault and it will be perfect with SuperSU. :)

Thank again.
[Magisk] Fif_:
You need extra files for the convolver to have any effect. You can find them on the Viper's Audio website.
[Magisk] Nuovo Imperium:
Like what? I have my fav .IRS files loaded to Kernel folder. I used V4A for years on Galaxy Note 3, never needed any "extra" files, so I dunno. Viper's Website is pretty simple, haven't found any useful thing there. Please explain bro. :)
[Magisk] xingyakong:
Anyone knows how to install for android 8.0.1 ?
[Magisk] r80ies:
I have uninstalled 14.2 magisk and installed 14.3. I have only one other module installed and it is Busybox NDK from osm0sis. However, I still get abnomral status.
[Magisk] GalaxyS3only:
I did not find the reason for my Black screens (or maybe complete poweroff?), but i know now that it has to be a bug with LineageOs or Magisk, cause its there even without installed modules...

I wiped and flashed newest Lineage Nightly + Magisk but the problem stays: black screen, no buttonwork exept longhold powerbutton 'til reboot...

Any ideas?
[Magisk] alatnet:
Don't know if this has been said yet but I was able to get this working perfectly in Lineage OS 14.1 for Nexus 6.

I used the Github version of V4A AML so I don't know if this will work with previous versions.

Here's what you do.

1. Install V4A AML.

2. Create a script with the following contents in "/magisk/.core/post-fs-data":

3. reboot

4. check V4A app (can skip this if you want, just used to verify if it says that it needs to install the driver which you don't do)

5. soft reboot (important!)

6. enjoy!

This method has worked for me. So if you reboot your device you are going to have to do a soft reboot in order to get v4a aml working.

EDIT:

You dont need the script, just try soft rebooting your device.
[Magisk] ahrion:
That's already included in AML.
[Magisk] alatnet:
The post-fs-data?

Cus i havent tried without it but i had to do a soft reboot in order to get it working.
[Magisk] ahrion:
So I had it originally at post-fs-data. Then I switched it to late start. Then with the new one we switched back to post fs data. For whatever reason Magisk executes late start service too late which causes some scripts to not execute. With the upcoming version it is reverted.

It works for other root, rootless, and SuperSU late start, but not Magisk.
[Magisk] alatnet:
ah, well, i'll try removing the script that i created in post-fs-data and try it out. might still need to do a soft reboot either way.

EDIT: the script i used in my post-fs-data wasnt needed but a soft reboot was. wierd...
[Magisk] kallekula33:
Hi, this is probably a rally dumb question but I'll ask it anyway. I'm on rooted OP5 with Magisk. I have installed the Viper4Android module. The problem is how to use it? Or do I need to install anything else? I was thinking of taking advantage of this together with Spotify but perhaps I'm missing something here. Again, sorry if my question is a really nooby one. Apologies in advance.
[Magisk] marvin6six6:
thanks for this ahrion! finally, got it working on my s8. cheers!
[Magisk] Fif_:
In theory, yes, but while [MENTION=4902992]alatnet[/MENTION] has these two lines:

My /magisk/viper4android/post-fs-data.sh contains:

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

This is with 2.5.0.5 of ViPER4Android on Magisk 14.3.

Likely a bug, and may explain why I have to use compatible mode [emoji6]
[Magisk] ahrion:
We changed it to Magisk policy with 2.1
[Magisk] whalesplaho:
[MENTION=5357345]ahrion[/MENTION] i always need to launch v4a and dolby everytime i connect headset before dey can process sound.... Any workaround please!

Thanks
[Magisk] Fif_:
That's not the problem I was pointing out.

If you look course the ViPER4Android post fs does the same SELinux policy manipulation twice on audioserver_tmpfs.

It should use audioserver_tmpfs and mediaserver_tmpfs.
[Magisk] ahrion:
It looks fine to me. I'm not following you.
[Magisk] FabreFaction:
Hi all

I can't get this to work........................

I know I'm probably doing something wrong but I don't know what, any advice much appreciated.

I downloaded v4afx_v2.0.zip from AndroidFileHost.

I checked the MD5 and all is okay.

Rebooted into recovery, flashed the ZIP file.

Back into Android and I have the icon for Viper4Android FX.

V4A launches okay, I can select different options and Master Power I can turn on and off.

No matter what I do I can't seem to get V4A to process my audio on speaker or headset.

My Driver Status never changes:

Driver Version: 2.5.0.4

NEON enabled: Yes

Enabled: Yes

Status: Normal

Audio Format: Supported

Processing: No

Sampling Rate: 48000

I am running a v7.1.2 Android custom ROM - Resurrection Remix v5.8.5, with Magisk V14.0.

SELinux status is Enforcing

I'm not running any other Magisk modules.

The only Magisk modules I have installed are from the v4afx_v2.0.zip:

Audio Modification Library v2.0

ViPER4Android FX v2.0 (2.5.0.5)

Any advice much appreciated........................... FF
[Magisk] KNGPN Q w Q:
I've had this exact same issue as well on my Honor 5X, also running RR with Magisk. Disabling "CM Audio Service" should fix it ;)

In case you don't know where to find this:

Open "Settings" -> "Apps" -> use the tree dot menu to activate "Show system" -> look for and click on "CM Audio Service" -> hit "Disable". Reboot just to be sure and it V4A should be able to process the audio.

Enjoy!
[Magisk] FabreFaction:
Thanks for coming back so quickly.

I did what you suggested, rebooted and the CM Audio Service is frozen/disabled, but I still can't get V4A to work.

Did you have to reflash V4A after disabling CM Audio Service?
[Magisk] Fif_:
You must have gotten it because the problem is fixed in 2.5.0.5.

By the way your screenshot didn't look like V4A's postfs script, mine contains only two SELinux policy injections.
[Magisk] KNGPN Q w Q:
Not that I can remember, but you can definitely try doing so
[Magisk] uts58:
google play is tripping off and saying this app is unsafe. please check
[Magisk] Didgeridoohan:
That's interesting. I let the Play store scan my device just now and it did not trigger. And I'm using this module...