I have a Samsung Galaxy S7 Exynos. I found out that every time I wanted to cast my screen to my Amazon Firestick, it would tell me that mirroring has ended as soon as it starts. This is apparently a common problem with rooted devices. This may actually be a fix for other rooted Android phones as well.
Without fail, every time I tried mirroring my phone, I would see the words “display mirroring has ended”.
A simple fix for you might be to uninstall any other casting applications on your phone (like Allcast). If not, then follow the steps below:
- Download a build.prop editor from the Google Play Store.
- Open up that bad boy.
- Find a line that says “wlan.wfd.hdcp=enable”
- Change it to “wlan.wfd.hdcp=disable”
If the line does not already exist, make a new one at the end and type in “wlan.wfd.hdcp=disable”. This changes the behaviour of your wlan connectivity, and it fixed the screen mirroring issue for me.
This is how it looks for me:
You will need to restart your phone before changes take effect.
You may need to use the preinstalled ‘Smart View’ Samsung app to use screen casting/mirroring.
While you’re at it, if you have not done this already, you may want to set your ro.config.tima=0 if it is set to 1. This tricks some older apps into thinking your device has not been rooted.
The reason I have posted this fix is because I cannot find it anywhere else, and is not an obvious one.