Skip to content

Magisk-Modules-Repo/ainur_silmaril

Repository files navigation

Silmaril

AINUR SILMARIL

SILMARIL is latest android audio modification installment in AINUR AUDIO series. Named after Silmarils - JRR Tolkien's legendarium light-embodying gems. SILMARIL stays true to its legendary namesake, encapsulating the luminous essence of sound: vivid, nuanced, rapid, grand & deeply emotional. Dedicated to bring high-fidelity true-res audio to a wide range of devices - SILMARIL adaptive design scales across various platforms, including Qualcomm, MediaTek, and Google Tensor, ensuring optimal audio output tailored to each device. Its ability to support an extensive range of playback options, ensures that whether you're using heaphones, external DACs, streaming services, or dedicated music player - music comes at an awe glory. SILMARIL elevates the audio experience to new heights, pushing boundaries and transforming the device into a vessel that sails through immersive sound waves.

Dynamic Installer

SILMARIL dynamically checks software/hardware environment context it's getting installed on to determine content to edit. This, further backed up by patches being corrected against respective sources, makes patching more accurate, as well as granular - feasible amount of patches is automatically adapted for the particular SOC/SDK/OEM case, building a solid foundation.

UserOptions (UO)

Useroptions were overhauled in SILMARIL. Expanded with more flags to experiment with and have a broader space for personal tinkering, whether universally, or for particular platform. Various UO lags were crosslinked with one-another, as well as with internal dynamic installer logic to offer a more robust experience. Additionally, debugging section added to provide comprehensive way to iterate through problematic installations.

Connectivity

SILMARIL's variable patching approach opens up ability to support various playback connectivity types, including: internal speakers, usb-c, bluetooth and legacy 3.5 jack.

AINULINDALE

With AINULINDALE at its core, SILMARIL aims at eradicating the long lasting issue of android's forced up/down sampling bottleneck. By looping input rate to the output it effectively sets 1:1 native sampling for the OS and third-party apps that rely on it. Next, to make sampling fully transparent it increases temporal domain resolution by expanding the number of discrete points. This firmly secures signal's characteristics and transients, while exponentially dialing down quantization errors, phase distortion, temporal smearing & aliasing artifacts. Additionally, AINULINDALE improves buffer & memory allocation and switches sampler to UHQ state, getting rid of throttling jitter during FIR gen.

Installation

  • Flash module with Magisk/KernelSU/APatch app (with ever growing number of forks, some might not work correctly)
  • Initial install will place UserOptions file to internal storage. To experiment with extra options open silmaril_useroptions as text and follow instructions on what flags supposed to do and which values used. ❗ Reinstalling the module is vital for changes to take any effect. It is advised to uninstall & reinstall module, instead of flashing it over for some cases.

Troubleshooting

In case experiencing any bugs - navigate to the bottom of UserOptions file, where Debug Section can be found. Follow its instructions to resolve the issue.

Get in touch

Credits