yashsingh1/xdaforums huggingface dataset:
[Magisk] Syoenth:
The script deleted the deep buffer, but still can't make the v4a works on spotify or Youtube
[Magisk] Zackptg5:
UBDR has been updated to aml 2.9! See aml thread for changelog
[Magisk] milol192:
Hello, i have installed 3.9. With aml 2.9 but like with the last versions i cant get it to work. I flash it and after i dont have any sound anymore exceptlike whatsapp voice notes or call sound but no apps, no videos no music so i need to flash system partition from rom backup to get everything back again. Whats wrong i need help please
[Magisk] Zackptg5:
Not all devices need ubdr. If you have crazy stuff like that happening, it likely means yours doesn't need it
[Magisk] bonbonboi:
On SoundCloud app I'm playing some music but viper4andriod fx isn't processing it, I already installed Audio Modification Library v2.9 and viper4andriod fx v2.9. Am I missing something regarding to this topic!

Sorry guys I'v found another member posted about it, trash this post.
[Magisk] MadMan29729:
could you make this work with the original xposed?
[Magisk] archraziel:
I am having issues with v4arise version 2.5.0.5(FX) codename beautiful, driver version 2.5.0.4, I installed the deep_buff_remover lastest version to work with spotify, but everytime I change the music(rewind or foward) it loses the effects and I have to change the profiles about 3 times to get it working again.

Anyone experienced something like this? Have a solution for it?

My device is the Oneplus 5
[Magisk] Skittles9823:
Why are you using the AML DBR with ARISE? The ARISE installer has one built in. If you want to use this DBR you'd be better off uninstalling ARISE and using Zack and Ahrions ViPER installer.
[Magisk] archraziel:
Well ARISE was not working with Spotify, had to disable SELinux on settings to make it work and compatible mode seems to be buggy :/

Plus after I remove this DBR the same issue still happens...rewind or foward makes the effects goes off.
[Magisk] Keule-Tm:
So, in effect, that seems to be a problem of ARISE, Spotify, or your ROM, right?
[Magisk] archraziel:
Seems to be a problem with playback gain, when I manually set it, Spotify works with no problem I can rewind forward and everything.

What I think it was happening is that when I changed profile for some reason it was modifying the playback gain in the background until it get very loud, and when I change the music it lost the background configuration. So I set it and know everything works.
[Magisk] Zackptg5:
The time has finally come. Aml and unity have been completely redone. AML is now a separate zip available here: https://xdaforums.com/app...brary-t3745466 and on the magisk repo. All other mods are unity installer only (completely redone unity too btw). Also, support has been added for oos oreo devices (see op for details)
[Magisk] NeoVander:
Unniversal deep buffer remover don't work since last updates, I installed Dolby Atmos, and it's not changing anything to Spotify/Youtube etc.. SDK24 magisk
[Magisk] Zackptg5:
That doesn't mean it's not working. Check the magisk/ubdr folder and see if the files present are different from the originals (/sbin/.core/mirror)
[Magisk] NeoVander:
In Udb_Remover folder, there are two folders : system and vendor wich are empty.. and two files : auto_mount and module.prop.
[Magisk] Zackptg5:
That means you have aml installed. Check the audio policy files in there
[Magisk] DEVILOPS 007:
Should I be using AML with UDBR?
[Magisk] NeoVander:
I should uninstall aml ?
[Magisk] saccentekennedy:
UDB remover 1.0 broke my earpiece during phone calls... It routed all calls to speakerphone. Once I deactivated the module, my earpiece started working again. OnePlus 5T here on OOS Oreo Beta 3
[Magisk] Zackptg5:
You shouldn't need ubdr on the op5t but can you post ubdr folder? (Or aml folder if you have it installed)
[Magisk] -Deco-:
For those of you who have questions, do the following:

Update UDB Remover.

Flash the AML module from Magisk.

If any additional equalizers, (Dolby Atmos etc) then reflash them.
[Magisk] NeoVander:
Please link for 2.9 udbr
[Magisk] saccentekennedy:
I've uninstalled it for now... I could reinstall if you like for bug purposes?

I've been automatically installing UDB remover since ya Nexus 6P days for Spotify... But last night I noticed I didn't need it! Lol. I'll keep you posted!
[Magisk] Zackptg5:
If it was for v4a processing, that's because I have a boot script start/stop v4a and the audioserver which seems to fix v4a processing. I've noticed though that if you're playing music, then take a phone call, after the call v4a won't process until you exit out of it and reopen it again on devices that previously used ubdr
[Magisk] saccentekennedy:
Hmm. Good to know. I don't take many phone calls but I'll keep an eye out for it
[Magisk] Ashieboy™:
Great module! My Viper4Android was not working on OOS Oreo but after installing this, it's now processing. Great Job!!! :good:
[Magisk] deebray36:
the same happens to me when i get a call viper stops processing and i have to reboot to fix it...pixel 8.1 with magisk 15.3...i have no problem with spotify, youtube ect...processing until i get a phone call
[Magisk] Zackptg5:
That's typically a thing ubdr would fix. If you could install it again (without aml) and send me the recovery log and the magisk/ubdr folder, that would be great.

Another solution (what I do), is to open the v4a app, click on the 3 dotted menu and select "exit". Then when you reopen the app, it should work again. Another alternative is to play around more with sepolicy. I found that if I set the write policies to permissive, the problem can go away too but I try to avoid that
[Magisk] deebray36:
will do that as soon as i get home from work.
[Magisk] NeoVander:
Hey, since the 1.0 update, spotify/youtube processing isn't working anymore with udbr/aml/dolby..

And since update 1.3 of aml, it's have broke my sound. Forced to remove aml and the rest..

SDK24 arm64..
[Magisk] Zackptg5:
Well that tells me absolutely nothing about what the problem might be so there's no way I can fix it. Can you install those mods again and send me the /magisk/aml folder, and the /magisk/.core/aml folders?
[Magisk] joecaesar:
Disabling my mic in the latest update and call gets redirected to speaker always..HELP ME
[Magisk] NeoVander:
Sure : https://drive.google.com/folderview?id=1UpvGu1tvJ4C3n4j5F1l7yw94MluSwHlG

Since reinstall, aml don't break sound, but dolby atmos instantly crash when I open it (can't see hud)
[Magisk] Zackptg5:
It looks like your device doesn't even need ubdr so that may be the problem but the google drive didn't keep the directories intact so I'm can't say for certain
[Magisk] NeoVander:
Oh okay, because previous version (2.9) was affecting youtube and spotify, but this one don't work at all. Dolby Atmos crash..
[Magisk] Zackptg5:
Just updated aml that should fix that
[Magisk] NeoVander:
You're the best !!!
[Magisk] kazuya_kun:
Hey nice work as always :)

just have a little Bug report here for the OnePlus 5 on Triple x.X.x v9.5 with newest magisk. (can't give any further info since i am on vacation sorry :/)

When using your mod i cant seem to use my Earpiece anymore, not even for calls which is very strange. Anything that should usually come out of the Earpiece as calls and such come out of the Bottom speaker.

When deactivated everything works again.

I hope you can maybe find this bug and fix it? Would be very great since I would really miss your Mod :)

greetings
[Magisk] Zackptg5:
Can you post your magisk ubdr folder (and aml folder if you have it)?
[Magisk] kazuya_kun:
Yeah sure I just copied it right now from the system root folder - > magisk.

Should be attached as zip to this post :)

Hope it helps you :)

Edit: added screenshot
[Magisk] Zackptg5:
Updated ubdr to v1.2. Changelog: Minor unity improvements

---------- Post added at 17:37 ---------- Previous post was at 17:27 ----------

Interesting. Everything looks fine. It's possible that removing deep_buffer is what's causing these problems so I'd just remove deep_buffer. Note that in the old aml/unity version of ubdr, it didn't properly support devices where the audio_policy_configuration file was in vendor/etc/audio like OP5/5T so it didn't actually work but that's since been fixed
[Magisk] NeoVander:
Heyy I updated Udbr to 1.1 and DolbyAtmos to 1.2 and since that, Spotify and YouTube don't gets processed by Dolby.. Version 1.0 of udbr and DA 1.1 was working on Aml 1.4.1.

Samsung Device, SDK24, arm64..
[Magisk] Zackptg5:
Can you post your aml folder and a full logcat?
[Magisk] NeoVander:
Yes !
[Magisk] Zackptg5:
Can you send me this folder: /sbin/.core/img/.core/aml

Thanks
[Magisk] NeoVander:
Yep
[Magisk] NeoVander:
Oops, it's this one
[Magisk] Zackptg5:
Think I'm seeing the problem here. It looks like an issue with aml. In the mean time, just uninstall aml. You don't need it if you're only using ubdr and dolby since they patch different files
[Magisk] NeoVander:
Working, thanks !!

What does exactly aml ? I tought it was necessary to get udbr working.
[Magisk] Zackptg5:
I have it pretty well explained on the op of the thread for it here: https://xdaforums.com/apps/magisk/mod-audio-modification-library-t3745466

It's only needed if you're using audio mods that patch the same files (ubdr patches policy files while Dolby patches effect files so that's why you're fine without it)
[Magisk] TahirZX:
Heyy... One issue here,

I have latest AML, Dolby Atmos (axon7 variant), v4afx latest and udbr installed.

I see no processing of v4afx on YouTube :(

Processing works on browser and music player but not on YouTube App ?
[Magisk] Binary Assault:
Hello,

I am running a OnePlus5 on Oreo and installed UDBR recently via Magisk. Ever since then, my speaker phone is on at all times when I make or receive a phone call. I also cannot disable this. The speak phone toggle during a call has no effect.

I disabled via Magisk and the dialer is working normal again, re-enabled and have the problem. For now I'll keep it off.

Any suggestions?

---------- Post added at 03:31 AM ---------- Previous post was at 03:29 AM ----------

One fix I've done when V4A isn't processing is just press back until the application exits. Then reopen it.

For me, this is most likely due to greenify, or something of the sort. If you run greenify (or amplify or any battery saver) disable the effects on v4a.
[Magisk] Zackptg5:
This was addressed within the last few pages of the thread (search is your friend). Main solution is to not use ubdr on op5 devices. Removing ubdr apparently breaks stuff as you're seeing
[Magisk] Zackptg5:
Update ubdr to v1.2! Changes include:

Add file backup on system installs

Fine tune unity prop logic

Update util_functions with magisk 15.4 stuff
[Magisk] TahirZX:
Heyy...

I have no processing of v4afx and Dolby on YouTube.

I have all these mods installed...

I have HTC Desire Eye

I'm on Resurrection Remix 7.1.2 NN

Any fixes or ideas?
[Magisk] rnadomuc:
DARK ROM has deep buffer removed by default. I've read this is good for most situations, but it can lead to subtle skipping during music that sounds almost like faint pops due to it switching over to a new buffer or something.

Can this be counteracted with the VIPER sound system?
[Magisk] Zackptg5:
Remove greenify and see what happens. Sometimes uninstalling it, rebooting and playing music with v4a, then reinstalling greenify can solve this issue

With the pops, probably not but every device is different. For the skipping, that sounds more cpu related. Try changing kernel governor settings
[Magisk] TahirZX:
Tried it and it had no effect at all. I still got no processing for youtube ?
[Magisk] Zackptg5:
Ubdr has been updated to v1.3! Changelog:

Added detection of more pol files

Fixed vendor files in bootmode for devices with separate vendor partitions

Fix seg faults on system installs
[Magisk] rizkydztar:
So which one is stable ? 1.3 version or 3.1 version ? It gave me confused
[Magisk] newintage:
Don't get confused with versioning they changed it.

Latest is 1.3 you can download it from here
[Magisk] keshav_c17:
This is perfect module. It's working like charm. ?
[Magisk] ranjb:
Hi Developer and other members

I have recently updated my ROM on my s7 edge using Batman v1.5 rom and I have installed Magisk and have viper4android installed.

Having the problem with Spotify and Google play and wish to get viper4android sound using this fix. I downloaded and installed the file however both apps are still not processing via viper4android. When I go to magisk manager I can see under modules the universal deep buffer remover 1.3 installed and active.

I also tried to install V4A FX for magisk 15 as well but still isnt working.

Any advice on what I am doing wrong? I have the following utilities installed as well so not sure if these might be causing an effect: busybox pro (required for V4A), greenify, lucky patcher, supersu.
[Magisk] Zackptg5:
Greenify can break v4a processing. also, xda has a rule against apps like luck patcher since they're often used for pirating
[Magisk] ranjb:
Thanks for that response. I have completely removed greenify but still it doesnt seem to be using v4a processing.

I have installed v4a fx for magisk, v4a materialized and the universal deep buffer remover. All modules are enabled. Processing still doesnt work on apps like good play music and spotify but fine for the rest of the music apps i use.

Thanks
[Magisk] :
I haven't tried this app yet as I'm not sure about the compatibility with my Moto Z2 Force on Oreo 8.0 but I'm having issues with V4A also. It works on Spotify and nothing else, I can't even get sound to come out of my device from mixlr and jemp radio. I'm mainly wanting it for Pandora and in there settings there's no equalizer adjustment or effects setting anymore.
[Magisk] nithin1999:
The objective of the mod is to solve the problem that v4a and other sound mods are not working on some apps
[Magisk] :
Thanks, I understand the purpose of the mod. My question was compatibility of the mod with the Tmobile Z2 Force running Oreo, which BTW GOES INTO BOOTLOOP after flashing in twrp.
[Magisk] nithin1999:
Have you force rebooted when it went into bootloop
[Magisk] :
I forced fastboot mode>connected to pc>fastboot booted twrp>factory reset>restore nandroid and I'm working again. Still having intermittent processing issues of V4A from "Yes & working" to "No and not working" unforunately.
[Magisk] Infy_AsiX:
Check if other Magisk modules are working to ensure it's not a Magisk issue. If not on some ROMs and devices V4A needs SELinux changed to permissive. There's a Magisk module or an app that can manage this.
[Magisk] ranjb:
Thanks for this yes the v4a module I installed already via magisk works fine.

Also my rom is already set to permissive so don't think it's that otherwise sound processing wouldn't work for any music app right?
[Magisk] Zackptg5:
Updated ubdr to v1.3.1! Changelog: Updated to unity v1.4
[Magisk] FPSUsername:
Doesn't process v4a using tunein radio. Without this module, apps like spotify, deezer and youtube process it.

I have:

Aml

Ainur sauron

V4a (arise black n cheese unity variant)
[Magisk] Zackptg5:
Can you post your aml folder?
[Magisk] ravish_919:
Guys is audio from Apple Music being processed for the guys who are using the latest version (v2.4.1) of the app? UdbR was working when I was on Apple Music v2.3.0 but Apple recently pushed an update (v2.4.1) and UdbR stopped functioning resulting in ViPER4Android not processing the audio. I confirmed it with other streaming services & it's working on apps like Spotify, YouTube & local playback using BlackPlayer EX. The only workaround, for now, is it go back to the older version v2.3.0

My setup:

- AOSiP 8.1

- Magisk 16.0

- Dolby Atmos vDAX2.5.0.15_r1 by GuitardedHero, ViPER4Android FX v1.5.3(2.5.0.5) by Ahrion, Zackptg5 & Universal deep_buffer Remover v1.3.1

- Audio Modification v1.4.7 by Ahrion, Zackptg5 Library for cross functioning

If any additional info required, glad to provide it.
[Magisk] FPSUsername:
Here it is
[Magisk] Zackptg5:
Hmm, can you run this command and post the output?

find /sbin/.core/mirror/system /sbin/.core/mirror/vendor -type f -name "*audio_*policy*.conf" -o -name "*audio_*policy*.xml"

Then post any xml files here

---------- Post added at 15:19 ---------- Previous post was at 15:16 ----------

Sounds like an issue with the app itself. Not much we can do about it on our end but perhaps someone may modify the app in the future like some people did with soundcloud for a while
[Magisk] FPSUsername:
Here they are
[Magisk] Zackptg5:
Odd, I'd expect an xml file for a device like yours but there isn't one (just checked your rom). I looked at the arise deep buffer remover and only thing they do differently is that they remove raw as well. I wouldn't think it'd change anything but it can't hurt to try. Can you:

Start playing music, then take a full logcat

Open both of the policy files in magisk/aml and comment out the raw sections (just put a '#' in front of all of the lines in them - just do what was already done to deep_buffer)

Then post the logcat and where or not the raw removal worked? Thanks
[Magisk] FPSUsername:
there are 4 policy files in /magisk/aml

2 in /vendor/etc and 2 in /system/vendor/etc.

Which one do I have to modify?
[Magisk] Zackptg5:
It shouldn't matter. The /system/vendor ones are the originals and the /vendor ones just symlink to the system/vendor ones
[Magisk] FPSUsername:
I commented the raw part in audio_policy.conf and v4a processes using tunein radio.
[Magisk] Zackptg5:
Interesting, I'll add that in the next ubdr version then. Thanks!
[Magisk] Zackptg5:
In light of recent discoveries, udbr has been redone and rereleased as Audio Compatibility Patch. The reasoning behind this is:

raw also needs removed in addition to deep_buffer on some devices

Instead of commenting out or removing deep_buffer and raw, we can instead change the flags to 'AUDIO_OUTPUT_FLAG_FAST'

These together make this a more complete solution and should fix lots of compatibility issues some users were having.
[Magisk] carlese:
Are the problems with oneplus 5 fixed? I mean, 1 or 2 months ago I tried dbr and it broke my BT connection with my car (sound came from the phone and not from the car speakers).. If so, I'll try it :)
[Magisk] Zackptg5:
Works on my op5t so I'd imagine that it should fix issues with op5
[Magisk] Zackptg5:
Updated to v1.1! Change log: Some devices don't seem to have the capability for FAST audio output so flags are set to NONE for deep_buffer now (raw is still FAST since any device with raw supports it). Also added low_latency flag modification
[Magisk] :
So this is practically universal deep buffer remover but rewritten?
[Magisk] Zackptg5:
Yes plus also fixes issues caused by raw and low_latency. So it should cover many more devices now and since it functions completely differently, it shouldn't cause weird issues like broken Bluetooth
[Magisk] manpildo:
Has there been any research done on how big an impact removing deep buffer has on battery? As I understand from the little reading I did, deep buffer allows the phone to deep sleep while streaming audio, removing it keeps the phone awake all the time. Is that correct?
[Magisk] pkWhistle:
Stumbled upon this module because it was visible on the most recent section. I checked Spotify and while music was playing, it said no in viper 4 processing. Installed it and the no is now a yes.

Thank you for fixing this issue I never even knew was there!
[Magisk] SkyWo:
I flashed this patch on system to be able to use the stock lineage equalizer with soundcloud, now it still doesn't work with it and I can't use some of the filters in the eq with my other music apps (which worked before). Is there any way to fix this or to completely remove the patch?

By the way, I'm using a galaxy a3(2015) on lineage 14.1.
[Magisk] pkWhistle:
This module enabled seems to cause my phone to lag HARD when I pair it up with Bluetooth earphones. 5 to 10 seconds of touch latency delay. When I disabled this module, phone was still snappy with Bluetooth enabled.

It's not the case when Bluetooth is enabled but when it pairs with my earphones which is really wierd.
[Magisk] Zackptg5:
Do you have any other sound mods installed? You can uninstall this mod by flashing the installer zip again

Can you post a full logcat and magisk log with it enabled after the lag occurs? Thanks
[Magisk] SkyWo:
It seems like the problem has gone away for now, I'm left wondering if I just imagined it or went bassdeaph for a moment. Thanks anyway, if I have any more trouble I'll try uninstalling or something...
[Magisk] pkWhistle:
Sent to your DM. Let me know if there are any issues.
[Magisk] Infy_AsiX:
I'd been using the mod on my Axon 7 to get the premium DAC working for all system audio. Normally it only functions in apps using the system audio effects and is testable by a DAC switch available on stock.

I just noticed an issue with the mod recently. As the speaker uses the default Qualcomm DAC, if any audio is playing on speakers before and then while plugging in headphones the audio will be stuck routed to the Qualcomm DAC until audio is stopped. The stock switch won't work but upon playing again after stopping the audio will reset to the set route. It's not a real issue as getting the audio to change is straightforward.

A subsequent issue I've come across is I've started using the device's microphone for voice in apps like Discord and PUBG. When the microphone is used by these apps any currently playing audio switches to speaker for a second before resuming in headphones. That causes the audio to route to the Qualcomm DAC as I previously mentioned. As long as the mic is used the system is using the call audio channel, so there's no way to temporarily stop the audio to change to the premium DAC too. So when using the mic, because of the speaker bug, I can't access the premium DAC. Is it someway possible to prevent the speaker activating upon the mic activating? Thanks for your great work.

edit: Actually just noticed without activating mic but just joining a voice room on Discord will route audio to the call channel and change audio to the Qualcomm DAC without the speaker bug playing a part. It seems deep buffer remover doesn't affect the call audio channel for me.
[Magisk] jilx:
Now my audio problems are solved by audio C patch, viper processing every where. But some cracking sounds on some gaming apps like Starlink
[Magisk] Max195:
this doesn't seem to work with newest Spotify version with v4a 2.5.0.5 on Galaxy S7 running 7.0
[Magisk] infinitely:
Gives me an abnormal driver status and still no processing in soundcloud on galaxy s8 running renovate ice (oreo) with the latest viper4android module and latest magisk. It does work with other media players though.
[Magisk] Zackptg5:
That's a first :) can you post a full logcat immediately after you see that abnormal processing?
[Magisk] SignetSphere:
Spotify not being detected by Dolby. Gives no movement on the equalizer ui of Dolby Atmos. Logcat is attached.

EDIT:

For some reason Spotify is killing Dolby Atmos If I open and play some music on it.
[Magisk] Zackptg5:
Could you post a full logcat? Also, I'm not sure if I can do much about that with this mod. Assuming you don't have any stock eqs still installed
[Magisk] SignetSphere:
That's the full logcat after I open Spotify. I'm not sure on how I can get the full logcat...
[Magisk] Zackptg5:
adb logcat -d > acp.log
[Magisk] SignetSphere:
terminal app says can't create acp.plog: Read only file system. Am I suppose to do this on pc?

Nevermind got it to work. Will post log in a while.

EDIT: acp log now attached after running spotify.

EDIT 2: It also kills V4A as well. Need to clear both of its data to restart their service for other players (like PowerAMP) to be picked up by dolby and v4a.
[Magisk] Zackptg5:
Are you using Dolby Oreo? It doesn't play nicely with other system eqs like v4a.

Not seeing much there thatd be helpful. What audio mods do you have installed?
[Magisk] SignetSphere:
Nope not on oreo yet. Using RR 5.8.5 based on Nougat (7.1.2) on a Samsung Galaxy S4 here.

Audio mods I only have are V4A and Dolby Atmos.
[Magisk] Zackptg5:
Do you have aml installed?
[Magisk] SignetSphere:
Yes. All are in the latest version.