yashsingh1/xdaforums huggingface dataset:
[Magisk] reven20:
No, my android is 7.0. I remove aml and v4a. I only install v4a install the driver and nothing, i installed aml again and still nothing.

Before the installation of the aml 4.0 everthing as working perfectly.
[Magisk] Zackptg5:
That right there tells you it's a v4a problem
[Magisk] dewaldo79:
Messed up audio settings

Hey all together,

I tried to install Dolby Atmos on a Pixel 4a using Magisk.

For that reason I installed the AML 4.0 that was installed correctly from what I could read within the Magisk installation routine.

As I understand, the new 4th version runs its "installation" scripts during each boot.

So after a reboot, my audio on the Pixel 4a is completely gone. If I try to play a soundfile I get an error message.

I can't make a phone call, mic isn't working either.

I removed Magisk but after reboot still no audio.

So I reflashed my ROM via adb sideload update (no factory reset).

After reboot, everything was fine again.

I reflashed Magisk and of cource there was no AML module shown in Magisk manager and audio still was fine.

But after the first reboot with the rooted phone, audio was gone again.

I tried that many times, but it seems, like the AML boot script remains in the system and becomes active as soon as I reinstall magisk.

Where are these script files located so that I can remove them manualy ?

Thanks, dewaldo79
[Magisk] Lughnasadh:
The module will be located at /data/adb/modules. You can check there to see if it's still there and delete the whole AML folder.

And if you have only 1 audio mod you don't need AML unless there is something I'm unware of regarding Dolby Atmos.
[Magisk] Zackptg5:
If you removed magisk, aml was removed too. If you just uninstall aml in magisk manager, other audio mod files will be restored next boot. Aml itself doesn't contain any patches tnat would break audio, but other audio mods could do that potentially

This doesn't sound like an aml problem
[Magisk] thanhtung2812:
Can somebody upload the version aml 3.5 here? Please!!!
[Magisk] Lughnasadh:
Here ya go...
[Magisk] Zackptg5:
Or you could follow the troubleshooting guide in the OP so I could look into whatever issues your having.....
[Magisk] TermoZour:
I've tried to look over the internet on how to fix this but couldn't find a definitive answer.

I have a pair of Razer Nari headphones with that dual output function (one stereo output for games and one mono output for voice chat). On Linux, I've had the issue when only the mono output was detected by PulseAudio and I had to apply a fix from a github repo to make it work properly.

When I tried to use my headphones with my phone (USB OTG + the headphones' wireless adapter) my phone recognized the headphones as mono as well (just like on my PC).

Is there any way I can apply the same modifications or something similar to force Android to use the stereo channel only?

I couldn't find any way to fix this right now so if anyone here knows any possible way to configure my devices, that'd be great! Thanks in advance.
[Magisk] ITomaz:
Sound's greats when combine this AML with DTS headphone X and Miui 12 Equalizer
[Magisk] thierryrojas:
Hi, I installed VIPER4ANDROID through magisk, but the application does not appear for me to use, however the module is installed. I have a samsung s20 exynos with android 11.can someone help?
[Magisk] Lord Sithek:
Magisk module just installs drivers. Download apk from here:

ViPER4Android Updates

Welcome to the channel.	Mainly beta builds are posted here.	Latest stable release can always be found over here:	https://labs.xda-developers.com/store/app/com.pittvandewitt.viperfx	Nobody has permission to reupload the apk files posted in this channel

t.me

After first open it will install drivers automatically and reboot
[Magisk] thierryrojas:
Thank you! now I can use it.
[Magisk] Bradford1040:
That makes to much sense! Lol

Sorry, just passed by reading the thread and had to add a wiseass answer lol, it's a personal flaw
[Magisk] Dhimas97:
Is anyone having issue with the sound placement ?

when i play FPS game without a headset the sound is reversed. front become back , back become front, left become right and right become left. its determine the enemy location. i heard the enemy was right of my position but actually its on my left! i found this problem only when using AML. i need AML to take effect on my Viper setting, without it the Viper wont detect the game or legacy and compability mode will not work on the game
[Magisk] timofonic:
Is this still in active development?
[Magisk] loopypalm:
is there a system install (instead of magisk module) ?

and thank you so much
[Magisk] Zackptg5:
Yup. It just hasn't needed any updates since there haven't been any magisk updates that require changes
[Magisk] Zackptg5:
Nope. If you're installing to system, all mods use the same file in system so you don't need aml
[Magisk] RheinPirat:
@Zackptg5 Many use AML with the Audio Compatibility Patch. I cant tell you since when this problem exists, but with the newer Magisk versions, ACP says always: "Volume key not detected. Tray agin" / "Volume Key error" / Install failed.

I see, you are a contributor of ACP. Is it possible to take a look at this issue?
[Magisk] Steven.kz:
Hi, I installed AML and ACP. But later not sure related or not, my microphone is not working during video calls but I can still hear other side through speaker.

So I tried uninstall, unroot and even clean install the rom again. However, that problem still persists. Even clean install didn't fix the problem confused me. Is anything I can do? Thank you.

Edited: Sorry. It's custom rom related.
[Magisk] avaie:
Hi - Mods in use with AML crashes - leading to no sound processing. It works fine and in most cases, a few weeks before the issue occurs again. The devices are LG V-Series but I have two uploaded. The V30 is on Oreo with DDP and Viper. The V40 has DDP, Dolby Atmos RC4 by GuiteredHero and Viper; running on Pie. It does not matter the version of AML, the problem persists. ROMS are stock.

I have attached files contain Magisk logs and the data/adb files.
[Magisk] repey6:
@Zackptg5 hi. Will be update AML for A-12?
[Magisk] Zackptg5:
@repey6

It works fine on a12, nothing needed changed
[Magisk] sjamie:
You rock!
[Magisk] repey6:
Thanks, but not by me. Magisk not download and not see it

Thanks, but not by me. Magisk not download it and not see it
[Magisk] Techguy777:
I have troubles with magisk canary and audio mods on android 12 also. Magisk 23 works fine if you can get a12 rooted with v23 I recommend that
[Magisk] repey6:
Thanks. My magisk v.23 stable. May my rom have issue.☹️
[Magisk] Techguy777:
Is it a custom rom? If it is than it's possible but if it's stock that's highly unlikely. Custom roms do have trouble with sound files from time to time and that effects it. Can I ask you what sound mode are you trying to install. Also switch selinux to permissive. I know it'll lower security and I don't know anyone who has ever had some virus on their Android device. I've always used selinux permissive especially with viper 4 Android and I have never had the issues people have you also need busy box installed from magisk manager app.They claim to have it working with selinux enforcing but even when it does work it shuts off all the time and permissive never has that problem ever. I could go on forever about how enforcing doesn't really do anything if you have root access and install a bad app that ask for root and you accidentally grant it permission because you don't think about it when it pops up than there's nothing it can't do. Modded apks that don't have icons are the only virus's that you can get on Android if you install an app that's invisible that's probably a virus it'll ask for root permission or administrator rights.
[Magisk] repey6:
Really, after installation BusyBox AML downloaded and installed.🙂
[Magisk] andrea0807:
Hello, does this module improve the audio quality when I listen to music with headphones?
[Magisk] Bumbee6:
Hi! Is there a magisk 24.1 compatible version that supports Zygisk? I've seen version 4.1 on your github but nowhere to download the module.
[Magisk] svendsvin:
Install Fox's Magisk Module Manager from github. There you find version 4.1 among many other great modules.

GitHub - Fox2Code/FoxMagiskModuleManager: A module manager for Magisk because the official app dropped support for it

A module manager for Magisk because the official app dropped support for it - Fox2Code/FoxMagiskModuleManager

github.com
[Magisk] Lughnasadh:
From the OP:

What is the purpose of this?

Audio mods often function in part by modifying some audio files (such as audio_effects, mixer_paths, etc.). The problem here is that each mod has it's own copy of the files and magisk can only mount 1 copy of each, so only 1 mod will completely work. AML functions by combining them all into one set of files to remedy this issue.
[Magisk] Bumbee6:
Awesome! Thanks.
[Magisk] Lughnasadh:
@Zackptg5 Just wanted to give you a heads up that it appears AML 4.1 is causing bootloops when using Canary 24304. It was working fine with Canary 24303. There were some sepolicy changes. I enabled all my mods one by one and once I enabled AML it started causing the bootloops. I understand this is Canary but in case these changes make their way into the Stable builds I just wanted to let you know.

Using:

Pixel 6 Pro

Android 12L QPR3 Beta 1

Canary 24304

AML 4.1
[Magisk] Zackptg5:
@Lughnasadh

Which audio mods are installed? You able to grab a logcat via adb with the loop?

AML doesn't apply any sepolicy patches so I'm wondering if it's another audio mod that's causing it
[Magisk] Lughnasadh:
I had JamesDSP and V4A installed as well when I updated to Canary Magisk 24304 and got into a bootloop. I disabled all mods and then enabled one by one to see which one was causing it. V4A was fine (however I'm using a A12 version of 2.7.2.1) I'm fairly certain that I enabled AML, rebooted, and then got into a bootloop, without enabling JamesDSP first. However, It's possible that I enabled JamesDSP with AML at the same time, but I really don't think I did.

There are some other reports, however, that JamesDSP was causing their phone to bootloop when updating to Canary 24304. A user also reported that V4A was causing them bootloops on Canary 24304 (v. 2.7.2.1). They were on Android 11.

Sorry, but I didn't grab any logs as I was not certain you would be interested since it was a Canary version of Magisk (and frankly just forgot as well). I have since downgraded to Canary 24301 where JamesDSP, V4A and AML have been working fine together.

There were also some other changes to Canary 24304 aside from the sepolicy changes.

This commit to Canary 24304 was causing problems for another non-audio mod. Not sure if it could be related to the problems with the audio mods or not but may be worth taking a look at. It appears the Magisk people found a fix for that mod and commit that I assume will be merged into the next Canary version.
[Magisk] Zackptg5:
I was seeing some talk on ak3 breaking on pixel 6 on latest canary too so may be something with magisk itself
[Magisk] Lughnasadh:
Yeah, Canary 24302+ started breaking custom kernels on the Pixel 6 series (bootloops). My audio mods were working fine on Canary 24303. Canary 24304 started causing the problems I described to you earlier.

Definitely recent changes to Canary have caused some problems for many.
[Magisk] Lughnasadh:
Just wanted to give you an update. Canary Magisk 24305 was released today. I flashed it and now have no problems with AML, V4A or JamesDSP. All working as it should. Seems this version fixed the problems with Canary 24304 and some audio mods.

Think it may have been this PR that did the trick.
[Magisk] Elmarigo:
Hello ! I have same problem :(

V4A is not processing on my Android12/AncientOS. AML did not help, so I want to try installing ACP, but it fails with "Volume key not detected".
[Magisk] Arki09:
Instalar Viper4Android versión 2.7.2.1 módulo zip

sin reiniciar

Abre la aplicación Viper

Seleccione si para instalar el controlador ahora

El teléfono se reiniciará

Después de reiniciar, abra Viper y habilite el limitador maestro y, en la configuración, habilite el modo heredado

cerrar víbora

Instalar mi modulo Fix zip

Reiniciar

Espere alrededor de un minuto

reiniciar de nuevo

Post in thread '[APP][ALL ROOT SOLUTIONS][6.0+]ViPER4Android FX 2.7' https://xdaforums.com/t/app-all-root-solutions-6-0-viper4android-fx-2-7.3774651/post-85975057
[Magisk] Homeboy76:
Never mind, I figured it out. :)

Install Viper4Android version 2.7.2.1 module zip

Without reboot

Open the Viper app

Select yes to install the driver now

The phone will reboot

After reboot open Viper and enable master limiter and in settings enable legacy mode

Close viper

Install my module Fix zip

Restart

Wait about a minute

Restart again
[Magisk] sosimple:
Does any of these adding stereo mode? To have music from speaker AND earpiece..
[Magisk] gyro_rayo:
Can't get Viper to work on my Nexus 5x (Lineage 15.1 microg), should I use this module to solve my issue?
[Magisk] mosaad gaber:
Please help i using Supmix v 23.7 audio mod magisk module + AML but AML not support it and have some issue when using another mod with Supmix and AML like the volume improve from it self and drop again and hiss in speaker any hope to be AML support Supmix . 🙏
[Magisk] szucsy92:
Hello Sir! This is for aosp or working anyway on One Ui roms android 12?
[Magisk] DrewZander:
Does it work with DTS ultra and DTS x for headphones?
[Magisk] Extreme_Ninja2099:
Does AML (Audio Modification Library) work on A13? I need it to work with Mic Fix and Viper4Android FX

Update: AML does work on Android 13
[Magisk] The_Tablet:
hey! i've created a mod that patches audio_policy_configuration.xml via xmlstarlet. as it stands right now, i need to disable AML in order for my mod to work. but i realize it'd probably be better for end users if i made my mod AML-compatible.

as i said above, i didn't use a .patch file. i parse and edit the audio policy file programmatically by using an executable called xmlstarlet. so i guess my question is: can i still create an AML-compatible mod despite that? and if so, do i just use th

the bulk of my patching logic resides here in case you need to take a look at it.

and another thing, you mentioned the following:

i'm guessing you place the for i in ... in .aml.sh. can i just stick my own patching functions there instead of using that loop? one last thing, do i place .aml.sh in <aml-modpath>/.aml.sh? or can/should i place it in my own module's directory? that part is a little confusing...

sorry for the potentially stupid questions, and thank you for your time and this mod!
[Magisk] Zackptg5:
You can definitely use xmlstarlet and still be aml compatible. You nailed it in that in the .aml.sh script, $MODPATH refers to aml's files (it refers to whatever mod is running it).

Ainur narsil uses xmlstarlet for it's patching so if you need examples you can check it out.

The file would be <yourmodpath>/.aml.sh.

The for loop is just an example, you can put whatever you want in there
[Magisk] Extreme_Ninja2099:
From the new AML 4.2 magisk module update. Will there be a new Viper4Android? Is Viper RE (Reverse engineered) coming soon? 👀
[Magisk] Lughnasadh:
First Alpha already released. Not all options are functioning just yet.

Releases · AndroidAudioMods/ViPER4Android

ViPER4Android app configuration files. Contribute to AndroidAudioMods/ViPER4Android development by creating an account on GitHub.

github.com
[Magisk] Extreme_Ninja2099:
For A13, I found a new modded version of Viper4Android and is V4A repackaged.

Just have your DDC, kernel and preset files in your internal storage.

Download and install V4A repackaged

Reboot and done

Link: https://github.com/programminghoch10/ViPER4AndroidRepackaged/releases
[Magisk] Extreme_Ninja2099:
Thanks for your quick reply!

It's cool that 64bit V4A is coming and I'll definitely keep an eye on this
[Magisk] Lughnasadh:
That seems to work for most phones on A13. Phones that are 64 bit only (Pixel 7 series) and some other phones running A13 (e.g. Pixel 6 series) need the new V4A RE.
[Magisk] Extreme_Ninja2099:
And future devices will switch to 64 bit architecture, so it is future proofing V4A
[Magisk] fjoel9:
Hello, how can i install/enable aptx HD in Android 12, Samsung Galaxy Note 10+

I tried with Ainur Narsil 18.05.2022 but narsil_useroptions i dont see a code to install/enable aptx hd. I tried sauron_useroptions but the magisk module cant detect it. Even i copied some code from sauron to narsil :

QC.INSTALL.APTX=true

APTX=TRUE

persist.bt.enableAptXHD=true

but i only see normal aptx in devs options.

if not possible, how can i install SBC XQ, last version breaks all audio in my phone ( BT, Speaker, etc...)
[Magisk] jamiehawman:
So would this work for me on OnePlus 6t android 13 arrows or do I need the 0.2.0 version
[Magisk] jamiehawman:
Would this work for mine one plus6t arrows A13 or would I need the 0.2.0 instead
[Magisk] Extreme_Ninja2099:
Yes and use V4A repackaged not the RE version as that's in Alpha/not ready
[Magisk] jamiehawman:
Ok thanks I'm new to all the root thing do I have to do those other things too about the dcc thing and the kernal I don't have any presets or anything
[Magisk] jamiehawman:
Silly ? But do I need to download the apk and also the audio mod library or do I just straight install that zip in magisk
[Magisk] Extreme_Ninja2099:
U need audio mod library/aml if u have other audio mods installed. About the DDC, kernel and preset files, I have them on my xda guide: https://xdaforums.com/t/guide-magis...tall-viper4android-for-oneplus-8-pro.4388799/

Just scroll down and download the guide setup .zip file. Extract it and transfer it to your device. Then install V4A repackaged and it'll find those files and install them for u
[Magisk] jamiehawman:
All those are already in the convoler there's ****loads but is that method thing to get all the other dynamic stuff active can you show me a screen shot of yours
[Magisk] Extreme_Ninja2099:
I meant u just transfer the files to your device and then install V4A. The guide setup.zip file contains all the ddc, kernel and preset files I use.

U can just copy and paste the files/folders into Android/data/v4A folder. Then press the folder icon for presets and choose the preset file to get the exact same setup I use
[Magisk] jamiehawman:
Haha you have lost me there lol 😂 I'm a newbie to this but yeh just tweaked my speaker and my smart speaker using the app anyways love it it's class hah
[Magisk] jamiehawman:
I've downloaded the preset folder thing so now what do I do do I open it with fxexplorer and paste them into android data/ make a v4A folder and paste into there
[Magisk] jamiehawman:
Doesn't let me in android data lol I ain't got a clue have I 😂😂
[Magisk] jamiehawman:
Quick ? Your repackage zip does it work on pixel 6 pro someone wants to know he said he can only install 64bit not 32?
[Magisk] Extreme_Ninja2099:
no... V4A only supports 32bit atm that's why there's the Re-engineered version being developed
[Magisk] jamiehawman:
I get what you mean now so do I have to move viper to system first how do I exactly do that il have a quick look on our guide again
[Magisk] jamiehawman:
I got too here but not sure if im in the right place or out I'm using fxexplorer or what's the best app the use or should I do it by plugging my phone into my PC
[Magisk] jamiehawman:
Extracted these on my PC do I copy all 3 of them but I can't find the viperfolder in my phone :/
[Magisk] jamiehawman:
Right I've got the viper Android ddc kernal profiles thing extracted am I copyinh all them 3 files ddc kernal profiles and putting them into the the phone storage viper files were they have 3 folders saying ddc kernal and presets
[Magisk] Extreme_Ninja2099:
U can just copy and paste the folders into Android/data/v4A(com.pittvanderwitt.viperfx/files folder
[Magisk] m0han:
@Zackptg5, @Extreme_Ninja2099, @Typhus_, Others,

Could you guys check out my post on another thread and suggest ways to prevent Viper losing it's effect? Thanks.

I'm using the latest Magisk Delta Canary and wish to retain my SELinux Enforcing status. I've searched this thread for 'legacy mode', but didn't get 'apt' results.
[Magisk] kodein:
AML not work with magisk 26.x
[Magisk] Lughnasadh:
I'm using AML on a device (Pixel 2 XL) with Magisk Canary 26102 (also with 26101) along with V4A and JamesDSP and everything is working fine so it seems AML is working for me on Magisk 26.x.

On another device (Pixel 7 Pro), I'm using AML along with JamesDSP and V4A-RE and both are working fine as well using Magisk Stable 26.1.
[Magisk] kodein:
I don't think so. For magisk 25.x, the AML module creates a folder in root/data/adb aml. Magisk 26 does not create this folder...

And with magisk 26, I hear a conflict when installing more audio modules... This did not happen to me with magisk 25
[Magisk] Lughnasadh:
It does for me.

I have no conflict, as stated earlier. Both JamesDSP & V4A are working for me using Magisk 26.1 with AML.
[Magisk] kodein:
For me, magisk 26 does not create the aml folder in root/data/adb. Magisk 25 yes. Tested on samsung galaxy s 20 fe and sony xperia 10IV
[Magisk] m0han:
You might want to give this a try: https://xdaforums.com/t/jamesdsp-audio-manager-mmt-ex.3607970/post-88584887
[Magisk] kodein:
Big thnk. Work
[Magisk] Zackptg5:
There's a bug magisk 26 introduced by changing some of the variables so I'll need to update aml for it. Planning to push fixed build tomorrow
[Magisk] Zackptg5:
Actually, looks like it's okay. I already had a workaround in place for another issue that happened to work for v26 :)
[Magisk] m0han:
So this is OK for Magisk v26.x?
[Magisk] zgfg:
Please give a try, I made modifications both for AML and JamesDSP to work both with Magisk v26 and earlier (tested on both platforms)

Ie, I run now JDSP and V4A, with the help of AML, on Magisk v26102 (latest Canary)

Adapted for the new magisk --path, $MAGISKTMP

Please see (modded zip installations attached in the quoted post):

https://xdaforums.com/t/jamesdsp-audio-manager-mmt-ex.3607970/post-88598223

Hoping to help you to get your official fixes released👍
[Magisk] kodein:
It works for me. Great. The old aml didn't work
[Magisk] m0han:
Is your V4A the latest v0.5.0? And, can your mods be used with the earlier (legacy?) V4A v2.7.2.1 too?
[Magisk] zgfg:
On my phone with Magisk v26102 I use V4A V2 7.2.1 but repackaged by hoch63, on the other phone with Magisk v25201 Delta I use V4A 64bit reengineered v0.5.0 beta

There is no difference for AML - it will find the patched audio Cnf and XML files from V4A and JDsp, and will merge them

It's just that the given V4A must be able to work (without AML and JDsp) on your ROM + Magisk setup - to produce the audio patches for V4A
[Magisk] xn0live:
does it improved phone call?
[Magisk] nagi_007pk:
Hey @Zackptg5

Dunno if you are going to read this but I am trying to replicate a patch with your AML library but it doesn't work at all. I am attaching the .sh file I created and I put it inside the adb/aml directory within the .patches folder but it never works. I would like some help to figure out how to work this but I'm completely lost

It's a patch to increase call volume inside the mixer paths tavil file. It used to be easy with the 2.5 version just adding that line inside the file and it worked on reboot but now I don't know what to do.
[Magisk] Zackptg5:
Oh man, a lots changed since v2.5 lol. The 'legacy' scripts (that yours now falls under) should still work as before.

Other scripts outside of original aml logic is designed to be pulled from other modules. So you'll want to make a magisk module with whatever you want and rename this script to ".aml.sh" and place it at the root of your module. aml will then pick it up and apply it like normal
[Magisk] Zackptg5:
Thanks for the updates. I'm working on updating aml with this and adding support for magisk delta and KSU. No ETA but I am working on it :)