Skip to content

dev-sm6375/hardware_dolby

Repository files navigation

Sony Dolby

Getting Started

For dolby media codecs to work add this line in your media codecs config (should be in vendor partition) :-

<Include href="media_codecs_dolby_audio.xml" />

To build, add the dolby effects in your device's audio effects config then inherit the dolby config by adding this in your device's makefile :-

$(call inherit-product, hardware/dolby/dolby.mk)

Now, moving hidl definitions in manifest to device trees is completely absurd so stop overriding manifest in your device trees an example for such would be :-

Changing these in BoardConfig makefile of your device tree:-

DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE :=

And

DEVICE_MANIFEST_FILE :=

To:-

DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE +=

And

DEVICE_MANIFEST_FILE +=

The only change done above is changing := symbol to += so that manifest can't be overriden from device tree in BoardConfig makefile.

At the end an example commit to properly implement it in your device tree could be :-

[1] https://github.com/Spanish-or-Vanish/android_device_xiaomi_sm8350-common/commit/48a8f0f7536008c7cc3bffcc34fba69d12dcf25d

[2] https://github.com/Spanish-or-Vanish/android_device_xiaomi_sm8350-common/commit/21dd26d97ddd511e52ab59537deea98b86356222

Tip pick anyone for Reference:

      https://dumps.tadiphone.dev/dumps/xiaomi/vili/-/blob/missi_phone_global-user-14-UKQ1.231207.002-V816.0.5.0.UKDMIXM-release-keys/aosp-device-tree/proprietary-files.txt#L2072
      https://github.com/Spanish-or-Vanish/android_device_xiaomi_sm8350-common/commit/6a8f6aae347f9f864f17f2dfa5d541f83ab5b170
      https://github.com/Spanish-or-Vanish/android_device_xiaomi_sm8350-common/commit/5c593cbd2c19d571b7e62ea4bd6b8c864a4e1d9e

Credits:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 21