FORUMS
Remove All Ads from XDA

[UPDATE: 09/25/2017] ViPER4Android FX 2.5.0.5 [Unity/AML][v2.0]

3,023 posts
Thanks Meter: 4,172
 
By ahrion, Forum Moderator / Recognized Developer on 22nd March 2017, 02:10 AM
Thread Deleted Email Thread
Announcement from ahrion: Update: 09/25/2017
This is essentially ViPER4Android for Magisk.

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 GitHub for this mod
Check out my AudModLib thread and GitHub

[UPDATED] ViPER4Android FX (2.5.0.5)
v2.0:
- Unity/AML v2.0: Massive installer and script overhaul
- Unity v2.0: 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
- Unity v2.0: Added file/folder backup/restore of modified files
- Unity v2.0: Added file/folder backup/restore of normally wiped files
- Unity v2.0: Added Osm0sis @ xda-developers uninstaller idea (just add "uninstall" to zip name and it'll function as uninstaller)
- Unity/AML v2.0: Added phh's SuperUser and LOS su support (note, LOS doesn't support sepolicy patching)
- Unity/AML v2.0: Added proxy library to AML to allow the proxy effects found in multiple audio modules
- Unity/AML v2.0: Added support for Magisk imgs located in /cache/audmodlib
- Unity v2.0: Added system_root support for Pixel devices
- Unity v2.0: 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)
- Unity v2.0: Add Unity system props
- Unity v2.0: Added vendor fix for Nexus devices
- Unty/AML v2.0: AML functionality and uses overhauled
- Unity/AML v2.0: Bug fixes
- Unity/AML v2.0: Modified Unity Installer to allow use for non AML modules
- Unity/AML v2.0: Moved scripts from Magisk .core to the individual module folder due to .core limitations
- Unity/AML v2.0: New modular approach - no need to modify update-binary anymore: check instructions for more details on how this works
- Unity v2.0: Reworked addon.d system install scripts
- Unity/AML v2.0: Removed AML cache workaround by reworking AML changes via magisk_merge
- Unity/AML v2.0: Reworked AML vendor audio_effects to not be overwritten by system audio_effects by commenting out conflicting lines
- Unity v2.0: Reworked script permissions
- Unity/AML v2.0: Update sepolicy for Magisk 13+
- Unity/AML v2.0: Updated to Magisk module template 1400

Download

Previous Changelogs (ViPER4Android FX):

HTML Code:
v1.4
	- AudModLib v1.4 update which changes SELinux live patching to allow better compatibility between different devices, kernels, and roms; while also keeping the amount of "allowances" to a minumum
	- AudModLib v1.4: changed post-fs-data(.d)/service(.d) shell script names for cosmetic recognition
	- AudModLib v1.4: merge SuperSU shell script with MagiskSU post-fs-data(.d) script for less fragmentation
	- AudModLib v1.4: added /cache/audmodlib.log to determine if script has run successfully
	- AudModLib v1.4: 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
	- App smali hacks

v1.3
	- AudModLib v1.3 update push which includes the script addition to allow various audio mods working with SELinux Enforcing
	- 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
	- System install will now have the same script updates as the AudModLib v1.3 to allow to work in SELinux Enforcing

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

v1.1
	- AudModLib v1.1 hotfix for bootloops issues on some devices

v1.0
	- Initial Magisk release


Credits of Originality:
- @zhuhang (Official Thread)
- @Osm0sis
- Viper's Audio (Official blog)
- @ViPER520

XDA:DevDB Information
ViPER4Android FX, App for all devices (see above for details)

Contributors
ahrion, zackptg5, ViPER's Audio, zhuhang, ViPER520
Source Code: https://github.com/therealahrion/ViPER4Android-FX


Version Information
Status: Stable
Current Stable Version: v2.0
Stable Release Date: 2017-09-25

Created 2017-03-22
Last Updated 2017-09-29
The Following 97 Users Say Thank You to ahrion For This Useful Post: [ View ]
 
 
22nd March 2017, 03:53 AM
Member
Flag Taopei
Thanks Meter: 14
 
More
great!
The Following 2 Users Say Thank You to huaiyue For This Useful Post: [ View ] Gift huaiyue Ad-Free
23rd March 2017, 12:23 AM
Senior Member
Flag Auckland
Thanks Meter: 35
 
Donate to Me
More
Hi, tried your two modules you've posted on my Nexus 6P stock ROM. March update. Both causing bootloop and using the uninstaller provided doesn't help. Have to use mount Magisk then go to file explorer in TWRP recovery and delete the modules from Magisk folder.
23rd March 2017, 02:56 AM
ahrion's Avatar
OP Forum Moderator / Recognized Developer
Thanks Meter: 4,172
 
More
Quote:
Originally Posted by kartikb

Hi, tried your two modules you've posted on my Nexus 6P stock ROM. March update. Both causing bootloop and using the uninstaller provided doesn't help. Have to use mount Magisk then go to file explorer in TWRP recovery and delete the modules from Magisk folder.

Hmm. This is probably a kernel or magisk limitation with your rom. Are you running 11.6? Try to run it without the deep_buffer Remover because this is probably what bootloops your phone. It's only necessary when you've NEED it, otherwise it may cause adverse effects. Just install V4A and see if it works.

Currently magisk still has limited boot.img compatibility which causes so.e mods to not work properly or bootloops when it's not the mod itself.
The Following User Says Thank You to ahrion For This Useful Post: [ View ]
23rd March 2017, 05:12 AM
Senior Member
Flag Auckland
Thanks Meter: 35
 
Donate to Me
More
Quote:
Originally Posted by ahrion

Hmm. This is probably a kernel or magisk limitation with your rom. Are you running 11.6? Try to run it without the deep_buffer Remover because this is probably what bootloops your phone. It's only necessary when you've NEED it, otherwise it may cause adverse effects. Just install V4A and see if it works.

Currently magisk still has limited boot.img compatibility which causes so.e mods to not work properly or bootloops when it's not the mod itself.

Hi, I'm on 11.6. I've tried both modules on their own and they both have caused boot loops unfortunately.

Thanks anyway..
23rd March 2017, 05:14 AM
ahrion's Avatar
OP Forum Moderator / Recognized Developer
Thanks Meter: 4,172
 
More
Quote:
Originally Posted by kartikb

Hi, I'm on 11.6. I've tried both modules on their own and they both have caused boot loops unfortunately.

Thanks anyway..

Magisk limitation. @topjohnwu is always improving magisk. I do recommend may e trying another kernel for your device which may help compatibility.
23rd March 2017, 09:35 AM
Didgeridoohan's Avatar
Recognized Contributor
Flag Gothenburg
Thanks Meter: 2,654
 
Donate to Me
More
Gave this module a go, and: it's a no go... Will not boot on my Nexus 6 running Vanilla ROM 7.1.1_r26, Franco Kernel r65 and Magisk v.11.6 - MagiskSU.

After flashing uninstaller the device still doesn't boot. Had to manually remove audmodlib from /magisk in TWRP to make it boot again. And it's in audmodlib the problem is. I did a quick test where I removed audmodlib after installation (kept v4afx in place) and it booted right up (with a non-functioning module, obviously).

Attaching installation and uninstallation recovery logs. Unfortunately I'm not at a computer with ADB, otherwise I would have captured a logcat of boot for you. Maybe later...
Attached Files
File Type: log recovery-install.log - [Click for QR Code] (27.2 KB, 94 views)
File Type: log recovery-uninstall.log - [Click for QR Code] (26.2 KB, 48 views)
23rd March 2017, 12:26 PM
ahrion's Avatar
OP Forum Moderator / Recognized Developer
Thanks Meter: 4,172
 
More
Quote:
Originally Posted by Didgeridoohan

Gave this module a go, and: it's a no go... Will not boot on my Nexus 6 running Vanilla ROM 7.1.1_r26, Franco Kernel r65 and Magisk v.11.6 - MagiskSU.

After flashing uninstaller the device still doesn't boot. Had to manually remove audmodlib from /magisk in TWRP to make it boot again. And it's in audmodlib the problem is. I did a quick test where I removed audmodlib after installation (kept v4afx in place) and it booted right up (with a non-functioning module, obviously).

Attaching installation and uninstallation recovery logs. Unfortunately I'm not at a computer with ADB, otherwise I would have captured a logcat of boot for you. Maybe later...

The only real thing in audmodlib is could be is service.sh or system.prop otherwise it would be the vendor file, which would mean that for some reason 11.6 is bugged for vendor file mounting. Try installing and remove those ONLY and and see if it fixes it.

If that fixes it then it's one of those two. And if you're cool can you see which one it is exactly.
23rd March 2017, 01:25 PM
Didgeridoohan's Avatar
Recognized Contributor
Flag Gothenburg
Thanks Meter: 2,654
 
Donate to Me
More
Quote:
Originally Posted by ahrion

The only real thing in audmodlib is could be is service.sh or system.prop otherwise it would be the vendor file, which would mean that for some reason 11.6 is bugged for vendor file mounting. Try installing and remove those ONLY and and see if it fixes it.

If that fixes it then it's one of those two. And if you're cool can you see which one it is exactly.

There has been an issue with vendor mounting in Magisk, but I believe that was for devices with separate vendor partitions (Nexus 6P, Nexus 5X, etc). I haven't seen any commits on GitHub about it though (although I haven't been keeping that close attention), so I don't know if it's been fixed.

I did find the culprit though: it's system.prop. With that file removed from /magisk/audmodlib my device booted up just fine.
23rd March 2017, 01:49 PM
Seyaru's Avatar
Senior Member
Flag Bogota
Thanks Meter: 439
 
Donate to Me
More
Quote:
Originally Posted by kartikb

Hi, I'm on 11.6. I've tried both modules on their own and they both have caused boot loops unfortunately.

Thanks anyway..

If you wanna try this is my module for Nexus phones. I use this in my Nexus 5X Stock and PureNexus

https://www.androidfilehost.com/?fid=529152257862713260

Sry ahrion for use your thread
The Following User Says Thank You to Seyaru For This Useful Post: [ View ] Gift Seyaru Ad-Free
23rd March 2017, 02:32 PM
ahrion's Avatar
OP Forum Moderator / Recognized Developer
Thanks Meter: 4,172
 
More
Quote:
Originally Posted by Seyaru

If you wanna try this is my module for Nexus phones. I use this in my Nexus 5X Stock and PureNexus

https://www.androidfilehost.com/?fid=529152257862713260

Sry ahrion for use your thread

You are literally advertising your mods in everyone's threads. Stop this and make your own thread.

This is a magisk forum, not a system mod forum.
The Following User Says Thank You to ahrion For This Useful Post: [ View ]
Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Thread Tools