[App] HDMI 5.1 audio passthrough patch E/F/H (MST only)

Here are software that related with Samsung F series TVs.
Please don't create any new topic here unless you have software to post/release.

noscopedog
Posts: 6
Joined: Wed Oct 11, 2017 8:53 am

Re: [App] HDMI 5.1 audio passthrough patch E/F/H (MST only)

Post by noscopedog »

zoelechat wrote:
Tue Nov 21, 2017 7:30 pm
noscopedog wrote:
Tue Nov 21, 2017 7:26 pm
DTS still does nothing for me.
Hence "experimental" :)
I don't want DTS to passthrough, I want the Dolby Digital option available all time, but that isn't working either.
But still, this hack is amazing and i thank you very much :D

Schumi
SamyGO Project Donor
Posts: 4
Joined: Wed Apr 27, 2016 10:16 pm

Re: [App] HDMI 5.1 audio passthrough patch E/F/H (MST only)

Post by Schumi »

Any update on this hack ?

noscopedog
Posts: 6
Joined: Wed Oct 11, 2017 8:53 am

Re: [App] HDMI 5.1 audio passthrough patch E/F/H (MST only)

Post by noscopedog »

what kind of update? It still works perfectly by my

link00seven
Posts: 1
Joined: Fri Jun 15, 2018 1:58 am

Re: [App] HDMI 5.1 audio passthrough patch E/F/H (MST only)

Post by link00seven »

Attempted this after rooting via USB stick, but ended up with the TV continually rebooting after adding the autostart script. Got it back to stable, removed the autostart, and ran the script one last time to set it back to AUTO, and all is well. I have a hunch that I may have misread the title and my firmware wasn't compatible. I have a UN55F7500 non-MST firmware. Is this MST-only for ALL E/F/H models, or ALL E/F and H-MST?

zoelechat
Official SamyGO Developer
Posts: 8431
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] HDMI 5.1 audio passthrough patch E/F/H (MST only)

Post by zoelechat »

link00seven wrote:
Fri Jun 15, 2018 3:33 am
MST-only for ALL E/F/H models
:)
I do NOT receive any PM. Please use forum.

MajinChibi
Posts: 2
Joined: Sat Sep 01, 2018 6:39 pm

Re: [App] HDMI 5.1 audio passthrough patch E/F/H (MST only)

Post by MajinChibi »

Firsr of all: thank you for the work!


I patched my F6500 (Changed it to F6600 through the service menu long time ago) and the passtrough works, even with HDMI ARC.
I thought it just works with the Optical out?

Armleuchte
SamyGO Project Donor
Posts: 12
Joined: Sat Nov 15, 2014 5:07 pm
Location: Germany

Re: [App] HDMI 5.1 audio passthrough patch E/F/H (MST only)

Post by Armleuchte »

Thanks a lot for this great patch!
I had some issues with the .init script, not starting automaticly on boot, because I´m running the patch on a UE46F6750.
As the script says "on F/H environment LIBSO_DIR is used"!!!

so I changed "SODIR=$SYSROOT/opt/privateer/usr/libso" into "LIBSO_DIR=$SYSROOT/opt/privateer/usr/libso" and now rebooting the TV starts the script automaticly.

perhaps it helps someone out there...
have fun!

thefinestmalt
Posts: 1
Joined: Mon Mar 11, 2019 7:04 pm

Re: [App] HDMI 5.1 audio passthrough patch E/F/H (MST only)

Post by thefinestmalt »

Wow thankyou so so much for this patch!! :-) I've been tearing my hair out trying out different solutions to try and get my PS4 and Firestick to passthrough Dolby to my soundbar. Then I came across this site now all is good and I can sleep at night again. As stated previously the patch also fixes ARC passthrough before I was just getting silence.

User avatar
Patrioter
Posts: 21
Joined: Sun Sep 07, 2014 1:26 pm
Location: Germany

Re: [App] HDMI 5.1 audio passthrough patch E/F/H (MST only)

Post by Patrioter »

My head is burning since 3 days now :oops: :D
I reinstall this injection 3 days ago and run the latest samygo 1.2.5. 8 Month ago I install this already but I am unsure if it really works on my TV. In the past my media player had Oreo, now Pie.

To my environment
My TV: UE46F6470SS
TV FW: 2117
HDMI Device: nvidia ShieldTV Pro (2015 model alias FOSTER)
HDMI Device OS: Android TV Pie (Version 9)
HDMI App: kodi 18.6 with enabled passthrough
alt. HDMI App: VLC for Android-TV
Sound-System: Teufel Concept E-Digital with optical connect to my F-Series TV (can handle DTS-5.1, DD5.1, DD-Pro-Logic-II and Stereo)

After pushing the files first time into the libso folder I do this:

Code: Select all

samyGOso -d -T -l /mnt/opt/privateer/usr/libso/libHDMIpassthru.so
So for testing purposes I do not install the init autostart. So I do after a hard-reboot of my tv (shutdown and plug out the power cord):

Code: Select all

samyGOso -d -r -A -B -l /mnt/opt/privateer/usr/libso/libHDMIpassthru.so AUTO PCM DTS
The terminal shows:
SpoilerShow

Code: Select all

VDLinux#> samyGOso -d -r -A -B -l /mnt/opt/privateer/usr/libso/libHDMIpassthru.s
o AUTO PCM DTS
samyGOso v1.2.5 (c) bugficks 2013-2014, sectroyer 2014-2015
Injecting '/mnt/opt/privateer/usr/libso/libHDMIpassthru.so' resident: '1'
mprotect: 0x41e96f80
dlopen: 0x42158c5c
dlclose: 0x42158cf0
dlsymaddr: 0x42158d50
pc=41fc4654 lr=41fc4638 sp=be891e80 fp=80
r0=b9ffd84 r1=80
r2=1 r3=0
stack: 0xbe872000-0xbe893000 length = 135168
executing injection code at 0xbe891d24
library injection completed!
Succeeded.
The log-file shows:
SpoilerShow

Code: Select all

[HDMIpassthru] SamyGO E/F/H libHDMIpassthru v0.1.2 - (c) zoelechat 2015
[HDMIpassthru] lib_init, Setting force PCM on TV source!
[HDMIpassthru] lib_init, Setting AUTO surround on HDMI!
[HDMIpassthru] lib_init, Enabling DTS support!
[HDMIpassthru] g_pAppSpeaker [0x95aa894].
[HDMIpassthru] dlsym '_Z33SdVenderAudio_SetHDMI_AC3_Supporti' failed.
[HDMIpassthru] _Z31VenderAudio_SetHDMI_AC3_Supporti [0x42ba8f88].
[HDMIpassthru] _ZN9TCChannelC2Ev [0x11e8ffc].
[HDMIpassthru] dlsym '_ZN8TCWindow12GetTVChannelEP9TCChanneli' failed.
[HDMIpassthru] dlsym '_ZN8TCWindow10SetChannelEPK9TCChannelii' failed.
[HDMIpassthru] dlsym '_ZN9TCSpeaker18SetExternalOutModeEii' failed.
[HDMIpassthru] _ZN13TCWindowProxy12GetTVChannelEP9TCChanneli [0x12889b0].
[HDMIpassthru] _ZN13TCWindowProxy10SetChannelEPK9TCChannelii [0x12885cc].
[HDMIpassthru] _ZN14TCSpeakerProxy18SetExternalOutModeEii [0x12c6b14].
[HDMIpassthru] *Patched HDMI passthrough support
[HDMIpassthru] dlsym '_ZN8TCWindow9SetSourceEii' failed.
[HDMIpassthru] _ZN13TCWindowProxy9SetSourceEii [0x12891a4].
[HDMIpassthru] dlsym '_ZN9TCSpeaker20CheckExternalOutModeEi' failed.
[HDMIpassthru] _ZN14TCSpeakerProxy20CheckExternalOutModeEi [0x12c6d1c].
[HDMIpassthru] init done...
All the dlsym lines failed. Is that normal or should there no lines with a "failed"?

It seems to be working a little bit. When I set it then to this:

Code: Select all

samyGOso -d -r -A -B -l /mnt/opt/privateer/usr/libso/libHDMIpassthru.so DTS
Log is telling me:
SpoilerShow

Code: Select all

[HDMIpassthru] SamyGO E/F/H libHDMIpassthru v0.1.2 - (c) zoelechat 2015
[HDMIpassthru] lib_init, Setting force PCM on TV source!
[HDMIpassthru] lib_init, Setting AUTO surround on HDMI!
[HDMIpassthru] lib_init, Enabling DTS support!
[HDMIpassthru] g_pAppSpeaker [0x95aa894].
[HDMIpassthru] dlsym '_Z33SdVenderAudio_SetHDMI_AC3_Supporti' failed.
[HDMIpassthru] _Z31VenderAudio_SetHDMI_AC3_Supporti [0x42ba8f88].
[HDMIpassthru] _ZN9TCChannelC2Ev [0x11e8ffc].
[HDMIpassthru] dlsym '_ZN8TCWindow12GetTVChannelEP9TCChanneli' failed.
[HDMIpassthru] dlsym '_ZN8TCWindow10SetChannelEPK9TCChannelii' failed.
[HDMIpassthru] dlsym '_ZN9TCSpeaker18SetExternalOutModeEii' failed.
[HDMIpassthru] _ZN13TCWindowProxy12GetTVChannelEP9TCChanneli [0x12889b0].
[HDMIpassthru] _ZN13TCWindowProxy10SetChannelEPK9TCChannelii [0x12885cc].
[HDMIpassthru] _ZN14TCSpeakerProxy18SetExternalOutModeEii [0x12c6b14].
[HDMIpassthru] *Patched HDMI passthrough support
[HDMIpassthru] dlsym '_ZN8TCWindow9SetSourceEii' failed.
[HDMIpassthru] _ZN13TCWindowProxy9SetSourceEii [0x12891a4].
[HDMIpassthru] dlsym '_ZN9TCSpeaker20CheckExternalOutModeEi' failed.
[HDMIpassthru] _ZN14TCSpeakerProxy20CheckExternalOutModeEi [0x12c6d1c].
[HDMIpassthru] init done...
[HDMIpassthru] SamyGO E/F/H libHDMIpassthru v0.1.2 - (c) zoelechat 2015
[HDMIpassthru] Injecting once is enough!
Optical it shows what was @zoelechat was telling about the dts mode "TV will always show all SPDIF output modes "available" on all sources (even if they're not)". See here: (https://i.imgur.com/ECnNHC2.jpg)
20130101024525.jpg
I am not able to select any other source than PCM or DTS NEO 2:5. When I play a DTS-5.1 test movie or a DD5.1 I got no results.

So I try to fake EDID to get any results.

Code: Select all

 samyGOso -T -B -l /mnt/opt/privateer/usr/libso/libFakeEDID.so FAKE HDMI1 AC3 DTS
The cmd output:
SpoilerShow

Code: Select all

VDLinux#> samyGOso -T -B -l /mnt/opt/privateer/usr/libso/libFakeEDID.so FAKE HDMI1 AC3 DTS
samyGOso v1.2.5 (c) bugficks 2013-2014, sectroyer 2014-2015
Injecting '/mnt/opt/privateer/usr/libso/libFakeEDID.so' resident: '0'
Succeeded.
The log shows:
SpoilerShow

Code: Select all

VDLinux#> cat /dtv/FakeEDID.log
[FakeEDID] SamyGO E/F/H libFakeEDID v0.1.9 - (c) zoelechat 2015
[FakeEDID] _ZN9TDBuilder11GetTDiStoreE15TDStoreObject_k [0x7072f8].
[FakeEDID] _ZN9TDBuilder16GetTDiHdmiSwitchEv [0x70742c].
[FakeEDID] _ZN8TDaStore6CreateEi [0x7cf314].
[FakeEDID] _ZN8TDaStore7DestroyEv [0x7cd530].
[FakeEDID] dlsym '_ZN14TDsEepromStore5WriteEjjPKh' failed.
[FakeEDID] _ZN14TDsEepromStore10t_WriteDDCEjjPKh [0x7fc888].
[FakeEDID] dlsym '_ZN14TDsEepromStore4ReadEjjPh' failed.
[FakeEDID] _ZN14TDsEepromStore9t_ReadDDCEjjPh [0x7fc6cc].
[FakeEDID] _ZN18TDsPrimeHdmiSwitch11GetEDIDDataE10CDSource_kPhPt [0x80529c].
[FakeEDID] dlsym '_ZN13TDaHdmiSwitch11GetEDIDDataE10CDSource_kPhPt' failed.
[FakeEDID] dlsym '_ZN19PrimeHdmiSwitchBase11GetEDIDDataE10CDSource_kPhPt' failed.
[FakeEDID] lib_init, >>>
[FakeEDID] Dumping default EDID first block!
[FakeEDID] Overriding HDMI1 EDID with AC3/DTS support!
[FakeEDID] <<< lib_deinit
Again to mention all "dlsym" lines failed....?

Sadly with this option too there is no DTS and no DD sound. I can choose them but I am not able to hear sound. PCM is the only mode that works when I disable passthrough.

I hope for some hints or a fix. I really dont want to buy a new sound system. My one is nice but I need DTS and DolbyDigital or in other words I wanna use my 5.1 speakers :D
You do not have the required permissions to view the files attached to this post.
UEXXF6470
with Softwareversion:
T-MST12DEUC-2117,BT-S/G
rooted

zoelechat
Official SamyGO Developer
Posts: 8431
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] HDMI 5.1 audio passthrough patch E/F/H (MST only)

Post by zoelechat »

Failed dlsym's are expected in multi-series libs. Other than that I can't confirm if it works or not on your tv/fw (ain't got F), but you look to be right on procedure :)
I do NOT receive any PM. Please use forum.

Post Reply

Return to “[F] Software”