yashsingh1/xdaforums huggingface dataset:
[Android Software Development] UltraM8:
[Addon] Arkamys

​

Audio effect by Arkamys Audio. Works on any cpu/device (at least it should, with any other effects.

Superior audio rendering

Clearer, crisper sound for music and speech

Higher volume and deeper basses + improved reverb

Note:

Current ports won't work on Oreo and above

You can choose between arkamys versions with volume buttons :) Kudos to [MENTION=6037748]Zackptg5[/MENTION] for this awesome feature

Versions:

Download Collective Arkamys port addon

Flash with TWRP

Uninstall:

Just flash the zip 2nd time)

Presets use:

To use different presets, you have to:

1. Find ones number at /etc/arkamys/config_presets

2. Then open /etc/arkamys/ArkamysAudioService.xml & write desired number in integer <"defaultheadphonepreset value = preset number"> (default is 10)

Save the file

3. To be completely sure go /root/data/data/com.arkamys.audio/shared_prefs/ArkamysAudioService.xml & do the same manipulations you did in point 2. Save the file

4. Reboot

5. ??? Profit

Created: 19.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]24.03[/B]
installer fixes

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

[B]19.02[/B]
various fixes

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

[B]19.02[/B]
initial release

[B]24.02[/B]
apk update
Effect tunings by me
Preset tunings
Installer fix
Critical qualcomm bug fix

[B]04.04[/B]
v2 release
volume tunings
added presets

[B]31.05[/B]
Unity installer

[B]31.12.2017[/B]
Reworked installer

You are not allowed to use this port in any of your MODS, or ROMS​
[Android Software Development] BodhiBrock:
Flash on a clean rom?
[Android Software Development] Lossyx:
Can I flash this just alone or do I have to flash Pandora first?

(I'm in Nexus 5X)
[Android Software Development] UltraM8:
Standalone port
[Android Software Development] madguy':
Does it work only on HTC/Qualcom devices or on Samsung too?
[Android Software Development] UltraM8:
this one works on MTK/Qualc/Exynos/Kirin & bet Rockchip also on board)
[Android Software Development] DroidIt!:
So for the 10, would you recommend Kronos or the new Arkamys just posted? I didn't see any mention of Arkamys via op. :)
[Android Software Development] RogerF81:
Good question :)
[Android Software Development] UltraM8:
Any addon is port of particular effect from another device. This means it's a standalone solution that you can use with any other audio mod (despite Bang&Olufsen - it won't let any other effect render due to limitations made by company).
[Android Software Development] veez21:
is_mounted function is missing in Arkamys' update_binary [MENTION=6366997]UltraM8[/MENTION]
[Android Software Development] mnsor1234:
Hi i have question i can flash ainur nero in my is a7 edge N? It
[Android Software Development] UltraM8:
Never used it
[Android Software Development] UltraM8:
Yes, you can
[Android Software Development] keemi:
[MENTION=6366997]UltraM8[/MENTION] [Addon] Arkamys there is no mention of Android version (test you 4.1, 4.2)?
[Android Software Development] UltraM8:
4.4+ if i'm not mistaken
[Android Software Development] fhLan:
So I can't flash both ports?

Edit: and will those ports works with poweramp?
[Android Software Development] veez21:
There was a little typo in setting permissions ($SPR instead of $SP) of Arkamys.apk
[Android Software Development] Kyuubi10:
I enjoyed reading all the points you raised.

But one thing confuses, me and i'm not sure if I'm mistaken or you are.

Just clarify something for me:

You are speaking about decoding... But this should have nothing to do with sfx!

Sfx are things like bassboost, equaliser etc...

Things that change the tonality of the sound, not the codec language for digital transmission.

Or at least I always thought that is what it is.

The idea of NERO in my own mind was always to removing extra audio processing thus reduce latency and reduce overprocessing/bad processing of audio.

Could you clarify on the above points please?
[Android Software Development] UltraM8:
Oh yeah thx, will fix it to SP)
[Android Software Development] chdloc:
You are correct and I don't think I've been claiming otherwise. Maybe the nomenclature causes confusion, so let me define some terminology:

necessary processing: decoding the compressed (mp3-,AAC-,FLAC-) audio stream to uncompressed (linear) PCM, a "language" that digital-to-analog converters (part of a "codec") understand.

optional processing: all kinds of sfx, such as EQ, reverb, etc, as you correctly pointed out.

My measurements have shown that, sonically, it does not matter where the necessary processing is being performed, on the DSP ("offload") or within the Android stack ("deep-buffer" or "low-latency"). All optional processing is just that, optional. On all audio playback software I've played around with (Google Play Music, Neutron, Poweramp, etc), it can completely disabled.

Again, if you don't ask for extra processing you are not getting it, (possibly) unless you are using some second-tier music playback app. Removing libraries doesn't make a difference. By the way, introducing channel-independent latency (aka buffering) has no effect on audio quality in the context of music playback. Latency does have an impact on full-duplex communication (telephony) experience and other use-cases that require low audio latency, such as gaming and VR, however.
[Android Software Development] Kyuubi10:
So in order to improve NERO, how could [MENTION=6366997]UltraM8[/MENTION] disable the extra processing without requiring to delete all the sfx?
[Android Software Development] chdloc:
What extra processing are you referring to?
[Android Software Development] Kyuubi10:
Not the codec, the other optional stuff.

The bassboost and native equaliser etc..
[Android Software Development] chdloc:
Why would you need to shut off that "other optional stuff" at the system level when you can simply do so at the app level? If you do not turn on sfx in your app, then no optional processing is applied. At least when it comes to higher-end devices (I cannot test on lower-end ones), the Nero mod is a placebo, I'm sorry to say.
[Android Software Development] lordc:
[MENTION=2760454]chdloc[/MENTION] one question: can the builder of the device enable a allways-on fx (optional processing) in some way we can't detect (is a bit oxymoron question); so nero mod disamble the unwanted and undetected procces?

Enviado desde mi LG-H815 mediante Tapatalk
[Android Software Development] chdloc:
Sure, that would be possible.

If you really care about audio quality, you probably don't want use such a device, though.
[Android Software Development] lordc:
My understand is:

Compressed File>

Decoder(adsp or cpu)>

OptionalProcess(adsp or cpu)

DAC(optional hw process IIR)>

Analog sound

And my doubt again is adsp decoding only allows optional process (fx) on the adsp or can be reroute to cpu (sw optional fx) and then to dac?

in sum up: adsp decoding only allow adsp optional process?

Enviado desde mi LG-H815 mediante Tapatalk
[Android Software Development] UltraM8:
Limited amount of effects have adsp modules (can be offloaded): sony xloud/clearphase, dts hpx, srs truemedia, dolby & some lg effects.
[Android Software Development] chdloc:
Aha, that goes to show my limited familiarity with non-Nexus/Pixel devices.

So you are saying that the effects you have listed can be offloaded but not disabled by the user with some sort of control app?
[Android Software Development] UltraM8:
I can't say for sure how does usual libs communicate with modules in dsp. SRS & Dolby were having dsp modules since like android 4.0 & for sure this two are offloadable 100% (this two are also capable to work with 24bit & Big Endian formats); dts hpx & new truemedia modules are kinda new story and i can't for sure what are those, but every dts effect is build upon usual SRS EQ, so i guess this part is offloadable by that module. Xloud/clearphase & lge stuff - can't say for sure, i only know that u can port one from Z5/XZ & it might work (but i didn't dig into offloading). That's all i know) None of those are having any controls over dsp modules/offloading, only partial implementations like any other effects people are familiar with: like turn on/off, use presets, etc.

UPD

H/K from htc m8 also was used in adsp & somehow it enabled 24/192 rendering
[Android Software Development] lordc:
So...

How can we know if we have a secret-****y-adsp-audioenhacer?

There are sw (cpu only) optional process that can be implemented not using the standard android (audio_effect.conf) so we can unknow its presence?

An aDSP decodec audio can be reroute to cpu for sw(cpu) additional process? Or the same question: aDSP decoding make DAC and aDSP the only source for additional proccess?

Enviado desde mi LG-H815 mediante Tapatalk
[Android Software Development] chdloc:
Yup, I've seen modules for SRS and Dolby in the stock Google kernels, which act as conduits for user-space apps/libs to communicate with the aDSP modules. Google does not actually build those kernel modules by default, though. Likely because of refusal to pay licensing fees. As this interface is completely undocumented and due to the fact that I personally avoid any type of sfx other than EQ, I never pursued this any further.

Anyway, if it is indeed the case that a user cannot easily disable these effects, then I take back what I said about Nero being a placebo.
[Android Software Development] UltraM8:
Speaking of Nero - delete all sfx bundle /lib|lib64/sfx & vendor as well (forget about offloading at this point) & hear to results. You can't avoid sfx as far standard sfx is running by defaults, so you either delete it, or you rebuild/edit the framework so the audio bypasses it (i know a guy that made SRS working as standard sfx, by replacing the default google one).

Now, speaking of modules - i've been looking through leaked qc sources - thats why i can tell for sure about dolby & srs, so this is not only a kernel side, it's actually in dsp by defaults or so. I've been trying to disassemble dts module, but it didn't give me any new info apart i already new that it somehow activates by effect library. I can't mod it or do anything even with hexagon tools.
[Android Software Development] chdloc:
Can you really just "willy-nilly" delete dynamic libraries and not encounter the audio subsystem to crash and burn?

I would assume that this is what would happen if the audio needs to be pumped through a library that does not exist anymore. I'm guessing that you would avoid crashes if the audio never makes it to those libraries in the first place.

Sure, sfx libraries are part of the framework, but I can tell you for sure that they will not be executed on Nexus/Pixel devices if no sfx is being called for. Don't know about other devices, though...

Oh sure. The actual aDSP library that performs the processing actually sits in the aDSP firmware (which is part of the baseband firmware). The libraries on the file system are either only user-space conduits and/or the ARM-based counterpart.
[Android Software Development] UltraM8:
For a year and a half no one ever experienced any problems on very different cpu/device manufacturer setups, yes it is better to get rid of it by patching framework, but obviously it wouldn't be universal solution. Standard sfx is working system wide, agc/aec parts would always work on any voice app/telephony, etc, i guess that any other apps like music players rely on it, as people with different players report differences in audio after deleting it, or modding by using anoter variety of libs.

About the adsp - i can't get the right Z5 dsp partition to flash it & listen to it, but htc bolt adsp flashed on htc m9 (same cpu) - gives very interesting results. I'm thinking to compare acdb files with hexagon tools to see it this gives any changes to audio. A guy from the team even sucessfully flashed htc 10 adsp on m9 which again gave audible changes. But we didn't try mixing adsp's from different manufacturers yet.
[Android Software Development] BABmercurius:
Installed this because I couldn't get ViPER working... but.... amazing! With the stock audio I had a quiet hissing noise in the background... it's almost gone... sound seems clearer... and it's loud!

Thanks very much guys! Nonetheless I had nothing against a uninstaller due to the fact I don't have any flashable zip as a stock user. :)
[Android Software Development] DeeZZ_NuuZZ:
jsut backup System before mate. and it depends on what mod you use.
[Android Software Development] BodhiBrock:
Any luck with B&O on HTC 10? I keep getting a bad clipping effect.
[Android Software Development] UltraM8:
What do you mean? Highs are kinda cracling, right? That's the only issue i notice, tried many presets, but they didn't work, i believe that's a config problem try playing with "session0" in /etc/iceconfig.def, maybe it might help.
[Android Software Development] BodhiBrock:
When I flash it as an add-on to Kronos it is inaudible due to clipping. When I flash B&O by itself it is more like what you describe. It almost sounds like something let lose in my headphones with the highs...but in my truck they sound fine and tight.
[Android Software Development] UltraM8:
Well i didn't stick with B&O much, personally moved to Arkamys. That might be the prob with fasttrack, but setting it to "true" in the config will lead to disabling B&O completely.
[Android Software Development] UltraM8:
Addons updated. Dirac addon release soon
[Android Software Development] UltraM8:
Arkamys fixed for qualcomm devices, thx to [MENTION=7725051]KrapK[/MENTION] for showing me the problem)
[Android Software Development] BodhiBrock:
I should just be able to flash this without a dirty flash of rom?
[Android Software Development] overem:
Sorry for inconvenience. But I missed what is Arkamys for?

Отправлено с моего A0001 через Tapatalk
[Android Software Development] UltraM8:
Yet another audio effect to "improve" your experience
[Android Software Development] BodhiBrock:
Great! Thank you (I used up my rationed thumbs-up)
[Android Software Development] SimplyCity:
[MENTION=6366997]UltraM8[/MENTION], I am very impressed by your work. Use it with amazing satisfaction on all my own devices. Wanna say BIG thx!

As my device plays beautiful, I would like to ask you for permission for adopt it in my own mod. It is rather collection of useful stuff, like v4a, dolby, putted together in Aroma... I think your work and additions deserve to be presented to wider society. And here comes my ask.

Of course any credentials in the place.

Thanks in advance!

:)

Echoe™ team member / S7E
[Android Software Development] UltraM8:
Lol, it seems like my finding of virtual beats swither in m9 (used in m9/10 Kronos) might be working directly with htc music player! Original beats effect (one X/m7) was an EQ over SRS & driver was made that way that only with beats max volume was enabled. I think that virtual switch is left in system for that purposes - to enable maximum volume with stock (maybe all other players). Another workaround was to enable DVC in poweramp. Another thought is use of .bin files for beats headphones as a compensation/equalisation stuff with htc music player.
[Android Software Development] fhLan:
Is that also means I can flash the updated arkamys over the old one?
[Android Software Development] UltraM8:
yep
[Android Software Development] fhLan:
Why the size of the updated version is allot smaller especially the arkamysaudio.apk?
[Android Software Development] UltraM8:
Isn't it better?) i used old apk from the first port
[Android Software Development] UltraM8:
Guys, restore stock audio_effect.conf files (all of them) & reflash Arkamys.
[Android Software Development] DroidIt!:
Hey [MENTION=6366997]UltraM8[/MENTION] :) I read this thread quite a lot and have read the op for histories and all that stuff but am quite lost with all the terms thrown around. :angel: Is there someplace that I can read more about audio technical terms that relates to what's talked about in this thread?
[Android Software Development] UltraM8:
Lol, what are you having problems with?)
[Android Software Development] DroidIt!:
:) Basically audio specific terms when you guys are talking about the specific changes the mods are making. :) So basically definitions of audio terms and how they relate to sound quality (though that's really kinda subjective)...if that's possible without years of study! :D

---------- Post added at 08:17 PM ---------- Previous post was at 08:11 PM ----------

Just an example :) This post to me the other day, it's probably a bit of an extreme example, but it's like heiroglyphs to me :D

---------- Post added at 08:21 PM ---------- Previous post was at 08:17 PM ----------

This is a better example probably. The overarching mods. I understand in theory what they're supposed to do, but don't really understand it because I'm lost on the terms....lol, just some basic knowledge I guess beyong what's in the op so I can follow the thread. My limited knowledge makes it kind of hard for me to evaluate the different mods...so a little reading is what I'd prefer ideally :D
[Android Software Development] Slypnslyde:
Sounds good using bang and Olsen with Viper. I still have arise profiles, ddc, irs and I don't really hear a difference. It's like having arise minus the x vbig zip file with all the extras to set up. Good job

Also would like to add that I flashed arkamys and b&o together and afterwards arkamys kept nonstop force closing
[Android Software Development] fhLan:
[MENTION=6366997]UltraM8[/MENTION] I also want to ask you about these

audio.effect.arkamys.sensor=true

ro.arkamys.default.effect=10

ro.arkamys.solution=1

What are those for?
[Android Software Development] UltraM8:
B&O Icepower won't let other effects render, at least it should not because of flinger limitations (an icpower flinger needed to simultaniously work with other effects)
[Android Software Development] UltraM8:
Reflash rom with no wipes & arkamys again
[Android Software Development] Joe199799:
OK, I'm interested in this mod, I have an LG G5, running RR N, currently running arise Deuteronomy, also downloaded both the acoustix file and aliant for LG G5. My question is how would I go about installing it and how would I use viper4android with it. Any help would be much appreciated.

Also does anyone with a G5 who has this recommend any add-ons or anything?
[Android Software Development] UltraM8:
Atlant is highly outdated, due to it i suggest to choose between Pandora or Nero to wait till Sauron release.
[Android Software Development] Joe199799:
I think it's rude to ask for eta right? But I like the idea
[Android Software Development] Bud Horn:
Yeah, it's rude.... So don't, mate ??.
[Android Software Development] UltraM8:
Yeah - no updates till the new release. Basically i want to built new version, just because it was really hard to maintain so many versions, technically there is not much can be done in terms of universal patching & another problem is people are really frustrated with this amount of stuff can be flashed) Be patient.

Pandora or Nero is more than enough for any device android 2.3+.
[Android Software Development] Joe199799:
How would I go about installing Nero and can I run that with viper4android
[Android Software Development] Sztermel:
Wouldn't it not work when you'll delate/disable arkamys.apk ? Isn't it what makes the mod work?
[Android Software Development] UltraM8:
KRONOS for HTC 10 now released!

go here to download it
[Android Software Development] Phrodini:
Reflash Dolby
[Android Software Development] skyhirules:
A1 in stock Z1C Android 5.1.1:

1. Make stock sound effects ineffective. Changing them makes no difference.

2. FC Dolby Atmos.
[Android Software Development] sicahren:
Can I use viper4android and this mod?
[Android Software Development] Slypnslyde:
Yup
[Android Software Development] Cristiano Lira:
[MENTION=4445176]guitardedhero[/MENTION], were you able to make A1 works on Nougat without Arkamis FC with your changes? Thanks.
[Android Software Development] guitardedhero:
Absolutely, but not A1.

I was under the impression that this was an original work by Ainur, but we learned that ArkamysAudio is the original work by, you guessed it, Arkamys. Arkamys is an audio development group that the vendor Nextbit brought in to implement ArkamysAudio into their Robin device.

https://www.arkamys.com

We immediately sourced the vendor and have prepared a proper port of ArkamysAudio to use in our upcoming sound system, Deuteronomy. We are just waiting on the final touches on an in-house component before making it available to the public to begin its testing phase, which I assure will be the shortest testing phase yet, as it is simply incredible in its current state so compatibility will be all that is needed to call it official.

It is absolutely my favorite sound system so far in our project so you guys are certainly in for a treat! :good:
[Android Software Development] metrohackz:
I knew ya had something up ya sleeveys
[Android Software Development] ariefabuzaky:
Actually i use viper to manage my sound
[Android Software Development] anbinhv:
No
[Android Software Development] BodhiBrock:
Do I want this if I'm on a M9 running the I.C.E M10 port?
[Android Software Development] ariefabuzaky:
Temporary its Fc only in nougat Nexus 6p
[Android Software Development] DeeZZ_NuuZZ:
no, use the m9 v4 one. had it running with ICE10 and now Viperm9 10 port
[Android Software Development] anbinhv:
I flashed A1 alone, no other mod
[Android Software Development] UltraM8:
No. U need m9v4. I'm on 10port by Golv - made the last v4 on it, so it would definitely work
[Android Software Development] UltraM8:
Guys, remember - if you are listening to flac/alac/sacd/dsd (if your phone supports 24/192)- you have to delete all of the extended effects! Just tried Korn discography in 24/192 with Kronos m9v4, deleted arkamys
[Android Software Development] Durrz:
Any suggested download for HTC M8 H/K edition?
[Android Software Development] DeeZZ_NuuZZ:
reason?
[Android Software Development] UltraM8:
every external effect libs support mostly 16/48) So audio degrades. Dolby is 24bit tho
[Android Software Development] UltraM8:
What is the problem?
[Android Software Development] Joe199799:
There's nothing wrong I honestly just don't want to mess something up, I'm assuming I would just dirty flash my rom, flash Nero and flash newest version of viper4android