yashsingh1/xdaforums huggingface dataset:
[Android Software Development] bick:
This question arises time and time again..." how do I know Ainur is running?".

The 2 simplest ways are:

Listen to the difference or make a change in the User Options and observe the change.

Reflash and uninstall Ainur, then listen to a piece of music on headphones you really like. Listen to background instruments like bass or drums and observe how 'wide' the sound is.

Reflash and install Ainur, repeat your listening test.....if you can't hear any difference then it's probably not working!

Another way is to add something like 'volume steps' in the User Options, and then again see if the option is working. (Changing volume steps may be applied, but audio mods may not, I'm not sure. Depends on the ROM).

Remember to watch the install process as it tells you if it's installed or not.

Also, this is hifi listening we're talking about here, MP3s just won't do it! Get your music in FLAC or other HD audio formats and use an HD player app like Onkyo HF Player, USB Audio Player etc.

Also, you need a decent pair of headphones.

Really though, if you can't hear any difference it's not working.
[Android Software Development] lifegap:
Thanks, my point is how to check whether Ainur is properly installed or not. It's easy on my phone as it has Magisk and boot loader unlocked and TWRP. But my Amazon HD8 2016 has just been rooted recently with unordinary way, and it doesn't have TWRP or Magisk to flash Ainur. Flash several times with Flashfire was not successful, causing boot loop at Fire logo and have to turn off/on to get the Fire HD8 boot. I am wonder while the reboot stuck at Fire logo, the flashfire tool did flash some part of all Ainur files into my Fire Hd8 or not
[Android Software Development] D1stRU3T0R:
When is a new update coming?
[Android Software Development] bick:
OK

I did the test methods for those who install it and don't really know whether it did install or not, it seems to be a popular question!

Great mod though, It's really changed my listening habits. Hearing my music as never before! From LPs, reel-to-reel, cassettes and CDs.....to 24bit digital.:)
[Android Software Development] lifegap:
Please help me to port it to Amazon HD8 (2016)

Dear [MENTION=6366997]UltraM8[/MENTION], I tried a lot of times to flashfire the Ainur zip to Amazon HD8 (rooted but do not have custom recovery yet) but all of the time, after restart, it stuck on Fire logo(20-30 minutes or more). I attached the flashfire lastlog here. Please advice me how to port it. Thanks a lot
[Android Software Development] UltraM8:
This log isn't helpful at all. Better to get adb bootup logs.
[Android Software Development] lifegap:
Please find adb logcat attached

I connect HD8 to adb and type adb logcat.

Then repeat the flashfire procedures and wait for it restart then turn off and on. It create a big log here. Sorry that I cannot find which part is usable. Thansk a lot
[Android Software Development] UltraM8:
Weird it says boot completed & I don't see any serious errors
[Android Software Development] lifegap:
It boot completed only after turn off and on. Before that, my HD8 stuck in the boot loop after flashing latest Ainur by Flashfire.

Tomorrow I will take the log right after stuck and upload for your consideration.
[Android Software Development] UltraM8:
So it did boot or didn't at all?
[Android Software Development] lifegap:
Did not boot. Only boot loop.
[Android Software Development] UltraM8:
I'm not sure what is causing the issue then. You can try opening the zip, navigate to common folder & delete "system" file and try again, tho I guess it's not it. Maybe those are libs, but no fix then.
[Android Software Development] Wolfcity:
You can also check if the installation was successful by typing

su -c dumpsys media.audio_flinger

into a terminal.

At the beginning of the output you'll see something like "libaries loaded". Look at the entries, if there's nothing like "not loaded" all audio mods incl. Ainur should be installed correctly.
[Android Software Development] bick:
Thanks, that's useful information.:good:
[Android Software Development] lifegap:
Thanks, I will try your suggestion. I include here the bootlog when it stuck in the boot loop. Please view it if possible and advice.
[Android Software Development] lifegap:
[/QUOTE][/QUOTE]

Thank you very much for your advice. I did from both adb in PC or termux and have the same result log. However, my HD8 log do not have "libraries loaded". Please view the attached text.
[Android Software Development] Wolfcity:
This seems to be not correct. You made the log with audio modules installed? Which ones do you use? The log is way to short and shows no additional audio entries or effectchains so it seems that no mods are installed and working. To compare, here's mine with Ainur Sauron MKIII, Viper4Android FX and Audio Modification Library installed.

Maybe one of the audiophile cracks here could have a look into your log too.
[Android Software Development] lifegap:
Thank you very much. my log on Amazon Fire HD8 was made after failed flashing Ainur Sauron MKIII, so actually no audio mod is installed and working, only the stock Dolby (but no way to control stock Dolby, and speakers are too weak). I also made the log with my Xiaomi Redmi 5 (running Pixel Experience - Pie) with Ainur Sauron MKIII, Dolby Digital Plus for Pie, Audio Modification Library and the integrated Dirac of Pixel Experience. Thanks to your advice, the sound of Redmi 5 is verified to work perfectly. my headache is only Amazon Fire HD8!

One more things: My Redmi 5 log and (I believe your Motorola log also) show sample rate output is only 16 bit and 48000 Hz. So these phones cannot play hi-res audio (24 bit, 96KHz/ 192KHz) at full resolution?
[Android Software Development] lifegap:
I modified the zip, remove system and flash but still boot loop. So I wait for the new version or new way of flashing :). In the mean time, I use the Kodi app with volume amplification for boosting some decibels and use higher sensitivity earphones to get bigger sound on movies.
[Android Software Development] Donavonn:
I have 2 questions:

Does this mod also optimize the phone speaker?

Is there a way to boost the volume on the phone speaker after the mod is installed? I looked in the options in the internal storage and seen an option for "m_gain" and set it to 8Db; I'm not sure if that only affects the headphones or the phone speaker as well.

Thank you
[Android Software Development] apvinod2003:
Hey, I've also been wondering if the effects are running or just a placebo. Can you please check my logs attached and let me know?
[Android Software Development] TheCarFierce:
I use HTC 10 6.0 original ROM + EX kernel. There is no way to install AINUR. The log does not show that it is installed. But MAGISK has been installed.

supplement :I later changed the original ROM 7.0
[Android Software Development] vinoxflame:
what does the log says?
[Android Software Development] BenParz:
How do I install this, exactly? And how do I make the most out of this mod?
[Android Software Development] TheCarFierce:
It should be said that the log is the same before installation and after installation.
[Android Software Development] TheCarFierce:
Can't I install directly with MAGISK??
[Android Software Development] TheCarFierce:
I think I got a file with ainur debug
[Android Software Development] TheCarFierce:
I installed the LOG

View attachment 4729794
[Android Software Development] Sulltan Mehmood:
Seems like draining battery fast
[Android Software Development] JJEgan:
No battery not draining.
[Android Software Development] Wolfcity:
It's a magisk module, you'll find it in the magisk managers download section.

You can flash it with magisk manager or TWRP.

There's nothing more to do, the mod has no UI, it's working out of the box. There are some mostly experimental options in sauron_useroptions (found in the root of internal storage) you can play with but I never felt the need to do so.
[Android Software Development] ytgbg:
On my Poco F1 and POSP Ainur along with AML makes Bluetooth sound to disapear, my Bluetooth Headphones doesn't produce sound. Getting rid of Aunir and AML brings back my Bluetooth Audio...

Any solution?
[Android Software Development] bick:
Not sure why this happens, but the question I ask is:

Is this mod of any use when using Bluetooth headphones?

Bluetooth uses compression, so that would reduce the quality anyway, wouldn't it? Is Bluetooth really compatible with Audiophile sound?

Just a thought....:o
[Android Software Development] BenParz:
This solution fixed things for me:

a. Renamed "audio_policy_configuration.xml" in "/sbin/.magisk/img/aml/system/vendor/etc/audio" to "audio_policy_configuration.xml.bak".

b. Copied the audio policy configuration xml file from "/sbin/.magisk/img/aml/system/etc" to "/sbin/.magisk/img/aml/system/vendor/etc/audio" and renamed it.

c. Restarted the device.
[Android Software Development] ytgbg:
In point "b." you renamed the file to what new name exactly? Both files have the same names...

Edit: I just left the second file without renaming it and it works. Bluetooth Headphones are working again. Thanks mate!
[Android Software Development] BenParz:
Which is why in the original folder, you add a ".bak" suffix so that you can easily implement the one that is from another folder.
[Android Software Development] UltraM8:
Support for magisk v19 is on the go, be patient!
[Android Software Development] Donavonn:
[MENTION=6037748]Zackptg5[/MENTION]
[MENTION=6366997]UltraM8[/MENTION]

I'm using the latest Magisk on my Moto G6 Play and for some reason when I install this mod, it doesn't work on YouTube and system sounds. This works for the phone speaker and not just headphones right? I also changed the M_Gain to 8Db but didn't notice a difference in volume.
[Android Software Development] adame09:
Try the audio compatibility patch
[Android Software Development] Donavonn:
I did and it didn't work. I installed the modification library so that I could install both Ainur as well as compatibility however they both stop working. If the Ainur mod is installed alone then it works, but once i apply the modification as well as the compatibility patch they don't work.
[Android Software Development] adame09:
What issues are we seeing with the new magisk beta?
[Android Software Development] UltraM8:
https://twitter.com/topjohnwu/status/1111270749388632064
[Android Software Development] xunholyx:
I updated Magisk yesterday, and the compatibility patch isn't in the repo now on the new version. Same with the modifications library

EDIT: That was on TJW. It's fixed now. https://twitter.com/topjohnwu/status/1111640143356674051?s=19
[Android Software Development] MohdAhmed:
Sir please help I tried James but when I tried ainur it fails.

I've provided the logs
[Android Software Development] UltraM8:
Update is live, next in line - dts addons update. Aml, jdsp & v4a should already being updated.
[Android Software Development] aocboe:
nice work
[Android Software Development] dyval:
Bro new update is just for Magisk 19 support? Thanks.
[Android Software Development] UltraM8:
read OP - 18+
[Android Software Development] UltraM8:
boot scripts & partitions mounting hotfix link is in OP (and repo)
[Android Software Development] UltraM8:
Yet another hotfix is up. Zack says that magisk git keeps breaking our binaries, which is weird. If anyone ever seen any mod (or better rom) devs complaining about something like that - we'd be happy to read about that.
[Android Software Development] Sulltan Mehmood:
New update killer jdsp

The new update killed james dsp
[Android Software Development] Golf c:
Try uninstalling everything and reinstalling. Same happened to me. AML seems screwed. Seems like it's working now. I haven't had a chance to test alot
[Android Software Development] Zasnizas:
So far everything is going well, ainur, V4A and aml are working fine for me, thanks for the update
[Android Software Development] 64ashg:
For me v4a materialized v2.7.0.0 with the latest update gave me bugs with aml failing to detect and bootloops.

I removed magisk 19.0 and installed 18.1 stable and all was fine.

I would recommended anyone facing problems should do the same as magisk 19 is a major update and modules with updated template (for magisk 19) act up and conflict with non magisk v19 template modules.

Atleast for a while until all the modules you use are updated with the new template or magisk 19 comes to the stable branch.

Running nlos16 on op3t
[Android Software Development] bomie:
Sir, can you please send me the link V4A for Pie? I used Skydragon OS. JamesDSP not working for me. Thanks
[Android Software Development] JJEgan:
App AllRoot Solutions is the thread.
[Android Software Development] lifegap:
I installed the March 30 update to my Redmi 5 and it works fine. However, this zip again cannot be flashfire into my rooted Fire HD8 2016 and caused a boot loop at Fire logo.
[Android Software Development] ngshixuan:
It is meant to flash in magisk
[Android Software Development] lifegap:
Thanks for the tip. I know it, but HD8 cannot have Magisk at this moment as bootloader cannot be unlocked, so my choice is Flashfire only
[Android Software Development] TheCarFierce:
What does it mean to debug mode when installing??
[Android Software Development] JJEgan:
Problems.

Then debug is what it says.
[Android Software Development] TheCarFierce:
So the debug mode is not normal during the installation process???
[Android Software Development] RagingHarry:
Since latest updates after magisk 19.0 being released, running magisk next by ianmacd, and the move to image less, Sauron also had an update.

Running viper4a from magisk and aml runs perfectly for me on my op6 beta 15, but as soon as I install the Sauron magisk module it seems 't work on initial reboot.

But on every reboot after that I can't get V4A to process any more 9bout of 10 times.

I'd like to help, but what tests and commands do you want me to run for that?
[Android Software Development] Rh31ne:
Hello,

I am using Mi Max 3 on EU Rom 10.0.3.0, with magisk 18.1, Jdsp, audio compatibility patch, sauron MK III 31.03.2019, and AML 2.1 installed.

I have a slight problem since using MK III on initial release. When I listening music using wired headset, when notification sounds play or when I lock the screen, the music sound is loss immediately. I can not heard the sound at all. I must unlock the screen, changing track and the sound came back immediately.

Funny thing is, it will not happen when I use wireless headset. Also it happen with some type of music. Example, on the same album, when I play music track number 1, the music will always play no matter what I do ( notification sound play, I lock and unlock the screen), but when I play track number 8, the strange thing occurred. But it will not happen when I use wireless headset.

Any idea what might happen?
[Android Software Development] UltraM8:
Install aml after you flashed all other mods/addons
[Android Software Development] UltraM8:
Not sure what is going on, try installing mods one by one checking if problem still there
[Android Software Development] Rh31ne:
Hello, thank you for replying. I can add some information regarding this.

Like I said before, the sound loss thing happened when I'm using MK III. Before I'm using MK II.II 19.06.2018, everything is fine.

So if you told me to installing mod one by one, the problem exist when I install MK III, JDSP is fine by itself.

Regarding JDSP, when using MK III together with JDSP, the sound loss is doesn't happen. It seems some processing is broke when I use only MK III.

I really like MK III sound. It really had a better sound quality than MK II.II, and of course I really like it using stand-alone rather using together with JDSP ( thes sound is better).
[Android Software Development] UltraM8:
Did you install AML to use both jdsp & sauron? Regarding the sauron you'll need to examine the contents - start with removing it's props, then go after other files it flashed.
[Android Software Development] htb2050:
Since G2 and S5 have the same chip 8974 so theoratically they should be compatible, anyhow I am going to flash them and see if it works.
[Android Software Development] jacomail95:
I have a Nexus 5 with the same SoC, and as far as i have tested Ainur works for us only eliminating by the zip the mixer_paths.xml and audio_policy.conf files first, because they are G2 specific

Inviato dal mio Nexus 5 con Tapatalk 2
[Android Software Development] UltraM8:
Policy might work. But mixer is different from one vendor to another
[Android Software Development] Hopie:
lost sounds after flashing kronos v1 (with audio.offload.disable=1) for htc one m7.

rom: Resurrection remix (cm13)

with viperone 9 (sense) all fine
[Android Software Development] UltraM8:
Yes, this is the common problem with most CM & Aosp (on most devices)
[Android Software Development] anbinhv:
Which version will work best for Oneplus One Bacon?
[Android Software Development] bigmarv31:
Not exactly sure what to flash for my nexus 6 any help would be appreciated Thanks
[Android Software Development] Phrodini:
Most likely pandora
[Android Software Development] tsalta:
HTC M8 Tested!

ROM: S.Team-SL-1.0.1 Fully HTC 10 PORT including Dolby Boomsound.

Flashed: AcoustiX Audio v29 as always.

Now did Flash KRONOS HTC M8 v1.

ALL work perfect Really CRAZY SOUND!

Thank you.
[Android Software Development] UltraM8:
:highfive:
[Android Software Development] kouss77550:
How to help you to make it work on Nougat with Nexus 6P?
[Android Software Development] UltraM8:
Try deleting policy files from zip & flash, since other vendor won't release their updates, i can't deal with them properly. There will also be a major update soon, stay tuned)
[Android Software Development] Mostafa Wael:
http://telegram.me/ainuraudio

[MENTION=6366997]UltraM8[/MENTION] Telegram channel for his Ainur series of mods, feel free to join :good:
[Android Software Development] threetwentyfizzle:
Just tried Kronos v4 on my HTC 10, and the music player apps have become extremely unresponsive/laggy. For example, if I try to press pause or skip to another track, it takes several seconds to register, to the point where the music players pretty much freeze. Stock HTC Music Player, Google Play Music, and other 3rd party apps. Sound quality increase was noticeably better tho.

Any ideas what's slowing down my phone?
[Android Software Development] DeeZZ_NuuZZ:
Which ROM? Which additional mods? Wipe cache and dalvik cache too
[Android Software Development] threetwentyfizzle:
Viper ROM, I thought maybe the tweaked PNP profile was throttling the CPU, but I reverted to stock PNP profile, and wiped the cache, unfortunately no luck resolving the freezes, so had to restore my system image.

I'd love to try this mod again if I can figure out why it was slowing everything down. Extra CPU processing to play audio files with this mod?
[Android Software Development] DeeZZ_NuuZZ:
i was running this mod before on viper now on leedroid, and never had any problems. no there is no extra cpu processing needed...it should work fine. just reflash the rom, maybe another kernel if you are using one, the PNPmod and again kronos, acoustiX isn't needed, only if you also want the tweaked dolby presets, but flash it after kronos, otherwise you won't have the tweaked presets and just the file from kronos
[Android Software Development] htb2050:
Any news about ainur Pandora updates?
[Android Software Development] p50kombi:
Really? In the op it specifically states to flash acousticx first and then Kronos... Which way around is it?
[Android Software Development] DeeZZ_NuuZZ:
It doesn't apply for v29 anymore. Was only for the ones before because they had other files which were necessary to flash it at first. Now not needed anymore if using v29
[Android Software Development] Rh31ne:
I never wanted to use JDSP. Sauron is enough for me. But I had to install JDSP to ensure my music playback is smooth. Are you saying that the AML is the culprit?

And regarding sauron props, did you mean UO?
[Android Software Development] warrencoakley:
Does Ainur Audio work on stock Pixel 2 XL?
[Android Software Development] UltraM8:
Yes it should
[Android Software Development] UltraM8:
You need aml to use more-than-one-mod lol
[Android Software Development] xunholyx:
I've using it on my stock rooted Pixel 2XL for the last year or more, so yes it does work.

If you mean stock and NOT rooted, I don't think it will. I'm pretty sure you need root.

I could be wrong though, so if I am please correct me [MENTION=6366997]UltraM8[/MENTION].
[Android Software Development] warrencoakley:
I just can't get Ainar or the new Viper apk to work so I have reverted back to DDP and the older Viper option which works flawlessly.
[Android Software Development] Donavonn:
Is there an way to increase the volume of the speaker with this mod? I know there's the "N_MGain" option in the useroptions but that's for headphones.

After installation, I can't really tell tell a difference and have no idea if the mod is working, so being able to raise/lower the volume will verify that.

Although, in the end I still want the volume to be raised. There's an option for audio gain on the V4A mod.

Does this mod even affect the phone speaker at all? Or is it just for headphones?
[Android Software Development] RagingHarry:
I tried several versions.

1- V4A module install on magisk works nearly always, load profile and run, after reboot sometimes a FC and restart of V4A is needed, same goea for when aml is installed.

2- instal V4A magisk module, reboot, setup/load profile, install aml, reboot, install Ainur Sauron, reboot and test working, mostly initial reboot works reboots after that, mostly because of newer [MENTION=7187684]ianmacd[/MENTION] next version of Magisk builds available, V4A isn't processing 9/1p

3- and last option, install V4A magisk module (no errors in magisk popup-install), install Ainur Sauron (error in magisk popup-install about no aml install and conflicting audio mod) end in a never processing V4A.

4- =3- with a reboot between V4A and Ainur Sauron another robot then aml, not working V4A processing.

That where my possible options to try and which I did before posting, aml before V4A is a no go, then the V4A driver won't install doesn't work.
[Android Software Development] Gourcuff14:
Hello. I'm having trouble running Viper4Android FX v4.1 and Ainur Sauron MK III on Magisk v19 and Manager 7.1.1 (203). It was working before with the Audio Mod Library v2.1 module but now it just says abnormal in Viper. Is it update related? Thx

Edit: fix found sorry. yes to open/close option during install

https://xdaforums.com/showpost.php?p=79251694&postcount=4632
[Android Software Development] BenParz:
Just a question, what is the ainur james dsp module in magisk?
[Android Software Development] DanGLES3:
It's an audio equalizer kinda like viper4android
[Android Software Development] JudzGboss:
Dolby audi mod

Hi,

After Installing Magisk 18.1 on a fresh lineage os 13 rom, I installed sauron then installed dolby zte axon 7 port then the aml but for some reason dolby dosen't open. What can i do?

By the way, the dolby port works when i don't have sauron.
[Android Software Development] UltraM8:
I don't think that port was ever updated for new unity/aml
[Android Software Development] JudzGboss:
Will It be updated soon?

In the mean time I'll try an older version of aml and see if it works

Thanks a lot
[Android Software Development] hidayattaufiqur:
I have tried installing ainur with v4a>ainur>aml method but after that my viper is not working. It says that viper needed to reinstall the drivers, so i clicked yes and after a few moments of blank the app then says that it needs to reboot to work, so i did reboot my phone. But after rebooting viper goes back to the first state which is reinstall its drivers which is weird. So i tried to uninstall all 3 of them and tried to reinstall with these order. ainur>v4a>aml, ainur>aml>v4a, and v4a>aml>ainur yet still the problem occurs. What should i do?? I'm using pocophone on top of latest miui beta rom (9.3.28)
[Android Software Development] UltraM8:
Check the aml folder and see if configs are patched properly, then check mixers and sauron files