Exclamation [Q] HDMI or MHL how to enable

how to enable in custom rom if device is HDMI or mhl link enabled