So I searched for These and found a app named Miracast enabler. Thanks To @r3pwn
Though the app is not the only thing that will enable miracast there are some other things to do....
**A rooted Phone must required for this. And LineageOS or LOS based ROM.
So...
Here are the steps.....
1) First add the line in your build.prop and restart ur device.
persist.debug.wfd.enable=1
2)Now download the Apk and install
Link -- https://drive.google.com/file/d/1qIaDJmdbIJKvJEw-MZmhhvkoTpPdQ9-5/view?usp=drivesdk
Then open the app and give root permission then click on install. Give storage permission if it ask.
2) Now download Mirror enabler from this thread
Thread Link -- https://forum.xda-developers.com/android-tv/chromecast/experimental-enable-mirroring-device-t2812193
Direct download link from thread --- https://www.androidfilehost.com/?fid=95784891001616583
Open It and give root permission
Then u will see 3 options Disabled
Enable Them one by one! Then restart your phone! ( If The app crashes Try yo enable 2nd option first then reboot then Enable other 2 options.Then reboot)
After that goto Settings >Display> Cast then click on option(3 dot in the top). Then mark "Enable Wireless Display".
Now u will be able to cast ur device screen on any wireless display!
*****This tricks is tested on Redmi 3 with Lineage14.1+Opengapps nano.
Though the app is not the only thing that will enable miracast there are some other things to do....
**A rooted Phone must required for this. And LineageOS or LOS based ROM.
So...
Here are the steps.....
1) First add the line in your build.prop and restart ur device.
persist.debug.wfd.enable=1
2)Now download the Apk and install
Link -- https://drive.google.com/file/d/1qIaDJmdbIJKvJEw-MZmhhvkoTpPdQ9-5/view?usp=drivesdk
Then open the app and give root permission then click on install. Give storage permission if it ask.
2) Now download Mirror enabler from this thread
Thread Link -- https://forum.xda-developers.com/android-tv/chromecast/experimental-enable-mirroring-device-t2812193
Direct download link from thread --- https://www.androidfilehost.com/?fid=95784891001616583
Open It and give root permission
Then u will see 3 options Disabled
Enable Them one by one! Then restart your phone! ( If The app crashes Try yo enable 2nd option first then reboot then Enable other 2 options.Then reboot)
After that goto Settings >Display> Cast then click on option(3 dot in the top). Then mark "Enable Wireless Display".
Now u will be able to cast ur device screen on any wireless display!
*****This tricks is tested on Redmi 3 with Lineage14.1+Opengapps nano.