First download to your phone program Psiloc IrRemote that is right for your model. Install it and activate.
After that, go to menu Devices – Functions Add device and select the TV model.
On the phone display should appear on the remote buttons. If nothing appears, try selecting a different model. Then turn your phone the infrared port in the side of the TV and switch the channels until you get bored.
Is the advice useful?
How to search for and watch YouTube videos on Samsung TV with your smartphone