[Samsung Galaxy S8 Themes, Apps, and Mods] ImbaWind:
You reused my work (Although you didn't specify in your thread, I can still recognize my work, structure, etc) but there's something in the updater-script that you don't actually need:

In updater-script:

delete_recursive("/system/etc/permission");

My installer has this because in previous build I make a typo, you don't need this since you 'made' a new Dolby installer

Bloated files

In /system/etc:

sapa_feature.xml

This has something to do with Samsung Android Professional Audio, which I believe is related to Soundcamp, but I don't think it has anything to do with the sound you hear.

TL;DR: It has nothing to do with Dolby Atmos and won't 'fix' your audio volume

In /system/lib(64) & /system/vendor/lib(64)

You have quite a few of conflicting audio library files, in /system/lib/soundfx & /system/vendor/lib/soundfx for example, since the system will only pick one to use, I'm not sure which one the system picks and this might/might not cause problem.

Inclusion of libs of different version

You do not need both

lib_SoundBooster_ver810.so

&

lib_SoundBooster_ver900.so

since libsamsungSoundbooster_plus.so will only pick one of them to use depends on it's version.

Probably non-related libs

I see that you included secure_storage libs, does secure storage has anything to do with Dolby and audio volume? Since secure_storage has something to do with wifi password & bluetooth and is ROM/kernel dependent (I might be wrong here), I don't think that it's a good idea to include them into a general mod.

My probably useful suggestions

Also I don't think that those libs from my BRG6 libs package (or other Android version) have anything to do with audio volume / Dolby. I reckon the only thing that made the volume louder in your mod is the inclusion of:

1. mixer_gains.xml - which made the volume louder

2. mixer_paths.xml - which enabled the dual speaker

So to be honest, essentially you can remove other not as useful, or useless stuff, put these two files in and voila, a Dolby mod with audio volume 'fixed'. And this is better in many ways since you will have lesser files so smaller package, lesser conflicts and thus lesser problems.

Since I also use a self-edited mixer_gains and mixer_paths, I don't actually have the volume problem and thus quite lazy to test it at the moment.

If there's anything in my mod that made the audio volume not as loud as before, I'd probably suspect the SoundBooster component, try to install my Dolby mod with those files removed and see if it improves. (You will have to restore your rom files if you installed my Dolby mod before, as those files are overwritten by my installer)

There are also quite a few of stuffs that you might be able to improve, for example:

1. Edit floating_feature.etc intelligently during installation, add only needed lines & leave other lines untouched to ensure best compatibility

2. Edit carrier feature files or add a init.d file to have the UHQ and Dolby tiles enabled

:cool:

*TO EVERYONE:

If you can prove that you are better than me in this and has the ability to take this mod to another level (understand the linkage between different libs, understand how these stuff work together, the ability to create a more intelligent installer, Linux scripting and probably a unified installer for both Exynos and Snapdragon), honestly I'm more than happy that you can take over the update of this mod. I will close this thread so that you can create your own thread and continue your development there (and earn all the thanks button if you are into that, I was but I'm not anymore) since this will avoid confusion of having two threads. I have the intention to work on aforementioned updates when I have time but I'm a busy engineering student and would love to flash other people's work too without maintaining the thread.

TL;DR: I welcome all challengers to take over this thread if you can prove that you are well-knowledged & better, I'm happy to just slack and flash! :angel:

Let's make xda-developers great again!