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

Ijaz Farooq

Senior Member
Apr 28, 2013
551
376
83
Bhakkar
Will flashing. Zip also enable the dual speaker mod? i.e front facing speaker in order to create a stereo experience?
If not, it is requested to @ImbaWind and @xpirt to look into this So that we've to flash only one file to enjoy all goodies.
 
Last edited:

ImbaWind

Senior Member
Jul 12, 2011
1,774
3,895
143
?
How the lib patching is done?
After reading that xpirt patched the S9 lib so that the lib only need 2 additional lines and doesn't require edits to the device's original properties lines, which might complicate things. I looked into the Dolby libraries and learned how it is done.

Samsung added additional verification so that the effect only works in S9 and S9+, and the libs verify this by checking the properties in build.prop.
So to workaround this, in previous version we edited the build.prop lines to make the libs think that the device is S9/+, but this might complicate things as other applications might read the build.prop too.
A better way is to change how the verification works, by hex-editing some lines in the Dolby library files.

Instead of looking for:
Code:
ro.product.model=SM-G965F
ro.product.device=star2lte
it now looks for:
Code:
dolby.fake.model=SM-G965F
dolby.fake.device=star2lte
Sometimes it is important to maintain the same string length thus same file size, but I'm not sure if this has to be the case here.

/system/lib/soundfx/libswdap.so
dolby32-hexedit.jpg

/system/lib64/soundfx/libswdap.so
dolby64-hexedit.jpg
 
Last edited:
  • Like
Reactions: nighthawk696969

NYCgirl

Senior Member
Dec 20, 2014
109
29
0
New York
I installed the latest version (1.4) with SoundAlive 8.021. Just to be sure: SoundAlive has no user interface and doesn't appear in the app tray. Is this true?
I know it's installed because it appears in Titanium Backup.

Anyway, the quality is amazing! Thanks for doing it!
 

ImbaWind

Senior Member
Jul 12, 2011
1,774
3,895
143
?
I installed the latest version (1.4) with SoundAlive 8.021. Just to be sure: SoundAlive has no user interface and doesn't appear in the app tray. Is this true?
I know it's installed because it appears in Titanium Backup.

Anyway, the quality is amazing! Thanks for doing it!
Are you using a Samsung phone?
The 'quality' you are hearing now might be a placebo effect, as it doesn't activate by itself, you have to go in and enable it.
SoundAlive doesnt have an icon but you can enter that interface via audio effect button of a music player or via statusbar tile.
 
  • Like
Reactions: NYCgirl

NYCgirl

Senior Member
Dec 20, 2014
109
29
0
New York
Are you using a Samsung phone?
The 'quality' you are hearing now might be a placebo effect, as it doesn't activate by itself, you have to go in and enable it.
SoundAlive doesnt have an icon but you can enter that interface via audio effect button of a music player or via statusbar tile.
I don't see a quick tile for SoundAlive and I don't use the Samsung music player, but I do see a quick tile for Dolby Atmos. Clicking on it brings up this interface (see screenshot). Am I missing something?

20180719_093347.jpg
 

ImbaWind

Senior Member
Jul 12, 2011
1,774
3,895
143
?
Sound became too low both on speakers as well as headphones after flashing v1.4 even with dolby off
I'll wait for more report regarding this.

I don't see a quick tile for SoundAlive and I don't use the Samsung music player, but I do see a quick tile for Dolby Atmos. Clicking on it brings up this interface (see screenshot). Am I missing something?

View attachment 4553319
If switching between Music and Movie makes a significant difference then it works.
You can try the pm enable stuff in first page to have the UHQ tile enabled too.
 
  • Like
Reactions: NYCgirl

vizhigal

Senior Member
Oct 21, 2010
118
79
58
Just edited and added samsung framework.jar smali to soundalive.apk to try in OP3T
But getting below errosoundalive.apkr
07-20 18:06:50.649 E/SAEffectManager(9651): getNewDolbyInstance::RuntimeExceptionn - e : java.lang.RuntimeException: Cannot initialize effect engine for type: 9d4921da-8225-4f29-aefa-39537a04bcaa Error: -3
 
Last edited:

ImbaWind

Senior Member
Jul 12, 2011
1,774
3,895
143
?
Just edited and added samsung framework.jar smali to soundalive.apk to try in OP3T
But getting below errosoundalive.apkr
07-20 18:06:50.649 E/SAEffectManager(9651): getNewDolbyInstance::RuntimeExceptionn - e : java.lang.RuntimeException: Cannot initialize effect engine for type: 9d4921da-8225-4f29-aefa-39537a04bcaa Error: -3
Can't help with the .jar part but the error says it failed to initialize the Dolby effect
Code:
# Dolby AudioEffect
  dap {
    library dap
    uuid 9d4921da-8225-4f29-aefa-39537a04bcaa
  }
which seems to me that you might be missing some files, particularly /system/etc/stage_policy.conf?
 
Last edited: