No description
  • Kotlin 94.1%
  • Makefile 4.9%
  • C++ 1%
Find a file
2026-01-09 15:04:14 +09:00
configs dolby: configs: Enable ac4 2025-08-22 13:27:38 +05:30
DolbyManager Revert "dolby: Use new method to listen for preference changes" 2026-01-09 15:04:14 +09:00
libshims dolby: Patch vendor.dolby.media.c2@1.0-service with libshim_dolby 2025-08-25 16:31:42 +05:30
overlay/DolbyFrameworksResCommon dolby: Initialized Spatial Audio 2024-12-06 12:32:59 +05:30
proprietary/vendor dolby: Patch vendor.dolby.media.c2@1.0-service with libshim_dolby 2025-08-25 16:31:42 +05:30
RemovePackagesDolby dolby: Add Remove Packages for Dolby Environment 2024-03-16 09:38:34 +05:30
rootdir/etc dolby: Create missing dolby related directory 2025-08-29 09:36:28 +05:30
sepolicy/vendor dolby: Switch to Sony Dolby Atmos 2025-03-12 18:44:06 +05:30
Android.bp dolby: Patch vendor.dolby.media.c2@1.0-service with libshim_dolby 2025-08-25 16:31:42 +05:30
dolby.mk Revert "dolby: Implement DSPVolumeSynchronizer" 2025-12-05 14:15:55 +00:00
dolby_framework_matrix.xml dolby: Switch to Sony Dolby Atmos 2025-03-12 18:44:06 +05:30
README.mkdn dolby: Update readme 2025-08-29 09:47:11 +05:30
vendor.dolby.hardware.dms@2.0-service.xml Import OOS-11 dolby from OP9R (11.2.8.8) 2022-11-28 00:34:41 +05:30
vendor.dolby.media.c2.xml dolby: Switch to Sony Dolby Atmos 2025-03-12 18:44:06 +05:30

Sony Dolby
==============

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

```bash
<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 :-

```bash
$(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:-

```bash
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE :=
```
And

```bash
DEVICE_MANIFEST_FILE :=
```

To:-

```bash
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE +=
```
And

```bash
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/8ece9a976087ed03f1adb447d0ac2a3f5f1a0d3c

[**2**] https://github.com/Spanish-or-Vanish/android_device_xiaomi_sm8350-common/commit/f5abe4a589d54d8363b0f3458e09e3c069cf6384
 
#### 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:
 * [**HELLBOY017**](https://github.com/HELLBOY017)
 * [**adithya2306**](https://github.com/adithya2306)
 * [**johnmart19**](https://github.com/johnmart19)
 * [**userariii**](https://github.com/userariii)
 * [**saku-bruh**](https://github.com/saku-bruh)
 * [**ahnet-69 · he/him**](https://github.com/ahnet-69)