FORUMS
Remove All Ads from XDA
Honor 7x
Win an Honor 7X!

[12/13/17] Universal deep_buffer Remover [Unity/AML][v3.5]

3,075 posts
Thanks Meter: 4,437
 
By ahrion, Forum Moderator / Recognized Developer on 22nd March 2017, 03:31 AM
Post Reply Email Thread
This hack fixes when streaming apps (Spotify, Pandora, etc) do not process audio effects for various equalizer applications.

These installers utilize my Unified installer that can install on Magisk OR System if Magisk is not detected (with Pixel support). It utilizes 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). 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 AudModLib thread and GitHub

[UPDATED] Universal deep_buffer Remover
Current Version Changelog (v3.5):
- Updated to AudModLib v2.5. See AudModLib Thread for full changelog
Previous Changelogs (Universal deep_buffer Remover):

v3.4:

- Updated to AML v2.4

v3.3:

- Updated to AML v2.3

v3.2:

- Updated to AML v2.2

v3.1:

- Updated to AML v2.1

v3.0:

- Updated to AudModLib v2.0

v2.4

- Updated to AudModLib v1.4
- 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
- Add more deep_buffer remover compatibility between differing devices and ROMs

v2.3

- Updated to AudModLib v1.3
- Remove (audmodlib)service.sh and replace with post-fs-data(.d) audmodlib.sh, which should fix when root may be lost upon installing certain mods

v2.2

- Added audmodlib.sh post-fs-data.d script
- Install script fixes
- post-fs-data.d script fixes
- Push AudModLib v1.2 hotfixes

v2.1

- Updated to Audio Modification Library v1.1

v2.0

- Initial Magisk release


Credits of Originality:
- @Osm0sis

Download


XDA:DevDB Information
Universal deep_buffer Remover, Tool/Utility for the XDA Community Apps

Contributors
ahrion, zackptg5
Source Code: https://github.com/therealahrion/Uni...buffer-Remover


Version Information
Status: Stable
Current Stable Version: v3.5
Stable Release Date: 2017-12-13

Created 2017-03-22
Last Updated 2017-12-13
The Following 36 Users Say Thank You to ahrion For This Useful Post: [ View ]
 
 
24th March 2017, 06:16 PM |#2  
ahrion's Avatar
OP Forum Moderator / Recognized Developer
Thanks Meter: 4,437
 
More
Update.


[UPDATE] Universal deep_buffer Remover <2.1>
v2.1:
- Updated to Audio Modification Library (Magisk) v1.1
This should fix the boot loop issues seen in only Magisk v11.6

Download: Link - Mirror
Previous Changelogs (Unified installer):

HTML Code:
v2.0:
- Initial Magisk release
- Audio Modification Library v1.0 is included
- Unified installer that will install mod for both Magisk and System
- Pixel support included
- Magisk Template v3 support
The Following 4 Users Say Thank You to ahrion For This Useful Post: [ View ]
26th March 2017, 08:36 PM |#3  
ahrion's Avatar
OP Forum Moderator / Recognized Developer
Thanks Meter: 4,437
 
More
Prepare for a new update to AudModLib.
27th March 2017, 04:51 AM |#4  
ahrion's Avatar
OP Forum Moderator / Recognized Developer
Thanks Meter: 4,437
 
More
[UPDATED] Universal deep_buffer Remover
v2.2:
- Added audmodlib.sh post-fs-data.d script
- Install script fixes
- post-fs-data.d script fixes
- Push AudModLib v1.2 hotfixes

Download

Previous Changelogs (Universal deep_buffer Remover):

HTML Code:
v2.1:
- Updated to Audio Modification Library (Magisk) v1.1
    This should fix the boot loop issues seen in only Magisk v11.6

v2.0:
- Initial Magisk release
- Audio Modification Library v1.0 is included
- Unified installer that will install mod for both Magisk and System
- Pixel support included
- Magisk Template v3 support


[UPDATED] Universal deep_buffer Restorer
Reverts the changes made from the Universal deep_buffer Remover.
v2.1:
- Script fixes

Download

Previous Changelogs (Universal deep_buffer Restorer):

HTML Code:
v2.0:
- Initial Magisk release
- Unified uninstaller that will uninstall the mod for both Magisk and System installs
- Pixel support included
- Magisk Template v3 support
The Following User Says Thank You to ahrion For This Useful Post: [ View ]
27th March 2017, 11:04 PM |#5  
SyCoREAPER's Avatar
Senior Member
Here and There
Thanks Meter: 464
 
More
Will this affect safteynet ?
28th March 2017, 12:22 AM |#6  
DroneDoom's Avatar
Senior Member
Thanks Meter: 152
 
More
Quote:
Originally Posted by SyCoREAPER

Will this affect safteynet ?

That's the point of it being a magisk module buddy...
28th March 2017, 12:45 AM |#7  
ahrion's Avatar
OP Forum Moderator / Recognized Developer
Thanks Meter: 4,437
 
More
Quote:
Originally Posted by SyCoREAPER

Will this affect safteynet ?


Quote:
Originally Posted by DroneDoom

That's the point of it being a magisk module buddy...

Lol.

Also it makes for easy module management and uninstall/install/updating.
28th March 2017, 02:55 AM |#8  
Senior Member
Thanks Meter: 1,199
 
More
Quote:
Originally Posted by ahrion

Lol.

Also it makes for easy module management and uninstall/install/updating.

I found that with v2.2, deep_buffer wasn't actually being removed for me.

Culprit:
Code:
sed -i '/deep_buffer {/,/}/d' $CFG
Should be:
Code:
sed -i '/deep_buffer {/,/}/ d' $CFG
I changed that in the update-binary and su.d script and deep buffer was then removed. I uploaded a copy with these changes. Thanks!
Attached Files
File Type: zip udb_remover_v2.2.zip - [Click for QR Code] (13.7 KB, 100 views)
28th March 2017, 03:05 AM |#9  
ahrion's Avatar
OP Forum Moderator / Recognized Developer
Thanks Meter: 4,437
 
More
Quote:
Originally Posted by Zackptg5

I found that with v2.2, deep_buffer wasn't actually being removed for me.

Culprit:


Should be:


I changed that in the update-binary and su.d script and deep buffer was then removed. I uploaded a copy with these changes. Thanks!

That's because whoever added the deep buffer section of your config had a typo.

These patches aren't 100% fool proof to incompetent coders or ROM developers.
28th March 2017, 03:46 AM |#10  
ahrion's Avatar
OP Forum Moderator / Recognized Developer
Thanks Meter: 4,437
 
More
Quote:
Originally Posted by Zackptg5

I found that with v2.2, deep_buffer wasn't actually being removed for me.

Culprit:

Code:
sed -i '/deep_buffer {/,/}/d' $CFG
Should be:
Code:
sed -i '/deep_buffer {/,/}/ d' $CFG
I changed that in the update-binary and su.d script and deep buffer was then removed. I uploaded a copy with these changes. Thanks!

As I told you earlier, the space between "/ d" is an issue with your particular config file. This is not a sed issue or a typo in my scripts. sed is my specialty. This is the reason why it doesn't work.

I will not be changing it. However I thank you man for being proactive in trying to find alternative solutions.
28th March 2017, 10:53 AM |#11  
Senior Member
Flag mumbai
Thanks Meter: 18
 
More
How to uninstall ur module via recovery?
Hi bro i flashed ur module and after the reboot i cant find root... Even after flashing supersu systemless zip again.. Still no root. Bcoz of no root i cant uninstall ur module from magisk manager. Need ur help plz
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20170328-142212.png
Views:	4300
Size:	62.2 KB
ID:	4091685  
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes