FORUMS
Remove All Ads from XDA

[FIX] No HDCP error Miracast (Ezcast) while screen mirroring all apps fix

27 posts
Thanks Meter: 41
 
By themightydeity, Junior Member on 31st May 2015, 02:22 PM
Post Reply Email Thread
Tested in (probably works in other Sony devices as well):
Xperia Z2 23.1.A.1.28 5.0.2
Rooted
Unlocked bootloader

If you have been greeted by these hateful messages when trying to connect to Miracast (EZcast)

"Could not turn on Screen mirroring. The output device is not ready or does not support HDCP."

"Could not start mirroring on the screen. Make sure the output device supports HDCP."

Probably you already have tried changing /system/etc/wfdconfig.xml:
Code:
...
<ContentProtection>
    <Valid>1</Valid>
...
to
Code:
...
<ContentProtection>
    <Valid>0</Valid>
...
After that the mirroring probably worked but got greeted by

"The output device does not support HDCP. You can only mirror unprotected content of the following applications:
Xperia Home, Video, Music or Walkman, Settings
"

and then just before the mirroring get disconnected

"
Your output device does not support HDCP. Cannot mirror. You still can mirror some apps and unprotected content to the device.
"

There is a very easy fix, in this file /system/build.prop just below
Code:
persist.debug.wfd.enable=1
add
Code:
persist.debug.wfd.appmonitoring=1
and then from ADB

Code:
adb shell su setprop persist.debug.wfd.appmonitoring 1
Restart your phone, it should work.

As @s107ken mentioned in #14, In case of boot loop, go to TWRP and then
Code:
adb shell chmod 644 /system/build.prop
Cheers
The Following 33 Users Say Thank You to themightydeity For This Useful Post: [ View ] Gift themightydeity Ad-Free
 
 
4th June 2015, 10:35 PM |#2  
makis780's Avatar
Member
Flag Paramythia
Thanks Meter: 1
 
More
Quote:
Originally Posted by themightydeity

Tested in (probably works in other Sony devices as well):
Xperia Z2 23.1.A.1.28 5.0.2
Rooted
Unlocked bootloader

If you have been greeted by these hateful messages when trying to connect to Miracast (EZcast)

"Could not turn on Screen mirroring. The output device is not ready or does not support HDCP."

"Could not start mirroring on the screen. Make sure the output device supports HDCP."

Probably you already have tried changing /system/etc/wfdconfig.xml:

Code:
...

    1
...
to
Code:
...

    0
...
After that the mirroring probably worked but got greeted by

"The output device does not support HDCP. You can only mirror unprotected content of the following applications:
Xperia Home, Video, Music or Walkman, Settings
"

and then just before the mirroring get disconnected

"
Your output device does not support HDCP. Cannot mirror. You still can mirror some apps and unprotected content to the device.
"

There is a very easy fix, in this file /system/build.prop just below
Code:
persist.debug.wfd.enable=1
add
Code:
persist.debug.wfd.appmonitoring=1
and then from ADB

Code:
adb shell su setprop persist.debug.wfd.appmonitoring 1
Restart your phone, it should work.

Cheers


Thanks !!!
All ok with mirroring!!!
The Following User Says Thank You to makis780 For This Useful Post: [ View ] Gift makis780 Ad-Free
6th June 2015, 01:49 PM |#3  
Senior Member
Thanks Meter: 141
 
Donate to Me
More
Quote:
Originally Posted by themightydeity


and then from ADB

Code:
adb shell su setprop persist.debug.wfd.appmonitoring 1
Restart your phone, it should work.

Cheers

where i have to write this? if i use adb from pc it says that not found the file. from terminal emulator it says device not found. Can you explain it?

edit: ok now works. any mode to send 5.1 audio for film? default is 2ch
7th June 2015, 09:13 PM |#4  
zaryab360's Avatar
Senior Member
Flag City Of Lights
Thanks Meter: 408
 
More
Quote:
Originally Posted by fer2503

where i have to write this? if i use adb from pc it says that not found the file. from terminal emulator it says device not found. Can you explain it?

edit: ok now works. any mode to send 5.1 audio for film? default is 2ch

How you do this any tutorial?
For adb

Edit: Got it!
Working flawlessly!
8th June 2015, 10:31 AM |#5  
Junior Member
Thanks Meter: 0
 
More
after doing like what OP showed, i also got the file not found at the final step. Could someone help me sort this out

p/s: actually i received the error :
sh: persist.debug.wfd.appmonitoring: not found
10th June 2015, 10:10 AM |#6  
Senior Member
Thanks Meter: 141
 
Donate to Me
More
I use terminal emulator:
Write in this order:
Su
Press enter and after write:
setprop persist.debug.wfd.appmonitoring 1
now reboot and all Works
The Following 3 Users Say Thank You to fer2503 For This Useful Post: [ View ] Gift fer2503 Ad-Free
23rd June 2015, 08:43 PM |#7  
Member
Flag Belém
Thanks Meter: 16
 
More
Talking
Works for me! Xperia ZL 6506
Not needs run
Code:
adb shell su setprop persist.debug.wfd.appmonitoring 1
Encripted content like Netflix not works!
25th June 2015, 08:08 AM |#8  
Member
Thanks Meter: 5
 
More
Hi! Should it work with locked bootloader? Root required? Thanks!
2nd July 2015, 11:47 AM |#9  
Senior Member
Thanks Meter: 141
 
Donate to Me
More
i see the display mirroring on tv in 720p only, not in 1080p with my z1. with other device the microsoft display adapter works at 1080p. any solution about that?
17th July 2015, 06:09 AM |#10  
Toje2's Avatar
Senior Member
Thanks Meter: 7
 
More
Thank you so much, this worked great, I can now get my screen mirroring working again.

I had no idea that unlocking the boot loader would kill HDCP...

Thanks for the hard work.
23rd July 2015, 09:33 AM |#11  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by zaryab360

How you do this any tutorial?
For adb

Edit: Got it!
Working flawlessly!


i also got error msg "device not found" while entering adb command ... can u plz me how to do it??
Post Reply Subscribe to Thread

Tags
fix, hdcp, miracast, mirror, xperia

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes