- Jan 7, 2013
Attached are the latest updated zips.
How do I install Viper???
Go into recovery and flash the zip. It will take care of most of the steps for you. Upon your first launch of the app you will be prompted to install drivers of your choosing then be prompted for a reboot. If coming from a previous version of Viper or you have any other sound mods I fully recommend uninstalling them. Then go into recovery and flash your ROM and the zip in one session.
Well what drivers do I use???
I recommend Super Audio quality. It uses a higher sampling rate which can be thought of as like a megapixel on a camera. More sample information equals cleaner signal but your files must be equal to or better than the driver sampling rate. I find the highs to be much cleaner and have less distortion with Super Audio. While the prompt warns about extra battery usage, testing with Better Battery Stats for me has shown the effect on battery life to be minimal. You will get higher drain using the Convolver then by choosing a higher quality driver.
Well what is Convolver and how do I use it???
Convolver will play a real time sample of an effect or eq as the sound is being processed. You can get really awesome effects from some of the irs samples but they come at a high price of battery usage. Using this setting doubled battery life usage for me on even conservative kernel governors. To enable you must go to the menu and enable Moderate or Expert UI, then press the button to enable Convolver and press Impulse Response, this will create a ViPER4Android folder on your SD card and within that you will have a folder named Kernel. This is where you will put your Irs Samples you download. You can find links to Irs packs here: http://forum.xda-developers.com/showthread.php?t=2216193 PS......I've found that not all samples in all the packs work correctly and some will give no sound change.
HAAAAALP! This stoopit mod is killing my battery!!!
No it isn't. Unless you're using Convolver after being warned about it's effect on battery you should see little to no difference in daily use of getting notifications, texts, etc. I get about 6% an hour battery usage during music playback while streaming over bluetooth. If you're using a wired headset it should be less than that. I have never not even once seen Viper pop up on my stock battery stats and have only seen it as <1% on GSam after a full charge. Compatibility mode can be used as a last resort and final option if you're determined to call me a liar. Steps to enable it are outlined below.
This hack is ballz...I know wantz no mo???
To completely remove the changes done by my install zips you will need to do a manual wipe of system/davlik/cache to get rid of everything and then reflash ROM/Gapps/Mods. Reflashing your ROM without a manual wipe will not remove anything do to the addon.d scripts added so the zip will survive dirty flashes.
Why put the app in priv-app???
This will help to insure that Viper doesn't get killed by Android OOM to keep the sweet sound pumping into your ears!!!
My Viper isn't working!!!
Did you install by flashing the zip??? Is your apk in priv-app??? Do you have any other conflicting sound mods or eq's??? Is Viper enabled and you have installed the drivers and done a reboot??? Have you put SELinux into permissive mode???
Some people have luck adding or changing these lines in their build.prop:
Also some music players work better by switching to Compatibility Mode. To do that go to menu, click FX Compatible Mode, then click Compatible. Doing this should cause Viper to only modify media players instead of changing sound system wide. Some users say this helps with battery usage as Viper will only process sound when you want it to.
Still stuck? There is tons of helpful information in this thread that you can find by helping yourself click that "Search this thread" function towards the top right of your screen. Still stuck after that....ask away!
Wanted to say thanks to @rootSU and @FlyinGrub for lending a helping hand, @FuMMoD for posting updates to the Viper apk and libs, @davwman for getting this thread started, @Hid3rs for the Material Design framework, @chdloc for the awesome Stereo mix, @Spasticdroid for the audio_policy editing script, @Alex240188 for the material design Viper 126.96.36.199 apk, @//.dax for the sweet new icon. And of course the awesome Viper team for creating Viper. I refuse to run my phone without it!
Here is a link to the official thread for more information: http://forum.xda-developers.com/showthread.php?t=2191223
!!!!!!LOLLIPOP USERS!!!!!!!! You NO LONGER need a full permissive kernel to get Viper working as long as you use SuperSU. To test your kernel open Google Play Music and play a track. If you get a "couldn't play stream requested message" you need to download this app http://forum.xda-developers.com/showthread.php?t=2524485] and set it to PERMISSIVE mode, find yourself a full permisssive kernel, or switch to SuperSU. Enjoy!!!!
LolliViPER.zip will install Viper to priv-app and remove Audio FX, DSP Manager, and Music FX. It will also edit the audio_policy.conf for added app compatibility and add a script to allow Viper to work with SELinux enforcing with SuperSU. ***BONUS for ROMs with addon.d support-the zip will place a script into addon.d that will automatically backup and restore everything changed by the zip on dirty flashes eliminating the need to flash every update so long as you do not do a manual system wipe.***
LolliViPERsurROUND.zip will install Viper to priv-app and remove Audio FX, DSP Manager, and Music FX, and change the mixer path to enable the earpiece as a second speaker for stereo sound. It will also edit the audio_policy.conf for added app compatibility and add a script to allow Viper to work with SELinux enforcing with SuperSU. ***BONUS for ROMs with addon.d support-the zip will place a script into addon.d that will automatically backup and restore everything changed by the zip on dirty flashes eliminating the need to flash every update so long as you do not do a manual system wipe.*** !!!!!THIS MAY CAUSE BOOTLOOPS ON DEVICES OTHER THAN THE NEXUS 5!!!!!
5.1.x stock ROM users may need to remove system apps for the install to work. Google filled the system partition to the brim with little to no room left for installation.
The apk in all these zips use the Material Design Framework and may not install on devices lower than 5.0.