Viper4Android Working on S6 Edge (Root)

Alarand

Senior Member
May 10, 2013
497
148
0
What is a a full uninstall Alarand? I uninstalled the v4a from it's system app position with rom toolbox lite. Then I rebooted. Then I installed the apk, and it showed up in the data folder. But when I went into the driver status I get the abnormal status and neon not enabled.

Also, when I extract the Audio_effect.conf zip I've been using the file called "audio_effect.conf" and not the .bak version.
The .bak version is the stock conf file if you ever want to restore it to stock. It's just named that so you know it's the unmodified file.

Did you uninstall the V4a driver first? That's all I really meant by full uninstall. Might be why it's listed as abnormal

Did you download from somehwere? cos the one on the first page won't install as user app. Care to share your apk please.
I got it off of the V4A website. There are two files in the zip. Make sure you use the A4.x.apk and not the older one.

Website

APK Download link
 
Last edited:

Alarand

Senior Member
May 10, 2013
497
148
0
I can't get NEON to work no matter what. I followed your steps by the letter. It works but no NEON, convuler. Mine is G925F by the way.
Very weird. Maybe it was just a fluke. In Zhuhang's official V4A post he says:
For Samsung devices,
1. Try install V4A as user app instead of system app if the latter failed doesn't work.
2. Use Normal Mode and select V4A FX in Settings>Sound>Music Effects.
3. If don't work, use another player rather than Samsung stock Music.


I'm on Xtrestolite universal rom with the latest ktoonsez kernel. SElinux is set as permissive. Only other thing I can think of is the editing build prop thing Zhuhang mentions (I never had to do this)
3. Modify build.prop (Thanks [email protected])
a. Open up /system/build.prop in text editor using any file explorer with root access.
b. Change the line (If you can’t find these lines, skip this step.)
Ipa.decode=true to lpa.decode=false
tunnel.decode=true to tunnel.decode=false
lpa.use-stagefright=true to lpa.use-stagefright=false


---------- Post added at 03:33 PM ---------- Previous post was at 03:17 PM ----------

Oh, one more thing. Check to see if the lib folder is present inside /data/app/com.vipercn.viper4android and set the com.vipercn folder to 0755 permissions, including all subsets and files before installing the driver/opening the app. I use root explorer so it has that option when setting permissions to include to set the same permissions for all of the contents.

I'm not really sure what's causing it. Just what worked for me.
 
Last edited:

JoeFCaputo113

Senior Member
Feb 2, 2013
6,614
2,850
0
New York
Is anyone getting severe media server drain after installing this?

Also is SE Linux supposed to be set too permissive? And is it supposed to be set to FX Compatible Mode (ON)? Thanks :)
 

tbns

Senior Member
May 30, 2011
423
39
0
I got this installed without problem on a regular S6 T-Mobile running CleanROM 1.1 and StockMOD UniKernel. Does anybody know how to enable ViPER-DDC? I don't see an option for it.
 

whatthefunk

Member
Oct 13, 2008
21
1
0
D.C.
My results for G920V CleanRom:

Followed OP's method using the attached apk and got it to work. Woot!

Then tried Alarand's method to get neon and everything... uninstalled viper driver and deleted apk from system folder, rebooted. Installed APK from Alarand's link, verified lib folder and permissions, rebooted. Opened viper app and installed driver, rebooted. Driver status: abnormal. :(

Reverted to OP method for now. :good:
 

marekjs

Senior Member
May 9, 2008
99
17
0
Is anyone getting severe media server drain after installing this?

Also is SE Linux supposed to be set too permissive? And is it supposed to be set to FX Compatible Mode (ON)? Thanks :)
As far as I see, I can't see any drain.
The SE Linux Enforced.
FX Compatible Mode - Normal.

I run 920F encrypted, then rooted.

Cheers,
Marek
 

scott_0

Senior Member
Jun 21, 2012
1,133
448
0
this is awesome! I flashed V4A through twrp, worked perfectly the first time! forgot just how amazing Viper is

sent from my S6 using tapatalk
 
Last edited:

marekjs

Senior Member
May 9, 2008
99
17
0
Guys, I got it working on S6, but has someone ever trying to get this to Tab S please? I go for the normal installation on Tab S with KK and everything works, but on LP - it doesn't. I try to get the official version, but then the sound crashes (even Google Play Music doesn't like it). I would like to know, if the version attached inside this thread, it works on the Lollipop tablet. My CSC doesn't support LP, but I'm able to change CSC, then update Tab S by Odin and run LP with different CSC. Everything works except Viper4Android :D The driver installation goes properly. I was trying to force the audioconf file to NEON, but no effects as well. Strange, that it works on KK like a champ.
Any suggestions please?

Cheers,
Marek
 

vishaljh

Senior Member
Apr 25, 2005
60
14
0
Hi Mate,

I have tried everything you have mentioned and spent last day trying to sort this out but always getting unsupported. I am on S6 UK.

The only difference I see is in the folder name under data/app. You mentioned folder name as /data/app/com.vipercn.viper4android. Whereas I am seeing a folder name of /data/app/com.vipercn.viper4android_v2-1. I took the latest version from the Viper4Android side as flagged by you. Can you think of anything else I might be doing wrong. Maybe I am using a different version compared to you considering the folder names.

Thanks in anticipation.

I managed to fix it not working on the G920T so it should work for you.

I believe the problem is that copying it into the sys apps folder wont install the lib folder thats normally there when you just install it by tapping the apk.

I did a full uninstall and followed the guide the same but instead of copying the app into the sys app folder, just install it as a user app from the apk file as you normally would and restart before opening the app. Make sure all permissions are set the same as before with the .conf file but the app folder will be in /data/app/com.vipercn.viper4android instead of system/priv-app.

Check to see if the lib folder is present inside /data/app/com.vipercn.viper4android after installing, and set the com.vipercn folder to 0755 permissions, including all subsets and files before opening. I use root explorer so it has that option when setting permissions to include to set the same permissions for all of the contents. Two restarts, one after installing the app and setting permissions, and another after opening the app and installing the driver.

Convolver and VHS+ working now and NEON support labeled as yes. It also allowed me to choose an audio quality for the driver when prompted to install.

 

Vaira

Senior Member
Dec 25, 2010
173
67
0
The method posted by Alarand does definitely NOT work on pingpong rooted device stock kernel (SELinux enforcing)...I can confirm vishaljh's findings.
The method from OP does, though. Although I could not choose the quality and NEON is not supported.

Mabye Alarand should post the kernel (SELinux) state and a link to the viper version he's used to clarify the matter, there must be something different. :)
 
Last edited:

Alarand

Senior Member
May 10, 2013
497
148
0
Hi Mate,

I have tried everything you have mentioned and spent last day trying to sort this out but always getting unsupported. I am on S6 UK.

The only difference I see is in the folder name under data/app. You mentioned folder name as /data/app/com.vipercn.viper4android. Whereas I am seeing a folder name of /data/app/com.vipercn.viper4android_v2-1. I took the latest version from the Viper4Android side as flagged by you. Can you think of anything else I might be doing wrong. Maybe I am using a different version compared to you considering the folder names.

Thanks in anticipation.
Try flashing the zip from this guy's post below, a few people said they couldn't get it working by doing what I did so it's likely something I forgot to mention that got it to work for me.

Make sure you uninstall the current v4a driver and app you have before flashing this one

Here is the latest V4A neon enabled with all the extra files and I've even included a bunch of favorite convolvers that I've collected over the years.

Just download and flash in recovery, no need to move or delete anything.
Link to post

---------- Post added at 10:26 AM ---------- Previous post was at 10:18 AM ----------

The method posted by Alarand does definitely NOT work on pingpong rooted device stock kernel (SELinux enforcing)...I can confirm vishaljh's findings.
The method from OP does, though. Although I could not choose the quality and NEON is not supported.

Mabye Alarand should post the kernel (SELinux) state and a link to the viper version he's used to clarify the matter, there must be something different. :)
My SELinux state is permissive and I've got it to work with the original V4a and the slightly modded one. The only thing I do is ensure that the Lib folder is present next to the APK after installing and set permissions on the folder and actual apk to 0755.

Probably easier to just use the zip though lol although I've installed it multiple times now with no issues

edit: Ohh well with SELinux enforcing/pingpongroot I'm not certain if it'll work. You should still be able to use flashfire to flash the zip though if you don't have custom recovery from bootloader lock
 
Last edited:

vishaljh

Senior Member
Apr 25, 2005
60
14
0
Thanks for your reply guys.

I did download the SELinux changer and tried setting it to permissive with no luck. Maybe it is the pingpong root/stock kernel. Also not sure why the folder I have under data/app was /data/app/com.vipercn.viper4android_v2-1 whereas Alarand did not have "v2-1" in his data/app.

And btw I already tried the link you provided Alarand. No luck there either. Maybe it is the SELinux changer which does not work with Samsung Knox unless you have custom rom.