Commit graph

48 commits

Author SHA1 Message Date
Pranav Vashi
393cac7b12 dolby: Fix compilation error in TooltipIconButton
Fixes: TooltipIconButton.kt:30:44: error: unresolved reference: rememberPlainTooltipPositionProvider

Change-Id: I7554622a406f4a56dc8471a39cbd4ad73c0daede
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-04-08 00:17:10 +00:00
swiitchOFF
295a49dfc3 dolby: Enable ELF checks for libspatialaudio
* Also re-organize
2025-04-01 06:11:18 +05:30
swiitchOFF
2a8caef933 dolby: Update readme 2025-03-26 05:46:36 +05:30
swiitchOFF
483fdc5f5f dolby: Update from Global HyperOS with ELF checks enabled
* Properly link dolby libs against v33 libstagefright_foundation
2025-03-26 05:41:10 +05:30
swiitchOFF
c2311ea961 dolby: Kill system blobs 2025-03-08 23:23:33 +05:30
New Author Name
00d74c76bc dolby: Apply NLSound 4.1
Ref:
https://github.com/Briclyaz/NLSound_module_QCom

Applied with slight modification:
sed -i 's/<mi-dv-leveler-steering-enable value="true"/<mi-dv-leveler-steering-enable value="false"/g' dax-default.xml
sed -i 's/<mi-ieq-steering-enable value="true"/<mi-ieq-steering-enable value="false"/g' dax-default.xml
sed -i 's/<mi-surround-compressor-steering-enable value="true"/<mi-surround-compressor-steering-enable value="false"/g' dax-default.xml
sed -i 's/<mi-adaptive-virtualizer-steering-enable value="true"/<mi-adaptive-virtualizer-steering-enable value="false"/g' dax-default.xml
sed -i 's/<reverb-suppression-enable value="true"/<reverb-suppression-enable value="false"/g' dax-default.xml
sed -i 's/<mi-dialog-enhancer-steering-enable value="true"/<mi-dialog-enhancer-steering-enable value="false"/g' dax-default.xml
sed -i 's/<dialog-enhancer-enable value="true"/<dialog-enhancer-enable value="false"/g' dax-default.xml
sed -i 's/<mi-virtualizer-binaural-steering-enable value="true"/<mi-virtualizer-binaural-steering-enable value="false"/g' dax-default.xml
sed -i 's/<peak-value value=".*"/<peak-value value="256"/g' dax-default.xml
sed -i 's/<surround-decoder-enable value="true"/<surround-decoder-enable value="false"/g' dax-default.xml
sed -i 's/<hearing-protection-enable value="true"/<hearing-protection-enable value="false"/g' dax-default.xml
sed -i 's/<volume-leveler-enable value="true"/<volume-leveler-enable value="false"/g' dax-default.xml
sed -i 's/<height-filter-mode value=".*"/<height-filter-mode value="0"/g' dax-default.xml
sed -i 's/<volume-leveler-compressor-enable value="true"/<volume-leveler-compressor-enable value="false"/g' dax-default.xml
sed -i 's/<complex-equalizer-enable value="true"/<complex-equalizer-enable value="false"/g' dax-default.xml
sed -i 's/<regulator-enable value="true"/<volume-leveler-enable value="false"/g' dax-default.xml
sed -i 's/<regulator-speaker-dist-enable value="true"/<regulator-speaker-dist-enable value="false"/g' dax-default.xml
sed -i 's/<regulator-sibilance-suppress-enable value="true"/<regulator-sibilance-suppress-enable value="false"/g' dax-default.xml
sed -i 's/bass-mbdrc-enable value="true"/bass-mbdrc-enable value="false"/g' dax-default.xml
sed -i 's/threshold_low=".*" threshold_high=".*"/threshold_low="0" threshold_high="0"/g' dax-default.xml
sed -i 's/isolated_band="true"/isolated_band="false"/g' dax-default.xml
sed -i '/endpoint_type="headphone"/,/<\/tuning>/s/<audio-optimizer-enable value="true"/<audio-optimizer-enable value="false"/g' dax-default.xml
sed -i '/<output-mode>/,/<\/output-mode>/d' dax-default.xml
sed -i '/<mix_matrix>/,/<\/output-mode>/d' dax-default.xml

Change-Id: I7d699d38d602abda322b414bdd718857a0bbaaa8
2025-01-29 03:49:45 +05:30
Alcatraz323
23662b74ac dolby: Implement DSPVolumeSynchronizer
Some Xiaomi devices have a speaker that needs a framework to cooperate
with DSP to synchronize volume so that the DSP can limit bass when the
volume is high to prevent distortion.

Change-Id: I750803d94161e1e7482552d2a39566f42e82fc0a
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-01-23 04:50:45 +05:30
Pranav Vashi
65d7336949 dolby: Exempt installing package in clone or private space
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-01-08 06:13:35 +05:30
New Author Name
0befa6aa8c dolby: Update profiles overlay for moto dolby
Change-Id: Ided92625cb73f530656e86929b3ba70fea1e940d
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2024-12-27 19:30:37 +05:30
New Author Name
6d89341732 dolby: XiaomiDolby: Make bass enhancer available on speakers as well
Signed-off-by: Abhay Singh Gill <abhaygill017@gmail.com>
2024-12-26 15:22:45 +05:30
swiitchOFF
f5fb608d13 dolby: Feels better
[1]: cleanup and organize
[2]: using patched blobs from here 40faff25cd
2024-12-26 15:22:08 +05:30
swiitchOFF
6cc95d2a09 dolby: Update Credits 2024-12-09 22:12:54 +05:30
New Author Name
048d3bfbe3 dolby: Initialized Spatial Audio
Signed-off-by: userariii <abhattacharjee717@gmail.com>
Signed-off-by: swiitchOFF <120115258+swiitchOFF@users.noreply.github.com>
2024-12-06 12:32:59 +05:30
swiitchOFF
fac9089afd dolby: Sorry LDAC & LHDC
mistake beef2e28a1
2024-12-06 12:32:53 +05:30
swiitchOFF
724f607cb8 dolby: configs: Switch back to CN dax-default
[1]: Also Forcefully disable volume leveler
2024-12-03 05:39:47 +05:30
johnmart19
da758a7873 dolby: configs: Enable bass-enhancer for Headphones, Speakers, and "Other" devices
Original commit:
d6e99e9cd1

Change-Id: If32d0e1c2ddad5d8668c83bfbfcd04c36fa80552
Signed-off-by: someone5678 <nemui3353@gmail.com>
2024-11-25 19:20:34 +05:30
New Author Name
a54c599e2b dolby: configs: Forcefully disable volume leveler
sed -i "/volume-leveler-enable/ s/true/false/g" configs/audio/dax-default.xml

Change-Id: I7ceb29291a9e55036d57975f5a28a149c7fcb435
2024-11-25 17:31:31 +05:30
New Author Name
9c8b952778 dolby: Replace nuwa libs with Moto
* Also Kill nuwa Dolby spatial audio support
2024-11-25 17:31:09 +05:30
New Author Name
9bce0718c3 dolby: overlay: Add empty Dolby specific frameworks overlay 2024-11-24 13:52:15 +05:30
New Author Name
4401819065 dolby: Update readme 2024-11-22 01:05:46 +05:30
New Author Name
6fe60d867d dolby: Update from nuwa V14.0.9.0.UMBEUXM
* Also Import 32-bit blobs
2024-11-22 01:05:32 +05:30
Mudit200408
beef2e28a1 dolby: Add LDAC & LHDC codecs
* I know it's Placebo xD
2024-11-19 23:47:29 +05:30
Sarthak Roy
efb871f672 dolby: DolbyManager: Fix building in Android 15
Change-Id: Ie4e312bce0232c7a55ed2c29c8442f886f5aabd9
2024-11-09 19:24:26 +05:30
New Author Name
1f2bc3d255 dolby: Switch to XiaomiDolby
Based on hardware/xiaomi

History -
- Enable TARGET_USES_DOLBY
- Add intelligent equalizer setting
- Remove deprecated PlainTooltipBox
- Introduce graphical equalizer
- Add launcher icon
- fixup! Restore all settings upon bootup
- Override AudioFx
- Use all shared resources from devicesettings
- Fix build with kotlinc 1.9.0
- Restore current profile _after_ resetting profiles
- Do not set volume leveler amount
- Restore all settings upon bootup
- Rewrite in Kotlin
- Revert "Re-enable speaker virtualization after bootup"
- Convert to SwitchPreferenceCompat
- Migrate to CompoundButton.OnCheckedChangeListener
- Enable use_resource_processor for all sysui deps
- Introduce Dolby Atmos

Co-authored-by: Henrique Silva <jhenrique09.mcz@hotmail.com>
Co-authored-by: Pranav Vashi <neobuddy89@gmail.com>
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Co-authored-by: basamaryan <basam.aryan@gmail.com>
2024-10-28 13:33:07 +05:30
Abhay Singh Gill
7870b8a0c7 dolby: Remove owner from soong modules
* also kill OnePlus DaxUI

Signed-off-by: Abhay Singh Gill <abhaygill017@gmail.com>
2024-10-28 13:32:36 +05:30
New Author Name
6ad0f598e9 dolby: Add dolby volume listener 2024-10-24 18:41:42 +05:30
New Author Name
174e52ec51 dolby: Add support for Dolby spatial audio 2024-10-24 18:41:34 +05:30
New Author Name
881bb90ebe dolby: Build some libs for QPR3 2024-10-24 13:01:00 +05:30
swiitchOFF
3fa57e3935 dolby: update from MIUI CN 14 2024-10-24 13:00:54 +05:30
swiitchOFF
07b0a125fd dolby: Update readme 2024-03-16 18:58:29 +05:30
New Author Name
fe709e060d dolby: update dax-default from stock
* Extract From vili-user 13 TKQ1.220829.002 V14.0.16.0.TKDEUXM release-keys
2024-03-16 18:48:10 +05:30
Lunarixus
e96e8c76fd dolby: Add Remove Packages for Dolby Environment 2024-03-16 09:38:34 +05:30
Abhay Singh Gill
31843fb4e7 dolby: DaxUI: Fix clipped dialogue enhancer seekbar thumb 2024-03-16 01:33:37 +05:30
New Author Name
f167291caf dolby: Link dolby blobs against v33 libstagefright_foundation
* fixes crashes and absurdly high CPU usage while using dolby

Co-authored-by: Woomymy <woomy@woomy.be>
2024-03-16 01:32:39 +05:30
swiitchOFF
773b6cba9e dolby: Import vili blobs
* Extract From vili-user 13 TKQ1.220829.002 V14.0.16.0.TKDEUXM release-keys
2024-03-16 01:23:06 +05:30
swiitchOFF
04bec17707 dolby: cleanup for Re-Base 2024-03-16 01:12:21 +05:30
swiitchOFF
a952ccb07b dolby: oneplus>xiaomi 2024-03-15 14:06:50 +05:30
Abhay Singh Gill
d2d27807cc dolby: Add path variable 2024-03-15 14:02:46 +05:30
Abhay Singh Gill
667b4721be dolby: Update readme 2024-03-15 14:02:41 +05:30
Abhay Singh Gill
258557eec9 dolby: DaxUI: Add more switches
For:-
• volume leveler
• surround virtualizer
• bass enhancer

Signed-off-by: Abhay Singh Gill <abhaygill017@gmail.com>
2024-03-15 14:02:31 +05:30
Abhay Singh Gill
2ea012eae6
dolby: DaxUI: Update launcher and qs icon drawables 2024-01-17 23:46:20 +05:30
HELLBOY017
05cef66bfa dolby: DaxUI: Fix tutorial text not wrapping properly
This was fixed in daxui included in sony's a12 dump, modifications to it are the UI ones we did on razer's daxui and some geq view layout changes so that it looks same as previous iterations when clicking a geq bar
2024-01-17 03:47:23 +05:30
HELLBOY017
66515cba4f dolby: DaxUI: Remove bass enhancer switch
It's broken
2024-01-15 22:56:43 +05:30
Rei Ryuki
92cde6e334 dolby: Update daxService for Android 14
Taken from:-
DolbyAtmos-OnePlus8Visible-MagiskModule-20231220090324

Signed-off-by: Abhay Singh Gill <abhaygill017@gmail.com>
2024-01-06 17:11:47 +05:30
HELLBOY017
334ca13eac dolby: Add libqtigef from OnePlus 8
This is needed to load dolby effects on devices which don't use libqtigef.
2023-12-26 21:05:51 +05:30
HELLBOY017
8a87cfb430 dolby: Remove audio effects configuration 2023-12-26 20:46:35 +05:30
HELLBOY017
c527d9b162 dolby: Update from OnePlus 8 (OOS-11)
- Makes it work on op8 pro, Thanks to telegram user MasonJCole for testing it on his 8p.
2022-12-02 19:16:32 +05:30
HELLBOY017
c7433ec7da Import OOS-11 dolby from OP9R (11.2.8.8)
Co-authored-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2022-11-28 00:34:41 +05:30