V4A not working with powerap or Dolby atmos.
Things So have done:
1) selinux permissive
2) disable direct volume control
3) disable audiofx
4) try compatible version if v4a
Still no success.I am running on exodus 5.0.2 latest.
V4A works with musicxmatch though but also not on spotify
Hi all.
Is anyone using Viper4Android with SElinux enforcing mode?
I was able to make V4A run in SElinux enforcing but found out that doing so, breaks the microphone during a call.
Example:
1. Perform a call
2. Switch from handset to Speaker mode <- so far so good
3. Switch back to handset <- the other party can't hear you anymore.
4. Switch back to speaker mode <- the other party can hear you again
The way I made V4A work in SElinux enforcing is by adding these lines to the '50Viper.sh' file under the 'su.d' folder.
Code:
#! /system/bin/sh
/su/bin/supolicy --live "allow mediaserver mediaserver_tmpfs:file { execute };"
supolicy --live "allow mediaserver mediaserver_tmpfs:file { read write execute };"
If you are running V4A in SElinux enforcing, do you encounter the issue I described?
gil80 said:
Hi all.
Is anyone using Viper4Android with SElinux enforcing mode?
I was able to make V4A run in SElinux enforcing but found out that doing so, breaks the microphone during a call.
Example:
1. Perform a call
2. Switch from handset to Speaker mode <- so far so good
3. Switch back to handset <- the other party can't hear you anymore.
4. Switch back to speaker mode <- the other party can hear you again
The way I made V4A work in SElinux enforcing is by adding these lines to the '50Viper.sh' file under the 'su.d' folder.
Code:
#! /system/bin/sh
/su/bin/supolicy --live "allow mediaserver mediaserver_tmpfs:file { execute };"
supolicy --live "allow mediaserver mediaserver_tmpfs:file { read write execute };"
If you are running V4A in SElinux enforcing, do you encounter the issue I described?
Click to expand...
Click to collapse
I'm using V4A from this thread
http://forum.xda-developers.com/nexus-6/themes-apps/viper4android-t2952137
I'm using ViPERAudio 4.7.1 Stock.zip (COS13.1.2 + SuperSU) but you can use any of them in Enforcing mode. The only caveat is that it works in Enforcing mode only when you use SuperSU, if you use SuperUser such as in CM13 Nightlies you have to change SELinux to Permissive. There is no configuration required just SuperSU. Flash the zips and enjoy V4A but read info in that thread if you have any questions, have never had any issues so far
Renosh said:
I'm using V4A from this thread
http://forum.xda-developers.com/nexus-6/themes-apps/viper4android-t2952137
I'm using ViPERAudio 4.7.1 Stock.zip (COS13.1.2 + SuperSU) but you can use any of them in Enforcing mode. The only caveat is that it works in Enforcing mode only when you use SuperSU, if you use SuperUser such as in CM13 Nightlies you have to change SELinux to Permissive. There is no configuration required just SuperSU. Flash the zips and enjoy V4A but read info in that thread if you have any questions, have never had any issues so far
Click to expand...
Click to collapse
I know, I use SuperSU as well.
The OP of the thread you gave, has actually incorporated the code I've posted in my OP to his ZIP files.
See my post here: http://forum.xda-developers.com/nexus-6/themes-apps/viper4android-t2952137/post66027160#post66027160
After my post he used this to apply this fix on the rest of the V4A variants.
But I'm not taking credit for the fix. I found it elsewhere.
Have you tried to make a call and switch back and forward with speaker mode and handset?
Did you do any change to your mixer_path.xml or build.prop?
gil80 said:
I know, I use SuperSU as well.
The OP of the thread you gave, has actually incorporated the code I've posted in my OP to his ZIP files.
See my post here: http://forum.xda-developers.com/nexus-6/themes-apps/viper4android-t2952137/post66027160#post66027160
After my post he used this to apply this fix on the rest of the V4A variants.
But I'm not taking credit for the fix. I found it elsewhere.
Have you tried to make a call and switch back and forward with speaker mode and handset?
Did you do any change to your mixer_path.xml or build.prop?
Click to expand...
Click to collapse
Zero changes to the mixer_path.xml
Completely stock except for root, removing ModioFX from system and using a different hosts file (Adaway) and installing V4A.
I haven't had a single issue with calls via speaker phone or handset for the past couple of days on current ROM. I've used a similar set up for months in various ROMs and never noticed or received reports of issues either
can you please see if you can find your 50viper.sh file under system/su.d and post it?
Thanks!
I would like to share to you a sound setup that would improve the sound quality of your device to your preferences. This is a bunch of guides I searched in XDA forums and tested them with my PAC-ROM KK RC-3 setup. Though it is a software-level modification, I found the end result quite pleasing.
Disclaimer:
I am not responsible for any damage that this may cause you. As a golden rule, make sure you to run a full backup of your current setup in case something goes wrong with the process. I have only tested this in my device (model: S7562). Do follow the instructions extensively.
Pre-requisite:
~An android 4.4.4 Custom ROM
~Latest TWRP custom recovery built
~With root and Busybox installed
Instructions:
1.) Download and flash the 4.4.x Viper4android driver found here.
2.) Run this current Viper4android app. That should prompt a driver installation dialog box. Proceed installing it and choose what ever mode.
3.) Download and install the latest Viper4android apk. (currently using 2.5.0.5).
4.) Run this latest Viper4android app in order to update the driver to the latest.
5.) You can now disable the old Viper4android app (the one with the violet icon).
6.) Setup the Viper4android the way you like it, and also use a music player that integrates an equalizer (like Phonography or Spotify) and your good to go.
Current headset profile (got it from this):
Master power - on
Playback gain control - off
FET compressor - off
Viper DDC - on, set to sennheiser hd558
Spectrum extension - on, set to 1.0
Firequalizer - off
Convolver - on, set to Samsung soundalive tubeamp(included in the IRS samples)
Differential surround, field surround, headphone surround+, reverberation - all set to off
Dynamic system - off
Viper bass - off
Viper clarity - off
Tube sound simulator - off
AnalogX - on, set to extreme
Rest all are turned off or kept the default.
Links:
Viper4android driver: https://forum.xda-developers.com/oneplus-one/themes-apps/app-viper4android-v2-3-4-0-t3040014
Latest Viper4android apk: https://forum.xda-developers.com/showthread.php?t=2191223
IRS Samples: https://forum.xda-developers.com/attachment.php?attachmentid=4133893&d=1493617480
Thanks to @ScreaMySkrillEX , @gianton , @pavlepiramida, @zhuhang
RRR
Really appreciate the credits!
Thanks.....
ScreaMySkrillEX
Hello clashers,today i am sharing the ultimate all-in-one sound mode for any android and that is A.R.I.S.E Sound system . . k let me show hw to install this . . dwnld the latest version Magnum Opus from below link then extract the arise_customize.prop from the zip(its placed on getting started->your system folder on the zip) then move it to root of internel storage then edit the arise_customize.prop to install the mods u want
# 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.
Magnum Opus™
Magnum Opus ™ Features :-
- The most advanced and comprehensive sound system ever made available.
- Jellybean through Android O developer preview support.
- ARM, Mediatek™, Qualcomm™, 32bit, 64bit, and x86 support.
- Full SELinux Enforcing support
- Magisk™ support available using this module .
- 300MB of fully customizable sonic bliss.
- A massive assortment of unique and exciting modules that can be installed/uninstalled multiple times, eliminating the need to wipe /system or dirty-flash the device ROM zip in order to try a different sound system combination.
- Modular installation method using a user-prepared instruction set (/sdcard/arise_customize.prop) of the desired installation/uninstallation of available modules along with module components like configurations, presets, scripts, and audio_policy manipulation. This file can be extracted from the zip, placed in /sdcard, and prepared before 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.
Both modular installers are identical in content. Not all users enjoy AROMA compatibility with their custom recovery or may simply prefer the method of using /sdcard/arise_customize.prop to determine the sound system installation result.
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)
- DTS™ Service module (optional)
- deep_buffer removal module (optional)
- SD Card permissions repair module (optional, can add 3 - 5 minutes to the recovery session)
Enjoy the Ultimate Sound !!!
Credits:-
All Credits goes to ARISE TEAM AND ITS DEVS ..m just sharing their works making it easier to install
The original thread link :- here
AFH LINK :- Magnup Opus™
Put Ur buds in and enjoy The Magic of Sound
Kk
Can it will be able to be installed using magisk?
sauvik kumar said:
Can it will be able to be installed using magisk?
Click to expand...
Click to collapse
Yup bro ...u can use its magisk module ...
If you are someone like me who encountered countless problems while installing Viper4Android on your Android 10 or 11 device and have no idea what to do then you are in the right place. Just download and install the apk from the attachment below.
You need to be rooted with magisk but you can still give it a try if you don't have magisk on your device.
Steps -
* Disable MusicFX or any other sound mod you are using either from Setting/App Manager/Apps or by installing Ainur Narsil magisk module
* Reboot
* Now remove Ainur Narsil magisk module from magisk and install Audio Modification Library (This is required in case you have leftovers from last sound mod)
* Reboot
* Now download the app from the attachment
* Install and open the apk. The app will ask you to install drivers. HIT OK
* The phone will automatically reboot and install Viper4Android magisk module
* Open the app and check. It should be working by now.
If it doesn't work -
* Install Audio Compatibility Patch magisk module. By now you will have two magisk module installed. (Audio Modification Library and Audio Compatibility Patch)
* Reboot
* Open the app. It should work now
* Still no? - Turn on legacy mode from app setting
* Still no? - Turn on compatibility mode from app setting
V4A should totally work by now
Edit : On one plus phones you need to change your seLinux mode to permissive first and then install viper4android.
Use seLinux Mode Changer for that.
Edit: All files are attached at the bottom of the post
Edit 2 -
If none of the above solution is working for you.
Download Viper4Andrpid app from here
Download latest Magisk 21.4 from here
- Flash magisk from recovery
- Then open the Viper4Andrpid app and it'll ask you to update the drivers (or won't, depending on if you already have the drivers installed)
- If phone reboots then open the app again and turn on legacy mode from options
- If phone doesn't reboot, go to options and turn on legacy mode
It should be working now
Edit 3-
If the above two methods don't work and you have enforcing SELinux, try this.
• Disable MusicFX
• Install magisk 22.1
• Install Ainur Narsil magisk module
• Reboot
• Go to magisk and remove Ainur Narsil magisk module
• Download Viper4Android 2.7.2.1 from here
• Open it. It will ask you to install drivers. Click Ok and the phone will reboot. Don't panic.
• Open Viper4Android. Turn on Legacy mode. You will see the Viper4Android app icon on your status bar.
• Go to magisk. Install Audio Modification Library magisk module.
• Reboot
• Go to magisk again and install Audio Compatibility Patch magisk and select the options mentioned below -
- Patch Audio Policy : Vol- (no)
- Patch method : Vol+ (new logic)
- Remove notification helper : Vol- (no)
- Patch USB policy for USB dacs? : Vol- (no)
- Use lib workaround: Vol- (no)
• Reboot
• Open your music player and play a song to check if Viper4Android works now
• If you have never used V4A before, just turn on Master Limiter and Speaker Optimization
If that fails too -
• Unistall Viper4Android app
• Remove Audio Compatibility patch
• Reboot
• Install Viper4Android app and open it
• Enable Legacy mode from top right
• Play a song from your Music Player and turn on Master Limiter in the Viper4Android app
• Now turn on speaker optimization
If Viper4Android doesn't process in the Youtube app or Spotify, install the Audio Compatibility patch like I mentioned above and reboot
Fix 6:
If none of the methods above works then it's likely you messed up somewhere in the process. Unistall all the modules and Viper4Android.
Download the SeLinuxMode Changer app and set your SELinux to permissive. (If you want that)
App link :
Release v11.0 · MrBIMC/SELinuxModeChanger
updated to the latest libs and tools implemented app shortcuts to quicktoggle between permissive and enforcing modes new icons and notification styles adaptive icons (including shortcuts) for 8.0+ ...
github.com
Reboot and go to the top of the post. Follow the very first method.
Fix 7: (May 11, 2022)
I have added Aosp Soundfx remover and V4a fx 2.7.2.1 in the attachment.
Flash Aosp Soundfx remover
Reboot
Turn on mobile data/wifi
Flash v4a fx 2721
Reboot
Open Viper4Android app and install the drivers (if the app is asking you to install)
Reboot
Edit : If you encounter distorted/buggy/laggy audio, clean install viper4android again. But this time keep Ainur Narsil and Audio Modification Library magisk module installed
In OnePlus devices or OxygenOS roms you might need to install the driver twice or thrice.
Credit -
Team De Witt and Viper Acoustic
I did not create the app. I just found a way to get it working in some complicated Android 10 - 12 roms
Thanks for reading and have a nice day!
Edit 69:
If the audio isn't loud enough, go to master limiter, drag that output gain slider to right(6db).
If it's still not loud enough, turn on playback game control, tap on it and customize gain and threshold to your liking.
For others,you can test Wavelet from Wit,its awesome app,same dev.
thank you very much it worked perfectly
Monkeysss01 said:
thank you very much it worked perfectly
Click to expand...
Click to collapse
Hit thanks if it helped
@ Ryan Cr 7
I've followed all of your steps but still no driver installation. (CR Droid, Oneplus 8 pro)
ichbinsauch said:
@ Ryan Cr 7
I've followed all of your steps but still no driver installation. (CR Droid, Oneplus 8 pro)
Click to expand...
Click to collapse
In one plus phones you need to change your seLinux mode to permissive first and then install viper4android.
RyanCr7 said:
In one plus phones you need to change your seLinux mode to permissive first and then install viper4android.
Click to expand...
Click to collapse
OK, Thanks .
thank you very much it worked perfectly
I'm SOOOOOO CLOSE to getting it working. Followed your instructions to the letter, and I get everything looking good in the driver status EXCEPT for PROCESSING. It's still a no and that's with tweaking compatibility and legacy. Any final tips?? Thanks.
Can confirm this works on the OnePlus 8 Pro running Android 11, on the xxx no limits magisk module. Thanks so much.
drewman521 said:
I'm SOOOOOO CLOSE to getting it working. Followed your instructions to the letter, and I get everything looking good in the driver status EXCEPT for PROCESSING. It's still a no and that's with tweaking compatibility and legacy. Any final tips?? Thanks.
Click to expand...
Click to collapse
Never mind... I got it....
drewman521 said:
I'm SOOOOOO CLOSE to getting it working. Followed your instructions to the letter, and I get everything looking good in the driver status EXCEPT for PROCESSING. It's still a no and that's with tweaking compatibility and legacy. Any final tips?? Thanks.
Click to expand...
Click to collapse
For some phones you need to change SeLinux to permissive to get V4A to work.
But changing seLinux to permissive is unhealthy for your phone cause it might open backdoor for some apps to take advantage of your root access.
I am updating the app and magisk now. Come back here 30 minutes later and see if the new solution works.
not working on my google pixel 3 xl android 11. installed both Audio patch and still no luck
Evender99 said:
not working on my google pixel 3 xl android 11. installed both Audio patch and still no luck
Click to expand...
Click to collapse
Play a song in your device music player.
Then open Viper4Android app, Go to that CPU lookalike icon on the top right, it will show you the driver status.
Take a screenshot and share it here.
Don't forget to keep the music player running while taking the screenshot.
Not working on OnePlus 7t Pro on Oxygen OS 11 Beta 2, set selinux to permissive, and followed all steps... Any suggestions?
L4WL13T said:
Not working on OnePlus 7t Pro on Oxygen OS 11 Beta 2, set selinux to permissive, and followed all steps... Any suggestions?
Click to expand...
Click to collapse
Have you tried the second apk and magisk?
Is one plus 7t pro and 7 pro similar?
Cause a few days ago I've set up Viper using this method on 7 pro A11 OOS beta.
RyanCr7 said:
Have you tried the second apk and magisk?
Is one plus 7t pro and 7 pro similar?
Cause a few days ago I've set up Viper using this method on 7 pro A11 OOS beta.
Click to expand...
Click to collapse
Just gave it a go, and still no luck
I'm not too sure on the differences between the two devices, though I wouldn't imagine they'd be vast. Once OOS11 comes out of beta I intend on doing a clean install, so perhaps then is the time to give this another shot.
L4WL13T said:
Just gave it a go, and still no luck
I'm not too sure on the differences between the two devices, though I wouldn't imagine they'd be vast. Once OOS11 comes out of beta I intend on doing a clean install, so perhaps then is the time to give this another shot.
Click to expand...
Click to collapse
Sorry it didn't work. Does your rom comes with a pre-installed equalizer/sound system like Dolby?
You guys should just flash the magisk viper 2.7.2 module it usually works and if it doesn't flash the other sound mods and audio sound mod lib. I found that trick back in oreo. However the samsung oneui devices are the hardest because they only come with enforcing kernel unless a dev makes a permissive kernel. I prefer 2.3.4 with the super driver but you have to have a permissive kernel on samsung. You also need to have busybox installed in magisk. With android 11 one ui 3.1 on samsung you need to use legacy mode again unless you have a permissive kernel than just busybox and viper 4.4 module installed with 2.3.4 as a user app that's my favorite. Right now I'm stuck on 2.7.2 because no permissive kernel for oneui 3.1 yet
Perfect, thanks for sharing.