[GUIDE][Android 11][Viper4Android] Viper4Android on Android 11 with Selinux Enforcing

Search This thread

MrMuffins5951

Member
Sep 21, 2020
14
5
First of all, I found this solution on Youtube. I spent hours finding a solution through forums because I like reading. I finally gave in and watched a Youtube tutorial. So this guide is for everyone who prefers reading like me.

1. Install Magisk 21.0. As of writing this is not the latest build (21.1). 21.1 does not seem to work with V4A on Android 11.
2. On Magisk Manager, install the module Audio Modification Library. Reboot.
3. On Magisk Manager, install Viper4Android. Reboot.
4. On Viper4Android, a prompt to install drivers will appear. Proceed and install. Device will automatically reboot.
5. On Viper4Android, go to settings and turn on Legacy mode. Driver status now should be Normal and audio format supported.

I am using Poco X3 NFC and Arrow OS. But the solution apparently works on other phones with Android 11.

Credits to munchy. Video can be found here:
.
 
  • Like
Reactions: pnin

yerman

Senior Member
Feb 20, 2010
191
26
newry
First of all, I found this solution on Youtube. I spent hours finding a solution through forums because I like reading. I finally gave in and watched a Youtube tutorial. So this guide is for everyone who prefers reading like me.

1. Install Magisk 21.0. As of writing this is not the latest build (21.1). 21.1 does not seem to work with V4A on Android 11.
2. On Magisk Manager, install the module Audio Modification Library. Reboot.
3. On Magisk Manager, install Viper4Android. Reboot.
4. On Viper4Android, a prompt to install drivers will appear. Proceed and install. Device will automatically reboot.
5. On Viper4Android, go to settings and turn on Legacy mode. Driver status now should be Normal and audio format supported.

I am using Poco X3 NFC and Arrow OS. But the solution apparently works on other phones with Android 11.

Credits to munchy. Video can be found here:
.
thanks, will give it a try
 

Xyberwick012

New member
Jan 5, 2021
2
0
Can someone please help me how to download Viper4android, I have no idea anything about rooting your phone or magisk module, I don't how to install it, can someone please explain it to me step by step what to do
 

pnin

Senior Member
Aug 26, 2010
454
180
LG G Pad 8.3
ZTE Axon 7
Install this archive and nothing else is needed in addition.


I'm on Xiaomi.eu v12.0.7.0. Flashed your ZIP with OFox recovery and got two V4A icons on Trebuchet's drawer.

Tried the first and got the driver error and a reboot after agreeing to have it installed; install failed for lack of root, obviously.

Tried the second icon, got the driver error, agreed, got a proper root prompt, agreed, phone auto-rebooted and everything worked, apparently.

As this is my first encounter of this double icon setup, I'm wondering if this is a feature of newer V4A Team De Witt versions?

20210105_182137.jpg
 

noskojv

Senior Member
Apr 19, 2012
678
646
Russia
I'm on Xiaomi.eu v12.0.7.0. Flashed your ZIP with OFox recovery and got two V4A icons on Trebuchet's drawer.

Tried the first and got the driver error and a reboot after agreeing to have it installed; install failed for lack of root, obviously.

Tried the second icon, got the driver error, agreed, got a proper root prompt, agreed, phone auto-rebooted and everything worked, apparently.

As this is my first encounter of this double icon setup, I'm wondering if this is a feature of newer V4A Team De Witt versions?

View attachment 5178653
It needs to be installed through magisk, not through recovery.
 
  • Like
Reactions: pnin

Sealixerism

New member
  • Apr 8, 2021
    1
    0
    First of all, I found this solution on Youtube. I spent hours finding a solution through forums because I like reading. I finally gave in and watched a Youtube tutorial. So this guide is for everyone who prefers reading like me.

    1. Install Magisk 21.0. As of writing this is not the latest build (21.1). 21.1 does not seem to work with V4A on Android 11.
    2. On Magisk Manager, install the module Audio Modification Library. Reboot.
    3. On Magisk Manager, install Viper4Android. Reboot.
    4. On Viper4Android, a prompt to install drivers will appear. Proceed and install. Device will automatically reboot.
    5. On Viper4Android, go to settings and turn on Legacy mode. Driver status now should be Normal and audio format supported.

    I am using Poco X3 NFC and Arrow OS. But the solution apparently works on other phones with Android 11.

    Credits to munchy. Video can be found here:
    .
    Booom! Working well to me. 10/10 with my mt1 earphone.
     

    Drigio

    Member
    Jan 9, 2015
    7
    3
    another way.... enforcing Android 11 (R)
    1.install busy box (magisk module)
    2.reboot
    3.install viper 2.7.2.1 apk - self reboot
    4. uninstall viper application
    5. install viper 2.7.1.6 apk
    6. enjoy
    I removed all viper related and audio mods from magisk. Uninstalled viper app.
    Before step 1, I installed Audio Modification Library in magisk.
    Did all steps mentioned above. However viper 2.7.1.6 app would force close.
    So I uninstalled it, installed 2.7.2.1 again and turned on "Legacy Mode" in Viper 2.7.2.1 Settings. BOOM!
    It showed NEON enabled and status Normal.
    Can confirm its working on my OP 8T custom rom, Android 11, Magisk 23!
    BTW its a super mod! Thanks to all the devs :) and for the above instructions!

    Hope this helps someone.
     
    • Like
    Reactions: Bornaradusin

    Bornaradusin

    Member
    Dec 13, 2015
    27
    6
    OnePlus 6T
    Oneplus 6t
    DotOs v5.1
    Magisk v23

    Firstly installed busybox module, reboot, audio modification library, reboot, installed viper apk 2.7.2.1 and inatalled the drivers and let it reboot. After i needed to install app 2.7.1.6 even tho it is force closing because then when i install back 2.7.2.1 legacy mode works, without installing 2.7.1.6 and going back it is always status: abnormal

    Thanks all very much for your research!
     

    Madfr59

    Member
    Jun 14, 2019
    5
    3
    Maybe this post will help someone lost like i was... :

    (I have a OnePlus 7 Pro, Android 11, and Magisk v23.)

    - V4A was "Abnormal"
    - With the "Permissive SELinux mod" -> No SIM Cards !

    Then, I just installed the V4A FX from Magisk repo.
    -> Nothing else ! (No Audio Compatibility Patch, Audio Modification Library, or other mods.)

    Launch V4A -> Install Drivers -> Reboot.

    With a Root Explorer, find this file :

    /data/adb/modules/ViPER4AndroidFX/post-fs-data.sh

    add these lines in the file :

    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 }'

    Reboot -> V4A Settings -> Legacy Mode !

    Fully working V4A on Enforced Android 11 :)
     
    • Like
    Reactions: pnin

    pihpih95

    Senior Member
  • Aug 23, 2016
    250
    20
    Kuala Terengganu
    for mojito , redmi note 10 user , with pe+ 11 rom ,
    1.first disable musicfx app in system ,
    2.install busybox magisk , reboot ,
    3. install audio modification library , reboot
    4. install viper in magisk ver 2.7.2 , then install driver then reboot
    5. remove viper app , install viper 2.7.1.6 by Baim alif
    , app will be force close as Drigio mentioned, then reinstall viper 2.7.2 app , walla it is working now
     

    Top Liked Posts

    • There are no posts matching your filters.
    • 1
      Maybe this post will help someone lost like i was... :

      (I have a OnePlus 7 Pro, Android 11, and Magisk v23.)

      - V4A was "Abnormal"
      - With the "Permissive SELinux mod" -> No SIM Cards !

      Then, I just installed the V4A FX from Magisk repo.
      -> Nothing else ! (No Audio Compatibility Patch, Audio Modification Library, or other mods.)

      Launch V4A -> Install Drivers -> Reboot.

      With a Root Explorer, find this file :

      /data/adb/modules/ViPER4AndroidFX/post-fs-data.sh

      add these lines in the file :

      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 }'

      Reboot -> V4A Settings -> Legacy Mode !

      Fully working V4A on Enforced Android 11 :)
    • 5
      ViPER4Android 2.7.1.6
      Install this archive and nothing else is needed in addition.
      For android 10 / 11.
      2
      another way.... enforcing Android 11 (R)
      1.install busy box (magisk module)
      2.reboot
      3.install viper 2.7.2.1 apk - self reboot
      4. uninstall viper application
      5. install viper 2.7.1.6 apk
      6. enjoy
      1
      First of all, I found this solution on Youtube. I spent hours finding a solution through forums because I like reading. I finally gave in and watched a Youtube tutorial. So this guide is for everyone who prefers reading like me.

      1. Install Magisk 21.0. As of writing this is not the latest build (21.1). 21.1 does not seem to work with V4A on Android 11.
      2. On Magisk Manager, install the module Audio Modification Library. Reboot.
      3. On Magisk Manager, install Viper4Android. Reboot.
      4. On Viper4Android, a prompt to install drivers will appear. Proceed and install. Device will automatically reboot.
      5. On Viper4Android, go to settings and turn on Legacy mode. Driver status now should be Normal and audio format supported.

      I am using Poco X3 NFC and Arrow OS. But the solution apparently works on other phones with Android 11.

      Credits to munchy. Video can be found here:
      .
      1
      I'm on Xiaomi.eu v12.0.7.0. Flashed your ZIP with OFox recovery and got two V4A icons on Trebuchet's drawer.

      Tried the first and got the driver error and a reboot after agreeing to have it installed; install failed for lack of root, obviously.

      Tried the second icon, got the driver error, agreed, got a proper root prompt, agreed, phone auto-rebooted and everything worked, apparently.

      As this is my first encounter of this double icon setup, I'm wondering if this is a feature of newer V4A Team De Witt versions?

      View attachment 5178653
      It needs to be installed through magisk, not through recovery.
      1
      Will it be easy to revert?
      Yes
    Our Apps
    Get our official app!
    The best way to access XDA on your phone
    Nav Gestures
    Add swipe gestures to any Android
    One Handed Mode
    Eases uses one hand with your phone