[Android Software Development] UltraM8:
[Ainur SAURON] MK III

​

MOD IS ON PAUSE, IS NOT UPDATED FOR LONG TIME AND WON'T BE ANYTIME SOON

Basic features:

- Android 5.0 - 9.0 support

- Unity installer by [MENTION=5357345]ahrion[/MENTION] and [MENTION=6037748]Zackptg5[/MENTION]

- Qualcomm/Exynos/MTK/Kirin/Rockchip/Spreadtum cpu's support

- ARM 32/64 bit support

- Android SFX blobs eplacements (musicfx & audiofx apps might no longer work)

- Cherry picked setprops

- Automatic su.d/init.d/addon.d detection

- Supported roots: Magisk

18+

/SuperSu/CMsu/PHH/LosSU/No root

- AML addons ready

- OTA surviving

Advanced features:

- Qualcomm codec mixer tunings

- Htc u11/u11+, m9, 10, m8 speaker amps patches and additions

- OnePlus 5/5T, Mi 8UD/EE, Mi a2. Pixel 1/XL, Pixel 2/XL, Pocophone speaker amp DSP modifications

- Forced Hexagon DTS Headphone:X module processing, mixer controls & custom config

- * DAC powered devices mixer edits:

- LG v20/30/30+/g6/g7

- LeEco x800/x900

- Nubia z11/z9/z9m

- Axon 7 (moved to custom kernel)

- Lenovo vibe X3

* Parameters forcing for DACs is achieved with mixer additions, thus either framework, or service apps can reset some values back to stock. Sorry, but it seems like device manufacturers doesen't want us to mess with these thing. There is a solution, but unfortunately it won't happen till probably next major version.

User determined features:

You can set these features with sauron_useroptions (UO) file, by placing it to the root of the internal storage. Installer will place the file there during the install, if it's not there already. After resetting values you have to reinstall Sauron each time you want to try/set something new. Some of the stuff there can break sound completely - there is no fix for that, you have to reset stuff back & don't use some of the features that breaks normal use of your device.

I've commented pretty every single thing there with all the info I know by this moment, make sure not to bother me with questions like "wut is dat XXXX feature for, dude?" please :)

- ACDB replacements

- Universal remover for compressor SFX

- Universal install for Fmas effect

- Qualcomm shoebox & audiosphere effects

- Qualcomm codec bitsize, impedance and discretization forcing

- Compander remover

- Aptx/hd libs, props & hexagon cappi libs install

- Reverb effects for PCM conversions

- Audio policy patching

- Codec power gating remover

- Qualcomm BT scrambler resamling

- Exynos codec resampling

- MTK gain setter

- MTK Impredance setter

- MTK high-pass filter remover

Installation:

Installation

Magisk users with /dsp mounting error should flash with twrp!

MKIII archive - download and flash with TWRP/Magisk

Changelog:

MK III 12.08.2019
- Unity 4.4 update

MK III 27.05.2019
- Installer fixes

MK III 03.05.2019
- Unity 4.1 update

MK III 31.03.2019
- Unity 4.0 update
- magisk 19 support
- qualcomm 855 support
- various installer fixes

MK III 01.01.2019
- Fully reworked installer (unity & aml updated)
- Support for MTK/Kirin/Exynos mixers
- SFX blobs rebased (including new base for MTK/Kirin/Exynos)
- Reworked props
- New UO features:
- qualcomm acdb replacements, power gating disabling, bt scrambler resampling
- Exynos codec resampling
- MTK codec mixer edits: gain setter, impedance setter, high-pass filter remover
- Reworked UO features:
- Qualcomm codec bitsize & discretization forcements are deepen to support Hexagon DSP as well
- Reworked mixer edits for qualcomm powered devices
- Reworked kernel modules blobs & Hexagon dsp modules
- Further experiments with aptx/hd, including better support for Pie
- Experiments with speakers amplifiers DSPs: (Pixel 1/XL, Pixel 2/XL, Htc u11/11+/12/m9, Mi a2, Mi 8EE/UD, Oneplus 5, Pocophone)

MK II.II 19.06
- AML update & fix

MK II.II 13.06
- AML/Unity update

MK II.II 02.05
- UO detection critical fixes

MK II.II 01.05
- unity update
- various fixes
- UO updated

MK II.II 18.04
- installer fixes

MK II.II 15.04
- unity update
- minor edits & fixes

MK II.II 24.03
- audioserver fixes
- better Treble (Oreo & P) compatibility
- removed policy patches for better AML compatibility

MK II.II 22.03
- Op3/t & Op5/t fixes
- Minor Oreo edits
- Various minor edits

MK II.II 17.03
- Various fixes & edits

MK II.II 11.03
- Android P support
- Various fixes & edits
- Axon7 patches moved to kernel by Skrem339
- Sfx libs changes
- Htc m7-m9 rt5501 & 5506 jack amplifier patches (libs hex patched by UltraM8)
- Htc u11/u11+ speaker amp patches (beware, it blows :) )
- Pixel devices experimental amp patches (sailfish, marlin, taimen, walleye)
- Qualcomm RX HPH edits for HiFi mode
- Oreo aptx/hd, ldac added by LazerL0rd
- Fmas edits
- UO file edited
- Axon7 patches moved to kernel by Skrem339

MK II.I 26.02
- Unity 1.3 update
- Various fixes
- New UO

MK II.I 20.02
- Critical installer fixes
- Completely reworked core libs

MK II.I 07.02-08.02
- Unity installer
- Critical bug fixes

MK II.I 06.02
- SFX libs install logic patches
- Minor bug fixes

MK II 13.01
- aml 2.9
- got rid of hw dolby

MK II (beta 1 - stable) 31.12-01.01
- Revamped installer
- Unity/AML v2.8
- Added UO logic
- Rebased SFX libs
- Removed alsa
- HTC U11/U11+ speaker amplifiers patches
- HTC m9/m8/10 amplifier drivers additions (possibly reroute headphones path with tfa amp)
- Full Oreo (8.0+) support
- OP5/5T speaker amp drivers additions for tfa9890
- Added Qualcomm Shoebox 3d and Audiosphere audio effect libs, props & mixer controls
- Added Fmas effect libs & props
- Added UO controls for impedance, bitsize & discretization
- Added snap 820/21/35 Speaker boost & voltage edits from Oreo
- Added Hexagon DTS Headphone:X module, mixer switchers & controller config
- Added Hexagon Dolby modules & mixer switcher
- Added Qualcomm BT resampler (idk if it can even work)
- Reworked props + added some new found by hexing
- Set higher value for preallocated DMA memory buffer
- Added kernel modules for QC codec
- Added APTX/HD libs, props & hexagon cappi libs

MK I.IV.II
- Installer critical fixes
- magisk v13 support
- new sfx libs

MK I.IV.I
- Installer critical fixes

MK I.IV
- Installer critical fixes
- Added [MENTION=4544860]osm0sis[/MENTION] busybox

MK I.III.I
- Installer fixes

MK I.III
- Installer fixes
- New libs base + SFX patches
- Qualcomm dac patches from older versions
- HTC patches from older versions

MK I.II
- Installer fixes
- SFX patches

MK I - I.I
- New libs base
- Survive Rom dirtyflashing
- Bug fixes

You are not allowed to use any parts of this mod in your own roms & mods!​