TechBiiTechBii
  • Android
  • Computer Tips
  • How To Guides
  • SEO
  • WordPress
  • Content Writing
  • Tech News
Search
Categories
Reading: Make ViPER4Android Work on any Marshmallow Device: SELinux Permissive Fix
Share
Font ResizerAa
TechBiiTechBii
Font ResizerAa
Search
Follow US
Android

Make ViPER4Android Work on any Marshmallow Device: SELinux Permissive Fix

Sidharth
Last updated: February 24, 2025 2:47 pm
Sidharth
Published November 18, 2016
Share
5 Min Read

Here’s how you can install ViPER4Android on your Android phone running on Marshmallow or above. Change the SELinux policy from Enforcing to Permissive and enable ViPER4Android on your device. Also, fix the common errors while installing V4A like abnormal driver status, no processing, etc.

One of the biggest security changes Android implemented when it got updated from Lollipop to Marshmallow is its SELinux policy. Security-Enhanced Linux (SELinux) is nothing but an access control mechanism which facilitates security policies. If you were using ViPER4Android on your Lollipop device, you might have noticed that the audio mod didn’t seem to work perfectly as it did before after the Marshmallow update.

I have been using CyanogenMod ROMs ever since I got my first Android device. Redmi 3S Prime, being my first Xiaomi mobile, uses MIUI which is known for its memory consumption and bloated apps. CM ROMs had the capability of changing SELinux status from Enforcing to Permissive or vice versa. But I got trapped when I tried to change the same on my MIUI.

Read:[APK] Fingerprint Gestures: Activate Custom Fingerprint Gestures on Any Device

I needed ViPER4Android to work on my MIUI which is based on Marshmallow 6. But as it needs Permissive SELinux policy to work on Marshmallow and above, I started to search for how to change the SELinux option from Enforcing to Permissive. After tons of searching, I finally found a fix that can be used to run ViPER4Android on any devices running on Marshmallow or above.

If ViPER4Android keeps asking to install the driver or you get the driver not installed issue, you can easily fix those errors using this method. In case you get a BusyBox broken message or an Instal Failed BusyBox alert, you need to re-install the BusyBox on your device first. This tutorial is for those who installed ViPER4Android on Marshmallow and doesn’t work because of the SELinux Enforcing issue. If you’re getting no processing driver status, you can also try this method.

Change SELinux to Permissive and make ViPER4Android Work on any Marshmallow Device

  1. ViPER4Android itself needs root access. So there’s no point in saying that your device must have root privileges.
  2. Get ViPER4Android’s latest APK from here and install it on your Marshmallow device.
  3. Now open it and let it install the driver for your device.
  4. Once you get the install complete message, simply reboot the phone.
  5. After bootup, Install the Terminal Emulator App from here and install it on your phone.
  6. Open it and perform the following commands one after one

su

setenforce 0

viper4android marshmallow

Close the terminal and check the driver status on the ViPER4Android app, it should display like this.

The Enable & Processing status will automatically change to Yes once you activate the master power option and start playing music on your headphones/speaker. If this method doesn’t work for you, you can flash the ViPER4Android Marshmallow ZIP file. It changes the SELinux from Enforcing to Permissive.

Read: How to Enable 2-Step Verification on WhatsApp Number

NOTE

  1. You need to execute these commands after every hard reboot of your phone. Otherwise, it’d automatically set back the Enforcing policy. Not a big deal, though. Chill.
  2. I tried with the SELinux mode changer to set it to Permissive and it returned the “Unable to Gain Root Access” error.
  3. If you get ViPER4Android driver status as abnormal, try disabling the default audio enhancer/equalizer such as disabling AudioFX.

This method of changing the SELinux policy from Enforcing to Permissive to activate ViPER4Android should work on all Marshmallow devices. In case you’re having trouble with CM13 or CM14, let me know via comments.

TAGGED:android
Share This Article
Facebook Pinterest Whatsapp Whatsapp LinkedIn Reddit Telegram Threads Email Copy Link Print
Share
BySidharth
Follow:
Professional Blogger. Android dev. Audiophile.
Previous Article The Comprehensive Guide to Choosing SSL Certificate for Your Website
Next Article huawei mate 8 emui nougat Huawei Mate 8 EMUI 5.0 : Download & Update Nougat Firmware
12 Comments
  • Rudra Ramya Sree says:
    November 22, 2016 at 2:32 pm

    Hi Sidharth,

    Thanks for sharing information about howto Make ViPER4Android Work on any Marshmallow Device .your guide and thought process about topic is very useful and shareable.

    Reply
    • Sidharth Pk says:
      November 22, 2016 at 4:31 pm

      You’re always welcome

      Reply
  • Eli S. says:
    April 9, 2017 at 2:40 pm

    Dude thank you!! I gave up on Viper when I couldn’t get it to run. Them I found the SELinux changer app and it didn’t work either. Glad I found this!

    Reply
    • Sidharth Pk says:
      April 13, 2017 at 11:35 am

      You’re welcome

      Reply
  • beto_nl says:
    May 31, 2017 at 5:06 pm

    Wow…so easy…
    Thanks a lot

    Reply
    • Sidharth Pk says:
      June 1, 2017 at 8:22 am

      You’re welcome mate.

      Reply
  • Dul32 says:
    August 14, 2017 at 7:18 am

    Wow, it works , thanks dude.

    Reply
    • Sidharth Pk says:
      August 17, 2017 at 9:42 am

      You’re most welcome.

      Reply
      • F@M345 says:
        September 27, 2017 at 7:42 pm

        I have tried this on my samsung galaxy a500h to no avail. Is there something I am not doing?

        Reply
  • ninja says:
    October 15, 2017 at 11:44 am

    Thanks dude,

    Worked well, finally I sacrified

    Reply
    • Sidharth Pk says:
      October 18, 2017 at 9:04 pm

      Glad it worked. Thanks for reporting.

      Reply
  • Sidharth Shet says:
    March 3, 2018 at 11:23 am

    Thanks. Worked fine on Stock Marshmallow 🙂

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

You Might Also Like

How To Root Galaxy Star Duos S5282 - Easy Odin Method
How ToRooting

How To Root Galaxy Star Duos S5282 – Easy Odin Method

July 8, 2024
redmi note 3 lineageos
ROMs

Redmi Note 3 (Kenzo) : Download & Install LineageOS

September 1, 2023
nexus 5x bootloop fix
How ToAndroid

Nexus 5X Bootloop Fix – The Step-by-step DIY Guide

September 2, 2023

Root, Install CWM and Update Galaxy Ace S5830 to KitKat via CM11

February 24, 2025
FacebookLike
XFollow
PinterestPin
LinkedInFollow
  • Contact Us
  • Submit Guest Post
  • Advertisement Opportunities
Copyright © 2012-2024 TechBii. All Rights Reserved
adbanner
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?