/miracast-enabler

Magisk module to re-enable Mircast on certain android devices

Primary LanguageShellMIT LicenseMIT

Miracast Enabler

Google dropped support for Miracast in Android 6.0. This module adds it back for Android 9.0! Check out this XDA thread for more information on the issue.

Pixel devices should work, but others have no testing. Exceptions are included in the Known Issues section below. If you find that this works on a non-Pixel device, create an issue to let me know.

Instructions

  1. Install module via MagiskManager and reboot
  2. Go to Settings > Connected Devices > Connection preferences > Cast
  3. Tap the menu in the top right corner and check "Enable wireless display"

Troubleshooting

  • If receiver is not showing up in cast list, try manually connecting via WiFi Direct to receiver. Go to Settings > Wi-Fi > Wi-Fi Preferences > Wi-Fi Direct to manually connect.

Bootloop recovery

  1. Boot TWRP using fastboot
  2. Open terminal
  3. Run touch /data/cache/.disable_magisk
  4. Reboot and uninstall module via MagiskManager

Debugging bootloop

  1. Copy tools/bootlog.sh to /data/adb/post-fs-data.d/
  2. Cause bootloop
  3. Boot TWRP using fastboot
  4. Copy / view logs

NOTE

  • Libraries build against sailfish PQ1A.190105.004 ASOP are used. These seem to work across all Pixel devices, but we may need to install libraries built against specific ASOPs.

Known Issues

Credit