[APP] [FIX] 100% working Viper4Android for Android 10-11-12 devices

Search This thread

xiv7

Member
Aug 6, 2020
6
0
I have a problem, Viper4Android runs ONLY if i setenforce 0 in Termux but other apps (like Pokemon GO) doesn't work if setenforce 0. Any solution for Viper without setenforce 0?
 

EL Rain

Member
Mar 25, 2019
14
10
ASUS ROG Phone 5
Friend, I did everything according to the instructions, installed AML and Viper, replaced the post-fs-data.sh file after installing the drivers with Viper. When you try to start Viper, he still offers to install the driver. Asus Rog Phone 5s 12 android :(
 

scorpio76r

Senior Member
Jan 10, 2016
1,444
524
All over like street lights
Друг, все сделал по инструкции, установил AML и Viper, заменил файл post-fs-data.sh после установки драйверов с Viper. При попытке запустить Viper он все равно предлагает установить драйвера. Телефон Asus Rog phone 5s 12 андроид:(
English please.
 

EL Rain

Member
Mar 25, 2019
14
10
ASUS ROG Phone 5
Ok, after some more look around, i have found solution for Android 12/12.1 for OnePlus 8T
Probably will work for ALL :)

This is original Viper4Android APK, it's also the MagiSK module!
steps to do:
1) in magisk Uninstall all sound modules!!!
2 )restart to clean them,
3) make sure you dont have viper4android still installed. if you do, uninstall it.
4) install attached Audio-Modification-Library_v4_0-OS12 from magisk modules section.
5) install attached APK it's ORIGINAL by original devs. nothing changed.
6) open viper app (give root perm!) and click ok to install drivers, phone will reboot!
7) copy post-fs-data.sh to sdcard root
8) using adb shell, connect to your device, (or use some rooted file manager to copy the file to folder and skip to restart part.)
9) type su (to gain root perms)
10) cd /data/adb/modules/ViPER4AndroidFX
11) cp /sdcard/post-fs-data.sh .
12) restart
13) open viper app, and in settings tick Legacy mode.

Thats IT!!! it's ON and can process!

Enjoy! :) from Dori with love.
I followed this instruction
 

EL Rain

Member
Mar 25, 2019
14
10
ASUS ROG Phone 5
Hooray, it worked!
Deleted all mods and started over. , Installed Flash Aosp Soundfx remover, rebooted. Installed
Flash v4a fx 2721, rebooted, launched, agreed to install drivers, rebooted. Installed audio modification library. Previously, I also had se linus switcher installed. And I almost lost hope..
And it worked! Viper works!
Asus Rog phone 5s, 12 android.
Thank you very much!
 
  • Like
Reactions: Chocolatetrain
Dec 21, 2020
9
0
dude.. i need help
i use Samsung Galaxy A50 and CRDroid Custom ROM,
i have installed Viper4Android. when i use loud speaker. it worked very well, but when i play with my earphone plugged in.. driver status said processing : no

can you guys help me please?? thanks.. pardon my english :)
 

Attachments

  • photo_2022-06-27_23-04-06.jpg
    photo_2022-06-27_23-04-06.jpg
    34.4 KB · Views: 46
  • photo_2022-06-27_23-04-00.jpg
    photo_2022-06-27_23-04-00.jpg
    44.8 KB · Views: 46

yoruuba2

Senior Member
Nov 28, 2015
55
11
How do I get DDC, profiles, and Kernel to work on OP6T running the latest LOS 19.1 nightly?
I have all the files saved in the correct location from previous installs, but they are not loading up.
Is there a new location beside "com. pittvandewitt....." folder?
 

zgfg

Senior Member
Oct 10, 2016
7,637
5,044
How do I get DDC, profiles, and Kernel to work on OP6T running the latest LOS 19.1 nightly?
I have all the files saved in the correct location from previous installs, but they are not loading up.
Is there a new location beside "com. pittvandewitt....." folder?
Folder for V4A 2.7.2.1 on Internal memory:
/Android/data/com.pittvandewitt.viperfx/files

See also the screenshot
 

Attachments

  • IMG_20220630_141053.jpg
    IMG_20220630_141053.jpg
    81.4 KB · Views: 28

yoruuba2

Senior Member
Nov 28, 2015
55
11
Folder for V4A 2.7.2.1 on Internal memory:
/Android/data/com.pittvandewitt.viperfx/files

See also the screenshot
Thanks.

My Android/data folder does not have viper folder. It's actually empty
When I try to create a folder using MiXplorer, or move a folder from root it fails
 

zgfg

Senior Member
Oct 10, 2016
7,637
5,044
Thanks.

My Android/data folder does not have viper folder. It's actually empty
When I try to create a folder using MiXplorer, or move a folder from root it fails
/Android/data folder cannot be empty, tens and tens of apps keep the stuff there - in my case, over 120 system and user apps on one phone and over 130 on my other phone!!!

With ls command from Terminal
(or from File Manager in TWRP) you will see many subfolders there

Two of my screenshots below are also from MiXPlorer, but by using a build that can read /Android folder on Internal memory, on A11+ - there is a thread on XDA for MiXPlirer and that used to be debated there
 

Attachments

  • Screenshot_2022-06-30-23-32-20-711_com.offsec.nhterm.jpg
    Screenshot_2022-06-30-23-32-20-711_com.offsec.nhterm.jpg
    517.5 KB · Views: 30
  • IMG_20220630_234332.jpg
    IMG_20220630_234332.jpg
    111 KB · Views: 30
  • IMG_20220630_234256.jpg
    IMG_20220630_234256.jpg
    336.4 KB · Views: 29
  • IMG_20220630_234420.jpg
    IMG_20220630_234420.jpg
    270.4 KB · Views: 27
  • IMG_20220701_001150.jpg
    IMG_20220701_001150.jpg
    164.5 KB · Views: 25
Last edited:

Meisterchef

Member
Jan 29, 2018
24
4
God damn guys. Don't mess with selinux. What is that?
You don't need extra modules.

1. use any explorer with root and locate
Code:
/data/adb/modules/ViPER4AndroidFX/post-fs-data.sh
2. add this
Code:
magiskpolicy --live 'allow audioserver audioserver_tmpfs file { read write execute }'
magiskpolicy --live 'allow audioserver system_file file { execmod }'
magiskpolicy --live 'allow mediaserver mediaserver_tmpfs file { read write execute }'
magiskpolicy --live 'allow mediaserver system_file file { execmod }'
magiskpolicy --live 'allow audioserver unlabeled file { read write execute open getattr }'
magiskpolicy --live 'allow hal_audio_default hal_audio_default process { execmem }'
magiskpolicy --live 'allow hal_audio_default hal_audio_default_tmpfs file { execute }'
magiskpolicy --live 'allow hal_audio_default audio_data_file dir { search }'
magiskpolicy --live 'allow app app_data_file file { execute_no_trans }'
magiskpolicy --live 'allow mtk_hal_audio mtk_hal_audio_tmpfs file { execute }'
3. save and reboot. open v4a, toggle legacy mode and it should work. It worked for me on overbloated miui so it should work for you

Hey @dorimanx glad to read your name. Used your kernel for LG G2. How time passes :') Hope u doing good
 
Last edited:

yoruuba2

Senior Member
Nov 28, 2015
55
11
God damn guys. Don't mess with selinux. What is that?
You don't need extra modules.

1. use any explorer with root and locate
Code:
/data/adb/modules/ViPER4AndroidFX/post-fs-data.sh
2. add this
Code:
magiskpolicy --live 'allow audioserver audioserver_tmpfs file { read write execute }'
magiskpolicy --live 'allow audioserver system_file file { execmod }'
magiskpolicy --live 'allow mediaserver mediaserver_tmpfs file { read write execute }'
magiskpolicy --live 'allow mediaserver system_file file { execmod }'
magiskpolicy --live 'allow audioserver unlabeled file { read write execute open getattr }'
magiskpolicy --live 'allow hal_audio_default hal_audio_default process { execmem }'
magiskpolicy --live 'allow hal_audio_default hal_audio_default_tmpfs file { execute }'
magiskpolicy --live 'allow hal_audio_default audio_data_file dir { search }'
magiskpolicy --live 'allow app app_data_file file { execute_no_trans }'
magiskpolicy --live 'allow mtk_hal_audio mtk_hal_audio_tmpfs file { execute }'
3. save and reboot. open v4a, toggle legacy mode and it should work. It worked for me on overbloated miui so it should work for you

Hey @dorimanx glad to read your name. Used your kernel for LG G2. How time passes :') Hope u doing good
For whatever reason that folder is empty 0kb. All my apps including banking are working fine.

V4A works but the only problem is setting up the profiles.

I guess at some point in time I will do a factory reset and start with a fresh install.
 

Meisterchef

Member
Jan 29, 2018
24
4
For whatever reason that folder is empty 0kb. All my apps including banking are working fine.

V4A works but the only problem is setting up the profiles.

I guess at some point in time I will do a factory reset and start with a fresh install.
Mmh. If you use magisk it shouldn't be empty.
Screenshot_20220701-095812_Trebuchet.png


Yesterday I discovered an updated v4a with magiskpolicy etc etc included.
Maybe this could help somebody
 

zgfg

Senior Member
Oct 10, 2016
7,637
5,044

Attachments

  • IMG_20220701_101644.jpg
    IMG_20220701_101644.jpg
    233 KB · Views: 16
  • IMG_20220701_102035.jpg
    IMG_20220701_102035.jpg
    102.3 KB · Views: 14

sachinachude

Member
Aug 9, 2020
8
0
Not working on Nokia 2.3 Android 11. I have tried selinux enforcing method correctly but unfortunately not working.
 

Attachments

  • Screenshot_20220720-202617.png
    Screenshot_20220720-202617.png
    112 KB · Views: 13

Top Liked Posts

  • There are no posts matching your filters.
  • 56
    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 :

    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.
    5
    Ok, after some more look around, i have found solution for Android 12/12.1 for OnePlus 8T
    Probably will work for ALL :)

    This is original Viper4Android APK, it's also the MagiSK module!
    steps to do:
    1) in magisk Uninstall all sound modules!!!
    2 )restart to clean them,
    3) make sure you dont have viper4android still installed. if you do, uninstall it.
    4) install attached Audio-Modification-Library_v4_0-OS12 from magisk modules section.
    5) install attached APK it's ORIGINAL by original devs. nothing changed.
    6) open viper app (give root perm!) and click ok to install drivers, phone will reboot!
    7) copy post-fs-data.sh to sdcard root
    8) using adb shell, connect to your device, (or use some rooted file manager to copy the file to folder and skip to restart part.)
    9) type su (to gain root perms)
    10) cd /data/adb/modules/ViPER4AndroidFX
    11) cp /sdcard/post-fs-data.sh .
    12) restart
    13) open viper app, and in settings tick Legacy mode.

    Thats IT!!! it's ON and can process!

    Enjoy! :) from Dori with love.
    4
    For others,you can test Wavelet from Wit,its awesome app,same dev.
    3
    thank you very much it worked perfectly
    Hit thanks if it helped ☺️
    3
    @ Ryan Cr 7



    I've followed all of your steps but still no driver installation. (CR Droid, Oneplus 8 pro)