yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Themes and Apps] Ramondel:
I deleted all requested files ( I had 91-va.sh with todays but not 23-v4adap.sh) flashed test version 4.2.1 and rebooted the phone. Once phone settled in (in enforcing mode) Viper did not ask for driver install and was processing as it should when music was playing. I am on Samsung S5 running TW ROM (MOAR) Lollipop. I do have 23-v4adap.sh with 1 aug 08 07:00 time stamp now in /system/addon.d folder.
[Nexus 6 Themes and Apps] themoto:
I'm thinking about to share a irs file what i have from march 2015.From the first time using i don't want to let it go

againFirst time was on my Note2 with Viper4A installed and Dolby atmos and now on Note 5 with this 4.2 amazing sound mod,Every time i try something new but always go back to this one.It's not mine i have it from here http://xdaforums.com/showthread.php?t=2324454&page=123 and all the creddits go to stueycaster.

I have to say guitardedhero's Audiophile come close but i like the Tru Theathre Surround Headphone Live Room from Stueycaster a little bit more.When you like it give him a thanks on that thread.

FX:

Master Power: ✔

Playback Gain Control: ✘

Viper DDC: ✘

Spectrum Extension : ✘

FIR Equalizer: ✔

(ii) Select Preset: Custom

3.4 3.8 4.0 4.0 3.5 2.9 2.2 1.8 1.6 1.5

Convolver: ✔

(i) Impulse Response: TruTheatre Surround Headphone Live Room.Irs

Cross Channel: X

Field Surround: X

Differential Surround: ✘

Headphone Surround +: ✔

Level 2

Reverberation: ✔

(I) 81m2

(ii) 10m

(iii) 60%

(iv) 10%

(v) 60%

Dynamic System: ✔

(i) Bass 14%

Fidelity Control:

(i) ViPER Bass: ✔

Bass Mode: Natural

Bass Frequency : 78 hz

Bass Boost : 12.0 dB

(v) ViPER Clarity: ✔

Clarity Mode: Ozone+

Clarity: 3.5 dB

Auditory System Protection:

(i) Cure Tech+: X

Master Gate (Limiter): ✔

Output Gain: - 10.5 dB

Channel Pan: 0.5 - 0.5
[Nexus 6 Themes and Apps] guitardedhero:
My pleasure guys! I'm here for you guys and will do everything I possibly can to help you get where you guys want to be. :good:

91-va.sh comes from the official apk but I never see it, weird.

Thanks for sharing!
[Nexus 6 Themes and Apps] guitardedhero:
Is 4.2.1 working on both Permissive and Enforcing?
[Nexus 6 Themes and Apps] :
It's working on Permissive but still places all the files you mentioned in PM aren't needed on Permissive. The profiles issue was a separate thing, I had ViPER4Android folders in multiple places. For some reason my V4A wants to place them in /mnt/runtime/write/legacy/ViPER4Android - I deleted all instances of it and rebooted, then saved my profile in V4A and that's where the Profiles folder appeared.

Thanks [MENTION=3200478]Woody[/MENTION] for helping resolve this!
[Nexus 6 Themes and Apps] anthonyg45157:
Is this profile for headphones only or does it work well for bluetooth audio setups as well?
[Nexus 6 Themes and Apps] guitardedhero:
Odd, I just checked the backup script again /system/su.d/50viper.sh is the only file in that set to restore. Something else must be restoring those files but not my script. :confused:
[Nexus 6 Themes and Apps] luigidk:
I reflashed 4.2.1 following the same process as 4.2 (full rom > Kernel > SuperSU > V4a 4.2.1) - and the driver was successfully installed this time on the first try.
[Nexus 6 Themes and Apps] Ramondel:
[MENTION=4445176]guitardedhero[/MENTION], I just checked the files that I have after flashing 4.2.1 and I have the following files

/system/addon.d/23-v4adap.sh

/system/etc/init.d/50viper

/system/su.d/50viper.sh

/system/xbin/seinfo

I have also verified that it works in both enforcing and permissive modes on the Samsung S5.
[Nexus 6 Themes and Apps] themoto:
It's for headphone.
[Nexus 6 Themes and Apps] guitardedhero:
:good:

Could you check to see if those above files remain except for /system/su.d/50viper.sh which should be present?

Is it possible to wipe System in TWRP, dirty flash your rom, flash 4.2.1, reboot, and then check for those files again?
[Nexus 6 Themes and Apps] Ramondel:
I will not be able to do this until tomorrow morning.
[Nexus 6 Themes and Apps] :
I had flashed my stock /system backup, then ViPERAtmos 4.2.1, then before I rebooted I checked for all those files with TWRP file manager and they were all there. I removed them and rebooted and they haven't returned.

Atmos is definitely causing the cracks/pops with screen off and the stutter when screen dims. I'd just as soon try a ViPERAudio Beats Huawei with all the addon.d, init.d, su.d and xbin files removed (for sure).

Follow-up post with my profiles for ViPER only if you're interested, this is the product of weeks of audiophile tweaking.
[Nexus 6 Themes and Apps] lynnux:
I flashed 4.2.1 w/o wiping system, only removing the files you mentioned that were present. Everything's working, here are the files that showed up. No su/xbin_bind folder before or after.

/system/addon.d/23-v4adap.sh or 23-v4a.sh

/system/su.d/50viper.sh

/system/xbin/seinfo

/system/xbin/sepolicy-inject

/system/xbin/sesearch

Rooted stock 6.0.1, franco kernel, enforcing.
[Nexus 6 Themes and Apps] luigidk:
I reflashed 4.2.1 following the same process as 4.2 (full rom > Kernel > SuperSU > V4a 4.2.1) - and the driver was successfully installed this time on the first try.

---------- Post added at 02:19 PM ---------- Previous post was at 02:14 PM ----------

Just edited my reply with the status of those files...
[Nexus 6 Themes and Apps] :
Sonophilos (Lover of Sound) Profiles

Lock Effect Mode - Headset (so Speakers get all ViPER options)

UI Setting - Moderate (so you can see all these settings)

Headphones:

PlaybackAGC - Enabled, Moderate

ViPER-DDC - Enabled, audio-technica ATH-M50 (your headset here)

Spectrum Expansion - 0.5

FiREqualizer - (0.0, -0.6, -1.2, -1.8, -2.4, -3.0, -2.1, -1.3, -0.6, 0.0)

Convolver disabled, it's a major battery drain

Field Surround disabled, it's only really helpful on larger speakers

Headphone Surround + Enabled, Level 1

ViPER Bass - 40Hz, 8.0Db Bass Boost

ViPER Clarity - 8.0Db Clarity

Cure Tech+ Enabled, Moderate

Output Gain (-3.0Db)

Speakers:

PlaybackAGC - Enabled, Moderate

ViPER-DDC - disabled

Spectrum Expansion - 0.5

FiREqualizer - (0.0, -0.6, -1.2, -1.8, -2.4, -3.0, -2.1, -1.3, -0.6, 0.0)

Convolver disabled, it's a major battery drain

Field Surround disabled, it's only really helpful on larger speakers

Headphone Surround + disabled

ViPER Bass - 40Hz, 8.0Db Bass Boost

ViPER Clarity - 8.0Db Clarity

Cure Tech+ disabled

Output Gain (+1.6Db)
[Nexus 6 Themes and Apps] guitardedhero:
No worries. :good:

Here you go.
[Nexus 6 Themes and Apps] guitardedhero:
I think what we should do with these 4.2.1 versions is this:

Delete all of those files you find that I listed before.

Reboot.

Check to see if any of those files remain or restored.

Only flash 4.2.1 when you confirm those files are not found after rebooting.

After that, the backup script in 4.2.1 will handle everything else on its own.

The backup script in 4.2.1 is definitely not responsible for restoring those files that seemingly come back.
[Nexus 6 Themes and Apps] guitardedhero:
Also, those experiencing audio disturbances:

Have you opened the app and set the recommended settings listed in the OP?
[Nexus 6 Themes and Apps] in_dmand:
ok i tried following instructions w/ TWRP but it's not working... ideas?
[Nexus 6 Themes and Apps] stumpy352:
I don't know why so many people are having trouble getting this working. I just install 2.3.4.0 as a normal app. Disable musicfx or audiofx or DSP manager, whichever your ROM comes with. I use elementalx kernel, which has sepolicy built in. Install driver, reboot & it works fine. No flashing zips for me.
[Nexus 6 Themes and Apps] blinde:
Because people are lazy and idiots. Half of pages from this thread could be easily removed if people would just understand to read and use permissive mode in kernel.
[Nexus 6 Themes and Apps] lighty0uup:
Do you know if there is a way to get aux working again or will I have to uninstall Viper for this?
[Nexus 6 Themes and Apps] gk1984:
Going to have to reflash your rom or restore a backup before installing Viper4Android (just system partition). Then follow OP and ignore those 3 zips, just run Viper4Android in compatibility mode. 2.3.4 works with nuplayer, at least on Android 5.1.

Or you can order an Aux cable with inline mic, this works with the 3 zips. But I also saw no usb audio out in those 3 zips and other missing code. Just not a dev so I don't really know how much is broken.
[Nexus 6 Themes and Apps] wrongway213:
I found the perfect storm the other day but cannot seem to replicate it. For anyone who has been banging their head against the wall over these aux issues, I suggest you visit the Vindicator Kernel thread and look over the last 4 or so pages. There's a lot to look at and it may or may not involve the Extreme Beats mod.. long story short, though, I had aux connectivity after flashing the zip with fixes the other day and was processing while plugged into aux, no Google search in between. I'm not the only one that's been able to achieve these results, but exactly how it's happening is still not certain. I am hoping to get as many V4A users on the N6 looking at this as possible - I'm tired of Viper not just being simple. Yes, compatibility mode that does not constantly process is too much of an annoyance for me. Yes, having to trick my phone into thinking it's not entering media playback and swipe out of an app I know full well sucks down resources every single time I get into the car and thus leave my wi-fi connection is too much of an annoyance to me. I've been messing with this issue for months, just never found this thread (been over in the big V4A thread where every post gets buried by a million other devices) so hopefully we can find a fix. I've personally requested and been obliged with three kernel developers looking at V4A code and making their kernels more V4A friendly (Hydra, lean, and Vindicator).. but I don't think I've supplied them all the necessary information, especially concerning audio_policy and aux connectivity - I'm hoping between all of us we can figure out what exactly is missing and get V4A working without issues.
[Nexus 6 Themes and Apps] Harleydroid:
Thanks to the op for this. I followed instructions and successfully got viper working but my music will only play over Bluetooth. When I plug in my headset my music just plays through my phones speakers. Anyone else experience this? I'm on Euphoria 5.1.
[Nexus 6 Themes and Apps] elevatorguy:
Very well known problem, everyone is trying to find a fix. Till one is found try plugging cord in very slowly you should get a google popup back out of it and all should work fine ?
[Nexus 6 Themes and Apps] Harleydroid:
Okay thanks for your reply.
[Nexus 6 Themes and Apps] gbux:
so, does this only work with mp3s, or does it work with apps like pandora and spotify as well?
[Nexus 6 Themes and Apps] derekr44:
I use it with Spotify.
[Nexus 6 Themes and Apps] gbux:
Sick, so the Bluetooth or speaker option affects every music source that goes through the speakers?
[Nexus 6 Themes and Apps] crkdslider:
So I just spent a few hours trying to figure out how to get this to work on my Nexus 6.

My headphone jack had stopped working in my car, so I came back in and did a clean flash of my ROM, Changed my SELinux to permissive, installed the .zip through the recovery, granted root access, installed the driver (Super Quality,) rebooted the device, and everything seems to be working fine. My headset plugged into my headphone jack works great, and I can hear everything working. It does NOT work when I plug it into my car. The cable into the AUX jack just plays music through the speakers on the phone and not through the car, but once I plug the headset back into my AUX port on the phone, it works as it is supposed to. I tried the audio fix zip that was posted earlier with no results. Any other ideas on what could be happening? V4A is working as it should for everything except in my car. Nothing is crashing, force closing, etc.

I am fully aware the "AUX" issue has been discussed, but I am not sure whether or not it includes V4A working with headphones plugged into the AUX just fine, compared to an AUX jack in a car NOT working.

I find it very odd that the headphone jack on my phone only wants to work with my headphones, and not my car... Frustrating since that is where I do most of my listening.

Should also add that I installed V4A Version 2.3.4.0.
[Nexus 6 Themes and Apps] wrongway213:
Confirming headphones work fine for all of us, it's just aux and Chromecast that the zips break
[Nexus 6 Themes and Apps] crkdslider:
Just installing 2.3.3. Will report back if that fixes anything.
[Nexus 6 Themes and Apps] wrongway213:
If you mean installing normal V4A apk, make sure you restore backup or reflash ROM first or those zips will mess it up. Also, yes just installing the latest Viper4Android apk normally and putting in compatibility mode will work without breaking anything, no need to confirm. We know.
[Nexus 6 Themes and Apps] gk1984:
All you need to do is install the official Viper4Android app, version 2.3.4, as a system app, remove or disable musicfx, change selinux to permissive, and run Viper4Android in compatibility mode. Forget these stupid zips, they break things.

Aux works fine, Chromecast works fine, no issues.
[Nexus 6 Themes and Apps] wrongway213:
Why do you even need to install in system if running in compatibility mode? Curious as to how this could be beneficial as people don't typically move user apps to system just for fun, but I'm unaware why one would do this.
[Nexus 6 Themes and Apps] gk1984:
You probably don't have to but on my previous phone, I kept finding Viper4Android's wasn't running, the OS kept killing it until I manually opened it. Putting it in priv-app folder solved the problem. It could have just been my previous phone.
[Nexus 6 Themes and Apps] crkdslider:
I did try that and nothing worked. I had to revert back to 2.3.3 in order to get everything 100%.
[Nexus 6 Themes and Apps] desirexel:
Great job! thanks love your passion for sound and perfection
[Nexus 6 Themes and Apps] Kdx10:
Hi sir. Its me again. I still in CT 2nd version released. Its working perfect though i wanna try v4.2 but when i check it theres no themed v4a. Can u tell me how to make dark v4a app. Its pretty cool and its just like a sweet eye catcher. Thanks in advance
[Nexus 6 Themes and Apps] Annunneo:
I wiped cache/dalvik and flashed 4.2 atmos without wiping system and all is fine. Neon enabled and processing starts as soon as I play music. I'll try .1 when a new build of the ROM drops.
[Nexus 6 Themes and Apps] luigidk:
OK - deleted all the files, rebooted - files did not reappear - reflashed 4.2.1 .

The files I now see are:

- /system/addon.d/23-v4adap.sh

-/system/su.d/50viper.sh
[Nexus 6 Themes and Apps] guitardedhero:
Absolutely!

Download the apk below

Delete the v4a apk from the v4a folder in /system/priv-app

Reboot

Copy the themed v4a apk from your storage into the empty v4a folder in /system/priv-app

Rename the apk exactly like the folder name but with the ".apk" extension so the backup script will be able to restore it later

Set permissions to 0644 for the new apk

Reboot

Fantastic! Perfect result!:good:
[Nexus 6 Themes and Apps] guitardedhero:
I'm thinking I might have to slightly modify the Audiophile™ Profile for this new 4.2 version. I'm thinking the clarity needs to be turned down a notch to 3.5dB as the clarity in 4.2 seems to have increased. What have you guys been finding in your usage?
[Nexus 6 Themes and Apps] :
I removed the su.d script, restored my stock system and flashed this 4.2.1, and it appears now none of the files are present except the addon.d backup script. Running great and sounds clear, no cracks or pops so far! My Lover of Sound profile does a great job at boosting volume, bass, clarity, and the sense of space in both my headphones and the One M9's glorious speakers. Thanks again [MENTION=4445176]guitardedhero[/MENTION]!
[Nexus 6 Themes and Apps] guitardedhero:
Fantastic! I'm thrilled you finally got where you wanted to be, friend! :good:
[Nexus 6 Themes and Apps] guitardedhero:
Edit∆∆******

4.2.1 now uses a single supolicy script for functionality in Enforcing Selinux, still compatible in Permissive Selinux of course. The script used is /system/su.d/50viper.sh. For the flash to work properly over a previous ViPER package it is important to do the following since you're working with a previous backup script:

It is imperative that these files are deleted first:

/system/addon.d/23-v4adap.sh or 23-v4a.sh

/system/etc/init.d/50viper

/system/su.d/50viper.sh

Reboot device and confirm that these files no longer remain.

Flash 4.2.1.

Confirm that the only files above on your device are:

/system/addon.d/23-v4adap.sh or /23-v4a.sh

/system/su.d/50viper.sh

This signifies a perfect installation and will be the last time you have to do anything other than flash a future update.
[Nexus 6 Themes and Apps] fmaher:
Files removed as you instructed, phone restarted and checked all above paths, I can confirm these files no longer remained. flashed ViperAtoms 4.2.1/Wipe cache+dalvik cache/reboot, and I can confirm the only files from above paths are :

/system/addon.d/23-v4adap.sh

/system/su.d/50viper.sh

Viper is working flawlessly, My Rom is Bliss 6.0.1 on Samasung GS5 with Enforcing Selinux.
[Nexus 6 Themes and Apps] tcat007:
The last 6 files are showing up after removal and after flashing 4.2.1. Working flawlessly. Franco/Enforcing.
[Nexus 6 Themes and Apps] squall_kay:
Noticed when using ViperAtmos Huawei Beats, it produces crackling sound. But normal version without Atmost do not have this problem. Any comment?
[Nexus 6 Themes and Apps] guitardedhero:
Did you adjust the Dolby Atmos™ settings as described in the OP?
[Nexus 6 Themes and Apps] guitardedhero:
:confused:
[Nexus 6 Themes and Apps] guitardedhero:
Lol okay, I finally figured out the following:

/system/xbin/seinfo

/system/xbin/sepolicy-inject

/system/xbin/sesearch

/su/xbin_bind/seinfo

/su/xbin_bind/sepolicy-inject

/su/xbin_bind/sesearch

are the result of using SuperSU. :angel:

Somehow, along the way, I was thinking I added these as part of Enforcing compatibility. :silly:

No need for alarm seeing its recurrence. I feel so much better lol! I'm going to edit the posts now!
[Nexus 6 Themes and Apps] fmaher:
Is that means we shouldn't delete files from these paths?!
[Nexus 6 Themes and Apps] bytor7:
Keeping up with the posts and info on this thread the past few days has been nigh impossible, so I'm not sure if this question has been asked already. I'm still on 3.9. If I delete these files then reboot to make sure they don't reappear, can I dirty flash 4.2.1?

I'm using an N6 with Pure Nexus with ElementalX in enforcing. Thanks for your help and the great work you're doing!
[Nexus 6 Themes and Apps] Blaiser47:
I just did as you suggest and all is well so I say yes, worked for me!
[Nexus 6 Themes and Apps] Phrodini:
I usually have it at 3.5 but with xhifi clarity
[Nexus 6 Themes and Apps] blueren:
Oh! I'm using Franco kernel. Is there some psych that needs to be put? If you could let me know which one, I could try contacting Franco about it
[Nexus 6 Themes and Apps] Ramondel:
Ok so I wiped system, cache and dalvick-cache and dirty flashed my ROM with stock enforcing kernel. Rebooted and verified the files in question were not present. Flashed v 4.2.1 and the driver would not instal. I then flashed the enforcing version with same bad results. I then changed the kernel and once again made sure that only approved files were present but driver would not stick. I then un-installed the driver from UI and deleted SU approval. Rebooted phone, installed driver and this time driver stuck. I am also having FC on Atmos. I am currently waiting for cache to re-build with kernel in enforcing mode, will report back.
[Nexus 6 Themes and Apps] Rockyp49:
I think you need to have custom kernels/rom to make these mods work on Samsung devices, just rooting is not enough
[Nexus 6 Themes and Apps] :
I'll chime in here, yes. I had Atmos with those settings off and on through 3.8-4.0CT and the cracking/popping/stuttering only stopped when I switched back to ViPERAudio alone.
[Nexus 6 Themes and Apps] guitardedhero:
It's fine, it simply explains the recurrence of the files which was making me think some script issues were happening. So sorry for the confusion lol.

Absolutely! :good:

:good:

Franco has Faux Sound. I avoid Faux Sound at all costs.

You mind attaching your audio_effects.conf files so I can take a look?

Did you ever try the audio_effects.conf I sent you a day or two ago? Samsung, right?

Stock kernel, right?
[Nexus 6 Themes and Apps] Phrodini:
Why do you avoid faux sound? I usually use the quality preset and raise volume to 0 or 1
[Nexus 6 Themes and Apps] :
Yessir. As far as I know the only modifications are to the boot image to allow systemless root, the addition of init.d, and a few scripts added to init.d including permissive selinux on boot.
[Nexus 6 Themes and Apps] guitardedhero:
It's fine as long as you don't use sound mods. With sound mods it is completely unnecessary and just introduces many possibilities for noise and distortion. It was never meant to enhance third party sound mods.
[Nexus 6 Themes and Apps] guitardedhero:
That's no longer stock. Download Kernel Adiutor from Play Store and see if Faux Sound Control can be adjusted.
[Nexus 6 Themes and Apps] Phrodini:
I understand. I avoid distortion as much as possible. With version 4 and the new rehear,mahn if only my ears could explain it Cuz I have no words.
[Nexus 6 Themes and Apps] guitardedhero:
No doubt about it. RHR has long been my favorite, even before I started building upon stuff. I was so determined to fix Marshmallow compatibility on the previous version I spent an entire night figuring it out. My fix is referenced in the latest changelog.
[Nexus 6 Themes and Apps] Phrodini:
I had never heard of it until you spoke about it. Glad it works on marshmallow now tho. You've done so much with your custom viper mods tho and they work effortlessly.
[Nexus 6 Themes and Apps] :
Nope, but it does let me set CPU governor and I/O scheduler, I've set governor to Ondemand instead of Interactive as [MENTION=3200478]Woody[/MENTION] had suggested 6 or so pages back and I'll test over a few days to see if that totally resolves popping.

Kernel Adiutor didn't show anything about faux or Franco sound patches, to clarify.
[Nexus 6 Themes and Apps] Pzyborg:
Hey guitardedhero, which kernel would you recommend? I was using Franco's because I was getting great battery life with it. And if you don't want to recommend one, please tell us what you use with your mod.

---------- Post added at 01:42 AM ---------- Previous post was at 01:41 AM ----------

Nexus 6P , Pure Nexus Rom.
[Nexus 6 Themes and Apps] guitardedhero:
Thank you very much. You've been there from the very beginning and I appreciate everything you do to help the community across the various sound mods. :good:

:good:

I'm a big fan of Hydra Kernel, but lately it's been buggy so I'm using stock kernel.
[Nexus 6 Themes and Apps] inffy:
Tested to delete the files and reboot. After reboot

/system/addon.d/23-v4adap.sh

file comes back without flashing the zip.

EDIT: I think I am gonne just wipe /system in TWRP and dirtyflash my rom + other stuff
[Nexus 6 Themes and Apps] guitardedhero:
That won't pose a problem, the new backup script will overwrite it. It was what I thought were sepolicy files added by me that turned out to be SuperSU files which were recurring. I probably should just remove those instructions I'm thinking.
[Nexus 6 Themes and Apps] Rockyp49:
Hello [MENTION=4445176]guitardedhero[/MENTION] i tried it but still no result
[Nexus 6 Themes and Apps] guitardedhero:
Is that same file in /system/vendor/etc/?
[Nexus 6 Themes and Apps] :
I read up on interactive vs ondemand and I'm not sure, I think Ondemand's aggressive ramps up are worse overall for it than interactive's timed ramps that stay peaked longer. It also seemed to affect UI performance a bit. Back to interactive and I'll continue testing to see if any crackles, pops or stutters are present with ViPERAudio alone.