DisplayCasting
2154
Comment:
|
2611
|
Deletions are marked like this. | Additions are marked like this. |
Line 8: | Line 8: |
== Testing on turbo == If you're testing this on turbo you need to flash a specific device tarball first. You can find the required device tarball [[https://private-fileshare.canonical.com/~morphis/turbo-widi-20160303-1.zip|here]]. For flashing use the following commands after you've put the device into fastboot mode (power off, press power on + volume down for 10 seconds): {{{ $ sudo fastboot flash bootimg boot.img $ sudo fastboot flash recovery recovery.img $ sudo fastboot flash system ubuntu.sparse.img $ sudo fastboot flash custom custom.img $ sudo fastboot flash userdata userdata.img $ sudo fastboot flash cache cache.img $ sudo fastboot reboot }}} |
|
Line 18: | Line 34: |
== Disable dhcp apparmor profiles & restart aethercast == {{{ $ sudo apparmor_parser -R /etc/apparmor.d/sbin.dhclient $ sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.dhcpd $ sudo service aethercast restart }}} |
Overview
WARNING: THIS IS FOR DEVELOPERS ONLY FOR NOW, DO NOT TRY IT ON YOUR DAILY-USE DEVICE. DON'T EXPECT ANYTHING TO JUST WORK OR BE USER FRIENDLY
WARNING: This currently only works on the upcoming Meizu MX Pro 5 aka turbo. There is work in-progress to get this work on other devices as well.
This page describes how to setup the current in-development work for our display casting work also known as Miracast/WiFi Display.
Testing on turbo
If you're testing this on turbo you need to flash a specific device tarball first. You can find the required device tarball here.
For flashing use the following commands after you've put the device into fastboot mode (power off, press power on + volume down for 10 seconds):
$ sudo fastboot flash bootimg boot.img $ sudo fastboot flash recovery recovery.img $ sudo fastboot flash system ubuntu.sparse.img $ sudo fastboot flash custom custom.img $ sudo fastboot flash userdata userdata.img $ sudo fastboot flash cache cache.img $ sudo fastboot reboot
Install necessary silos
Install silo 0
$ citrain device-upgrade 0 <your pin>
After your device has installed the silo you're ready to go.
Connect with a remote display
First of all you need a Miracast / WiFi display capable sink device. Most modern Smart TVs support this or you can buy a dongle from Amazon like the Microsoft Wireless Display one.
We have a small utility called aethercastctl which helps you to deal with the service.
You can now scan for available devices
# aethercastctl aethercastctl> scan aethercastctl> [CHG] Manager Scanning changed: true Device 4e:74:03:64:86:9e 'Aquaris_E4.5' added Device 4e:0b:be:f9:78:75 'MicrosoftDisplayAdapter_75' added
After the search is done you can connect to one of the found devices.
To list all available devices you can use the devices command.
aethercastctl> devices Device 4e:0b:be:f9:78:75 'MicrosoftDisplayAdapter_75' Device 4e:74:03:64:86:9e 'Aquaris_E4.5'
Once you know which device you want to connect to you can simply issue the connect command and wait for the device to get connected.
aethercastctl> connect 4e:74:03:64:86:9e aethercastctl> [CHG] Manager Scanning changed: false [CHG] Manager State changed: connected
Once the device is connected you should see the Ubuntu UI on the remote display device. If you run into any issues, logging details are at: /var/log/upstart/aethercast.log
Touch/DisplayCasting (last edited 2016-08-23 08:25:41 by localhost)