FORUMS
Remove All Ads from XDA

[AUDIO][EXYNOS][OREO][V-1.7.0] Samsung SoundAlive Dolby Atmos

1,764 posts
Thanks Meter: 3,924
 
Post Reply Email Thread
Quote:

IMPORTANT NOTE:
Please read the first few posts thoroughly before you proceed to do anything. Asking questions that can be found in first page will simply be ignored.
This thread is mainly for EXYNOS variant ONLY, some discussion about other variant is fine, but please keep in mind that I'm using an Exynos version and have no experience with SafeTrap/how Snapdragon version works.
For SNAPDRAGON variant, please go to this thread.

Quote:

The FIRST standalone Samsung SoundAlive Dolby Atmos zip installer featured on XDA Portal, 17 July 2018.

Hi all,
Since no one has posted a standalone S9 Dolby Atmos flashable zip yet, so I just make one during my semester break.

Tested and confirmed to be working on GoogleWiz V81 - September build(CRI5), should work on other TouchWiz based ROMs(with stock audio) too. *Please test and let me know.

Here's something that you can use to test it:
The best way to test is to switch between music and movie mode.
Official Dolby Atmos Trailers
You can play the videos with VLC


Installation
  • Please note that the installer will not backup your current system files, it will just overwrite them directly.
  • It is recommended that you backup your current setup before you flash the zip.
  • It is also recommended that you restore your system's original files every time before you install an updated version of the libs installer.

[Dolby Atmos Libs & Files]
  • If you just want to update/enable Dolby Atmos without upgrading your SoundAlive app, you may flash the Dolby Atmos Libs installer only without flashing the SoundAlive apk zip.
  • You should still get Dolby Atmos enabled, just that some new functions might be missing from your pre stone age SoundAlive app, eg: Game Mode

[SoundAlive App]
If you wish to update the SoundAlive App, it is recommended that you follow the instructions below:
  1. Uninstall SoundAlive updates in Settings
  2. Install System app remover[ROOT] to uninstall SoundAlive
  3. Flash SoundAlive installer zip

[For devices other than S8]
Below are some installation tricks that some users said to be working on their end, no one actually know if it is true, so do it at your own risk:
Troubleshooting
Code:
logcat | grep SAEffectManager
Check if it at least returns something like this:
Code:
07-20 16:56:32.776  6454  6454 D SAEffectManager: *****getNewSoundAliveInstance start*****
07-20 16:56:32.833  6454  6454 D SAEffectManager: *****newSoundAliveEffect create Sucessfully*****
07-20 16:56:32.833  6454  6454 D SAEffectManager: *****getNewSoundAliveInstance end****
07-20 16:56:32.833  6454  6454 D SAEffectManager: *****getNewDolbyInstance start*****
07-20 16:56:32.835  6454  6454 D SAEffectManager: *****getNewDolbyInstance create Sucessfully*****
07-20 16:56:32.835  6454  6454 D SAEffectManager: *****getNewDolbyInstance end****
  1. Post a clear screenshot/txt content of the logcat
  2. Tell me what device are you using, which processor it uses and what Android version it runs
  3. Give me some info about the ROM that you are using, like a link and a brief description about what the ROM based on.
  4. *If you use some heavily modded ROM that modified the audio in any way (random audio mods, viper, etc), please keep in mind that they might not be compatible with my mod, I don't use nor I will try those mods and thus I won't be able to help.

*Please note that I won't be replying to questions in PM, questions in this thread without sufficient information will also be ignored.

Credits:
xpirt for his amazing work
SilentWorld for his findings to enable Dolby Atmos on speaker
foobar66 for his service.d script as ref
guitardedhero for his updater-script as ref
SoLdieR9312 for his S8 and S9 ROM
rifek4 on Telegram for saving me some time to extract vendor.img
And of course Samsung and Dolby
Attached Thumbnails
Click image for larger version

Name:	37357032_10212739134653362_4701625648672669696_n.jpg
Views:	20520
Size:	67.8 KB
ID:	4552569   Click image for larger version

Name:	37323924_10212739134933369_2607431605534326784_n.jpg
Views:	20556
Size:	80.2 KB
ID:	4552571   Click image for larger version

Name:	37281800_10212739135933394_6371560550274433024_n.jpg
Views:	20406
Size:	76.7 KB
ID:	4552573  
The Following 30 Users Say Thank You to ImbaWind For This Useful Post: [ View ] Gift ImbaWind Ad-Free
 
 
29th June 2018, 02:27 PM |#2  
OP Senior Member
Flag ?
Thanks Meter: 3,924
 
Donate to Me
More
D0wnI0ad and ch4ngel0g

SoundAlive Apk Flashable Installer
You might have to uninstall current version first before you flash.
See 'Installation' on main post
Quote:

Latest version - 9.1.06 - With new Game Mode
SoundAlive_9.1.06.zip

Dolby Atmos Libs Installer
V-1.7.0 (16 Dec 2018)
  • The installer now edits the audio_effects.conf instead of replacing the entire file.

V-1.6.0 (9 Dec 2018)
  • Added a line in floating_feature.xml that's supposed to enable Dolby Atmos on speakers regardless of the version of SoundAlive. Credit to @SilentWorld for his findings.
  • New set_floating.sh to edit floating_feature.xml dynamically instead of replacing the file for higher compatibility with other phones
  • Removed a few libraries that are related to SoundAlive but not directly related to Dolby Atmos to increase compatibility
  • Speaker volume should be as loud as stock since related files which might cause the problem have been removed.
  • Removed a few Dolby's AC4 & DDP files since I can't get them to work/I don't know how to test if they worked
  • EDIT: AC4 & DDP may require complete stagefright libs port to work
  • Further edited some Samsung props in Dolby Atmos's libs to increase compatibility
  • Added a file in services.d based on foobar66's script to (hopefully) enable Dolby and UHQ tiles automatically

V-1.5.1 (21 July 2018)
Fixed a typo in folder's name (/system/etc/permission , should be 'permissions'), will not affect ROM with SoundAlive pre-installed as they will have this file already.

V-1.5 (20 July 2018)
Added lib dependencies - Should increases compatibility with older devices
Updated SoundBooster parameters
Removed duplicated /system/lib/soundfx/libaudiosa.so

V-1.4 (18 July 2018)
Moved SoundAlive.apk to a separated zip
This zip now installs libs only.

V-1.3 (18 July 2018)
Updated Dolby Atmos and SoundAlive libs from SM-G965F BRF8(Same as BRG6)
Updated to SoundAlive v8.0.63
Dolby libs patched to not mess with original build properties, thanks to xpirt for showing that this is possible
Added libs missing from the previous version, now SoundAlive is fully using S9's libs properly
*For those who wonder how the lib patching is done

V-1.2 (17 July 2018) by xpirt
Fixed flashable zip with with patched libs.

V-1.1 (1 July 2018)
Updated some files.

V-1.0 (29 June 2018)
Initial release.
SoundAlive v8.0.55
Libs extracted from BRF8

Quote:

(Almost)Complete Audio Libraries from S9+ BRG6
No difference in sound IMO, but here it is:
BRG6_AUDIO_LIBS.zip



Magisk Module
If you encountered any issues using this module, please report the issue in the module's thread instead.
I won't be able to help with Magisk module as I have no expertise in that. Reporting issues caused by the module without stating so wouldn't help you either even if I replied you since that reply might be irrelevant.
Magisk Module maintained by Electric1447
Attached Files
File Type: zip Dolby_Installer_1.5.1.zip - [Click for QR Code] (6.94 MB, 8344 views)
File Type: zip Dolby_Installer_1.6.0.zip - [Click for QR Code] (1.13 MB, 710 views)
File Type: zip Dolby_Installer_1.7.0.zip - [Click for QR Code] (1.13 MB, 2462 views)
The Following 20 Users Say Thank You to ImbaWind For This Useful Post: [ View ] Gift ImbaWind Ad-Free
29th June 2018, 02:28 PM |#3  
OP Senior Member
Flag ?
Thanks Meter: 3,924
 
Donate to Me
More
Information Section
Feel free to reuse my work in your ROM, MOD, whatever.
You do not need a permission from me. (Why should you?)

/system/build.prop
Code:
dolby.fake.model=SM-G965F
dolby.fake.device=star2lte
dolby.fake.brand=samsung
dolby.fake.manufacturer=samsung
/system/etc/floating-feature.xml
Code:
<SEC_FLOATING_FEATURE_AUDIO_CONFIG_SOUNDALIVE>52</SEC_FLOATING_FEATURE_AUDIO_CONFIG_SOUNDALIVE>
<SEC_FLOATING_FEATURE_MMFW_SUPPORT_DOLBY_AUDIO>TRUE</SEC_FLOATING_FEATURE_MMFW_SUPPORT_DOLBY_AUDIO>
<SEC_FLOATING_FEATURE_AUDIO_SUPPORT_PSEUDO_DUAL_SPEAKER>TRUE</SEC_FLOATING_FEATURE_AUDIO_SUPPORT_PSEUDO_DUAL_SPEAKER>
/system/csc/feature.xml
or
cscfeature.xml

in
Code:
<CscFeature_SystemUI_ConfigDefQuickSettingItem> </CscFeature_SystemUI_ConfigDefQuickSettingItem>
add
Code:
Dolby,UHQ
or in terminal, type
Code:
su
pm enable com.sec.android.app.soundalive/com.sec.android.app.soundalive.DolbyTile
pm enable com.sec.android.app.soundalive/com.sec.android.app.soundalive.UHQTile
to enable Dolby and UHQ Upscaler tiles in statusbar.

/system/etc/audio_effects.conf:
Add this within libraries{ }
Code:
# Dolby AudioEffect
  dap {
    path /system/lib/soundfx/libswdap.so
  }
and this within effects { }
Code:
# Dolby AudioEffect
  dap {
    library dap
    uuid 9d4921da-8225-4f29-aefa-39537a04bcaa
  }
To patch the libs so that it doesn't require edits to original build properties lines, read this post.
/system/lib/soundfx/libswdap.so
Attachment 4552563

/system/lib64/soundfx/libswdap.so
Attachment 4552564

Libs
Code:
libmyspace.so -> lib_SoundAlive_3DPosition_ver202
libsamsungSoundbooster_plus.so -> lib_SoundBooster_ver900.so [Device Specific]
libaudiosaplus_sec.so -> lib_SoundAlive_play_plus_ver210.so
libaudiosa.so -> libswdap.so (ARM/ARM64) [Device Specific]
The Following 4 Users Say Thank You to ImbaWind For This Useful Post: [ View ] Gift ImbaWind Ad-Free
29th June 2018, 03:35 PM |#4  
Senior Member
Thanks Meter: 47
 
More
Not working just seen icon on quick setting
29th June 2018, 04:26 PM |#5  
OP Senior Member
Flag ?
Thanks Meter: 3,924
 
Donate to Me
More
Quote:
Originally Posted by Iyaadali

Not working just seen icon on quick setting

What ROM?
29th June 2018, 05:01 PM |#6  
Junior Member
Thanks Meter: 0
 
More
It does not work for me, Soldier9312s Rom 6.0
29th June 2018, 05:41 PM |#7  
Chrono Leggionaire's Avatar
Member
Thanks Meter: 58
 
More
Doesn't work on Renovate Ice
29th June 2018, 05:56 PM |#8  
nguyentankiet's Avatar
Senior Member
Flag Kien Giang
Thanks Meter: 308
 
More
@OP, you wrong code in updater-script
You need edit
run_program("/tmp/mytweaks.sh", "mytweak");
To
run_program("/tmp/mytweaks.sh", "misc");
The Following User Says Thank You to nguyentankiet For This Useful Post: [ View ] Gift nguyentankiet Ad-Free
29th June 2018, 07:16 PM |#9  
OP Senior Member
Flag ?
Thanks Meter: 3,924
 
Donate to Me
More
Are you sure it didn't work for you?
It did edit the build.prop correctly on my end.
Check if your build.prop ends with this after flashing the zip:
Code:
#
# DOLBY
#
ro.product.model=SM-G960F
ro.build.flavor=starltexx-user
ro.build.product=starlte
ro.product.name=starltexx
ro.product.device=starlte
@others
Try the attached video, switching between music and movie to hear the difference, if there's no difference, try to attach
Code:
 logcat | grep Dolby
1st July 2018, 12:18 PM |#10  
izimen's Avatar
Senior Member
Flag Paris
Thanks Meter: 8
 
More
I installed it but can I activate it with my headphones is normal?
1st July 2018, 02:24 PM |#11  
Junior Member
Thanks Meter: 3
 
More
Works perfectly on Stock CRF7
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes