Miracast in Lollipop - Shield Tablet Android Development

Well, I know its old news, but... If you add
Code:
persist.debug.wfd.enable=1
to your build.prop and reboot, a new menu appears in "Cast Screen" window that allows you to enable Miracast. Unfortunately, the wireless pad uses WiFi Direct as well, so it interferes with WiDi usage (whenever you try to connect with a WiDi device, prompt for PIN appears). I tried killing off the Blake service (blake = wireless pad), but since my PTV3000 started refusing to work with my Z1 Compact as well (it used to work like a charm tho... ) I am not able to pursue this any more.

Related

Help with enabling cast screen [CM11 unofficial] [N8000 LTE]

Hi,
I cannot get my device to 'discover' a microsoft miracast adaptor I have plugged in my tv. This device supports wi-fi direct, so it should theoretically work!
What I did :
I decided to upgrade my system as it was starting to lag badly, after 2 years of use.. I wanted to upgrade to kitkat at lesat, so I could stream movies to a tv. That feature was quite attractive to me.
I acquired CM11 unofficial from this post - http://forum.xda-developers.com/showthread.php?t=2637079
full tablet wipe, (Forgot to backup SMS, argh) and it installed CM11 with kitkat 4.4.4 just fine. No problems that I can see, installed slim Gapps package - just for the play store, nothing else. Gonna install Gmail later.
Then I bought a chromecast, it was quite fiddly - It wouldnt find it on cast screen either, I discovered I needed it to run through a wifi network with a permanent internet connection. After this, it showed up on cast screen. Also, the streaming quality was complete crap - so I returned it and got a microsoft miracast adaptor - which apparently has better quality and doesn't need a wifi router!
I can't figure out how to get it to show up. The cast screen tab cannot find any devices. The adaptor sits in the tv, and it shows '"ready to connect" on there.
Since the tab for cast screen exists on my tablet, the functionality is there, and waiting to be used?
Any help please?
Do I need to do something like this - http://forum.xda-developers.com/har...experimental-enable-mirroring-device-t2812193 ?
So, no one has provided any tips yet... I'm going to go return this miracast adaptor before I can't get a refund for it.
But before I do, is there another forum category, or another place on the internet where I may be suggested to try for some troubleshooting advice?
This doesn't make sense to me - as the functionality WORKS, it is supported by the hardware, and the chromecast adaptor actually showed up before

[HOWTO] Miracast Like a Boss - Offline Mirroring

First off, I get it. Chromecast is awesome and Miracast kinda sucks. I know. However, I was searching for an AIO video solution for my minivan that I could control from the 1st row (refuse to use DVDs - 2014 T&C has 1 HDMI port behind the 2nd row). My Chromecast works awesome tethered to my phone's hotspot. Other than for the first time setup, you don't even need a second device. You can cast from the device hosting the hotspot which is slick. Perfect for in-car. But I wanted to be able to cast local content so network reliability does not become and issue when traveling (Netflix, Emby, etc). Enter BubbleUPNP. Bubble will transcode on the fly (on the phone) and cast anything you have to your Chromecast (Chromecast is super limited on codecs). This was perfect for when I was in the car. But I needed a solution for my wife. Unfortunately, due to me holding on to my unlimited data on good 'ole VZW, my wife does not have native tethering enabled (iPhone - not going to JB it either). My idea was to get a deactivated phone (in this case, a Galaxy S5), enable the native hotspot, and use the Chromecast connected to wifi, but offline. Guess what Chromecast can't do...even for local content. Yeah. It needs the internet. So...
So I bought a Microsoft Wireless Adapter for Miracast. It is not too shabby actually. Hate that it mirrors everything (prefer the "cast" then use your phone normally and even turn the screen off), but it is fast and reliable. The problem was, the GS5 wouldn't connect to it (something like "failed to connect to screen mirroring"). Tried on Lollipop and Marshmallow with the same result. I found a build.prop edit that disables HDCP. This allowed it to connect with a minor exception. Netflix would not display its video (from my research, Hulu and others might be affected too). I figured this was due to the device being rooted, so I unrooted the device and re-enabled HDCP, but left everything else the same (unlocked dev bootloader, custom recovery, near-stock rom). Failed to connect. Well crap.
I finally rolled back to completely stock 5.0 (PB1) and tried again. Everything worked (including Netflix). Side-loaded the 6.0.1 update. It still worked. I'm not sure what breaks HDCP compliance, but something in the modification process does it. The good news is that since I don't need the native hotspot or any apps other than media players, I don't need root at all. I disabled all the crapware and done!
Popped in a 128GB microSD and loaded it up. Installed the newest Kodi nightly (to get the new estouchy skin for touchscreen use) and it works amazingly. Everything was named nicely already because of Emby, so once I added the TV shows and movies to libraries, Kodi pulled in all the art and metadata automatically. The only thing I don't like so far is that Kodi won't dim/shut off the phone's display like VLC does when you are mirroring (it's not really off, it just turns black). That's not a dealbreaker though, and it might be a feature that I just haven't found yet, or can add via an add-on.
Anyhow, I have no idea if this will help anyone, but I figured if I could save someone some time and a few headaches, it would be worth a quick write-up.
Note: I do have an MHL 2.0 to HDMI adapter. Mirroring a VZW GS5 with 6.0.1 works perfectly with this setup. I wanted to find a wireless solution to avoid cable clutter and potential damage to the phone's USB port.

Miracast for Pie?

I'm looking for a way to remedy this. I would like to use miracast instead of Chromecast for screen projection. I know the phone probably has this functionality, but it's been disabled. Is there a way to enable it on Pie?
Is there any update on this? I only just found that Miracast is no longer working for me when casting from the XZP.
It connects, but I get message "Output device doesn't support HDCP. Air mirroring can only show Home, Music, Settings". So, that's basically useless....
(The targe device works perfectly fine reveiving from other miracast devices).
TIA

Does anyone else have issues with screen mirroring on the 7 Pro?

Hey everyone, can you test your screen mirroring feature on your phone and tell me if it works? I can't find many bug reports about it. For me it doesn't work.
My OnePlus 6 can presently cast the screen directly to my Roku stick and Roku TV without any issues.
I bought a 7 Pro (Oxygen OS 9.5.3 GM21AA) and enabled "wireless display" and this is what happens:
- I select Cast from the drop-down notification bar
- It searches forever without finding anything
- I click Settings
- It finally finds and shows me my available Roku device (or any TV that has screen mirroring)
- I select the one I want
- It says connecting
- instead of connecting, the list of eligible devices, including the one I am connecting to goes blank
- The list gets reset and nothing is connecting
Any attempt to try again, after I reset my phone, restarted my modem and my WiFi etc gives me the same situation.
Does anyone have any suggestions? I hate when older devices work great and newer ones don't. Both are running Android 9.
No? Just me? Lol
Hi, for me it works. Chromecast, shield tv, google home or integrated cast.
BUT, there is an issue with the resolution, my tv is 1080p, source too, but I have black margins around..
@cainman
1. You must have WIFI enable to be able to use Screen Mirroring.
2. Go to Cast setting and tap the 3dots and enable it.
Been Mirroring my device my device since day 1 without problems.

Control phone with broken lcd

Hi
I have Galaxy Ace 4 (kitkat 4.4) with broken lcd. The screen is blank but touch should work. Earlier something was visible on screen and as I remember touch was working.
Moreover, the system had some failure due to permanent "application xxx stopped working" and factory reset should be made.
I would like to use this phone as wifi hotspot. Is there any way to access the phone after factory reset? I have found application like Visor to control android via usb on pc. But developer mode has to be enabled and I'm not sure if system should be rooted.
Thank you for any help
If you can still see the screen, but the touch screen does not work:
Buy a cheap USB adapter so you can connect a PC keyboard or mouse (probably a USB C to USB A adapter). You can buy these adapters from China on eBay for $ 1 (but you may have to wait a month until they arrive in the mail. In this case, buy from a seller in your own country). I suppose you have a keyboard or just use the keyboard and use the arrows to move and select things, so I think the Windows button will become the home button. Press Enter to select and Escape to return. Or you can simply point and click with the mouse. The problem is that not all phones support "OTG", so you may not be able to read the adapter. If so, then I think you have no other choice. . But most of the stores themselves definitely support 100% OTG, so it should work normally. The problem with Bluetooth is that you need to pair it first, which requires touching the screen. Therefore, if you cannot touch the screen, using a Bluetooth mouse or keyboard may not work
If you can't see the screen, but the touch screen works normally:
Unless you change the screen, don't think that there are many things you can do. Android phones that were previously compatible with MHL allow you to use a dongle to connect it directly to HDMI. But the cell phone no longer has that function. If you have a Samsung phone, I think you can buy a Samsung Dex docking station, which will allow you to connect it to the screen via HDMI. If you can install applications on your phone, you may be able to control your phone from your computer using a screen mirroring application (there are thousands of different software that can do this, but you need to install applications on your phone). Same as Google Chromecast screen mirroring. .You need to access the application on your phone to perform this operation. Therefore, there is nothing you can do except replace the screen. If you are lucky and your smartphone supports some type of HDMI dongle adapter or some type of desktop docking station with HDMI output, you can view the phone's screen and access it.

Categories

Resources