What checks does the Miracast functionality have? What is preventing me from using Miracast and a custom kernel? I had added a few tweaks and one day noticed Miracast stopped working, it would connect, but not stream. I reverted to stock for system and it still wasn't working. Then I realized I had updated the kernel, a secure one but some must have been different enough to get in the way. I reset to a stock boot and Miracast resumed working.
A 2013 LG TV is what I connect to.