Without some form of reference looking for the original Samsung OEM is an almost impossible task; check
here and
here.The
RMT-D117A does indeed have codes for for some TV's, but with its being an OEM model they're limited; i.e. there's seemingly nothing listed for LG or Samsung.
It might be worth investing in a cheap universal. Check the
Files section for compatible models.