[Android Software Development] A.R.I.S.E. Sound Systems:
​

A.R.I.S.E

Sound Systems™​

Auditory Research in Sound Enhancement™​

Greater than the sum of its parts...

A.R.I.S.E. Sound Systems™ is an established and renowned Android audio development project known best for its cutting edge sound systems and trendsetting techniques, perhaps known even more for its unmatched support and assistance for users and its unrivalled community, breaking XDA records for activity - accolades only possible by doing things the right way, every day.

Many contributors make this project possible by managing the various groups and communities outside of XDA, providing the highest level of courteous assistance available anywhere. These contributors, many behind the scenes, are the backbone of this project and allow us to grow day by day in every aspect of the project. They are recognized as contributors towards the bottom of the OP. And of course, the entire ARISE™ family and community, the lifeblood of the project and an exemplary example of a forum's thread at its finest.

link --> Magnum Opus™<-- link​

Magnum Opus™ Objective:

To provide the most advanced and comprehensive collection of audio enhancement solutions available within a single package, with full transparency of sourced content, and fully supported by one of XDA's most helpful and respectful communities:

300MB of exciting Android audio content from a variety of devices with which to create a unique audio enhancement solution tailored to your needs.

Jellybean through Oreo support.

32/64 bit Qualcomm™, Mediatek™, Kirin, and x86 chipset support.

Full support for SELinux Enforcing mode and Root.

Magisk support

Provided by the incredibly talented Zackptg5 and his Magisk Resource. :good:

Sources of all content are provided via a collection of build.prop's from the sourced firmware.

Magnum Opus™ Modular:

The Modular solution prepared for Magnum Opus™ allows nearly everything to be installed or uninstalled multiple times, saving the user a substantial amount of time by eliminating the needs to wipe partitions or flash rom zip's in order to try a different sound system combination.

This Modular solution is possible through the use of a user-prepared instruction set (/sdcard/arise_customize.prop) of the desired installation or uninstallation of the available modules along with other module components like configurations, presets, scripts, and audio_policy manipulation. This file may be extracted from the Magnum Opus™ zip, placed directly in /sdcard, and then prepared using a text editor before the initial installation.

If not found, the installation will abort with Error 1 along with the necessary information on what to do next as well as automatically place this file in /sdcard for user preparation.

We opted for this dependency upon the user to make at least one edit to /sdcard/arise_customize.prop before a successful installation is possible due to our insistence on familiarizing the user with not only the ability to control the installation, but to make the user aware of the enormous assortment and flexibility of available modules.

The Modules:

Core System module (required once during initial installation)

ViPER4Arise™ 2.5.0.5 module (optional)

ViPER4Arise™ 2.3.4.0 module (optional)

ViPER4Arise™ Profiles module (optional)

Dolby Digital Plus™ module (optional)

Dolby Atmos™ module (optional)

AM3D ZIRENE® module (optional)

Sony™ Xperia XZ Music Suite module (optional)

Arkamys™ Audio module (optional)

ICEsound™, presets, and configuration modules (optional)

Esira™ Media Player module (optional)

ViPER4Android XHiFi module (optional, not recommended)

AOSP MusicFX module (optional)

Dirac™ Power Sound module (optional)

deep_buffer removal module (optional)

SD Card permissions repair module (optional, can add 3 - 5 minutes to the recovery session)

The Options:

Below, is the arise_customize.prop file as found in the Magnum Opus™ zip. This file will be placed in /sdcard during the first recovery install if not already present and the installation will end with an Error 1 and its informative text print out. This step can be avoided by extracting arise_customize.prop to /sdcard, manually editing the file for the desired installation result, saving the changes, and finally flashing the Magnum Opus™ zip in recovery.

# ARISE Sound Systems™ 20170424
#
# Magnum Opus
#
# /sdcard/arise_customize.prop
#
# www.arisesound.com

## !! This archive contains 300MB of data.
## !! Navigate to /system to ensure
## !! sufficient space is available in
## !! /system before flashing.

# Module description and information can be found in META-INF/getting_started/modules.

# The ARISE™ modular installation zip works by using this file (when present in /sdcard as /sdcard/arise_customize.prop) to determine if any modules are to be installed by a value of "true" for each line below.

# Any value other than "true" is the same as a value of "false".

# Add a value of "true" to desired add-on(s). Example:

install.xxxx=true

# The Core System module must be installed at least once and only once. Once the core module is installed, the value of "true" should be removed for future customization installing, uninstalling, or executing scripts and modules.

# If a rom update or system wipe is performed resulting in the need to reinstall the sound system, edit /sdcard/arise_customize.prop to include a value of "true" for the core module to complete your sound system installation, followed by removing the value of "true" from the core module once booted.

## START ##

install.core=

(40MB-175MB)

# Select either ViPER4Arise™ version below to be installed or ignore to not install ViPER4Arise™ at all.

install.v4a_2.5.0.5=

(4.5MB)

install.v4a_2.3.4.0=

(6.5MB)

# Add a value of "true" to any modules below to install.

install.v4a_profiles=

install.ddplus=

(15.3MB)

install.atmos=

(3.3MB)

install.am3d=

(3.5MB)

install.arkamys=

(170KB)

install.sony=

(70MB)

install.v4a_xhifi=

(700KB)

install.esira=

(3.6MB)

install.musicfx=

(200KB)

install.dirac=

(4.2MB)

delete.deep_buffer=

restore.deep_buffer=

repair.sdcard.permissions=

#

## Qualcomm™ Audio Effects Configuration START ##

# Qualcomm™ devices have the ability to select from four audio effects configurations using Android O (default), Asus, DAP (native Dolby Atmos), Huawei, Sony, or Stock /soundfx libraries.

# IMPORTANT!!

# If installing an audio effects configuration on a currently installed sound system, BE SURE TO INSTALL THE CURRENTLY INSTALLED MODULES AGAIN USING THE APPROPRIATE VALUES!!

# Installing Core is not necessary, but any other module IS NECESSARY so that those modules' entries are written to the new audio effects configuration!!

# As a reminder, any preferred or custom audio effects configuration can always be automatically installed during the Core System module installation by placing it directly in /sdcard named arise_effects.conf to result with /sdcard/arise_effects.conf.

ANDROID_O
ASUS
DAP
HUAWEI
SONY
STOCK

Example: install.qc.ef**cts=ANDROID_O

install.qc.effects=

## Qualcomm™ Audio Effects Configuration END ##

#

## ICEsound™ START ##

# Add a value of "true" to install the ICEsound™ module:

install.ICEsound=

(750KB)

# The following ICEsound™ configurations are available below. a value of "None" will remove an existing ICEsound™ configuration to use no ICEsound™ configuration. Values 1 (default), through 6 select the ICEsound™ configuration of the same number.

# Although, the available ICEsound™ configurations can have a substantial impact on sound quality, the different versions are provided to find the configuration most compatible with the rest of the installation with incredible sound quality.

# Because of the unpredictability of this file's impact on audio and functionality, descriptive names for the different ICEsound™ configurations are not logical and are simply numbered as they are Example:

use.ICEco**ig=1

1
2
3
4
5
6
None

use.ICEconfig=

# The following ICEsound™ presets are available below. A value of "None" will remove an existing preset to use no ICEsound™ preset. Enter a value of the preset name exactly as shown below. Example:

use.ICEsound.pr**et=01

BATHSALTS =01
DEEPBASS =02
HOLYSH*T =03
KRAZY =04
MOVIE =05
MUSIC2 =06
OUTDOORS =07
PURE (default) =08
PURESH*T =09
SHAT =10
WIDECLARITY =11
Default (pure) =12
None =None

use.ICEsound.preset=

## ICEsound™ END ##

# The ARISE™ modular installation zip works by using this file (when present in /sdcard as /sdcard/arise_customize.prop) to determine if any modules are to be UNINSTALLED by the value of "true" for each line below.

# Any value other than "true" is the same as a value of "false".

UNINSTALL.v4a=

UNINSTALL.atmos=

UNINSTALL.ddplus=

UNINSTALL.arkamys=

UNINSTALL.ICEsound=

UNINSTALL.am3d=

UNINSTALL.sony=

UNINSTALL.esira=

UNINSTALL.v4a_xhifi=

UNINSTALL.musicfx=

UNINSTALL.dirac=

## END ##

Once installed, remove the value of "true" from the "install.core=" line in /sdcard/arise_customize.prop for future recovery sessions when installing or uninstalling any of the available modules.

This allows for the modules to work in a "plug-and-play" fashion, otherwise, installing the Core System module again will replace audio_effects with the basic template - breaking functionality for every installed module with audio_effects entries.

The Fine Print:

Huawei™ Nova Plus Qualcomm™ DTS™, SRS™, libraries, and effects.

Huawei™ P9 Plus Huawei processing, libraries, and effects.

Huawei™ Mediapad M3 SWS processing, libraries, and effects.

Huawei™ Mate 8 libraries and effects.

Asus™ Zenfone 3 Ultra dynamic range compression, surround sound 3-mic processing, libraries, and effects.

Asus™ Zenfone 3 Deluxe libraries and effects.

Asus™ Transformer Advanced Linux Sound Architecture.

Vivo™ Y37 MaxxAudio™, BBESonicMax™, Speaker Boost, Spectrum™, and SRS™ processing, libraries, and effects.

Wiko™ Robby Auro 3D™ effect, libraries and effects.

Oppo™ R9S apt-XHD Bluetooth™ codecs.

Sony™ Xperia XZ libraries and effects.

ViPER4Arise™ 2.5.0.5 module:

ARISE™ themed version of ViPER4Android's latest DSP application with pre-installed driver. All ARISE™ artwork is the work and property of [MENTION=1028003]churapa[/MENTION].

ViPER4Arise™ 2.3.4.0 module:

ARISE™ themed version of ViPER4Android's 2.3.4.0 DSP application with pre-installed Super Quality driver. All ARISE™ artwork is the work and property of [MENTION=1028003]churapa[/MENTION].

ViPER4Arise™ Profiles module:

A comprehensive collection of ViPER4Android profiles created by ARISE™ Team Members and Contributors.

Dolby Digital Plus™ module:

Dolby Digital Plus™ system for Marshmallow - Oreo. Ported and themed by [MENTION=5405448]thereassaad[/MENTION] from firmware to be determined.

Dolby Atmos™ module:

Dolby Atmos™ Ported by [MENTION=981278]worstenbrood[/MENTION] from Lenovo™ K4 firmware.

AM3D ZIRENE® module:

AM3D ZIRENE® system ported by [MENTION=5357345]ahrion[/MENTION] from Sharp™ firmware. Themed by our friend, D-rey.

Sony™ Xperia XZ Music Suite module:

A comprehensive port of Sony's Xperia XZ Nougat music system prepared by @guitardedhero from the latest official firmware featuring:

Sony™ Music 9.3.6.A.1.0 Beta

All music plugins

DLNA Home Network

SoundEnhancement

MusicFX (if not already installed)

Podcast

TrackID

additional Sony™ libraries, effects, and codecs

Arkamys™ Audio module:

Alcatel™ Pixi 4 Plus Power Arkamys™ Audio system ported by @guitardedhero from the latest official firmware.

ICEsound™ module:

ICEsound™ service and effect from SonicMaster 3.0 ported by @guitardedhero from the latest official Asus™ Zenfone 3 Deluxe firmware.

ICEsound™ Configuration module:

A collection of different configurations of the file used by the ICEsound™ service. This file has substantial influence on how the ICEsound™ service performs and functions with existing effects on the device.

Six ICEsound™ configurations prepared by @guitardedhero & [MENTION=5105990]williwood[/MENTION] from which to choose as well as an option to use no ICEsound™ configuration at all.

- ICEsound™ Presets module:

An incredible assortment of individual ICEsound™ presets meticulously prepared and tested by [MENTION=7673087]secone00[/MENTION] using the native ICEsound™ presets file.

Preset options to use either the native, original ICEsound™ presets file or to use no ICEsound™ preset at all.

Esira™ Media Player module:

Esira™ (ARISE spelled backwards) is the official ARISE Sound Systems™ media player created by @Roi007leaf.

ViPER4Android XHiFi module:

The final version of ViPER4Android's "sister" DSP application no longer in development.

Provided more for historical value rather than intended use.

A very high-maintenence and temperamental application that performs best with /system BusyBox and SuperSU installations.

AOSP MusicFX module:

Automatically installed with Dolby Digital Plus™ and Sony™ Xperia XZ Music Suite modules when not already installed, this DSP application can improve compatibility and harmony of numerous applications and effects.

Disable MusicFX within Android Settings for best results and the ability to choose among available DSP applications through the Equalizer option of many music and media players.

Dirac™ Power Sound module:

Dirac™ Power Sound ported by @guitardedhero from the latest Oppo™ F1S firmware.

deep_buffer module:

A one-time script executed to remove the deep_buffer sections or entries from various device audio policy configurations.

When beneficial, it extends the processing capabilities of the ViPER4Arise™ and Dolby Digital Plus™ DSP applications during playback of streaming media.

Recommended only after testing with untouched device audio policy configurations.

A copy of the untouched device audio policy configuration is saved in the same directory with the extension ".backup" for convenient restoration at any time, if desired.

SD Card Permissions Repair module:

When needed, this amazing script by the Android shell guru [MENTION=4544860]osm0sis[/MENTION] is a life-saver when it seems as if your file manager is suddenly playing tricks on you.

This scenario is characterized by several peculiarities not limited to:

Sudden disappearance of /sdcard or its contents.

Sudden inability to create/delete content in /sdcard.

Even though we do our very best to handle and manipulate your device in the most responsible and respectful way, this scenario is unavoidable sometimes when writing content to /sdcard. This is the remedy for such occasions should they occur.

Be aware that selecting this module will increase the recovery session time by up to 3 - 5 minutes as the process of this script's execution does take some time.

Magnum Opus™ Installation:

Extract and examine the contents of any zip thoroughly before flashing in recovery.

Dirty flash your current ROM according to the ROM developer's dirty flashing instructions if any other sound mod is currently installed.

Ensure that sufficient free /system space (300MB+) is available.

Boot to recovery

Install > Magnum Opus™ zip

Advanced > Copy Log

Reboot

Magnum Opus™ Auditing:

We encourage our users to assess the installed sound system using tools freely available to all of us. Our goal has always been to empower the user with knowledge and transparency with the changes made to the device. There is no reason to just "take our word for it."

Dumpsys Utility:

The dumpsys utility is our most valuable asset in sound system and audio effects configuration development and is the perfect way for a user to assess the proper installation and availability of the /soundfx libraries deemed appropriate by the installation script along with any modules installed by user input or instruction.

Examine /system|vendor/etc/audio_effects.conf or have it easily accessible for reference.

Launch Android Terminal to open a new terminal window.

Type one of the two commands, tapping Enter after the command. Be sure to grant root access, if necessary:

su
su -c dumpsys media.audio_flinger

su
dumpsys media.audio_flinger

Examine the generated output and compare the list of loaded libraries to the entries located underneath libraries { in audio effects configurations. An ideal installation provides /soundfx libraries that are compatible and usable with a device's firmware.

Scroll further into the dumpsys output to assess the different effects-chains created for the audio session(s). An effects-chain requires at least a service apk or service library and the corresponding effect library. Examples include ViPER4Android, Dolby™, Arkamys™, ICEsound™, SoundEnhancement, etc.

Log Filtering:

Log filtering is another valuable asset in development and is an easy way for a user to assess real-time status of any effect of interest. Log filtering simply means to narrow down the viewable log output by inputting a set of characters that must be present in any displayed log output.

We use and recommend MatLog.

Launch MatLog and grant root access, if necessary.

Tap the arrow towards the top right to expand any log entries on the screen.

Tap the search field to filter the log output by entering the characters that spell an effect/application of interest. Examples include ViPER4Android, Dolby, Arkamys, ICEsound, etc. Log filtering is not appropriate for library assessment without a corresponding apk in most cases.

Magnum Opus™ Updates:

Unless specified with an announced update, no wipes are necessary to update the A.R.I.S.E. Sound System. Different sound system "books" are recommended to be installed on a clean /system or after a ROM zip flash.

Boot to recovery

Install > Magnum Opus™ zip

Reboot

If any undesired result or behavior occurs, dirty flash your current ROM according to your ROM developer's dirty flashing instructions and try again.

Magnum Opus™ Uninstallation:

No uninstaller zip will be made available due to the amount of overwritten /system files.

Uninstall the A.R.I.S.E. Sound System completely by dirty flashing your current ROM according to your ROM developer's dirty flashing instructions.

Changelog:

[B]## Magnum Opus™ 20170506[/B] -

- More booted script corrections/enhancements.

- Enhanced the $SDCARD variable during recovery.

- Android O LDAC Bluetooth™ codec reassigned
as a satisfied scenario component.

- Experimental build with arisesound_setprop
disabled, enabling requires name change from
arisesound_disabled_setprop to arisesound_setprop.

##

Contributors:

guitardedhero, Roi007leaf, wrongway213, sonophilos, churapa, Paschfire, R3V3NT3CH, mrrocketdog, Joe0Bloggs, secone00, Jacobh25, williwood, nericollin, ahrion, smeejaytee, aki_007, ephexxis, dingermtb, flieswithhawks, phamous, Yoinx, Shadowghoster, Zackptg5

Credits:

Thanks to [MENTION=1569052]viper520[/MENTION] & [MENTION=3901724]zhuhang[/MENTION] for the glorious ViPER4Android™.

Thanks to [MENTION=1028003]churapa[/MENTION] for the awesome ViPER4Arise ViPER4Android theme.

Thanks to [MENTION=5357345]ahrion[/MENTION] for Dolby Atmos™ porting proficiency.

Thanks to Arkamys™ Audio for their awesome, original audio library.

Thanks to [MENTION=5405448]thereassaad[/MENTION] for the Dolby Digital Plus™ port.

Thanks to [MENTION=5463312]smeejaytee[/MENTION] for sharing the HTC™ 10 /system, the catalyst for the entire sound system and made Genesis™ what it is and for managing, maintaining, and researching the tweak.prop component.

Thanks to [MENTION=8383546]sonophilos[/MENTION] for managing, maintaining, and researching the tweak.prop component.

Thanks to [MENTION=5989796]nericollin[/MENTION] for the official website and imagery.

Thanks to [MENTION=5866088]Paschfire[/MENTION] for maintaining and managing our Google+ presence.

Thanks to [MENTION=6449207]Roi007leaf[/MENTION] for creating the official ARISE music player - Esira and for maintaining and managing our Telegram presence. A true multi-tasker, for maintaining the Aroma Installer version as well.

Thanks to [MENTION=5964313]wrongway213[/MENTION] for maintaining and managing our Google+ and Telegram presence.

Thanks to [MENTION=6037748]Zackptg5[/MENTION] for his ARISE-level of Magisk™ proficiency and top-shelf support. :good:

Thanks to [MENTION=5368959]Shadowghoster[/MENTION] for maintaining Magisk™ support.

Thanks to [MENTION=4877037]BSDgeek_Jake[/MENTION] for the highest quality IRS files on XDA - here.

Thanks to [MENTION=5431257]kl3[/MENTION] for the tweakprop script.

Thanks to [MENTION=6887134]J.E.N.O.V.A.[/MENTION] for the Profiles & Convolvers thread.

Thanks to [MENTION=4231562]Yoinx[/MENTION] for the invaluable assistance and support.

Thanks to [MENTION=4544860]osm0sis[/MENTION] for the awesome sdcard permissions fix script that is a lifesaver for those that experience loss of /data operations from flashing zips that improperly write to /data. This and many other scripts can be found in his thread here.

Thanks to [MENTION=2921997]dingermtb[/MENTION] for the official ARISE Spotify community radio and for diligent testing and feedback, but especially for just being the person he is.

Thanks to

YOU!

for always providing feedback and never settling for anything but the best!

A brief installation video for Magnum Opus by @Roi007leaf:

https://www.youtube.com/watch?v=KTugNE7ML-4

[YOUTUBE]<iframe width="560" height="315" src="https://www.youtube.com/embed/KTugNE7ML-4" frameborder="0" allowfullscreen></iframe>[/YOUTUBE]​