[Issue][Miracast][CM11] Screen Mirroring broken or not working

Search This thread

sugarfoot1001

Member
Mar 19, 2011
16
1
Lusaka, Zambia
I would like to find out if anyone else has been having problems getting the miracast casting to work on CyanogenMOD 11 (i.e. any official CM11 build for Nexus 4).

I would like to report that though mirroring works perfectly on the Kitkat Stock (even after you do a basic root), , when I do a clean flash of CM11 (including wiping all data), and try to cast, the phone seems to reset the established connection almost as soon as it is established; and then the access-point / SSID of the miracast device momentarily disappears from the list [ i.e. the list under Setting > Display (& Lighting) > Casting ].

By the way, I am using the Nexus 4 with Rocketfish's Miracast device (see here). Haven't tested this issue on any other phone/miracast-model combination. However, I did test all of the above on one other nexus 4 device and experienced the same issues.

I thought I'd post this issue up here to possibly expose it to someone (who knows someone... ) on the CM dev team, because I'm not sure what the channels of communication are to let them know directly (e.g. I believe we are not allowed to post issues for CM11 nightlies).

Thanks a Tonne in Advance!!
 
Last edited:

mariod84

Member
Aug 24, 2008
11
0
I also have the same problems with CM11 official on my Nexus 4 and my LG Smart TV 39LN575S: Miracast try to connect but not works.
I tried with Kitkat stock and it works.

Anyone can help us?

Thanks
 
Last edited:

elderap

Senior Member
Sep 17, 2012
465
92
Does not work on any custom ROM kk, unfortunately, must be some bug in Google because no developer could solve.

Enviado de meu Nexus 4 usando Tapatalk
 
  • Like
Reactions: sugarfoot1001

sugarfoot1001

Member
Mar 19, 2011
16
1
Lusaka, Zambia
Does not work on any custom ROM kk, unfortunately, must be some bug in Google because no developer could solve.

have they been able to at least narrow down what part of the ROM customization process breaks it?
E.g. deodexing, busybox some intefering apps/services


Also, is Miracast working fine on custom pre-Android4.4 roms such as CM10.. Each time I try to flash to CM10.x ("stable") to test this (even after a complete data wipe), It breaks my wifi [which I obviously need for miracast]?
 
Last edited:

elderap

Senior Member
Sep 17, 2012
465
92
have they been able to at least narrow down what part of the ROM customization process breaks it?
E.g. deodexing, busybox some intefering apps/services


Also, is Miracast working fine on custom pre-Android4.4 roms such as CM10.. Each time I try to flash to CM10.x ("stable") to test this (even after a complete data wipe), It breaks my wifi [which I obviously need for miracast]?

Over other versions of android, works 100% on all custom. The problem you're having with wifi is broken because of the baseband, you should is with a baseband kk, and they do not work in the previous version, change to 0.84, for example, that wifi will function normally.
 
  • Like
Reactions: sugarfoot1001

sugarfoot1001

Member
Mar 19, 2011
16
1
Lusaka, Zambia
Over other versions of android, works 100% on all custom. The problem you're having with wifi is broken because of the baseband, you should is with a baseband kk, and they do not work in the previous version, change to 0.84, for example, that wifi will function normally.

great that's very helpful!
Hopefully google is working to resolve this issue.

Seems to me that overall, not alot of attention is paid to miracast technology ever since it's integration onto the android platform.
 

mariod84

Member
Aug 24, 2008
11
0
I have basaband .98 and with last CM11 nightly Miracast don't works, instead with the same baseband and KK 4.4.2 stock it works.
I like much CM but I don't want lose a feature of my Nexus 4
 

s107ken

Senior Member
Apr 2, 2013
207
247
43
Fukushima
d.hatena.ne.jp
I'm tested cm-11-20140108-NIGHTLY-mako.zip.
adb logcat said,
E/DxHDCPModule(194): Opening HDCP library failed: dlopen failed: library "libDxHdcp.so" not found

pull "libDxHdcp.so" from KOT49H factory image, push "libDxHdcp.so" to CM11, but didn't solved this.


so I developed add a few Miracast options for AOSP including HDCP skipping, this morining build for CM11, tilapia and mako Miracast working on CM11.

attached 20140110_mira02_CM11_tilapia-update-signed.zip on next thread.
http://xdaforums.com/showpost.php?p=49265142&postcount=118
build target is tilapia(Nexus 7 2012 3G), but working on Nexus 4.

flash cm-11-20140108-NIGHTLY-mako.zip & 20140110_mira02_CM11_tilapia-update-signed.zip,
lauch Mira4U app, check Skip HDCP, goto Cast screen, *maybe* working :cyclops:


if Miracast worked on N4 after applied this patch, Netflix or other HDCP required contents maybe black screen.
 

Attachments

  • device-2014-01-10-061416.png
    device-2014-01-10-061416.png
    134.7 KB · Views: 1,158
  • Like
Reactions: mariod84

mariod84

Member
Aug 24, 2008
11
0
I'm tested cm-11-20140108-NIGHTLY-mako.zip.
adb logcat said,


pull "libDxHdcp.so" from KOT49H factory image, push "libDxHdcp.so" to CM11, but didn't solved this.


so I developed add a few Miracast options for AOSP including HDCP skipping, this morining build for CM11, tilapia and mako Miracast working on CM11.

attached 20140110_mira02_CM11_tilapia-update-signed.zip on next thread.
http://xdaforums.com/showpost.php?p=49265142&postcount=118
build target is tilapia(Nexus 7 2012 3G), but working on Nexus 4.

flash cm-11-20140108-NIGHTLY-mako.zip & 20140110_mira02_CM11_tilapia-update-signed.zip,
lauch Mira4U app, check Skip HDCP, goto Cast screen, *maybe* working :cyclops:


if Miracast worked on N4 after applied this patch, Netflix or other HDCP required contents maybe black screen.
Thanks!!! Now it works
 

sugarfoot1001

Member
Mar 19, 2011
16
1
Lusaka, Zambia
Thanks!!! Now it works

I was unable to get this to work.

I got force closes and then when i wiped data. The rom worked but it's miracast still didn't work. Was there something I was supposed to do in addition, in order to get it all working??

Would you mind explaining the steps you took to get it to work on Nexus 4, since there's just too much information at the provided link that doesn't necessarily relate to nexus 4.
 

s107ken

Senior Member
Apr 2, 2013
207
247
43
Fukushima
d.hatena.ne.jp
I was unable to get this to work.

I got force closes and then when i wiped data. The rom worked but it's miracast still didn't work. Was there something I was supposed to do in addition, in order to get it all working??

Would you mind explaining the steps you took to get it to work on Nexus 4, since there's just too much information at the provided link that doesn't necessarily relate to nexus 4.


required
1) Nexus 4 CM11
2) 20140110_mira02_CM11_tilapia-update-signed.zip - applied to N4 using custom recovery
3) launch Mira4U app, check Skip HDCP
after this, standard way how to use miracast,
4) Settings -> Display -> Cast screen
 
  • Like
Reactions: sugarfoot1001

BigMatza

Senior Member
Mar 24, 2008
155
36
OnePlus 6T
required
1) Nexus 4 CM11
2) 20140110_mira02_CM11_tilapia-update-signed.zip - applied to N4 using custom recovery
3) launch Mira4U app, check Skip HDCP
after this, standard way how to use miracast,
4) Settings -> Display -> Cast screen
Cheers s107ken. Have you been in touch with CM about including your fix in their source code? If so, please post an update here when you catch wind of the first CM11 nightly that includes it.
 

Vioner

Senior Member
May 30, 2012
614
263
I'm tested cm-11-20140108-NIGHTLY-mako.zip.
adb logcat said,


pull "libDxHdcp.so" from KOT49H factory image, push "libDxHdcp.so" to CM11, but didn't solved this.


so I developed add a few Miracast options for AOSP including HDCP skipping, this morining build for CM11, tilapia and mako Miracast working on CM11.

attached 20140110_mira02_CM11_tilapia-update-signed.zip on next thread.
http://xdaforums.com/showpost.php?p=49265142&postcount=118
build target is tilapia(Nexus 7 2012 3G), but working on Nexus 4.

flash cm-11-20140108-NIGHTLY-mako.zip & 20140110_mira02_CM11_tilapia-update-signed.zip,
lauch Mira4U app, check Skip HDCP, goto Cast screen, *maybe* working :cyclops:


if Miracast worked on N4 after applied this patch, Netflix or other HDCP required contents maybe black screen.

Would this work with N4@Lollipop? Please reply
 

Xenosis

Senior Member
Apr 12, 2011
217
25
Would this work on HTC One [m7]? I am also getting the same exact black screen issues when trying to cast netflix.
 

Xenosis

Senior Member
Apr 12, 2011
217
25
This wifi display helper pro did not work. I couldn't check either box to apply the patch.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Does not work on any custom ROM kk, unfortunately, must be some bug in Google because no developer could solve.

    Enviado de meu Nexus 4 usando Tapatalk
    1
    have they been able to at least narrow down what part of the ROM customization process breaks it?
    E.g. deodexing, busybox some intefering apps/services


    Also, is Miracast working fine on custom pre-Android4.4 roms such as CM10.. Each time I try to flash to CM10.x ("stable") to test this (even after a complete data wipe), It breaks my wifi [which I obviously need for miracast]?

    Over other versions of android, works 100% on all custom. The problem you're having with wifi is broken because of the baseband, you should is with a baseband kk, and they do not work in the previous version, change to 0.84, for example, that wifi will function normally.
    1
    I'm tested cm-11-20140108-NIGHTLY-mako.zip.
    adb logcat said,
    E/DxHDCPModule(194): Opening HDCP library failed: dlopen failed: library "libDxHdcp.so" not found

    pull "libDxHdcp.so" from KOT49H factory image, push "libDxHdcp.so" to CM11, but didn't solved this.


    so I developed add a few Miracast options for AOSP including HDCP skipping, this morining build for CM11, tilapia and mako Miracast working on CM11.

    attached 20140110_mira02_CM11_tilapia-update-signed.zip on next thread.
    http://xdaforums.com/showpost.php?p=49265142&postcount=118
    build target is tilapia(Nexus 7 2012 3G), but working on Nexus 4.

    flash cm-11-20140108-NIGHTLY-mako.zip & 20140110_mira02_CM11_tilapia-update-signed.zip,
    lauch Mira4U app, check Skip HDCP, goto Cast screen, *maybe* working :cyclops:


    if Miracast worked on N4 after applied this patch, Netflix or other HDCP required contents maybe black screen.
    1
    I was unable to get this to work.

    I got force closes and then when i wiped data. The rom worked but it's miracast still didn't work. Was there something I was supposed to do in addition, in order to get it all working??

    Would you mind explaining the steps you took to get it to work on Nexus 4, since there's just too much information at the provided link that doesn't necessarily relate to nexus 4.


    required
    1) Nexus 4 CM11
    2) 20140110_mira02_CM11_tilapia-update-signed.zip - applied to N4 using custom recovery
    3) launch Mira4U app, check Skip HDCP
    after this, standard way how to use miracast,
    4) Settings -> Display -> Cast screen