yashsingh1/xdaforums huggingface dataset:
[Magisk] mmarcz:
I'm running wireless AA via a carlinkit 4.0. The only processing that I found works with tidal is the pixel compression remover that I run. But it really adds to the sparkle and soundstage vs no processing at all.
[Magisk] skuppej:
Yeah I use the pixel tensor decompression mod as well. That + ainur narsil is heavenly

Figured it out with V4A! Apparently turning off Legacy Mode fixes it so that it's processing in AA/wirelsss AA.

Problem is...vice versa is the case with Bluetooth....and I need to toggle this off for that...
[Magisk] JohnFawkes:
Energybar in playstore. I dont like the one that comes with roms like lineage or asop. Energybar gives more customization to me.
[Magisk] DEVILOPS 007:
Care to share your modules? ;)
[Magisk] ahrion:
I mean they're mostly available. My ROM doesn't require my UD_BR but I use my Dolby and Viper.

I also have a an unreleased chainfire's hacked liveboot that works with Magisk. I did a few hacks to it.
[Magisk] DEVILOPS 007:
I'd love that liveboot so much! Viper doesn't work for me without stericsons busybox unfortunately but I haven't tried the magisk version. Thanks for the quick reply!
[Magisk] Motawa88:
this ONLY works with magisk, right?

edit: whatever. It doesnt even work WITH magisk for me. Viper4android shuts off after a few seconds of using spotify.

Note 4 5.1.1.
[Magisk] DEVILOPS 007:
Erm, any chance you'll release this one day?:)
[Magisk] Didgeridoohan:
Probably wouldn't be a good idea without Chainfire's permission...
[Magisk] DEVILOPS 007:
Didn't think about that. Hopefully if he gets permission assuming that is the reason why then he'll release it.:D
[Magisk] rupek1995:
Removal Module's installation breaks newest Magisk v13.3. Magisk Manager (v5.1.0) stops working altogether when clicking "restart" after installation. Reboots do not help, and the module seems to be broken.

Tried reinstalling multiple times, problem still persists.

Specs:

Moto E 2014 (XT1021)

ROM: Android 7.1.2_r11 AospExtended

Magisk v13.3
[Magisk] DEVILOPS 007:
That's probably because the last update was before the v4 template and topjohnwu said about having to migrate all modules to v4 template. Any chance of a v4 template update [MENTION=5357345]ahrion[/MENTION]? I know you are.also likely working on your audio modification library for template v4. Thanks
[Magisk] Fatfairfoot:
Go to /Magisk and remove all the modules

Go in Application - Magisk and erase data

Now you should have access to Magisk Manager again ! (Worked for me)
[Magisk] crumble6:
I've been having issues with this module.

It works perfectly when my phone is first booted up and V4A processes audio from Spotify, GPM, etc, providing I use them pretty much straight away.

If I don't listen to music for a while, the module seems to stop working. The only way I can get it to work again is to restart the phone.

Any idea why this may be?

Thanks.

OnePlus 5

FreedomOS

Magisk 13.3 (same problem on previous versions)
[Magisk] Thyrador:
Unfortunately this doesn't work for me. YouTube and Spotify won't trigger Viper, so there's no processing.

I'm using Magisk 13.3 on enforcing kernel with Ahrions audmodlib 1.4, universal deep_buffer remover 2.4 and Viper module 2.5.0.5.

Apps like Poweramp and MX working fine.

And no, I can't change to permissive because my banking app would stop working if I do so
[Magisk] Ahmed Kassem:
- delete -

sorry, wrong thread.
[Magisk] Mr.Demous:
I have the same problem and I can't find a solution for it. I wanted to try this module to see if it helps but it doesn't work on Magisk 13.3 so I'm hoping it gets updated soon.
[Magisk] Stupifier:
Ya......This Module seems to give me issues. After installation, I just end up stuck on Boot Screen every time. I'll wait for an update.

OnePlus 5 - Magisk 13.3

xXx ROM (OOS 4.5.6 based)
[Magisk] memnochlv:
I find if v4a doesn't show its processing under status, if I use the 3.5mm, then go back to whatever I was using (Bluetooth in my case my often), it starts working again.
[Magisk] Skittles9823:
Tried using this with ARISE (no native deep buffer remover in the version I'm using) and it viper nor Dolby will process with Spotify. Has this been updated to magisk template v4?
[Magisk] adriansticoid:
I think all ahrion's modules are not yet updated to v4.
[Magisk] Skittles9823:
Thanks bud. It would be great to have them updated to the 4.0 template since its an official release now.
[Magisk] adriansticoid:
Here is ahrion's statement from the V4A module thread:
[Magisk] HampTheToker:
Aww. XDA official y'all.
[Magisk] ahrion:
I see what you did there
[Magisk] ultradj83:
Dear [MENTION=5357345]ahrion[/MENTION],

I'm on a Galaxy S8, rooted with Magisk, Safetynet ok.

I've been tying many ways to install V4A, traditionally and as Magisk module.

No way.

The best is your V4A module, it works with local player apps but fails with streaming apps (Spotify, Tunein, etc.).

Installing your buffer remover doesn't fix the problem.

I'm really out of ideas, any suggestions?

Thanks a lot.
[Magisk] ahrion:
It's something related to the deep buffer or the stock equalizer app found on your device.
[Magisk] ultradj83:
Well,

the stock audio processor has been frozen by Titanium Backup.

About the buffer, how can I check if it's been really disabled?

Thank you so much.
[Magisk] paolo200:
I have the same problem. I'm using the magisk module. It works with local players but not with things like YouTube or streaming radio, it shows no processing
[Magisk] izimen:
Same problem for me to in my S8+ dolby work with poweramp and soundcloud but not working with spotify for what ?

Envoyé de mon HTC U11 en utilisant Tapatalk
[Magisk] paolo200:
I don't know I'm not the developer of this module but perhaps it's not about the deep buffer. Maybe it's the way Viper is supposed to work. I will look in the viper forums to see what they say
[Magisk] Skittles9823:
Viper should be processing on Spotify with deep buffer removed. That's a fact if your device won't process with viper on streaming apps (like my own).
[Magisk] paolo200:
I'm not using spotify so I can't say but I have this module enabled and there's no processing while listening to web radio so it means that viper does not process ALL sounds coming from the media channel. I noticed that with whatsapp too. Voice notes are ignored by viper
[Magisk] smohanv:
Whenever I see such a result in viper status, I disable and enable back on. It starts working for apps like YouTube, music player etc.

If you use greenify, make sure that viper is excluded from battery optimization in settings/apps....
[Magisk] izimen:
No for me viper work with all music app but dolby with spotify dont work

Envoyé de mon SM-G955F en utilisant Tapatalk
[Magisk] paolo200:
Yes I use greenify but viper is excluded

I use musicmatch to listen to my mp3s and when I check viper status while music is playing it says processing but if I quit musicmatch and start web radio immediately after then it shows no processing while streaming radio... So strange

How do you disable it and back on? Is it the switch between compatible and normal?
[Magisk] Skittles9823:
To turn viper off and on hit the three dots in the top right corner and hit exit then open viper again.
[Magisk] paolo200:
Ok thanks. I thought closing viper using the back button had the same effect. Anyway, I tried but no change though. But I just noticed something. If I connect my phone to my car stereo through Bluetooth connection all my players are processed ok but it's the speaker and earpiece that are posing problems
[Magisk] Skittles9823:
Hmm that's weird. Points to it not being deep buffer that's disallowing the processing I think.
[Magisk] paolo200:
Yes indeed that's my conclusion too

Perhaps if I didn't use this module it wouldn't even work via Bluetooth and since that's how I listen to my music the most I guess I'll manage ;)
[Magisk] The-|joker|:
how do i manually remove deep buffer? i tried installing the module but V4A still does not work with spotify, this is what is between the brackets in my audio_policy.conf file after installing the module

deep_buffer {

sampling_rates 44100|48000

channel_masks AUDIO_CHANNEL_OUT_STEREO

formats AUDIO_FORMAT_PCM_16_BIT

devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_LINE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_PROXY|AUDIO_DEVICE_OUT_FM|AUDIO_DEVICE_OUT_USB_DEVICE|AUDIO_DEVICE_OUT_BLUETOOTH_A2DP|AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES|AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER

flags AUDIO_OUTPUT_FLAG_DEEP_BUFFER

}
[Magisk] ahrion:
Depends on why. Does it work with apps that don't stream?

The udbr removes deep buffer intelligently. Not all deep buffer lines need to be deleted and can cause erroneous effects depending on Android version and rom.
[Magisk] The-|joker|:
it works normally with Youtube and google play music but does not work with spotify
[Magisk] koniii:
I got This error when i try to flash it..
[Magisk] Didgeridoohan:
You might have to do a complete uninstall and reinstall of Magisk and the Manager.
[Magisk] koniii:
Thanks but im not using magosk

I Try to Install Magisk in the last few months but it ends with error 1..
[Magisk] Didgeridoohan:
Neither of those errors (from the screenshot or "error 1") mean anything without an accompanying recovery log...

And since you're in the Magisk forums it might be a good idea to point out when you're not using Magisk... :laugh:
[Magisk] koniii:
Sorry Im noob on this

But heres The log
[Magisk] Didgeridoohan:
Well... There's this in your log where it fails:

unzip: zip flags 1 and 8 are not supported

This is not really my area, but I'm guessing you're going to have to update your TWRP.

If you've got access to a copy of your device's boot image you could try the new recoveryless installation method for Magisk and then install modules through the Manager. Installation instructions in the release thread.
[Magisk] Shriac:
I keep loosing root randomly since I have flashed this on Magisk v14.
[Magisk] Luq4dmin:
Its only me or this latest v3.0 really doesnt work ? :eek: back with v2.4 for now.,,im using it with v4afx v2.0 magisk
[Magisk] koniii:
I Update My Recovery And Its Working Now!!!

Thanks For Your Help!! :good:
[Magisk] hadinz:
Still the viper4android not processing when streaming Spotify on my Galaxy Note 8. Any idea? Cheers
[Magisk] xXfreshXx:
I got ERROR: 2 when I flash with Magisk Manager or TWRP.

Any tips? I used v3 and Magisk v14.0 (stable, not beta)
[Magisk] 24imelqui:
redownload the module
[Magisk] xXfreshXx:
I did 3 times.
[Magisk] 24imelqui:
is the file zip size 28.87kb?
[Magisk] ahrion:
I'm not getting the issue.

Anyone else try the zips on the repo and on my AFH not getting this as well?
[Magisk] HampTheToker:
Downloaded from repo.
[Magisk] HampTheToker:
Worked fine from AFH.
[Magisk] yochananmarqos:
No issues installing from the repo or AFH.
[Magisk] ahrion:
It's fixed right as of this moment. I went ahead and tested everything myself. All the zips work. Sorry about that.

GitHub for whatever reason didn't stage the massive file removals or additions from updating from previous version so it was missing loads of files.
[Magisk] MoHuToP:
Just remove your older 2.4
[Magisk] Sam Nakamura:
It's seems that the removal of the installer script does not work properly, after updating magisk showed the old version even the v3 script finished successfully, so I went to recovery mounted the magisk image and saw 2 versions of deep buffer remover coexisting, one entry with udbr and the other with udb_remover, I deleted both from recovery and flashed v3 again - now it works... Just thought I drop it here in case reports of confused users swap in...

Thanks for all the efforts & help! [MENTION=5357345]ahrion[/MENTION]
[Magisk] ahrion:
Thank you. That shouldn't happen. We'll take a look at the script to see why this is happening but it shouldn't happen at all.

Edit: it is happening because we asked all users before they install AML 2.0+ to wipe their previous versions of AML based modules and uninstall first. This was because a lot of changes occured with the newer versions.
[Magisk] Sam Nakamura:
Allright, thanks a lot for all the efforts you put in this! :good:
[Magisk] xXfreshXx:
I haven't installed 2.4 yet. I'm new in Magisk coming from SuperSU.

I will try after clean flash again if there is no fix for my problem.

But I will wait with clean flash for PureNexus (Android 8).
[Magisk] Skittles9823:
Thanks for this Ahrion, really cleared that up. Sorry for what i said in the arise group the other day i just didn't fully understand how it works or how easy it is to implement in other things, but now I understand how it works better then I did before.
[Magisk] ahrion:
Awesome.
[Magisk] tinOFbeer:
Unfortunately, it does not work with v4a_fx on OnePlus 3

I have the same problem as some other people, local files are processed by v4a but streaming music is not.

How to force audio processing while using Youtube app or web radio on OnePlus 3 with stock android 7.1.1 (OOS 4.1.7) + Magisk?

On Nexus 7 2013 (stock android 6.0 with conventional root) it is simple - just make two simple changes

In /system/etc/audio_policy.conf remove the following entry

deep_buffer {
sampling_rates 44100|48000
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE |AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_W IRED_HEADPHONE|AUDIO_DEVICE_OUT_LINE|AUDIO_DEVICE_ OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEV ICE_OUT_PROXY|AUDIO_DEVICE_OUT_FM|AUDIO_DEVICE_OUT _USB_DEVICE|AUDIO_DEVICE_OUT_BLUETOOTH_A2DP|AUDIO_ DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES|AUDIO_DEVICE_ OUT_BLUETOOTH_A2DP_SPEAKER
flags AUDIO_OUTPUT_FLAG_DEEP_BUFFER
}

next add the following code to the file /system/ build.prop

# Viper4Android
tunnel.decode=false
lpa.use-stagefright=false
lpa.releaselock=false
lpa.decode=false

and save files with 0755.

But how to do it on OP3?
[Magisk] jovanjerkov131:
Flashed it but V4A still can't process....any suggestion?
[Magisk] Flopik2:
Mounting /data/magisk_merge.img to /dev/magisk_merge /data/magisk_merge.img mount failed

Magisk v14/Nexus 6p Nougat
[Magisk] Zackptg5:
Audmodlib has been updated to 2.1 and so has ubdr! Lots of changes and improvements on the installer/uninstaller side of things. You will need to uninstall the old version of ubdr and aml completely before flashing the new version :)
[Magisk] ChARCOOL:
Stuck on "Removing/restoring files..."

please help me fast what to do now, I don't want to stuck at bootloop
[Magisk] romixer:
use old version
[Magisk] ChARCOOL:
Yeah this version completely broke my ViPER FX :(

---------- Post added at 08:43 PM ---------- Previous post was at 08:41 PM ----------

I had to flash stock firmware again :(

Now hope it will work with old version of deep_buffer Remover
[Magisk] ZidanBlaster:
Using v3.1 cause no sound on AICP ROM but work on NOS ROM

But already fixed with flash v2.4 on AICP ROM
[Magisk] shantam3108:
You don't need deep buffer their. Remove it and sound will remove and v4a and Dolby works without them
[Magisk] ahrion:
Shouldn't have done anything at all.
[Magisk] Gvina:
Hey after flashing the new version through magisk it got stuck during the removing old versions and now it says "will update next reboot" while I can't remove it, disabling it doesn't change anything and rebooting doesn't solve anything. Any idea why?
[Magisk] tinOFbeer:
Finally everything works!

Finally everything works!

Updated modules, Ud_bR & V4A for Magisk, can process audio from YouTube on OP3 :victory:
[Magisk] cipri10:
Hi,i'm using Dolby Atmos Axon7 mod with this magisk module but in streaming apps like Tidal and TuneinRadio the equalizator isn't working but on Spotify and Youtube is working with or without this module. I'm using a Lenovo p2 with Android 7 stock with magisk 14.3.
[Magisk] ahrion:
Udbr should already remove that audio policy stuff.
[Magisk] newintage:
After 2.4 it stopped working for me. Both system-mode and Magisk. Tested on 2 Snapdragon devices.

However 2.4 is working without any problems.
[Magisk] ahrion:
You had to have uninstalled before install.
[Magisk] Zackptg5:
Aml 2.2 is live! Ubdr has just been updated with this new version
[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
[Magisk] Selenia:
I put up with some major flaws in this hack to have good sound quality in certain apps with viper4android. I must say that version 3.2 fixed all of these glitches. Even though I was able to deal with them, it is nice that they are not there now. Cheers! Just one question. I also have it installed on another device that Magisk was problematic with even though it's great on my phone. I would like to do an update on that device, hoping for the same superb results. Can I simply Flash the update? Or do I need to do something special?
[Magisk] Zackptg5:
You'll want to remove all audmodlib modules like ubdr and the audmodlib folder in /magisk as well before installing
[Magisk] TahirZX:
[MENTION=6037748]Zackptg5[/MENTION] [MENTION=5357345]ahrion[/MENTION]

Any help?
[Magisk] Zackptg5:
Could be anything really. Have you tried compatibile mode in v4a?
[Magisk] TahirZX:
Yes and the driver status Grey's out after that even after a reboot and same result no processing. However local music is fine but any music/video from a stream in any service has no processing of v4afx. Meaning udbr is not working right?

---------- Post added at 01:27 AM ---------- Previous post was at 01:25 AM ----------

One of the previous versions worked long ago. Are previous versions compatible with the latest AML?
[Magisk] Zackptg5:
Not necessarily, there just might be some other incompatibility or something going on with your device
[Magisk] TahirZX:
Alright. Tho are previous version of udbr compatible with latest AML?
[Magisk] Umahawar100:
Good Work! Bt doesn't work with SoundCloud :( plz fix
[Magisk] Spaceminer:
This is working flawlessly on the Moto G 2015 (xt1548), with stock 6.0.1, magisk 14.3, viper4android 2.5.0.5, and permissive selinux. Thank you so much for your hard work! It is greatly appreciated! My headphones sound like a $3,000 sound system again!
[Magisk] tinOFbeer:
Not work with Magisk 14.5 & Oreo
[Magisk] Zackptg5:
UBDR has been updated with the latest aml which includes magisk 14.5 support so those issues should now be taken care of
[Magisk] Zackptg5:
A critical bug has been found that could break all sound mods for some users. It's been fixed and UBDR has been reuploaded. All people who flashed v3.3 should flash it again to uninstall it as well as uninstall ALL AML mods to completely remove aml. Then flash the fixed one with whatever else you had before. Sorry!
[Magisk] Zackptg5:
v3.4 released! Fixed error with magisk 14.0 installs
[Magisk] psychoela:
Latest ones not working here,try via magisk manager,recovery, uninstall, reinstall still deb buffer not removed, manual remove now working:)
[Magisk] Zackptg5:
Ubdr has been updated to the new aml which adds oreo support
[Magisk] AndroMani:
One basic question.

Every time a new Universal Deep Buffer Remover is updated, should we uninstall the previous one and reinstall the new one?

Also, after installing the new UDBR, should we have to re-install all our sound mods (like V4A, Dolby, AM3D) again

so there will not be any conflicts and all will be playing without any issues OR no need for that?

Thanks for clarifying.
[Magisk] Zackptg5:
Yup. However, starting with AML 2.3, you don't need to uninstall them anymore. Just flash the new version and it'll automatically upgrade the old one
[Magisk] AndroMani:
Ok thank you. So, I don't have worry about reflashing all other already installed sound mods (like V4A, AM3D, Dolby) and upgrading to the new UDBR will take care of that?
[Magisk] Zackptg5:
If everything is working for you then yes but I recommend to always update to latest versions
[Magisk] AndroMani:
Ok cool.

I will update the sound mods also whenever new stable releases are available in Magisk on top of updating

the latest UDBR.

And please clarify for me (and may be for others too who also may be interested to know) the order of flashing the following zip files in Magisk when it comes to using multiple sound mods.

1. Audio Modification Library

2. Init.d Linker (Is it for injecting Sepolicy into Magisk - to temporarily make SElinux to be Permissive for this app?)

3. Universal deep_buffer Remover

4. Sound mods (like AM3D Zirene, V4A, etc.)

I have the above Magisk modules installed and I would like to know their order of flashing, especially when future stable releases of Magisk is available and when I want to re-flash all these modules.

Thanks for clarifying.
[Magisk] Zackptg5:
You only flash #3 and 4 and order doesn't matter
[Magisk] AndroMani:
Thank you.

So, the other two in my list ---

1. Audio Modification Library AND

2. Init.d Linker (Is it for injecting Sepolicy into Magisk - to temporarily make SElinux to be Permissive for this app?) -

need not be flashed at all? (Can I assume that they are now part of the updated sound mods when they get released?)

Also, can you please clarify my question in the 2nd item (Init.d Linker) above. Thanks.
[Magisk] Zackptg5:
Audio Modification library is included in all aml modules, there's no separate zip for it. The dedicated thread to AML is a development thread and contains a template so people can make their own aml modules (not an individual module itself).

The init.d linker just has magisk run any scripts located in system/etc/init.d folder which in effect gives init.d support. AML modules use whichever boot script solution is supported by the detected root solution which is:

post-fs-data/service.sh scripts for magisk

su.d scripts for supersu

init.d scripts for everything else

Since you're on magisk, init.d isn't needed for any aml modules
[Magisk] killerBRs:
Still not working v4a in Spotify, YouTube, etc

Only Poweramp process IN V4A :(

Magisk 14.6
[Magisk] Dazed No More:
On OnePlus 5T there's some conflict with AML module that causes audio and video to not play (both streaming and from internal storage), the apps to stop responding, system volume to not work and the phone to just go haywire whenever head phones with inline mic and volume control is plugged in. I've tried three sets and they are all the same issue. With AML disabled works like a charm. Before this I used headphones without inline mic and everything worked flawlessly but I got new headphones and had issues right away which I finally narrowed down to AML module.

My issue is that with AML disabled V4A doesnt process with SoundCloud which is what I listen to most. It prcoesses with Pandora and others just not SoundCloud. Is there anyway around this besides the obvious using old, non inline control headphones?
[Magisk] Zackptg5:
Don't install this mod on devices that don't need it (such as the op5t). Flash this mod again to uninstall it
[Magisk] Dazed No More:
This didn't answer anything. How can you say the mod is not needed (you aren't even specific and say whether it's AML or universal deep buffer remover that is not needed)?

I'm trying to continue to enjoy v4a processing on all my streamed tunes on the same device I've enjoyed them on for a month, just with my new headphones. The universal deep buffer remover is needed for v4a to process streaming (all but SoundCloud) and it seems AML for some reason is needed before SoundCloud will process, so its pretty obvious that in this case both mods are needed. This is contrary to your generic response above. I did not install AML myself since it is packaged with all your guys sound mods.