Initial release: Miracast Enabler KernelSU module v1.0.0
Enables Wi-Fi Display (Miracast) on Pixel phones where Google disabled it in software. Uses fabricated overlays, system properties, and sysconfig XML. Includes WebUI for KernelSU manager. Tested hardware: Pixel 10 Pro Fold (rango), Tensor G5, BCM4390.
This commit is contained in:
21
post-fs-data.sh
Normal file
21
post-fs-data.sh
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/system/bin/sh
|
||||
# Miracast Enabler - post-fs-data
|
||||
# Runs early in boot before most services start
|
||||
|
||||
MODDIR=${0%/*}
|
||||
|
||||
# Core Wi-Fi Display props
|
||||
resetprop persist.debug.wfd.enable 1
|
||||
resetprop persist.sys.wfd.virtual 0
|
||||
|
||||
# HDCP — disable by default for maximum compatibility
|
||||
resetprop persist.sys.wfd.nohdcp 1
|
||||
resetprop wlan.wfd.hdcp disable
|
||||
|
||||
# Tensor / Pixel: force GPU composition for virtual displays
|
||||
# HWC on Tensor chips does not correctly handle virtual display layers,
|
||||
# which causes black screen or green artifacts during Miracast
|
||||
resetprop debug.sf.enable_hwc_vds 0
|
||||
|
||||
# Wi-Fi Direct concurrency — needed on Pixel to allow P2P alongside STA
|
||||
resetprop wifi.direct.interface p2p-dev-wlan0
|
||||
Reference in New Issue
Block a user