[HELP] Install Viper4Android to ZTE nubia Z7 Max Stock LP

Search This thread

pnin

Senior Member
Aug 26, 2010
395
150
LG G Pad 8.3
ZTE Axon 7
ViPER's Audio @ http://vipersaudio.com/blog/?page_id=11 said:
SdxMUac.png


XDA Thread: http://forum.xda-developers.com/showthread.php?t=2191223

ViPER’s Audio is an audio enhancing software to provide everyone with better audio experiences in various platforms such as smartphones and PCs.

ViPER’s Audio is founded by Euphy Wong (known as ViPER520). ViPER’s Audio has been a popular audio mod in China. Co-founder Jasper Loo (known as zhuhang) extended its popularity globally through xda-developers forum. It has now gained fame and stand its ground in the audio mod field.


This is my personal walkthrough for Viper4Android (V4A) installation, after [THREAD="3108822"]upgrading a ZTE Nubia Z7 Max to the stock Lollipop ROM v3.09[/THREAD].

Most info here was scrapped from "[THREAD="2191223"][APP] Official ViPER4Android Audio Effects (FX v2.3.4.0) - Lollipop support and more![/THREAD]".

At first I just installed as usual (sideloaded) the V4A APK I got inside the ZIP downloaded (there are two versions, use the one with the name ending in "A4.x.apk", the other one is for old Androids; see quote above for links). Also as usual, when you open the App, it will ask permission for a driver installation (so ROOT is required for this) and to reboot, after which if you check the "Driver Status" from its 3-dot-menu, you'll get a square toast stating "Abnormal" and "Unsupported".

What you need to do to solve this is:
  1. Make sure your device is rooted and has busibox installed;
    (if you're unsure about any of this terms, research them first and come back only after you fully understand them)
  2. Do a fresh install of 'ViPER4Android_FX_A4.x.apk' but don't run it;
  3. Using a file manager App, locate V4A installation folder (probably '/data/app/com.vipercn.viper4android/') and move it to '/system/priv-app/';
  4. Reboot;
  5. V4A will now be installed as a system App, so just open it and agree to have its driver installed;
  6. Reboot;
  7. Open V4A again and check the "Driver Status" from its 3-dot-menu (it'll still say "Abnormal" and "Unsupported");
  8. This is caused by SELinux security being enforced, if you don't care about it, you could just open a terminal App and type the following command to deactivate it (you'll need to do this after every reboot):
    Code:
    su
    set enforce 0
  9. If you want to preserve SELinux security, you'll have to copy the lines below to a script with the appropriate permissions (755) and place in '/system/etc/init.d/' to make it stick upon rebooting:
    Code:
    #!/system/bin/sh
    /system/xbin/supolicy --live "allow mediaserver mediaserver_tmpfs:file { read write execute };"
  10. Unfortunately, this won't be enough, because the stock Z7 Max doesn't execute Init scripts, but you can solve this with a free OSS App like [THREAD="2986129"]Kernel Adiutor[/THREAD], which will run your startup scripts after being set to emulate Init.d (look under the "hamburger" menu).
  11. Lastly, and for good measure, edit your 'build.prop' file (above mentioned Kernel Adiutor can make a backup and edit, too) and change/add the following keys:
    • tunnel.decode=false
    • lpa.use-stagefright=false
    • lpa.releaselock=false
    • lpa.decode=false

      EDIT: if you get Bluetooth problems or intermittent silences, try adding "ro.bluetooth.request.master=true" as well (appears to work, found here).

If you open V4A after doing 8. or 9., you should be rewarded by the "Driver Status" changing to "Normal" and "Supported".

Beware, though, that audio Apps will default to routing through the Dolby Digital Plus system audio processor unless you disable it (top right corner button).


V4A Normal Driver Status Display:

t4u7eX5.jpg
 
Last edited:
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