Page 1 of 3
Are there any working software to control UE H6400?
Posted: Sat Jul 18, 2015 7:16 am
by Mezh
Hello guys,
I've discovered, that there are 2 protocols to control this TV by Lan:
on 7676 port - upnp
on 52345 port - low-level samsung protocol
I've tried Gemote, ruSamsungTVcommunicator - both not working. I've found actions for Volume Up, Volume Down, Mute and few more which I can send from Device Spy and it works. I've tried to send various KeyCodes and got no success, unfortunately. The guy here had some issue in 2013, don't know if he found solution
http://www.samsungdforum.com/SamsungDFo ... d0b497f281
So, I have few questions
1. Are there any win (or you can say even Linux) software which will work fine?
2. Can anyone say how could I say KeyCodes for remote control through upnp?
3. Is it possible to control tv somehow by USB, not Ethernet?
I appreciate your help guys, thanks
Re: Are there any working software to control UE H6400?
Posted: Sat Aug 08, 2015 2:23 pm
by mad_ady
I too would like to add to your question - can anyone recommend an Android app that allows you to control the TV (turn off/on, change channel/volume) without the need for an IR port (over wifi)? I've looked around but most apps seem to be for older models.
Re: Are there any working software to control UE H6400?
Posted: Sat Aug 08, 2015 2:37 pm
by zoelechat
https://play.google.com/store/apps/deta ... .companion
? Supported Devices
[Samsung Smart TV]
. 2014 Samsung Smart TV H5500 and above, (Except for H6003/H6103/H6153/H6201/H6203).
. 2015 Samsung Smart TV J4500, J5500 and above, (Except for J6203)
Re: Are there any working software to control UE H6400?
Posted: Sat Aug 08, 2015 3:18 pm
by mad_ady
Thanks Zoe, but I forgot to add one tiny insignificant requirement... It has to work on non-Samsung phones or on AOSP Samsung Phones (I have a S3 running an AOSP variant, the wife has a Nexus 5)...
Anything for the likes of me? Doesn't have to be anything fancy...
Re: Are there any working software to control UE H6400?
Posted: Sat Aug 08, 2015 3:52 pm
by zoelechat
Did you try to download the APK then install it manually?
Re: Are there any working software to control UE H6400?
Posted: Sat Aug 08, 2015 6:09 pm
by mad_ady
Yes - it won't install (incorrect format). As far as I know it requires samsung's touchwiz library which only works on their roms..,
I'll try some other apks but I don't hold much hope
Re: Are there any working software to control UE H6400?
Posted: Wed Aug 12, 2015 7:36 pm
by mad_ady
Ok, I've been thinking about the problem and it seems the current alternate applications on the play store don't support h series. Bummer. The official samsung app promises an update in september, but I have no hope it will run on non-samsung phones/roms.
The fact that there are no apps to control h series can mean one of two things:
1. There is no interest from app develpers
2. The communication between app and tv is proprietary and encrypted.
I believe the second option is closer to the truth, but so far I haven't found any technical analysis of what goes on between app-tv.
So, let's analyse it!
I ran a simple nmap scan against the tv and found ports 8080, 8443 and 6001 open (amongst others). The first two seem to be http/https, the last one looks like X11 (though it's likely a false positive). @Devs, is there a thread discussing open ports on H series?
We should do a packet capture to see what traffic passes between the app and the tv. To do this, we need to be able to run the app (the OP's original request)- how about bluestacks?
It seems it's possible to run a S4 ROM in Bluestacks, so you could install the apk and (try to) communicate to the tv.
http://bluestacksid.blogspot.ro/2014/12 ... n.html?m=1
I'll try to set it up if I have time and do a packet capture and report back -- this unless somebody beats me to it

Re: Are there any working software to control UE H6400?
Posted: Wed Aug 12, 2015 7:40 pm
by zoelechat
App even exists for Windows if you prefer to emulator
http://www.samsung.com/global/smartview/english
Re: Are there any working software to control UE H6400?
Posted: Wed Aug 12, 2015 7:46 pm
by mad_ady
Oh, I had no idea - It looks less convoluted than bluestacks (since my main system is linux and I would need a VM anyway to run it). I'll give it a shot. The protocol should be the same.
Thanks a lot!
Re: RE: Re: Are there any working software to control UE H6400?
Posted: Sat Aug 15, 2015 10:50 am
by Wolfgan
mad_ady wrote:Oh, I had no idea - It looks less convoluted than bluestacks (since my main system is linux and I would need a VM anyway to run it). I'll give it a shot. The protocol should be the same.
Thanks a lot!
That's what I was going to say. I tested the windows app and seems to run OK and export most of the remote controls. Running a fiddler session to intercept the traffic seems to show some websockets activity, but I had no time to analyze it properly
There's a 3rd party android app with the same issue of limited H series support, I guess they are reverse engineering the protocol as well (I wonder if there?s an doc at Samsung smartv developer site?)
Wolf