FORUMS
Remove All Ads from XDA

[UPDATE: 09/25/2017] Unity Installer & Audio Modification Library (AML) [v2.0]

3,014 posts
Thanks Meter: 4,160
 
By ahrion, Forum Moderator / Recognized Developer on 26th March 2017, 10:31 PM
Post Reply Email Thread
Announcement from ahrion: Update: 09/25/2017
This is my Magisk framework called Audio Modification Library that allows that installation of multiple audio mods without having compatibility issues with one another's audio config file changes (this is a Magisk limitation, however AudModLib solves this issue).

These installers utilize my Unity installer that can install on Magisk OR System if Magisk is not detected (with Pixel support). I do not support any other audio mod, and if Magisk, I do not support any mod mod that does not utilize my AudModLib.

Check out my GitHub for this mod

[UPDATED] Audio Modification Library
v2.0:
- Massive installer and script overhaul
- Added autouninstall (if mod is already installed and you flash same version zip again, it'll uninstall), thus removing the need for an uninstall zip
- Added file/folder backup/restore of modified files
- Added file/folder backup/restore of normally wiped files
- Added Osm0sis @ xda-developers uninstaller idea (just add "uninstall" to zip name and it'll function as uninstaller)
- Added phh's SuperUser and LOS su support (note, LOS doesn't support sepolicy patching)
- Added proxy library to AML to allow the proxy effects found in multiple audio modules
- Added support for Magisk imgs located in /cache/audmodlib
- Added system_root support for Pixel devices
- Added system override (if you're on magisk but would rather have it install to system, add word "system" to zip name and it'll install everything but scripts to system)
- Add Unity system props
- Added vendor fix for Nexus devices
- AML functionality and uses overhauled
- Bug fixes
- Modified Unity Installer to allow use for non AML modules
- Moved scripts from Magisk .core to the individual module folder due to .core limitations
- New modular approach - no need to modify update-binary anymore: check instructions for more details on how this works
- Reworked addon.d system install scripts
- Removed AML cache workaround by reworking AML changes via magisk_merge
- Reworked AML vendor audio_effects to not be overwritten by system audio_effects by commenting out conflicting lines
- Reworked script permissions
- Update sepolicy for Magisk 13+
- Updated to Magisk module template 1400

Download

Previous Changelogs (Audio Modification Library):

HTML Code:
v1.4
	- Change SELinux live patching to allow better compatibility between different devices, kernels, and roms; while also keeping the amount of "allowances" to a minumum
	- Changed post-fs-data(.d)/service(.d) shell script names for cosmetic recognition
	- Merge SuperSU shell script with MagiskSU post-fs-data(.d)/service(.d) script for less fragmentation
	- Added /cache/audmodlib.log to determine if script has run successfully
	- More audio policy files and various mixer_paths files are now included in the framework
	- Install script changes that include: major update to Pixel (A/B OTA) support, mounting changes, improved script efficiency, fixes & consolidation, and cosmetic fixes
	- Add/fix proper addon.d support

v1.3
- Script addition to allow various audio mods working with SELinux Enforcing
- Remove (audmodlib)service.sh and replace with pos-fs-data(.d) audmodlib.sh, which should fix when root may be lost upon installing certain mods

v1.2:
- Added audmodlib.sh post-fs-data.d script
- Fix selinux injection script to work for MagiskSU/SuperSU (system and systemless)
- Install script fixes

v1.1:
- Hotfix for bootloop issues on some devices

v1.0
- Initial Magisk release


XDA:DevDB Information
Audio Modification Library, Tool/Utility for the XDA Community Apps

Contributors
ahrion, Zackptg5
Source Code: https://github.com/therealahrion/Aud...cation-Library


Version Information
Status: Stable
Current Stable Version: v2.0

Created 2017-03-26
Last Updated 2017-10-04
The Following 42 Users Say Thank You to ahrion For This Useful Post: [ View ]
 
 
26th March 2017, 10:31 PM |#2  
ahrion's Avatar
OP Forum Moderator / Recognized Developer
Thanks Meter: 4,160
 
More
Reserved
I will soon add a [TEMPLATE] area on this post where you can use my Unified Magisk/System installer template that incorporates AudModLib. This would be used for your own mods. I do recommend for in the future to always keep AudModLib to the latest AudModLib version that is updated on the Magisk Repo, this thread, and the my other mods. I will always update my AudModLib Template GitHub when I push AudModLib's newest verisons.

If you currently look at my mod's that use AudModLib, I've already included preliminary instructions to easily help you get started.

Stay tuned.
The Following 5 Users Say Thank You to ahrion For This Useful Post: [ View ]
28th March 2017, 01:24 AM |#3  
ahrion's Avatar
OP Forum Moderator / Recognized Developer
Thanks Meter: 4,160
 
More
Updated OP for downloads. I'll prepare an uninstaller soon which should be simple.

[UPDATED] Audio Modification Library
v2.2:
- Added audmodlib.sh post-fs-data.d script
- Fix selinux injection script to work for MagiskSU/SuperSU (system and systemless)
- Install script fixes

Download

Previous Changelogs (Audio Modification Library):

HTML Code:
v1.1:
- Hotfix for bootloop issues on some devices

v1.0
- Initial Magisk release
The Following 3 Users Say Thank You to ahrion For This Useful Post: [ View ]
28th March 2017, 02:40 AM |#4  
Junior Member
Thanks Meter: 3
 
More
I have BT's issue installing this module on Pure Nexus for Kenzo/Kate (SD650)
28th March 2017, 02:41 AM |#5  
ahrion's Avatar
OP Forum Moderator / Recognized Developer
Thanks Meter: 4,160
 
More
Quote:
Originally Posted by ExEdd

I have BT's issue installing this module on Pure Nexus for Kenzo/Kate (SD650)

You must have installed other modules, probably my deep_buffer Remover because this module does NOT touch your bluetooth settings. This module is simply a framework for other modules to utilize and edit audio policy and audio effect files on your system.
28th March 2017, 03:11 AM |#6  
Junior Member
Thanks Meter: 3
 
More
Quote:
Originally Posted by ahrion

You must have installed other modules, probably my deep_buffer Remover because this module does NOT touch your bluetooth settings. This module is simply a framework for other modules to utilize and edit audio policy and audio effect files on your system.

I not have other modules or mods, only install Magisk and then AudModLib (downloaded through Magisk Downloads), when I reboot my device after install the module BT crash
28th March 2017, 03:19 AM |#7  
ahrion's Avatar
OP Forum Moderator / Recognized Developer
Thanks Meter: 4,160
 
More
Quote:
Originally Posted by ExEdd

I not have other modules or mods, only install Magisk and then AudModLib (downloaded through Magisk Downloads), when I reboot my device after install the module BT crash

Don't know what to tell you man. All this mod does is copy certain configs to a magisk directory and then magisk symlink them to your system.

The only thing I can think is that you have a boot.img compatibility issue with magisk.
28th March 2017, 11:42 AM |#8  
ahrion's Avatar
OP Forum Moderator / Recognized Developer
Thanks Meter: 4,160
 
More
Good news guys. I finally found a fix for AM3D and Dolby Atmos to work 100% in enforcing on both MagiskSU/SuperSU, Magisk OR System install.

This will be available in the AudModLib v1.3 update I will be pushing soon. I'll obviously fix any more bugs or make any other additions in the meantime.
The Following 7 Users Say Thank You to ahrion For This Useful Post: [ View ]
28th March 2017, 08:59 PM |#9  
JohnCorleone's Avatar
Senior Member
Flag Whittier,CA
Thanks Meter: 5,921
 
Donate to Me
More
Quote:
Originally Posted by ahrion

Good news guys. I finally found a fix for AM3D and Dolby Atmos to work 100% in enforcing on both MagiskSU/SuperSU, Magisk OR System install.

This will be available in the AudModLib v1.3 update I will be pushing soon. I'll obviously fix any more bugs or make any other additions in the meantime.

I can't wait! I really think that is going to make everything work . I prefer the SeLinux to be enabled with it my responsibility to flip if it didn't automatically. Looking forward to it!
28th March 2017, 09:02 PM |#10  
ahrion's Avatar
OP Forum Moderator / Recognized Developer
Thanks Meter: 4,160
 
More
Quote:
Originally Posted by JohnCorleone

I can't wait! I really think that is going to make everything work . I prefer the SeLinux to be enabled with it my responsibility to flip if it didn't automatically. Looking forward to it!

You wont need it anymore i only enabled permissive because of my mods i wont need it after this
The Following User Says Thank You to ahrion For This Useful Post: [ View ]
28th March 2017, 10:18 PM |#11  
JohnCorleone's Avatar
Senior Member
Flag Whittier,CA
Thanks Meter: 5,921
 
Donate to Me
More
Quote:
Originally Posted by ahrion

You wont need it anymore i only enabled permissive because of my mods i wont need it after this

But it does spoof being enabled correct?-Because I get a Google Services warning to uninstall SELinux changer
Post Reply Subscribe to Thread

Tags
audmodlib, magisk

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes