yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] Slacker101:
Alright, restored stock system and then started over and reapplyed the zip (android N viper from a couple posts back). It definitely kills the in call volume. Volume was normal before reflashing it and then immediately low. Horribly low. Anyone have any ideas how to remedy this? I cannot make calls with Viper due to it, and I really want to use Viper. I just cannot lose the phone portion of my phone.
[Nexus 6P General] bouchigo:
I already mentioned it earlier, you have to modify mixer_paths.xml. There's a thread here that tells you how to modify it if you don't know how [emoji106]
[Nexus 6P General] Slacker101:
I appreciate that. Why would I need to do that all of the sudden though? I'm slightly concerned that it is not necessary for most but it is for me.
[Nexus 6P General] shag_on_e:
I do it too to raise volume for all the outputs.
[Nexus 6P General] :
Viper

I had alot of problems getting Viper installed, nothing would work besides this...https://www.androidfilehost.com/?fid=24651442761498767, flash in recovery, thank DEV here..http://xdaforums.com/android/software/r-s-e-sound-systems-auditory-research-t3379709
[Nexus 6P General] masri1987:
can someone explain to me why we can't simply install V4A as an app and use it normally?

Otherwise most IRS files will not even be detected
[Nexus 6P General] :
Huh??? Leviticus worked perfect, Viper is a bumpin on all players. I ever ripped out the old viper it installed and replaced with new one. There is sometin about combination of certain busy box and the vendor audio config file that you .bak to get Viper installed manually. Nexus 6P is different than other phones because Vendor image is seperate.
[Nexus 6P General] Slacker101:
Wait, what is Leviticus?
[Nexus 6P General] :
Its Viper pretty much...couple posts above is link lol.
[Nexus 6P General] :
Leviticus

Screeny!
[Nexus 6P General] lhoang93:
I'm having trouble. Here is what I have done so far. I've installed viper4android via APK file. The drivers installed in the app successfully and I rebooted. I then moved the audio.effects file out of system/vendor/etc folder. I've disabled musicFX. Viper4android works for my headsets and Bluetooth devices but it doesn't work for my phone speakers. What is wrong?
[Nexus 6P General] lhoang93:
Here is my driver status
[Nexus 6P General] legendkiller321:
I installed V4A on my s7 edge without any problem but in Nexus 6p whenever i open App it ask to install drivers which I already installed.
[Nexus 6P General] joedajoester:
Go to vendor/etc and rename audio _effects.conf

Wanna mention it in this thread as well for visibility. The viper app doesn't properly use permissions on 7.0 Nougat. It constantly throws an I/O error.
[Nexus 6P General] Tkun:
Anyone else having problems installing this on Android N? With just a Viper4Android zip I get an I/O error, with an AtmosViper4Android zip it installs but doesn't actually enable any audio effects (aside from Dolby Atmos). I've deleted audio_effects.conf but that hasn't helped either of these issues.
[Nexus 6P General] Batfink33:
It's because Nougat doesn't allow a permissive boot. Theres zips somewhere (can't remember where) on here which need to be flashed to allow a permissive boot.
[Nexus 6P General] Tkun:
Thanks! That solved my issue. I think these are the links you were referring to. http://xdaforums.com/showpost.php?p=66371718&postcount=7

If anyone else has this issue, just know that I flashed the last two links in recovery (in the order they were posted) and now my phone is permissive. I uninstalled then reinstalled Viper4Android and everything works fine now.
[Nexus 6P General] poboy92:
Did you reboot between each of these zips? I tried all of them, then back into phone and still kept getting I/O error. I am also not using the Atmos version and still continue to get the I/O error even after flashing these zips in recovery.
[Nexus 6P General] Tkun:
I did not reboot between zips. I also have not tried a non-atmos one since my phone's been permissive. So the stock Atmos one definitely works for me, I can't speak for lolliviper or any of the other non-atmos ones. I flashed the Atmos Viper4Android, booted, and opened the app and installed the driver only to find that it didn't work after rebooting. I then uninstalled the driver from the app, went into recovery, and flashed logd_replacement_permissive.zip then add_permissive_boot.zip. I then installed the driver once again from the Viper4Android app, rebooted, and it worked just fine.

Also make sure you enable the storage permission for the Viper4Android app if it isn't already enabled.
[Nexus 6P General] poboy92:
Thanks for the quick reply. I followed as you with the zip flashing. I checked the settings to ensure I have storage permission. Only thing different between us is Atmos vs. the standard Viper4Android. Which is still sunk for me.
[Nexus 6P General] Batfink33:
I had to make use a custom kernel such as Elemental X too. I'm using the Atmos version though.
[Nexus 6P General] poboy92:
I flashed ElementalX and this did not help the I/O error. But I also noticed I cannot uninstall viper...i might need to do that via titanium backup and then try again...yet I have also seen others in different treads having same I/O error.
[Nexus 6P General] EVEDork:
V4A seems to be not playing terribly nice with the latest nougat roms. I hope it gets ironed out.
[Nexus 6P General] 09eric09:
Magisk is all you need.
[Nexus 6P General] poboy92:
I am trying to read on Magisk now. Did you install th efull magisk or the mod only for Viper? I am not sure I am understanding the process.

Do you have it work in 7.0 w/ Magisk?
[Nexus 6P General] 09eric09:
I flashed the magsik 6 zip, then I flashed the magsik SuperSU zip, then the viper4android magsik zip from this thread:

http://xdaforums.com/android/software/mod-magisk-v1-universal-systemless-t3432382

I also set kernel to permissive and changed audio_effects.conf.bak just to be safe.
[Nexus 6P General] poboy92:
Thanks. I already rooted with Nougat. I will need to wait for google to post the files so I can unroot, then root w/ Magsik to try this out...
[Nexus 6P General] 09eric09:
I flashed the magsik version SuperSU over the the regular SuperSU and it worked fine.
[Nexus 6P General] poboy92:
So only the Magisk SU not the actual zip that you said earlier? Or you still did all 3 over regular SU and no issues?
[Nexus 6P General] 09eric09:
All 3 zips over regular su, no issues. In the order I posted.
[Nexus 6P General] poboy92:
Thanks Eric, this worked. Nothing seem to change with SU once I booted up but I have viper installed and it says it is processing..I will do full test tomorrow with my good headphones
[Nexus 6P General] poboy92:
Hey Eric, is there a link to a thread only on Magisk w/ Viper? I am testing now and the driver is saying not processing..so I need to troubleshoot (via Spotify)
[Nexus 6P General] 09eric09:
I don't think so.

---------- Post added at 09:05 PM ---------- Previous post was at 09:02 PM ----------

Did you set the kernel to permissive and rename audio_effects.conf to audio_effects.conf.bak?
[Nexus 6P General] poboy92:
I am set to permissive...I thought I deleted audio_effects (moved to another folder) but it is not moved. Nor can I move it or rename it, even w/ root access to ES File Explorer.
[Nexus 6P General] 09eric09:
Are you on a custom ROM?
[Nexus 6P General] poboy92:
Nope I am stock, only rooted for Viper.
[Nexus 6P General] poboy92:
Well I have no explanation but processing started after a reboot. Audio_effects.conf still exist as well.
[Nexus 6P General] 09eric09:
Weird, I'm on stock and it let me rename the file with es explorer.
[Nexus 6P General] poboy92:
Well my mystery gets deeper. When I reported I was getting driver processing, it's true only via Bluetooth. Wired headsets aren't processing neither is the speaker.

Anyone with thoughts?
[Nexus 6P General] angle409:
Does the universal zip work under ANdroid N?
[Nexus 6P General] therock3181:
I use ARISE Numbers and it's working flawlessly.
[Nexus 6P General] angle409:
Is it single step installation like the universal zip v1 on mm? What install file did you used ?
[Nexus 6P General] therock3181:
Yes flash un twrp numbers version 3.5 and dolby. Super easy.
[Nexus 6P General] angle409:
i flashed it but not working. The driver status keeps saying not processing.
[Nexus 6P General] therock3181:
Have you disable music FX ?

Have you flashed previous V4A before ?
[Nexus 6P General] angle409:
Music

I am not seeing music fx. It's stock rom rooted. Havent installed v4a.
[Nexus 6P General] therock3181:
You have to show system apps in Apps.

Make sure SELINUX is in permissive mode not enforced. V4A will not work. I did not change it on mine. However i have a custom ROM (ElementalX).

You can search XDA for the SELINUX application switcher.
[Nexus 6P General] angle409:
I did all that. still driver status shows not processing. I gave up installing V4A in Nougat now.
[Nexus 6P General] Arcide:
Have you tried to remove the audio_effects.conf file in /system/vendor/etc/ ?

It worked for me after that.

And how are you not seeing music fx?

I'm also on stock and I used titanium backup to freeze it, so try that if you haven't already.
[Nexus 6P General] DorianX:
Hey there! Is this working on final N release?

Thank you in advance
[Nexus 6P General] bouchigo:
If you're using the SuperSu root method by chainfire yes, if you're using Magisk it won't work.

You will have to set SELinux to Permissive as well, otherwise Viper will not process.
[Nexus 6P General] DorianX:
OK thanks, yup I'm using SuperSU Root and also found Permissive script. I'll give a try right now

Enviado desde mi Nexus 7 mediante Tapatalk
[Nexus 6P General] KJW979:
There is a version that works without setting SELinux to permissive, I'm using it and works fine. Can't exactly remember where I picked it up from. Think in a post on guitarhero's viper forum, it has version #6.1.
[Nexus 6P General] bouchigo:
You do need to be in Permissive mode with Nougat. The one you're talking about either removes logd, or replaces logd with a modified logd...or, it runs the supolicy - - live permissive command. Either way, it's running Permissive.
[Nexus 6P General] KJW979:
Ok, if so stand corrected. All I know is works for me without having to download another app or special kernel.
[Nexus 6P General] DorianX:
I tried your .zip and didn't work, so I looked into the file and noticed that latest SuperSU (2.78) place files on other locations and your zip detect it incorrectly Root & Systemless Root. So I edited a little bit and added SELinux Permissive scripts/modded logd into the same .zip and now is working perfectly [emoji3]

If somebody wants my AIO .zip and you are OK if I share it, I will

Enviado desde mi Nexus 6P mediante Tapatalk
[Nexus 6P General] bouchigo:
Actually no, the 2.77 and 2.78 zip file structure is the exact same, the only difference is that the superuser.apk was compiled by CCMT instead of chainfire. It didn't work for you because you didn't have SELinux set to Permissive. My zip will not set SELinux to Permissive on purpose; I let users decide whether they want to do that or not on thier own. That's why I state in my post, and it actually tells you in the text on your phone display when you flash the zip that the mod will not set SELinux to Permissive, and that it won't work if it not set to Permissive.

There's no need to replace logd and then run a script to set to Permissive either, you can simply do it with a script containing the following supolicy command (it's built into chainfire's supolicy):

#!/system/bin/sh

/su/bin/supolicy --live "permissive *"

This would work too:

#!/system/bin/sh

supolicy --live "permissive *"
[Nexus 6P General] DorianX:
This is how your script determinate if the device have Root or Systemless Root:

if [ -f /system/xbin/daemonsu ] || [ -f /system/xbin/su ] || [ -f /system/xbin/sugote ]; then
sh ./tmp/system_root.sh
else
sh ./tmp/system-less_root.sh
fi

And at least on my device none of those files are located on /system/xbin, daemonsu are located in: /su/bin, and su in: /su/bin and /su/xbin, and I didn't find sugote. So my device was determinate as Systemless and didn't work, about SELinux Permissive I saw your post saying that and also in the installation so obviously I did it.

Didn't know about logd, thanks for the tip
[Nexus 6P General] bouchigo:
None of those files will be in /system unless you are running system root (see Side Note). If you are running system-less root then it will ignore the system_root.sh script, and it will run the system-less_root.sh script; if you are running system root, then it will run the system_root.sh script and ignore the system-less_root.sh script.

Since you say your files are located in /su, and not in /system, then it is correct that the zip determined you are running system-less root.

Unless I'm misunderstanding something here, I'm not sure what you are trying to say...If you are running chainfire's SuperSu setup, then those are basically the only two ways to have root (system root and system-less root). What exactly do you mean by "didn't work": Did it not install viper to /system/priv-app, and the script to /su/su.d? Did it not install the viper driver to /system/lib/sounfx? Was it not processing until you went to Permissive?

Side Note: I don't think system root even works on Nougat, it has to be installed as system-less, otherwise your phone won't even boot up. I just left the scripts like that since Marshmallow because system root worked back then, and I was just lazy and didn't want to modify things. I wasn't planning on sharing the file initially, and since leaving the root detection script doesn't really harm anything (it will always detect as system-less root on Nougat), I just left it in there.
[Nexus 6P General] DorianX:
Never mind I was almost asleep last night and didn't noticed a few things like the way is Nougat rooted and how SELinux was set. I just put in a su.d script with:

supolicy --live "permissive *"

And now is working, thanks! [emoji106]

Enviado desde mi Nexus 6P mediante Tapatalk
[Nexus 6P General] Kornafee:
Basically nothing works for me.

I've tried ROMs with viperfx pre-installed - nothing

I've tried reflashing rom, then flashing viperfx package (tried every package i could find, every flashed after cleaning previous /system etc.)

I've tried this method, followed every step on fresh flashed cm13 after removing musicFX app.

Tried executing the script manually, it says that /system/xbin/supolicy does not exist, so it failed. I don't know what systemless root is, but i've tried with superuser given by cm, and with supersu flashed.

And you know what?

NOTHING WORKED

EVERY DAMN TIME IT ASKS TO INSTALL THE LIBRARIES

I want to get viperfx working, but i'm tired of this ****.

Someone help. Please.

P.s. english not native language, so sorry for any mistakes
[Nexus 6P General] Batfink33:
On Nougat?

On Nougat you need to flash the permissive zips that allow the kernel to become permissive on boot. The zips are somewhere on the forum, can't remember where.
[Nexus 6P General] Kornafee:
I've mentioned i'm using cm13

Cm13=6.0.1
[Nexus 6P General] Rahhfue:
Try Weta ROM, VIPER comes pre-installed ????
[Nexus 6P General] Kornafee:
XOSP ROM also comes with viperfx preinstalled, and guess what.

It doesn't work
[Nexus 6P General] xSilas43:
Clean install, flash a custom kernel, flash arise sound system numbers 3.5, reboot. and maybe try another rom, because there is a reason viper is not working, it does jot just randomly not work for someone unless you have a defective device.
[Nexus 6P General] Kornafee:
Well, i may have defective device, but idk. On one rom (i don't remember what) after every boot it said that there is internal error on my device (or something like that), and cellurar data worked every 2 bootups (reboot - doesn't work, 2nd reboot - works, 3rd reboot - doesn't work etc)

But it was just 1 rom, on every other everything is fine
[Nexus 6P General] xSilas43:
It doesnt sound like your device is defective, sounds like a rom/kernel issue, i would highly recommend wiping everything, flashing a very stable rom like DU and follow my previous advice, if not, try to RMA your device.
[Nexus 6P General] ps000000:
I always flashed ViPERAtmos 5.5 Sony Beats Edition.zip on every custom M ROMs.

This ViPER works with all 6.0.1 Nexus 6P custom ROMs.

http://xdaforums.com/android/software/viperaudio-viperatmos-3-8-sq-driver-t3289075 <===== get it from this thread :laugh::laugh::laugh:
[Nexus 6P General] gorman42:
I'm on a rooted Nexus 6P, with latest September security update, still on MM. I can't seem to find MusicFX anywhere. How do you disable it?

Edit: I have MusicFX folder with MusicFX.apk (and an oat folder beneath it with arm64/MusicFX.odex) in system/priv-app but it doesn't appear to be running. Am I mistaken? Is the apk there for some app to install it on demand?

Edit 2: Found out how to disable it. I write it for newbies like me who could read this. In MM you go to Settings/Apps select the menu, opt to show system apps. MusicFX will appear and tapping it you will have the option to disable it.
[Nexus 6P General] drakvl:
Flash viper4arise 3.5, i have the september patch too, work all good, just rename audio_effects.conf to audio_effects.conf.back before flash, the file is in vendor/etc.
[Nexus 6P General] gorman42:
I find only Viper4Arise 2.3.4.0.

Tried it, followed instructions. It doesn't install the driver even though it says it does. It asks me to reboot but then the drivers is not there.

Is the 3.5 you are referring to the Numbers version, the one with Atmos and other sound systems?
[Nexus 6P General] gorman42:
[MENTION=5357345]ahrion[/MENTION] you are a HERO!!! I finally found a Viper4A that I managed to install on my Nexus 6P while keeping the Dolby Atmos I got from you previously. Now I can have some surround options for my bluetooth connection. Thank you, thank you, THANK YOU!!!
[Nexus 6P General] Nitrooo84:
I'm on stock ROM MTC20L (MM 6.0.1), ElementalX kernel, systemless root and Xposed. Will V4A work on this configuration? I remember I tried to make it work months ago with no luck. I'd like to give it another try. Is there a specific procedure to install V4A on a systemless rooted 6P?
[Nexus 6P General] MeetFace:
Shouldn't have a problem, just use ARISE.
[Nexus 6P General] xSilas43:
So I have followed all the steps and verified I have enough on vendor and system. Viper works great except I can't get it to process the soundcloud app on the phone speaker,works for YouTube just not soundcloud. Is this just an app issue?
[Nexus 6P General] Tehpdub:
Awesome got it working anyways what sound profiles do you use I'm somewhat new to Viper
[Nexus 6P General] nexus_man12:
I'd just play around with the settings if I were you to determine what sounds good to your ears. It's a matter of personal preference if you ask me.
[Nexus 6P General] Namelesswonder:
Apparently SoundCloud updated their app and I guess they use something like PowerAmp's DVC which means V4A cannot process the audio from it. Supposedly you can use an older version of SoundCloud, but all the links to them are to shady blogs. I don't use SoundCloud so you're on your own.
[Nexus 6P General] xSilas43:
Thank you very much for the clarity! I know some local sites that host old versions so I should be okay thanks again!
[Nexus 6P General] daveseris:
Thanks so much for this! Worked perfectly. Great to have this quality back on my phone! Thanks again! BTW i am proposing that Namelesswonder be included in the Seven Wonders graphic novels.
[Nexus 6P General] nexus_man12:
Hahahaha right on
[Nexus 6P General] likonvampire:
There are instructions to turn off DVC in Poweramp and have it process the audio through v4a . I think we will need audio.policy.conf edits to make it work for SoundCloud
[Nexus 6P General] :
Hi all, just a quick subjective review required.... Anyone noticed any additional drain using viper? Does it use any extra power as opposed to stock sound?
[Nexus 6P General] Namelesswonder:
Because it's processing audio it'll use some power, but in the two years I've used V4A I've never seen it affect battery life even on the super high quality driver. It might account up to 1% over the course of the day, but that's really it.
[Nexus 6P General] xSilas43:
From personal experience I have found super quality to be the most draining, and high quality you may loose 1 or 2 percent per day but it sounds the same to me.
[Nexus 6P General] Namelesswonder:
Alright guys, some good news. Viper4Android now works with systemless root! I'm currently running 6.0.1 MMB29M with ChainFire's SuperSU 2.61 and ElementalX 1.0 and everything works just fine!

I'll have to update the OP sometime soon as systemless root changes how the su.d script will work, so I'll have to split up the guide for both root methods. Also, don't use the MDB08K ChainFire boot.img, as it will prevent your camera from working on MMB29M. The new SuperSU 2.61 can patch your boot.img from TWRP, but it needs to be completely stock and you'll have to wipe your /system partition to remove the old SuperSU.

As for the Bluetooth issue, I am still looking into it. I haven't gotten much progress other than me being able to reproduce it consistently, however, it is possible it could be fixed in MMB29M so let me investigate a bit further as it's only been released just recently.
[Nexus 6P General] boxcar8028:
Sweet! Just updated to 6.0.1 and rooted with 2.61 and wasn't able to get the drivers to update after reboot. Looking forward to the update OP. thanks man.
[Nexus 6P General] Namelesswonder:
You'll have to drop this file inside /su/su.d/ and set permissions to 0777 root:root. Tell me if that works. Do note that /su/ is no longer in /system/, it's now a separate folder next to it.

https://www.dropbox.com/s/fne426cn2loae4n/49_viper4android_systemless.sh?dl=1
[Nexus 6P General] edd247:
Had this issue, so I deleted the file audio_effects.conf from /system/vendor/etc and then the driver stuck
[Nexus 6P General] boxcar8028:
It didn't work. I used root explorer to move the file to su/su.d and then set permissions to 0777 rwx rwx rwx

But still the driver's won't update.
[Nexus 6P General] EnterLordVader:
I installed Viper on Chroma 6.0.1 and forgot to install busybox yet in works fine. strange no ?
[Nexus 6P General] Namelesswonder:
I think Chroma may already have BusyBox installed. I need to check it out but I'm guessing Chroma uses the alternate installation for BusyBox that doesn't touch /system/.
[Nexus 6P General] eggydrums:
I'm on stock, where could I install busybox to have /system unaffected? Also, the sh file you posted is all you would need to get it working on systemless root?

Edit: installed it to /data/local, will see how it goes

Edit 2: Viper says no busybox installed so I guess it doesn't work. I know Android Pay is working with systemless so that's why I'm trying to make sure /system is left unaffected
[Nexus 6P General] bouchigo:
I got it to stick. I installed busybox to /su/bin, and I copied the sh file from /system/bin to /su/bin (I'm pretty sure sh didn't have to be copied over, but I just wanted to keep everything grouped in the same folder).

I also changed the #!/system/bin/sh line the the 49_viper4android_systemless.sh script to #!/su/bin/sh
[Nexus 6P General] nexus_man12:
Are you on Chroma with systemless root or normal root. I'm unable to get the drivers to stick with my setup. ?
[Nexus 6P General] yung40oz84:
Wait a second, the folder labeled su is not needed? I thought the folder was su.d? SO I need the su.d folder where? In /system or /system/su?
[Nexus 6P General] nexus_man12:
the /su folder sits at the root directory besides the /system folder. See the screenshot of my root folder. So you'll need to put that in /su/
[Nexus 6P General] yung40oz84:
OK, so I put the sh file in /su/su.d or just /su? I can delete the su.d folder in /system now right?
[Nexus 6P General] xSilas43:
For anyone who listens to soundcloud here's a link to an apk with no audio processing FX so you can use with viper4android.
[Nexus 6P General] nexus_man12:
Per Post #54 , you have to put that file in /su/su.d. I won't delete anything if I were as it won't cause any harm if the file isn't located there.