Video [Q] Use Arc S as hdmi media dongle

Hi there!
I have an old Xperia arc s unused into one of my drawers and a no-smart lcd tv with an hdmi input. I was buying an android hdmi dongle so i would have been able to watch films on my NAS, some videos on youtube and so.
Suddenly i've rembered of that one semi broke (yep, touch screen doesn't work good anymore) smartphone on my drawer with an hdmi out, so i was figuring out what rom should i use (now it have some kind of custom rom with no hdmi support) and if there's something like a unified remote server for android that i can use as a remote.

Thanks in advance!