FORUMS
Remove All Ads from XDA

How to enable Miracast

573 posts
Thanks Meter: 326
 
By dedraks, Senior Member on 2nd March 2017, 04:59 AM
Post Reply Email Thread
This guide will show how to enable WIFI SCREEN MIRRORING on our phones.
I think Moto/Lenovo disabled it to force the use of projector snap or chromecast.

You'll need root enabled.

All you have to do is change one line on your build.prop.

You have to change the line
Code:
persist.debug.wfd.enable=0
To
Code:
persist.debug.wfd.enable=1
If you're on stock or stock based ROM, you will edit the line.
If you're Lineage based rom, you will have to add the line.

Now you reboot and Miracast can be enabled.

If this tutorial helps you, hit "thanks" button.
The Following 12 Users Say Thank You to dedraks For This Useful Post: [ View ] Gift dedraks Ad-Free
 
 
5th March 2017, 03:10 PM |#2  
anujyadava's Avatar
Senior Member
Thanks Meter: 290
 
More
it works confirmed on xiaomi redmi note 3,N roms
The Following 2 Users Say Thank You to anujyadava For This Useful Post: [ View ] Gift anujyadava Ad-Free
5th March 2017, 06:03 PM |#3  
Senior Member
Thanks Meter: 15
 
More
Was about to return my Moto Z (Griffin) because of the lack of miracast.
Just tried this method and it does indeed enable miracast on Android 6.
Problem is, it's not smooth and seemless like on the Galaxy S7 because when casting video, the Moto Z plays the video on the phone as well as on the wireless display at the same time resulting in an often pixelated wireless video.
On the S7, the screen on the phone remains black (except for the playback controls), and wireless video is excellent.
How can we fix this?

Also, does this build.prop hack work on Android 7?
5th March 2017, 06:53 PM |#4  
Junior Member
Thanks Meter: 3
 
More
Quote:
Originally Posted by forcedv

Was about to return my Moto Z (Griffin) because of the lack of miracast.
Just tried this method and it does indeed enable miracast on Android 6.
Problem is, it's not smooth and seemless like on the Galaxy S7 because when casting video, the Moto Z plays the video on the phone as well as on the wireless display at the same time resulting in an often pixelated wireless video.
On the S7, the screen on the phone remains black (except for the playback controls), and wireless video is excellent.
How can we fix this?

Also, does this build.prop hack work on Android 7?

I don't think that the S7 actually does Miracast but uses a form of WiFi Direct instead. My understanding of Miracast is that it is only capable of video mirroring and doesn't have the ability of actually casting video like Chromecast or Apple Air Play. I also have an S7 and although it is able to cast video from content directly on your phone to a television it uses video mirroring when playing back video from third party apps like HBO Go or Showtime Anytime, the same as Miracast.
The Following User Says Thank You to heap1 For This Useful Post: [ View ] Gift heap1 Ad-Free
6th March 2017, 12:18 AM |#5  
Senior Member
Thanks Meter: 15
 
More
The ultimate goal is to have a device that can connect to and project content to a wide spectrum of devices.
For me, it's important to be able to cast or mirror directly, without the need for an external WiFi network (as is the requirement of a Chromecast).
Examples being "project to this PC Windows 10" or to a miracast/Widi connected projector "Microsoft display adapter".
All of which the S7 does flawlessly but the Moto Z can't.
Regarding the mirror display of video, that depends on the app being used. If however the app allows the video to be played on the native video player, it'll get cast but not mirrored, resulting in smooth playback (S7). The Moto does not have a dedicated video player and relies on Google Photos, so the content (after applying this mirrorcast hack) is simply mirrored.
It's also shocking that for a modern device, the Moto Z can't connect to devices via HDMI (Samsung also dropped the ball here with the S7).
Only reason to keep the Moto Z really is for the Mods, like the projector.
6th March 2017, 09:04 AM |#6  
Senior Member
Thanks Meter: 15
 
More
I've read somewhere that this hack only works on Android 6 for the Moto Z (fails to connect on Android 7).
Could someone please confirm ( don't want to update if miracast is lost)?
6th March 2017, 10:01 AM |#7  
S3V3N's Avatar
Senior Member
Flag Żagań
Thanks Meter: 7,309
 
Donate to Me
More
Miracast must enable on framework for android 7

TapTap im 7 NCR 1.3 for MZP by S3V3N
6th March 2017, 11:38 AM |#8  
Senior Member
Thanks Meter: 15
 
More
Quote:
Originally Posted by S3V3N

Miracast must enable on framework for android 7

TapTap im 7 NCR 1.3 for MZP by S3V3N

How is that done please?
6th March 2017, 02:05 PM |#9  
dedraks's Avatar
OP Senior Member
Flag Belo Horizonte
Thanks Meter: 326
 
Donate to Me
More
Tested on stock ROM 7.0.
Working.

Sent from my Motorola XT1635-02 using XDA Labs
6th March 2017, 06:31 PM |#10  
Senior Member
Thanks Meter: 15
 
More
Quote:
Originally Posted by dedraks

Tested on stock ROM 7.0.
Working.

Sent from my Motorola XT1635-02 using XDA Labs

Did you OTA to stock 7 and are you seemless rooted?
The Following User Says Thank You to forcedv For This Useful Post: [ View ] Gift forcedv Ad-Free
7th March 2017, 12:32 AM |#11  
dedraks's Avatar
OP Senior Member
Flag Belo Horizonte
Thanks Meter: 326
 
Donate to Me
More
Quote:
Originally Posted by forcedv

Did you OTA to stock 7 and are you seemless rooted?

Yes.

Sent from my Motorola XT1635-02 using XDA Labs
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes