1
0
Fork 0
android_device_rockchip_tart/vendor.prop
Brendan Szymanski 8b7cdd6f38 Enable HDMI CEC and add HDMI hotplug monitoring
Install the HDMI CEC and HDMI connection APEX packages plus the
android.hardware.hdmi.cec.xml feature file, set the playback-device
CEC properties, and give system ownership of /dev/cec0 in ueventd.

The connection HAL now reports a single HDMI output port and monitors
/sys/class/drm/card0-HDMI-A-1/status with poll(), reporting hotplug
transitions through the AIDL callback and shutting the monitor thread
down through an eventfd.

The CEC HAL now polls POLLPRI for CEC_DQEVENT and POLLIN for
CEC_RECEIVE, guards the ioctl paths against an uninitialised adapter,
and bounds message length by CEC_MAX_MSG_SIZE.
2026-08-09 22:18:52 -04:00

114 lines
3.6 KiB
Text

# Audio
persist.vendor.audio.device=jack
persist.vendor.audio.hdmi.device=vc4hdmi0
#persist.vendor.audio.pcm.card.auto=true
persist.audio.pcm.card=2
persist.vendor.audio.pcm.device=0
ro.config.media_vol_default=20
ro.config.media_vol_steps=25
ro.hardware.audio.primary=opi
# Desktop mode
#persist.wm.debug.desktop_experience_devopts=1
#persist.wm.debug.desktop_mode_enforce_device_restrictions=false
#persist.wm.debug.force_desktop_first_on_default_display_for_testing=true
# Bluetooth
bluetooth.device.class_of_device?=90,2,12
bluetooth.device.default_name=Orange Pi 5 Ultra
# SYN43711 advertises LE activity-energy-info support but never answers the
# LE_ENERGY_INFO (0xfd59) vendor command; the GD stack's 5s watchdog SIGABRTs
# during controller init, crash-looping com.android.bluetooth. Disabling the
# vendor-capabilities probe skips that command entirely.
bluetooth.core.le.vendor_capabilities.enabled=false
bluetooth.profile.a2dp.sink.enabled?=true
bluetooth.profile.a2dp.source.enabled?=true
bluetooth.profile.asha.central.enabled?=true
bluetooth.profile.avrcp.controller.enabled?=true
bluetooth.profile.avrcp.target.enabled?=true
bluetooth.profile.bap.broadcast.assist.enabled?=true
bluetooth.profile.bap.unicast.client.enabled?=true
bluetooth.profile.bas.client.enabled?=true
bluetooth.profile.ccp.server.enabled?=true
bluetooth.profile.csip.set_coordinator.enabled?=true
bluetooth.profile.gatt.enabled?=true
bluetooth.profile.hap.client.enabled?=true
bluetooth.profile.hfp.ag.enabled?=true
bluetooth.profile.hid.device.enabled?=true
bluetooth.profile.hid.host.enabled?=true
bluetooth.profile.map.server.enabled?=true
bluetooth.profile.mcp.server.enabled?=true
bluetooth.profile.opp.enabled?=true
bluetooth.profile.pan.nap.enabled?=true
bluetooth.profile.pan.panu.enabled?=true
bluetooth.profile.pbap.server.enabled?=true
bluetooth.profile.sap.server.enabled?=true
bluetooth.profile.vcp.controller.enabled?=true
persist.bluetooth.a2dp_aac.vbr_supported=true
# Camera
ro.hardware.camera=libcamera
# CEC
persist.vendor.hdmi.cec_device=cec0
ro.hdmi.cec_device_types=playback_device
ro.hdmi.device_type=4
# Chipset
ro.soc.manufacturer=Rockchip
ro.soc.model=RK3588s
# FFmpeg
persist.vendor.ffmpeg_codec2.rank.audio=16
persist.vendor.ffmpeg_codec2.rank.video=256
persist.vendor.ffmpeg_codec2.v4l2.h265=true
# Graphics
#ro.vulkan.abi=arm64-v8a
#ro.vulkan.version=1.2.0
vendor.hwc.drm.ctm=DRM_OR_IGNORE
#vendor.hwc.drm.disable_hdr=1
#vendor.hwc.drm.force_mode=1920x1080
# Lockscreen
ro.lockscreen.disable.default=true
# Media
debug.stagefright.c2inputsurface=-1
media.c2.hal.selection=aidl
# MGLRU
persist.device_config.mglru_native.lru_gen_config=core
# Virtualization
ro.boot.hypervisor.vm.supported=1
# Wifi
# Single source of truth for the regulatory country code. Init exports this to
# the framework's WifiCountryCode; ro.boot.* is set-once, so this must NOT also
# appear as androidboot.wificountrycode on the kernel cmdline (mkimg.sh).
ro.boot.wificountrycode=US
wifi.interface=wlan0
# Window extensions
persist.settings.large_screen_opt.enabled=true
#minigbm
vendor.minigbm.debug=logbos
# Graphics driver selection: Mesa Panfrost (GLES 3.1) + PanVK (Vulkan 1.2)
# on the mainline Panthor kernel driver.
# Rollback to software rendering: set ro.hardware.egl=angle and
# ro.hardware.vulkan=pastel, then wrimg.sh vendor.
ro.hardware.egl=mesa
ro.hardware.vulkan=panfrost
ro.opengles.version=196608
# Bring-up debugging: persist full logcat to /data/misc/logd so failed boots
# can be analyzed offline from the SD card. Remove once the port is stable.
persist.logd.logpersistd=logcatd
persist.logd.logpersistd.enable=true