How to Miracast on AOSP

build.prop

adb root
adb remount
adb pull /system/build.prop
 (add persist.debug.wfd.enable=1 to build.prop)
adb push build.prop /system/
adb shell chmod 644 /system/build.prop
adb reboot

Source

Advertisements