yashsingh1/xdaforums huggingface dataset:
[Android Software Development] UltraM8:
[Addon] Bang & Olufsen a.k.a ICEpower

​

Icesound effect made by Icepower in association with Bang&Olufsen, ported from latest Asus zenfone 3 ultra firmware. Is used as an EQ, but still we can't port the UI properly, so the only chance is to use the presets from other Asus devices.

Note:

This effect port won't work on Oreo and above

This effect might not let any other effect render due to audioflinger limitations.

Install (nougat):

Ice addon

OREO ICE can be found here

Created:08.02.2017

Updated:

14.06.2018

Changelog:

[B]14.06[/B]
unity update

[B]01.05[/B]
unity update

[B]15.04[/B]
unity update

[B]22.03[/B]
installer update

[B]26.02[/B]
unity installer update & various fixes

[B]20.02[/B]
various fixes

[B]06.02-07.02[/B]
unity installer updates & fixes

[B]13.01.2018[/B]
aml 2.9 update

If you want to use this port in your MOD or ROM, contact the OP for permissions​
[Android Software Development] :
Does this include an equalizer? I tried to google it but couldn't find enough information.
[Android Software Development] UltraM8:
Well on asus - yes, but idk if i can merge 3 apps in one to have eq.
[Android Software Development] phantomhell:
Nice one

This mod made my phone hear the music, nice one.

May I share this mod on my personal blog or a facebook post? I will link my post to this original link, and also credit goes along you.
[Android Software Development] Bud Horn:
Han I use this on my HTC 10 along with Kronos or is it pointless?

Thx in advance.... Ainur really does the magic ??.

/Bud
[Android Software Development] moe18:
-DELETE-
[Android Software Development] UltraM8:
Sure
[Android Software Development] UltraM8:
Yeah u can use it.
[Android Software Development] UltraM8:
Guys, i've updated the addon. It seems like preset from zenfone3 ultra killed sound by adding a crackling noise on highs. Hopefully [MENTION=6927173]red_naxella[/MENTION] found a better preset (from zenpad 3 if i'm not mistaken)
[Android Software Development] Krystalmyth:
Yeah so no audio on HTC 10 using Kronos v6. Latest on op unless something newer.
[Android Software Development] phantomhell:
Thanks you very much :good:
[Android Software Development] DroidIt!:
Strange, I have v6 installed on two 10's and they both work perfect. Using this + Leedroid :)
[Android Software Development] Bud Horn:
Same here. Kronos works perfectly on Leedroid.

---------- Post added at 07:11 ---------- Previous post was at 06:57 ----------

Hi again [MENTION=6366997]UltraM8[/MENTION].

So I just flash it after Kronos, right? Or should it be before?

Another thing: I've been using Arise 2.3.3 with Dolby and I normally flash arise, ahrions Dolby Atmos and then Kronos and finally wiping dalvik before booting... Is it the right way doing it?

Thx in advance, mate ??.

/Bud
[Android Software Development] sandyss18:
hi

one issue with addon. after installing it alogwith pandora or atlant, system ui error.

i am on kitkat rom (MTK chipset)
[Android Software Development] HaTrED_:
On stock based rom?
[Android Software Development] UltraM8:
Yeah, MTK seem to have problems with addon. And for you it might be worse, as far as it's kitkat, sry, i don't think i might fix that.
[Android Software Development] sandyss18:
OK got thanks for the response.

Anyway mod is working superb with precise n crisp sound.

Thanks a lot for your efforts
[Android Software Development] ninjasinabag:
Love the work, did wonders for my Verizon s4 which due to having a locked bootloader is sadly stuck on stock.

Nero helped neuter the soundalive effects which I hate.

Would your bang and Olufsen add-on work with Nero, considering my device is stuck on lollipop forever?
[Android Software Development] Kyuubi10:
XD have you read the OP?

Nero deletes ALL audio effects.

NOTHING works with nero.

If you choose Nero, it is Nero only!

EDIT: punctuation mistake.
[Android Software Development] ninjasinabag:
Reread what you just wrote.

It deletes all audio effects. Doesn't disable all audio effects. (Which was never explicitly clarified upon anyway)

Flashing the new mod on top of Nero creates a new implementation for sound effects.

That's why I'm asking.

I'm asking a question upon which no prior clarity had been made, so take that condescending crap elsewhere.
[Android Software Development] Kyuubi10:
"condenscending crap"

You are a senior member of XDA, i must assume you understand the rules.

Have you used the search tool yet?

I'm sure your question has been answered previously, maybe not in full but in part for sure.

This being said, you are right. What you explained does happen... But it defeats the purpose of nero.

And the settings won't be optimised for audio effects (e.g. Dsp offload).

Maybe you asked the wrong question, from my understanding you would like to replace your ROM's native audio effects with the B&O add on.

If the above is what you want then make it clear.
[Android Software Development] ninjasinabag:
You're right there, I didn't know how to properly form the question. That is my bad.

Nero works in concert with viper due to the fact that Nero forces the internal DAC to act before any software, viper acts as a layer instead of as a forced function like most OEM sound effects do.

Which was I was further able to work out with getting Dolby to rely on the DAC instead of software compression (which is how the axon Atmos functions)

My question should have been "would B&O act as a sound effect layer like viper or would it act as a base sound effect like the stock sound alive?"

After testing the B&O effects, I can say that on my device it acts like sound alive since it utterly disabled viper, Dolby, and the N7 player sound effects.

So no, Nero deletes native sound effects. Not on app effects.

Viper will work, but sound quality will differ depending on processing speed and the quality of your internal DAC. (My LG Leon sounds better than my S4, but stutters due to low end CPU)
[Android Software Development] Kyuubi10:
Unfortunately good logic, but based on flawed knowledge.

No, Nero doesn't force anything, Nero deletes sound effects from /system/lib/soundfx/ and /lib64/soundfx/. This includes "app" sound effects.

Then to avoid default audio processing on DSP it turns of dsp offloading.

This makes sound processing happen only on CPU, then sent to DAC for conversion into Analogue signal. DAC does no processing at all.

If you repopulate /soundfx/ folder with libs there's no reason to why the lib wouldn't be processed on CPU. As said previously DAC does no processing.

Which is why flashing any audio mod AFTER Nero will work. Although defeating the purpose of Nero, which is to have no sound mods at all.

The reason B&O port is deleting/overwriting your native sound alive is because, as [MENTION=6366997]UltraM8[/MENTION] said himself, he was lazy and provided a audio_effects.conf which completely overwrites your native one.

This will "overwrite" any existing mod you may already have, including native sound alive.

(note the quotes around overwrite... This is because the libs are not deleted, only the code which calls the libs. This code is located in audio_effects)

This "overwrite" can be easily avoided manually by copy pasting the relevant entries for B&O from the audio_effects.conf provided by UltraM8 and pasting them in your native audio_effects.conf.

But please do some more research prior to attempting doing it manually, while easy to those who know how it works, if this is your first time you may make mistakes and end up in bootloop.
[Android Software Development] UltraM8:
Yes, but what is more important that ICE is actually another "audioflinger-porting-stumbled-effect", but in this case B&O and Asus made an flinger supervising api, that allows effect to find a proper audiothread loop in flinger to render out the effect by setting fasttrack to "false" in the config file. I'm a bit confused about this fastmixer magic, but this might mean that ICE actually blocks any other effects to render (idk on "fasttrackoutputs" in config) just like latest Dirac.
[Android Software Development] Kyuubi10:
Interesting, this then makes me think about how ARISE have managed to integrate it with all the other mods.

They've had a lot of trouble getting ICE and Arkamys to play nice.

They've finally got it working with no force closes, but with multiple configs where the user chooses one which doesn't cause force close.

I guess that there must be a way to get it to work, but it's not straightforward.
[Android Software Development] Larethio:
Which mod would sound best on an m9? Kronos or Nero?
[Android Software Development] Kyuubi10:
Find out and let us know! :D

That way someone else in future who uses search tool finds out your answer!
[Android Software Development] UltraM8:
Lol:D It's working in Ainur B&O port, but only this way & yes Arkamys fails to load it's uuid with both ICE & latest Dirac.
[Android Software Development] Larethio:
I mean yeah I can report my finding no problem. I'm just curious which one would in theory.
[Android Software Development] Larethio:
My M9 is on Nougat but the kronos version for nougat was trashed. Any ideas?
[Android Software Development] UltraM8:
What do you mean?
[Android Software Development] Sir_gpm:
[MENTION=6366997]UltraM8[/MENTION] I'm using Aniur Pandora v3 but want to test your last port of the zenphone audio, which is the process I should follow?.
[Android Software Development] UltraM8:
Bang&Olufsen addon is on the prev page somewhere, or link to it in the OP
[Android Software Development] BodhiBrock:
What's good for a Nougat HTC 10?
[Android Software Development] Larethio:
When I click for the link of the m9 nougat kronos Google Drive says the file was trashed by the owner.
[Android Software Development] UltraM8:
That's weird. Reupdated the link.
[Android Software Development] DaveedDB:
What ROM are you using? The Knonos v6 in the OP works for the 10
[Android Software Development] BodhiBrock:
LeeDrOiD Magisk Nougat...still on MM firmware tho.
[Android Software Development] DaveedDB:
Kronos should work then ,actually I just checked the OP I don't see the download link for the HTC 10 [MENTION=6366997]UltraM8[/MENTION]
[Android Software Development] Hopie:
hello, is there an working version for m7? kronos htc one m7 v5 (link is v6) are broken all sounds

sent from my HTC One M7 powered by ViperOne
[Android Software Development] Kyuubi10:
Second post
[Android Software Development] Sir_gpm:
I want to know if this is the right step to test B&O:

First flash

AINUR_Pandora_v3_fixed

Then

Ainur_Bang&Olufsen

Is this ok?
[Android Software Development] DeeZZ_NuuZZ:
No need for ainur, you only need b&o zip
[Android Software Development] BodhiBrock:
I thought I read some pages back that Kronos isn't working anymore on the 10.
[Android Software Development] UltraM8:
How about cheking yourself?)
[Android Software Development] BodhiBrock:
I will...thank you.
[Android Software Development] Der_Meister01:
Finally flashed the mod and I'm impressed. Especially demanding music has improved very much (like Eluveities Evocation Album, a hell lot of instruments and drums together with demanding highs from flutes and violins). Stage is way better now. I use a Sennheiser Momentum.

Thanks for this amazing mod :good:
[Android Software Development] UltraM8:
:good: Is it new album?
[Android Software Development] Der_Meister01:
No, the acoustic album from 2009. Im waiting for the new one, wich should come this year.

I have a Vinyl Rip of this album and its night and day to the CD version. Way more dynamic and clearer.

I think it was a russian torrent, so you are good to go, if you want to check it out.
[Android Software Development] UltraM8:
[Addon] Fiio's V4A irs convolvers

Here is the set of the latest irs convolvers from latest Fiio+v4a experience.

All irs+ddc

Download
[Android Software Development] Bud Horn:
Hi [MENTION=6366997]UltraM8[/MENTION] and other oracles.... I'm confused a bit, so please help me out here: I've flashed latest Arise sound mod (the aroma version, which has a lot of mods). But I'm not sure whether this is a good idea.... I've got FC's on Dolby and other mods.

So, My question is, should Kronos along with B&O be enough? Is this setup what you refer to [MENTION=7544785]Der_Meister01[/MENTION]?

I really hope some of you guys can recommend something here...ive been on arise since the first Genesis and its really great together with Dolby, but together with Kronos and B&O it's cluttering in the upper amps...so please advice me here... Pure Kronos and /or not B&O and anything else?

I know it's very individual, but I'm just interested in your advices, guys, as I've been playing a lot with this.

I'm on LeeDroid Rom, the latest in beast mode ??.

Best regards

/Bud
[Android Software Development] dinaps86:
I'm a little confused on this download what is the DDC.db file do I have to change that to a .zip file and no disrespect but I don't see any new .irs files in there
[Android Software Development] Bud Horn:
BTW... I'm not asking for advice regarding arise... Just your opinion, mates...
[Android Software Development] UltraM8:
I'm not following v4a development & don't use it, just got my hands on latest (last) update for Fiio x5 II & shared it with people.
[Android Software Development] flummi3000:
I use HTC10 with nero and shure se846...brilliant!!!
[Android Software Development] greenza:
Is it just me or is the download link for Nero missing from the OP?
[Android Software Development] fhLan:
Are those emulation or correction convolvers?
[Android Software Development] Der_Meister01:
Why not take a look on the files?

---------- Post added at 11:06 PM ---------- Previous post was at 10:48 PM ----------

I use only Ainur for m8 and V4A with a IRS correction for my Headphones and ViperBass + Tubesound for my Earbuds (Xiaomi Dual Hybrid Pro, 23€ and highly recommended by me). Occasionally Dolby Atmos, but only for speakers when watching a movie.

I'll maybe try out B&O when I'm in the mood and will give feedback.

Arise: The FC's on Dolby are probably SeLinux problems.

It never improved sound for me, but it "worked" as it changed it. This mod however gives me a real improvement. So its up to you, but the ALSA changes specially for your device, should be worth it.

Also you could try Neutron Music Player. The equalizer is the best I've ever heard and you can do a lot with it, when you invest some time in it.
[Android Software Development] Bud Horn:
Thx a lot for your input, mate.

I've been fiddling with Neutron player a while ago but abandoned it due to the many possible entries in settings... But I'll give it a shot again, for sure. Thx a lot, mate.

/Bud
[Android Software Development] Der_Meister01:
Yeah the UI is a complete mess :p
[Android Software Development] Bud Horn:
How do I check if Kronos work? If I install alsa mixer from play store, it gives me errors.... But maybe it's obsolete and Kronos works in background as there's no ui?

/Bud
[Android Software Development] veez21:
Yes, no ui.
[Android Software Development] Kyuubi10:
I'd suggest Kronos to improve the overall sound, then something with an EQ for you to adjust sound to your headphones. I prefer Atmos, others prefer V4A.

Your choice.
[Android Software Development] Phrodini:
Thinking about getting the xiaomi earbuds
[Android Software Development] DeeZZ_NuuZZ:
I have them too, and they are really really good!
[Android Software Development] Phrodini:
Fina pull the trigger then.. I see dual hybrid on Amazon but nothing pro.. I guess it must be the same
[Android Software Development] DeeZZ_NuuZZ:
I think the newer and even better ones are called dual hybrid HD or so.

EDIT: nope there are hybrid, which I have and they are already good, then the hybrid pro and hybrid pro HD which cost a bit more, I can also find only the normal hybrid on amazon
[Android Software Development] Der_Meister01:
[MENTION=4603962]Phrodini[/MENTION] I ordered them from Gearbest. No shipping cost, but it took some time, and great service and prices. You can also find the pro there.

I have both and they sound completely different. But the pro are just better when you activate tube emulator in V4A to reduce the "aggressive" highs. Voices sound way better.

The pro hd are now only called pro, because there was also a pro version last year and now they are no longer sold. Pretty confusing.
[Android Software Development] Phrodini:
Thanks for the info..I'll look into the pros if I can or just snatch the regs..I was also looking at these Phillips 9500 for sound stage but the lack of heavy bass kind of makes it hard..but coppin the in ears for sure
[Android Software Development] sandyss18:
[MENTION=6366997]UltraM8[/MENTION] which mod would you suggest for snapdragon chipset.

My device is you yureka (snapdragon 615)
[Android Software Development] Der_Meister01:
Well, you can't do anything wrong with them. Both are nice.
[Android Software Development] DeeZZ_NuuZZ:
pandora, or if you want processing directly by DAC from that SoC then NERO
[Android Software Development] sandyss18:
i liked the performance of atlant in my other phone not pandora much. but wat to do cant use atlant in snapdragon processor.

thanks for reply
[Android Software Development] :
Is Nero compatible with Magisk?
[Android Software Development] UltraM8:
No. Full sfx removal is needed.
[Android Software Development] :
Any one of your soundmods that are magisk compatible or is that planned for the future? :)
[Android Software Development] UltraM8:
There is a plan to make a systemless version of Sauron, after some time the system-based version is released.
[Android Software Development] chdloc:
I understand what you are trying to do with your NERO mod. However, do you have any hard data obtained by making careful/fair measurements to back up your claim that DSP-based audio decoding (MP3/AAC/FLAC) is inferior to its ARM-based counterpart?

Note that if you don't request any processing via media playback app, all fx will be disabled. There is really no need to delete the respective fx libraries.
[Android Software Development] UltraM8:
I don't have proper equipment to take fair measurements (i was waiting for [MENTION=4741431]theoctavist[/MENTION] to make measurements for both pandora & nero, but he run in circumstances thus there is still no proper data) & i do delete all possible sfx libs with both setprop offloading set to off as this gives a huge jump over any other setup. That's why i've shared it with others.
[Android Software Development] Der_Meister01:
Does it work on nougat?
[Android Software Development] DeeZZ_NuuZZ:
Flashed it on nougat Roms few weeks ago and it works. But if you notice static noise with headphones restore all mixer paths of stock ROM. This will fix it
[Android Software Development] chdloc:
OK, so here is a pair of measurements that show that there is virtually no difference between DSP-based and ARM-based decoding. This is what I did:

I generated a full-scale 1 kHz sine wave sampled at 44.1 kHz

uploaded a FLAC encoded version to Google Music. Google transcodes the audio into a 320 kbps mp3 file. I then downloaded it to my phone (Pixel XL running rooted stock). The idea behind these steps is to simulate what a typical user would do with his/her music collection if he/she wanted to stream it from the Google Cloud.

I used Google Play Music to play the mp3 at maximum playback volume (which is equivalent to 0 dB of attenuation to be able to perfectly match the levels). By default, Google offloads the audio to the DSP. By issuing

setprop audio.offload.disable 1

offload can be disabled on-the-fly. I verified the playback stream (deep-buffer vs. offload) by looking at logcat and in /proc/asound/

I presented both streams to a Rohde & Schwarz UPV Audio Analyzer and took screen shots (literally).

Here is the spectrum of the deep-buffer stream (mp3 decoded via Android audio stack)

[IMG="deep-buffer (ARM-based decoding)"]https://lh3.googleusercontent.com/4xOi5h0gP9TSTibLH1xU35jMO1Cx10SQqWvWyAp27wEAsAIbvOUi5XyALEK0POgMh-ts0zPkpj8LLj0=w3360-h1788[/IMG]

Here is the spectrum of the offload stream (mp3 decoded via DSP)

[IMG="offload (DSP-based decoding)"]https://lh5.googleusercontent.com/nObNIqP7mUsTJ-8Lc0OjAwURRXoqmrn4vFCf7eooP9FFtJms_jhOtF2ZpSNlYl2tBHbSjT1K3vMMGmc=w3360-h1788[/IMG]

There is a lot going on in these plots. Suffice it to say here is that there is no appreciable difference between the two. As the mp3 decoder is standardized it can actually be expected that the resulting uncompressed wave files are identical (ignoring rounding errors), see ISO/IEC 11172-3.

Bottom line: all things being equal (gains and no additional fx processing), it does not matter whether your audio is offloaded or not, at least from an audio fidelity perspective.

Caveat: I only ran this test on the SD821 that powers my Pixel XL.
[Android Software Development] stebaile:
Hey Bud, you've seen these recommended settings, yes? Works well for me. BTW you can set once and save config to a backup directory so preserved through the frequently updated LD images.

https://xdaforums.com/htc-10/how-to/htc-10-audio-thread-t3358064/page30

EDIT - 2nd post down
[Android Software Development] UltraM8:
Alright this one is not surprising that much, but i'm more into deleting/modding standard fx bundle, as it makes a huge difference. Can you compare stock sfx with pandora & full deleting sfx as Nero does it? This does a huge jump for people with poor audio capabilities, so that they finally can hear as much instruments in the song, as there actually was put at the record.
[Android Software Development] chdloc:
If you don't ask for sfx then the audio is not modified at all, regardless of whether you have the libraries in place or not. Measurements corroborate this claim. I really don't see how your Nero mod has any effect, at least on decent processors/DACs

If you do modify and use the sfx libraries, then of course you'll hear differences as they change the perceived audio quality. However, there is no way any of these libraries (stock or not) improve audio fidelity, which is how accurately a phone reproduces audio with the least amount of noise, non-linear (or other phone-induced) distortions, and crosstalk. Audio fidelity is an objective and unmodifiable quantity that can be measured. Audio quality is mostly very subjective and can be tweaked with properly implemented sfx (which in my opinion should be limited to EQ). Sure, measurements will show the effect of the sfx libraries, but are not very useful.

The Pixel XL and most other modern flagships are capable of delivering a sufficient level of audio fidelity. Audio fidelity arriving at your eardrum is almost always limited by the headphones themselves and sometimes the headphone-amp interaction.
[Android Software Development] BodhiBrock:
Yes, Kronos and B&O work fantastic on my High Times Cellular 10.
[Android Software Development] DaveedDB:
You flashed both together?
[Android Software Development] BodhiBrock:
I flashed Kronos then B&O then wiped directly after fresh install of ICE rom
[Android Software Development] Bud Horn:
Hi there, [MENTION=2466502]stebaile[/MENTION]... Thx a lot, mate. No, I haven't seen it until now due winter holidays... I'll delve into it right away. Thx mate ??.

/Bud