yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Bonusbartus:
Not to be too skeptical about this mod, but what exactly does it do? I mean I read the first few posts, everyone is very enthusiastic about how great it is... but what does it do?

How does it affect my Oneplus 6 when I install it? In what way does it make the sound better, and how do I notice these enhancements?

not trying to be rude, I really am interested in the technical background and research in the mod:)
[Android Software Development] Keule-Tm:
Mainly it rectifies bad decisions of OEM's. Decisions regarding stock settings.

You can [try to] notice by depending on the data of your ear (read: "does it *sound* better?").

If you perceive it as only marginally better, chances are it doesn't change audio quality with your device.
[Android Software Development] UltraM8:
https://xdaforums.com/showpost.php?p=77647608&postcount=4842
[Android Software Development] _BГ@ckθut:
So i flash this mod with default UO and i encount there the issues that sound wont come through Bluetooth but the speaker and wire headphones work just not Bluetooth! And i used matlog! And i see that it said A2DP profile not ready! Return error!

My device is : OnePlus 6T on Havoc OS!
[Android Software Development] Bonusbartus:
Thanks, I read it, including the first 2000 posts in this thread. it still doesn't anwer any question.

Nowhere there is any mention of what makes this MOD make the sound better...

I mean, what does this mean? what is the result of these things you mention:

- Android SFX blobs eplacements (musicfx & audiofx apps might no longer work)

Advanced features:

- Qualcomm codec mixer tunings

- OnePlus 5/5T, Mi 8UD/EE, Mi a2. Pixel 1/XL, Pixel 2/XL, Pocophone speaker amp DSP modifications

- Forced Hexagon DTS Headphone:X module processing, mixer controls & custom config

- * DAC powered devices mixer edits

- Codec power gating remover

- Qualcomm BT scrambler resamling

I understand you put a lot of effort in this, and I really appreciate all the research, but what is the outcome of the research, and why would it be better.

How does it change the sound coming out of my headphones? Are samplerates changed? codec filters being changed? processing changed/switched off? ..?
[Android Software Development] Dante Enoshima:
Just my opinion, it's better if you do your own research on how those feature works.

As for sound become better if you have those features enabled.... That depends on your ears and liking. You kinda need to do lots of trial and error to find which config is perfect for your liking.
[Android Software Development] menfie:
I have this same problem. And when I tried to disable the Magisk module (to test if it makes any difference or not), it bricked my device. Uninstalling via recovery didn't fix it, had to restore from backup.
[Android Software Development] Rh31ne:
I understand that I need AML to use both the JDSP and Sauron. I've already done it.

The question is still the same. I "had" to install JDSP, because by using it both with sauron, the playback sound will never stop. But I don't like JDSP, because it change the natural sound of Sauron.

So if I want to use sauron only, I faced the problem about my playback sound that will stop whenever the screen is back on from lock screen.

Yeah that's right, I updated my OS to MiUI EU 10.3.1.0, it's Pie now, and the problem is still the same. But it got pinpointed. So the sound will stop, whenever the screen is back on from locksreen.

So any idea, which prop should I edit, or maybe some UO that I must use?

I really really like using Sauron from the start, so I hope you can help me in this particular case.
[Android Software Development] Bonusbartus:
Sorry, I never said I didn't know what the features do or how they work.

I asked the OP to explain what it is, which settings he uses to make this the best audio mod.

Yes there are a few settings which are optional, but besides these, this mod claims to get the best possible audio out of every smartphone.

Nowhere in this thread is ANY mention on what is specified to be the best possible audio, nor which settings are used to achieve this. Or what the definition on best audio is.

I am not asking for the OP to provide sources or anything, I don't want to steal his work, I only would like to know what it does (from a technical perspective). And no that has nothing to do with trial and error, nor what my ears like to hear. not if the claim is that this mod provides the best sounding audio output.

Again, not trying to be rude, purely technical interest.
[Android Software Development] UltraM8:
There is no definition at all. There is plenty of backends left by manufacturers which we can try to experiment with - this is what we do. The idea is to squeeze more, from already solid system, but since it's mostly proprietary to manufacturer - I can't be sure we know exactly what it is. Number of backends vary depending on android sdk, cpu, device manufacturer, apart from drivers and kernel differences there are similar parts though - you can check the installer and see or yourself.
[Android Software Development] UltraM8:
just delete whole prop file at this point, uo should be stock untouched
[Android Software Development] BenParz:
When editing ainur useroptions, do I have to add a space after the = sign?
[Android Software Development] castrum_doloris:
No.

Just =true
[Android Software Development] fidanzata:
After installing MK 3 via magisk my device have no sound, anybody can help me?

Thanks.
[Android Software Development] Rh31ne:
Well the problem seems solved by using another music player. I'm using poweramp now. Before that I'm using MIUI stock music player and Sony music player (magisk).

Thank you for your response regarding this. I really appreciated it.
[Android Software Development] UltraM8:
get matlog
[Android Software Development] fidanzata:
Here we go sir.
[Android Software Development] cybugz:
is the dirac port still active or not? link provided is now not working.
[Android Software Development] djeu:
I use NVidia Shield with VLC app to watch movies from NAS. I have USB audio on Highest Quality to enable upsampling to 192Khz as my DAC sounds much better that way.

Will Sauron improve the upsampling algorythm when using VLC or does VLC use its own libraries?
[Android Software Development] UltraM8:
Did you use anything in UO? You should try removing system.prop from sauron folder in magisk
[Android Software Development] UltraM8:
Sauron has nothing to do with any player app
[Android Software Development] fidanzata:
Fresh install, I dont use UO sir.

Deleted system.prop but still loss sound, it's just like loss for music player, youtube, etc, but for ringtone or notification no problem.
[Android Software Development] UltraM8:
Try removing lib folders then. Any addons with AML installed?
[Android Software Development] fidanzata:
Nope, i dont installing any soundmod

Maybe this is conclusions on my device

Fresh install without AML = loss sound

Fresh install with AML = loss sound

Removing system.prop without AML = loss sound

Removing lib folder with AML = working perfectly

Thanks sir :o
[Android Software Development] UltraM8:
It's not it yet - now you have to figure out which cause that. Testing deleting libs one by one. If it's soundfx libs - I can't help you, you can only try changing rom then.
[Android Software Development] meonster.me:
help...error on mount /dsp

Hi...I got some probs...its happen when flash use twrp..it said cant mount /dsp....how to solve it...please help...thank you..
[Android Software Development] fidanzata:
Too bad it actually soundsfx libs, changing rom for now.

Thanks for your help sir.
[Android Software Development] Gianluk99:
Getting Error 1 while trying to flash on a clean new installed rom without any audio mods already on. Any suggestion ?

EDIT: Solved...don't mind me xD

Btw Thanks so much for this :D
[Android Software Development] Gianluk99:
If anyone has already tried, what is the best audio/sound mod that works along Sauron on Pie roms ?
[Android Software Development] Aghoraswami:
Hi

Try viper 4 FX with ainur it's the best alternative to Dolby port if you are looking to replace it on pie as Dolby doesn't work currently. So give it a shot you won't regret it.

Flash v4fx then ainur and finally AML .
[Android Software Development] cybugz:
What is universal install of "fmas"..?
[Android Software Development] h30_u10:
Hi,

i installed the latest version and after that audio is not coming from handsfree. Instead the audio is coming from speaker. Even when i make a call the sound comes out of speaker, and speaker is enabled, and i am unable to disable speaker.

Any help please?
[Android Software Development] lulzBoB:
While a lot of people use sauron along with Viper i don't see any improvements when i install viper with the drivers. (without its just a dsp if i am right?)

I am using the DTS Headphone:X v2.0 port by UltraM8 (https://xdaforums.com/android/software/port-dtsx-ultra-dts-headphonex-t3896233) alongside sauron. For me this is the best combination I ever tried! (AOSP Pie Rom)

---------- Post added at 01:34 PM ---------- Previous post was at 12:43 PM ----------

Never had this problem but maybe the guys in the telegram group can help you? The dev is pretty active there and you will get responds faster than here.
[Android Software Development] ROKO__:
For me it just works on nokia 6.1 android 9.

Ainur Sauron + jamesdsp

JOE spatializer irs and specific ddc vdc depend on headset.
[Android Software Development] scowley7:
That screenshot looks like you are installing when the phone is up and running so perhaps in magisk and not TWRP? Anyway just create a symlink to system/vendor/dsp at root using a file explorer and install again. Should work.
[Android Software Development] HastySavitar:
I'm using V4A and Sauron MK III and the AML but Sauron isn't working.When i reboot the phone i see differences of the audio for 3 seconds but after 3 seconds it turns back to normal just v4a working can anybody help me to fix that issue? (Android 9 Pixel Experience)
[Android Software Development] Tyakrish:
Is there is way to know if Sauron is up and running like for V4a...
[Android Software Development] ederekun:
It's a system modification, as long as your system plays music it is working. You should read OP a lot more
[Android Software Development] bick:
See here:

https://xdaforums.com/showpost.php?p=79144157&postcount=5322
[Android Software Development] Revontheus:
The audio steps don't work for every device, the easy way to see if it's running is simply to check the Magisk log. Alongside with AML and Viper, the magic mount structure for Ainur should be constructed last.
[Android Software Development] justjr:
The best way, the right way, is to check your audio flinger before and after to see what libraries were active before, and to see what are active after installing.

Command to run it on terminal: sudo dumpsys media.audio_flinger

Use sudo dumpsys media.audio_flinger > filename.txt to save it and compare them after
[Android Software Development] UltraM8:
Alright, so today suddenly was a big day - while I was asleep sneaky [MENTION=6037748]Zackptg5[/MENTION] dropped new Sauron build with core unity update, which I figured out only when got up, reading discussions at ainur tg XD. The second big thing happened is quite long discussion with [MENTION=7300209]pantherking[/MENTION] on getting me a new device to play around with now having some logical conclusion. Initially, a year ago he wanted to get me essential phone, but meh, essential not seemed interesting so I've declined this generous offer. A year after that my original m9 died and we've a donation campaign, we didn't get to the desired amount to go for htc u12, but a good friend gave me the very same m9 as I fried. Everything settled down, but since there was no device to fulfill my expectations, I've decided that I can't spend backers money on myself (I'll just drink em lol). Instead I've invested it to ainur website - to domain, hosting, and especially tricks to boost it in organic search. I don't regret it - things I couldn't do for real life serious projects, that might loose ranking, actually did very well here. This year, after introducing chinese version it started ranking even better.

This whole story leads to another big thing happened today. As you may know nubia launches red magic 3 phone, which is what I'm getting for as a dev device. I'm not in real need for an everyday use device, although second m9 I borrowed is ****ty af in today's standards (yeah and fc your standards, nothing can beat m9's headphone amp with backported htc m7 config) - as a dev device nubia3 seems legit. Qualcomm 855 with updated Audio codec & Hexagon dsp, that shifted it's proprietary things again could be fun to play with. So we decided to see if we can boost another venture and couple it with Narsil teaser in a GoFund campaign. It's too early to tell any specifics on Narsil, rather then it's official announcement that project that been hyped for so long isn't a myth. I'll probably get nubia3 anyways as it seems for me to be best value for buck, it's just a matter of time & real life issues that always shift my wants. Narsil will be there (don't ask me when! idk yet), but this venture could be a good motivation to prepare all the things faster. There is next hype hint in the campaign text as well ;)
[Android Software Development] BrarPC:
I am using viper4android and ainur sauron module and not AML. But using the command su -c dumpsys media.audio_flinger, libraries not loaded tag is empty i.e. all mod are working fine. Do i need to install AML? Actually i did installed aml few days ago, but after that viper keep on saying driver not installed. so i uninstalled it and then it worked fine. is there something that i am missing, how two modules are working without AML?

My device: Mi A1 (LOS 16)
[Android Software Development] UltraM8:
UPD. GoFund closed. Chris Hernandez pls contact me.
[Android Software Development] MrAshuBrar:
[MENTION=6366997]UltraM8[/MENTION] mine is same case. Any advice?
[Android Software Development] UltraM8:
Libs in Sauron known to not fully load, I've already said a while ago I can't make it more compatible atm. Aml needed if you use UO effects installation.
[Android Software Development] MrAshuBrar:
But libs not loaded tag is empty. And aml is breaking viper as well. It even broke jdsp on my device. Without it, no driver issues pops up when opening viper or jdsp. About aml, i will try asking in its thread as well, whatever can help.
[Android Software Development] Destiny97:
Hi guys. I can't use viper with sauron anymore. I install audio modification library too. When I open music almost 3 second sound gone, after only work sauron. Viper can't change audio effect.
[Android Software Development] dioooi:
Hi is there any way to delete the related patching item when updates the AML?
[Android Software Development] Tyakrish:
removed
[Android Software Development] Tyakrish:
[MENTION=6366997]UltraM8[/MENTION]

There is an issue with Ainur Sauron. Ainur in combination with V4A and AML, breaks V4A.

I confirmed it by removing Ainur as suggested by [MENTION=6037748]Zackptg5[/MENTION]

It does not seem to be issue with AML, since it works with other mods.

You can read this post I made in AML thread:

https://xdaforums.com/apps/magisk/mod-audio-modification-library-t3745466/post79501240

I have attached Sauron install logs below:
[Android Software Development] TheRedmiBuddy:
So do I just install the mod or are there extra steps
[Android Software Development] simondd:
Same me.
[Android Software Development] JJEgan:
Works for me.
[Android Software Development] gehess:
Yes. :D
[Android Software Development] xunholyx:
A reboot after installing :D
[Android Software Development] Destiny97:
I back to audio modification library 2.2 and now, working fine.
[Android Software Development] adame09:
Anyone have a good options file for OP5T on OOS or CNP?
[Android Software Development] thunderteaser:
Just found out about the dumpsys media.audio_flinger command and I can now confirm my suspitions: Ainur has never been loaded on a Redmi Note 7. Even if AML patches both V4A and Ainur, only V4A shows as loaded in the output. It is very likely that I cannot read the output, but as long as I see Qualcomm, AOSP and V4A as vendors of the libraries, I guess I am supposed to see something like "Ainur Sauron", but I got nothing like that. BTW thanks for all of your efforts and I am looking forward to properly test this amazing mod on my device.
[Android Software Development] aqua_hopps:
Sauron itself is not an effect. It works by swapping out effect libraries and editing mixer values. You won't see extra effect entries in dumpsys unless you enabled effects such as audiosphere, shoebox, fmas , and etc in sauron_useroptions. More to know is that effect shown in dumpsys doesn't necessarily mean it is working.
[Android Software Development] davbay1:
Hi everyone, so this is most likely off topic and I apologise in advance but at this point I honestly have no idea where else to start. So I recently purchased a pair of Galaxy Buds (I know not very audiophile but I needed something completely wireless and really liked them). The Buds support 3 codecs SBC, AAC, and Samsung's Scalable Codec. No aptX or aptX HD. The recommended Codec is obviously Samsung's except, I don't have a Samsung device, I have a Oneplus 6. I was wondering how realistic is it to port over their codec to a non-samsung phone? (I get that it's proprietary to their phones but maybe it's not hard to port or maybe it's locked down and absolutely no way of doing it. Just curious to see what you guys might think). Again sorry for the off topic post, just didn't know where else I could ask. Thank you so much for any help that is offered.
[Android Software Development] albysprx:
Is audio modification library needed for Ainur Sauron?

And is Ainur Sauron good without JamesDSP?
[Android Software Development] robotzki:
When flashing this mod on a xiaomi MI9 based on miui 10 (I installed gsi aosp rom on top of it) the installation gives an error about not finding /dsp.

In the root of the phone there is no such folder. But there is a dsp file which is linked to /vendor/lip/dsp.

Is there a workaround for this.?
[Android Software Development] UltraM8:
Use twrp
[Android Software Development] dcxtraeon:
Audio modification library is only needed when you're using multiple audio mods.

Ex: Ainur , Viper, audio compatibility patch, and Dolby digital plus or Ainur and James DSP.
[Android Software Development] dolly1979:
Aml is a must if you choose something in UO.

In my device i can hear the difference with or without aml.

Using aml sound is a lot fuller, bass is great and crispier too.
[Android Software Development] broken514:
i just flashed syberia rom on my Mi 8 installed Ainur after boot and everything works fine but there's no audio when using bluetooth devices

i dont know if it's a rom problem or a bug of ainur

if anyone can help me it would be great :)

here's my logs
[Android Software Development] Arya_3RDNumber:
Hello, I'm new with Ainur Sauron. Just installed in my LG V20 also with AML and ACP. I leave UO with default set. TBH I just feel my V20 have different SQ at few points. Volume and some shape of sound ( I use bright headphone and IEM)

I really want to know. How many different you got after this mod installation. I have read this mod can configuring V20 quad DAC. Perhaps you can give me suggestion to do more configurations.

Sorry if I ask a dumb question. Thanks :)
[Android Software Development] UltraM8:
Try deleting audio_policy_configuration xml from magisk/sauron/vendor/etc/

If that doesn't help - make catlog, or adb logs
[Android Software Development] broken514:
changed rom to Havoc and still no sound thru bluetooth deleted audio_policy_configuration xml too but no luck
[Android Software Development] UltraM8:
Yeah I see there is some lib missing, but tbh I'm not into bt playback at all, so idk how it should be. Does this happen on other custom roms, or only havoc?

I can suggest to start with system.prop removal, there are also sound_trigger xmls in /etc - logs show something on them as well, try removing those as well. Either than that I can't say much of what is actually broken (unless you've been setting something in UO).
[Android Software Development] broken514:
i removed the files and there's still no bt audio.

im on syberia before and changed to havoc both have the same problem.

tried playing audio on phone speakers but when it connects to bt speakers sound stops for a sec and it resumes play on phone, it seems like its not routing audio on bt when sainur is on and i havent touched OU its on default

i dont encounter this problem on stock Miui and Xiaomi.eu roms
[Android Software Development] ..Cory..:
[MENTION=6366997]UltraM8[/MENTION] Any update on getting Sauron to work with the DTS port?
[Android Software Development] UltraM8:
Everything working for me. There is aml update ahead with some fixes
[Android Software Development] Arya_3RDNumber:
I got issue when playing all MP3 files and some FLAC 24bit/44khz. Volume became too low and my HiFI Quad DAC Toggle didn't change anything. In another files, all is good. any suggestion to fix this? Am I missing something?

I use LG V20 VS995

Edit : Just noticed when I use Koss KSC75 (60ohms), that files with low volume become abnormal sounding. This not happening when I use IEM, normal sound with low volume

Solved : Never mind, I just put mixer_paths_tasha.xml patched from this mod and placed to /system/etc and /system/vendor/etc after uninstallation. I got loud and clear sound without any issues
[Android Software Development] nadejo:
using this mod with my bose soundsport free headphones i cannot benefit from the audio codex features as it uses AAC only. right?
[Android Software Development] nadejo:
it seems some effects only apply after opening the equalizer interface by tapping on the equalizer
[Android Software Development] Zayed_:
Hey, I can't find the Ainur Sauron uninstaller. Could anyone point me to it? Is it in another thread?
[Android Software Development] JJEgan:
HAY

its found under SEARCH THREAD or OP .

https://xdaforums.com/search/thread/3450516?query=uninstaller
[Android Software Development] DaveedDB:
You just flash it again to remove it ,or in the magisk modules section there is a trash can on the right ,press that and reboot and you're good
[Android Software Development] Zayed_:
Thanks a lot. Will try that.
[Android Software Development] Luba0609:
Sir, this is my first post in xda...

Will SAURON work on my SAMSUNG GALAXY CORE PRIME VE LTE [SM-G361F]?... It has Marvell Armada PXA 1908 SoC

Thanks in advance...
[Android Software Development] Baffsuki:
Wtf is that
[Android Software Development] Luba0609:
My CPU is neither Qualcomm, Exynos, Kirin, MTK, Rockchip or Spreadtum, nor I have a dedicated DAC in the phone.

I wonder whether SAURON support my hardware...

Sorry if I am stupid... :(
[Android Software Development] UltraM8:
The only way to find out is to try yourself
[Android Software Development] Rexee:
Is this working on Android Q Beta 3?
[Android Software Development] UltraM8:
Unexpectedly Narsil is finally out! I'm tired of all this and out till decide to come back with something else. Yeah there should be some work made for better Q support, but I don't have it yet anyways. Since Narsil doesn't that heavily depend on libs/blobs - it'll be the very long-lasting mod of all times, that should be very easy to maintain. Sauron won't be forgotten - there were some plans on MK IV. Both mods will receive incremental updates, any major features require experiments I can't perform atm.

Cheers everyone.
[Android Software Development] gehess:
Great work, man! Really appreciated. Can't wait to try them all out.

And remember, to anyone who tries to combine Sauron and Narsil... you might end up losing a ring finger.
[Android Software Development] slimshouki:
Where is Narsil? Is it a different audio mod?
[Android Software Development] DaveedDB:
3rd OP or

https://ainuraudio.ru/ainur-narsil-android-audio-mod/

Also check out the gofundme the help support the devs , almost halfway

https://www.gofundme.com/upgrade-ultram8-to-his-dream-phone-red-magic-3