To disable ubwc for decoder output:
adb shell setprop vendor.qc2.log.buffers 0x1002
To disable ubwc for encoder input:
adb shell setprop vendor.qc2.log.buffers 0x1010
Note: Ensure to disable SELinux before capturing the dumps:
adb shell setenforce 0
Note: make sure to create folder qc2 before trying to take dump:
adb shell mkdir /data/vendor/media/qc2
adb root
adb shell setenforce 0
adb shell setprop vendor.gralloc.disable_ubwc 1
OR:
adb shell setprop vendor.gralloc.disable_ubwc "1"
check below to make sure it was set to 1:
adb shell getprop vendor.gralloc.disable_ubwc
UBWC is enabled by default from video encoder perspective.
Can update vendor/etc/system_properties.xml and set(or add) below value: -->Push it back to /vendor/etc/ and reboot DUT, and check if UBWC was disabled.