yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Themes and Apps] guitardedhero:
That is correct, I've edited the typo in that post. Sorry for the confusion. Thanks again for all your feedback.
[Nexus 6 Themes and Apps] guitardedhero:
Geez man, yes, get some sleep lol! Thank you so much for your dedication! I can't do this without you guys, you guys are just awesome and I... Zzzzzzzzzzzzz
[Nexus 6 Themes and Apps] Ramondel:
Do I have to clear cache prior to flashing the latest test version, or can I just do a dirty flash?
[Nexus 6 Themes and Apps] guitardedhero:
No wipes necessary.
[Nexus 6 Themes and Apps] :
RE: Did any previous version not do that for you?

No, so far every version of XTREMEMusic or ViPER I've tried (under Android 6.0) does this unless I just install the ViPER APK alone.

Boot to recovery

Mount > System

Advanced > File Manager

Navigate to the file(s) you HTC guys usually rename and change the name(s).

Reboot

- This is what I've been doing.

If all is well, it's an audio_effect.conf error on my part. I never received an answer as to what files you guys rename. In the script I guessed it would be:

RE:

/system/etc/htc_audio_effects.conf

- This is correct, this absolutely must be renamed or viper asks me to install drivers every time. Interestingly the file for the driver itself isn't changing, it's still there with the same size and modified date, something else is.

/system/vendor/etc/htc_audio_effects.so

- This doesn't exist, although there is an audio_output_policy.conf in that directory.
[Nexus 6 Themes and Apps] Ramondel:
Just flashed 4.0.6CT and everything is working as it should after the reboot. I think this is a perfect place to call it a night. Thanks for the dedication and attention to detail. Have a great evening.
[Nexus 6 Themes and Apps] guitardedhero:
Thank you so much, calling it a night.
[Nexus 6 Themes and Apps] Rockyp49:
Thank you so much for all your hard work and help [MENTION=4445176]guitardedhero[/MENTION] I might try again in a few days. If you get something working for samsung stock rom that would be great. All your efforts are really appreciated, you are a superstar!

Also wanted to let you know that the 'Acid mod' works good on samsung stock roms, might give you some idea regarding its structure :good:
[Nexus 6 Themes and Apps] kerbiii:
i just notice that when my volume is at 1 and turn on Dolby atmos theres a very big increase in volume but when my volume is already at max and turn on atmos the volume didnt change much
[Nexus 6 Themes and Apps] guitardedhero:
Thanks a ton for that, I hope I can get some compatibility. Unfortunately, and what's so odd to me, I don't see any Samsung™ files. It's all Sony™ and Beats™ files. I did find what looks to be quite important for Beats™ which were missing from the Beats™ source I was using like the core libraries. I wonder if there's an SRS or htc audioflinger around somewhere. Thank you very much, day two guys!
[Nexus 6 Themes and Apps] guitardedhero:
ViPER|Atmos™ 4.0.7CT Beats™ Huawei™ Edition​

4.0.7CT is the seventh update in the Compatibility Test of this testing phase and includes what looks to be important missing Beats™ files from the Ac!d mod zip [MENTION=7118896]Rockyp49[/MENTION] was so kind to share with me. This mod works for his Samsung™ device so I'm going to try to find what it takes to get him running which, in theory, might bring much more compatibility to Samsung™ devices. I'm not going to just merge all kinds of stuff immediately. This needs to be a step by step process or we'll never know what the fix is and that would just simply make this a combo mod like my side project stuff anyway. I feel the first, responsible step is to just add what looks to be missing Beats™ files. They are added in the backup script and their entries added to the post install script. I cleaned up that post install script which patches the audio_effects files in the usual locations as well as the /vendor partition for Nexus 6p, Nexus 5x, Nexus 9, and possibly other devices. It also patches /system/etc/htc_audio_effects.conf for the HTC devices. Let me know how it guys and I hope you all got plenty of rest like I did! Looking forward to the reports and thanks again!
[Nexus 6 Themes and Apps] adm1jtg:
[MENTION=4445176]guitardedhero[/MENTION] could we add this into your latest viper builds for n6

http://xdaforums.com/nexus-6/general/guide-tentative-fix-messenger-whatsapp-t3272992

Also may be placebo but volume steps seems less pronounced aka they start louder then before and dont seem to increase or decrease as much as they used to
[Nexus 6 Themes and Apps] tcat007:
I had deleted all and only the 3 I mentioned came back. I decided to do the same this morning and did not reboot to see if they were gone. I flashed 4.07 (cleared caches before and after) and all seems good. Those files are not there now. Just want to be sure all is where it should be, anything to double check?
[Nexus 6 Themes and Apps] guitardedhero:
Interesting, I really appreciate you looking for ways to help this mod outside of what's already in this thread. I can certainly do that but it might have to be a removal of those entries. My script removes and adds entries so I would have to find out what would just uncommented those entries. Have you tested uncommenting these entries on your device with success in the volume issue? I also would hate if this would negatively affect other devices. Fortunately, we're still in Compatibility Test of the this testing phase so this is certainly the time to try this. Let me know if it provides good results for you. I will only add this if it helps you in this particular issue you're facing. Thanks again!

Awesome, that's good enough for me friend! Thank you very much for the report!
[Nexus 6 Themes and Apps] :
Hi [MENTION=4445176]guitardedhero[/MENTION]. Kyle here with feedback on 4.0.7CT.

I restored back to my known working system and confirmed all files related to the mod were stock, then pulled the most relevant(?) four stock files for you and put them in the 'stock' zip here. I then installed 4.0.7CT and removed the su.d script (already confirmed this isn't the issue) and let it boot up, and it did the same thing - built the dalvik cache, then crashlooped SystemUI as soon as 'apps started'. I was able to pull the modified files and put them in the '407CT' zip here. I sincerely hope this helps.
[Nexus 6 Themes and Apps] Ramondel:
OK, so I dirty flashed this over 4.0.6CT that I flashed last night, rebooted and let it settle down and everything is running as expected. Outstanding job. :victory:
[Nexus 6 Themes and Apps] guitardedhero:
Fantastic report, attachments naming, everything across the board, thank you very much. I'm thrilled to see the files patches perfectly.

In all my time testing and fixing various mods, I've found the most likely culprit causing a boot loop is a file or files in /system/lib. I'm wondering if, in your case, it's caused by the three Huawei™ libraries in /system/lib. I recommend pulling those from the zip, rezipping, and flashing that to see if you boot up. Thanks again for your fantastic report!

Also guys, to speed up the troubleshooting, I request that every single report include your device, rom, and version of the ViPER mod being flashed. Thanks again guys, you're all doing a fantastic job! :good:
[Nexus 6 Themes and Apps] guitardedhero:
Thank you very much! This day should not be like anything yesterday was frustration-wise. We're getting closer, I can feel it!

4.1, when all is sorted, should be phenomenal. The added Beats™ libraries and their entries makes 4.0.7CT sound freaking amazing! I can already tell these few additions make an impact.
[Nexus 6 Themes and Apps] adm1jtg:
Just implement the changes I listed above and they do seem to work. At least to the point you should probably test further.

That said I have an issue that is unrelated to the above changes. Since implementing v 4 my sound steps are "off" I would say the first half of the sound increase works as expected but the upped end doesnt appear to change volume at all.

Put another way that may be more clear lets say the volume range is 1 - 10 on a numeric scale. 1 being t he lowest and 10 being the loudest. I would say 1 - about 5 seems to work properly. I can hear increases in volumes as I increase it. But 5 - 10 sound about the same aka 5 sounds to be just as loud as 10. I am thinking what has happened is that the base amplification is set to high in the default value and this once we hit 5 or so we are actually maxing out the capabilities of the phones loudness. I am more then willing to test for you how would we set the default loudness value to a lower value to start with?
[Nexus 6 Themes and Apps] :
Sprint HTC One M9 / leaked 6.0 firmware / ViperOneM9 4.2.0 (Sense 7) - systemless SuperSU root, permissive SELinux built in via init.d.

I was just wondering, in my case, if it's caused by the Beats files, in particular the image_xxx.bin files in /system/etc. As my ROM is based on Sense it has "HTC BoomSound with Dolby Audio" built in, I'm wondering if the SystemUI crash is the two fighting over something.

I am one more working day at this away from just flashing back to 2x firmware and 5.x software, performance improvements be damned. Because I feel that way, I'm going to take a sabbatical today and actually use my device, and I'll return tomorrow to crash test some more.
[Nexus 6 Themes and Apps] tcat007:
I forgot to remove the su.d script. Phone shows permissive and all works well. I just removed the file from su.d and rebooted. Phone now says Enforcing and all still works fine. Great work!

I don't want to test that volume 5-10 thing, since it's so loud at 2-3 I'd be worried about blowing the speakers (or my ear drums).
[Nexus 6 Themes and Apps] guitardedhero:
I totally hear you, I fixed two very popular sound mods causing bootloop on all Marshmallow devices, by deleting just a single .so file from /system/lib - Project Desire and RHR-K. When facing bootloop with mods adding or overwriting /system/lib files, I absolutely start there.
[Nexus 6 Themes and Apps] guitardedhero:
4.0.7CT is working great on Enforcing?!

Do you have these files:

/system/etc/init.d/50viper

/system/su.d/50viper.sh

/system/xbin/seinfo

/system/xbin/sepolicy-inject

/system/xbin/sesearch

/su/xbin_bind/seinfo

/su/xbin_bind/sepolicy-inject

/su/xbin_bind/sesearch
[Nexus 6 Themes and Apps] tcat007:
None of those show up. Should they?
[Nexus 6 Themes and Apps] :
Just tried this, despite my earlier insistence on a sabbatical. Removing the (four! libaudioflinger.huawei.so too) Huawei files from /system/lib in the zip caused the zip to fail to flash, so I installed 4.0.7CT as normal, then removed those files with TWRP file manager before I booted. Still causing the SystemUI crashloop.

Out of curiousity, what was the significance of deleting /system/addon.d/v4adap.sh before 4.0.5? Isn't this a post-install script that needs to run on boot for v4a to work...? Removing it, after allowing the system to boot and fail once, made no difference - still in "Unfortunately, System UI has stopped" hell.

I'd be interested to try a version without Beats or Huawei files at all to see if that works in my setup, since I am partially able to get this working by just installing V4A from the APK as normal. I realize that would somewhat defeat the purpose of the compatibility test, but maybe it could help isolate the issue - if it doesn't work that way, I am willing to resign that this is a device/firmware/ROM dependant issue and move on with my life.
[Nexus 6 Themes and Apps] guitardedhero:
The zip failed to flash in TWRP after deleting those files and rezipping? That makes no sense at all to me. What file manager did you use to rezip? I'm wondering if you extracted what successfully flashes in TWRP and then immediately rezipped it if it would fail in TWRP as well.

I'll see what I can do in providing a 4.0.7CT ViPER|Audio™ zip.
[Nexus 6 Themes and Apps] :
Yes, that's correct, I unzipped with ES File Explorer, removed the files and then rezipped. This has worked perfectly for every other time I've had to remove something before flashing, including for every previous CT.

I would like Atmos included if that's possible - if the other portions of this mod aren't working (Beats and Huawei files conflicting with native Boomsound/Dolby?) I'm going to want the volume boost. I was about to go try just ViperAtmos 4.0 Dark, but if you want to build me a 4.0.7 ViperAtmos with the compatibility updates I will gladly flash it up and report back... Tomorrow. Jeez.
[Nexus 6 Themes and Apps] tcat007:
Quick question. My v4a icon changed from round to square, and Firequalizer graph changed from a bunch of lines to smooth. Everything is working, so no complaints, just curious what changed.
[Nexus 6 Themes and Apps] :
That'll be the change from the Material V4A APKs to the original. It's possible(?) that the Material V4A APK itself was causing problems which is why there are no light/dark versions for the latest CTs.
[Nexus 6 Themes and Apps] guitardedhero:
Weird, here's ViPER|Audio™ 4.0.7CT

I'll get ViPER|Atmos 4.07CT for you shortly.

I decided to remove addon.d backup script as it's not needed during this particular test.

I am now using the official apk instead of the themed apk's during this testing as more than cosmetics seem to be affected. This will cut down more work and versions available by half which should be beneficial for all.

Audiophile™ Profile might not be loaded up.
[Nexus 6 Themes and Apps] cool.boy:
Hey plz help

.. I m on nexus 6 wid chroma rom. Which version should i flash?
[Nexus 6 Themes and Apps] bkjordan04:
Seems to work great on my n6 pure nexus with elementelx just one thing though needs more cowbell
[Nexus 6 Themes and Apps] guitardedhero:
Thank you for providing a sound answer.

I've got ViPER|Atmos™ 4.0.7CT for you below. I also forgot to mention that with these two versions you want to test be sure that your stock audio_effects.conf in place as these two versions will only remove and add the entries the zips require. Let me know how these work!

4.0 or 4.0.7CT if you want to join in this testing phase. 4.0.7CT sounds amazing!

http://xdaforums.com/showpost.php?p=64804524&postcount=2731

Got a script entry for that lol? :good:
[Nexus 6 Themes and Apps] Mrcactuseater:
Can we get Atmos version?

Tapatalk'd from my Twisted, Blu-spark'd Nexus 5
[Nexus 6 Themes and Apps] guitardedhero:
You mean without ViPER4Android?
[Nexus 6 Themes and Apps] Mrcactuseater:
No haha, the Viper|Atmos, sorry for the confusion

Tapatalk'd from my Twisted, Blu-spark'd Nexus 5
[Nexus 6 Themes and Apps] adm1jtg:
Ok so I have mine all working but its in pieces is there a ct version or can you make one that has ONLY the following changes from the original 4.0 dark:

Replace dark theme apk with original apk

The changes to audio mixer to make both boost speaker values the same, (preferably 1), This is how they currently read on stock 6.01

<ctl name="BOOST Left Ch Select" value="1" />

<ctl name="BOOST Right Ch Select" value="2" />

the changes to audio_effects.conf list above so audio doesn't ramp up but starts at full volume

comment out the following lines

# ring_helper {

# library mot_speaker_helper

# uuid bce61ec2-eca4-445c-9dcb-91cc7cce01ad

# }

# notification_helper {

# library mot_speaker_helper

# uuid bce61ec2-eca4-445c-9dcb-91cc7cce01ae

# }

# ring {

# ring_helper { }

# }

# notification {

# notification_helper { }

# }
[Nexus 6 Themes and Apps] guitardedhero:
No worries, is this what you want?

http://xdaforums.com/showpost.php?p=64804524&postcount=2731

I don't know why you mixer_paths.xml has changed as it's certainly not in the zip nor in the script. I don't feel comfortable removing those entries from the audio_effects.conf at this stage in the Compatibility Test. I need confirmation that Samsung and HTC users have a compatible package that works for everyone else before any changes like that.
[Nexus 6 Themes and Apps] Syoenth:
I managed to run V4A, I just have problem running Dolby Atmos, it FC
[Nexus 6 Themes and Apps] guitardedhero:
What phone/rom and ViPER version flashed?
[Nexus 6 Themes and Apps] Mrcactuseater:
Just didn't want to get left out of the updates!

Tapatalk'd from my Twisted, Blu-spark'd Nexus 5
[Nexus 6 Themes and Apps] guitardedhero:
Just in time, best version yet! :good:
[Nexus 6 Themes and Apps] CNDow:
[MENTION=4445176]guitardedhero[/MENTION] I haven't given up! N 6P, Pure nexus, stock kernel, no xposed, Permissive, wiped caches, & system, unmount system, flashed, ROM, GApps, 4.0.7 & still prompted to install drivers.

I see your zip patched the files i changed & confirmed it

is there anything else you can think of or is there anything that I can manually clean ?
[Nexus 6 Themes and Apps] guitardedhero:
If you let v4a install the driver, does it change from /system/lib/soundfx/libv4a_fx_ics.so that is 810.09kb or add anything different?
[Nexus 6 Themes and Apps] CNDow:
That file is there 814.09K with today's date
[Nexus 6 Themes and Apps] guitardedhero:
ViPER|Atmos™ 4.0.8CT Beats™ Huawei™​

4.0.8CT, the eighth update in the Compatibility Test of this testing phase simply removes /system/customize as I just realized this used only as a test and can likely cause harm rather than good. It's been removed from the backup script as well. Users with this folder and its contents resulting from my packages should delete this folder or contents before flashing 4.0.8CT as removing it via the install script would delete possible stock device files which is a bad idea obviously. Simply flash over your phone's current state once this folder has been deleted from your device. Getting closer guys!
[Nexus 6 Themes and Apps] guitardedhero:
Nothing extra found there? I recommend wiping System in TWRP, dirty flashing PureNexus, and flashing 4.0.8CT
[Nexus 6 Themes and Apps] CNDow:
In not sure what you mean by extra
[Nexus 6 Themes and Apps] guitardedhero:
ViPER|Atmos™ 4.0.9CT Beats™ Huawei™ Edition​

4.0.9CT, the ninth update in the Compatibility Test of this testing phase removes the other two test files I had forgotten about when I included the /system/customize folder early on when the Beats™ Edition first came out. These two /system/etc AudioBTID files are also removed from the backup script. Just like before, I request that those with these two files added by a ViPER package be deleted before flashing 4.0.9CT as no remover will be used as to not affect devices with those files in stock form.

/system/etc/AudioBTID.csv

/system/etc/AudioBTIDNew.csv

Getting close guys, I feel it!

Please report what you guys find while including device, rom, and version flashed.
[Nexus 6 Themes and Apps] guitardedhero:
That is not the Super Quality driver included in the zip. I'm assuming you chose v4a to install the High Quality driver, is that correct?
[Nexus 6 Themes and Apps] CNDow:
Correct
[Nexus 6 Themes and Apps] guitardedhero:
Have you tried posting your issue on the 6p PureNexus thread? I'd say try 4.0.9CT but 6p PureNexus users haven't really had any troubles once I figured out I needed to patch /vendor/etc/audio_effects.conf.

Have you tried renaming /vendor/etc/audio_effects.conf and rebooting?
[Nexus 6 Themes and Apps] CNDow:
DING DING :good:

Maybe I can get some work done now :cool:

Thanks for your help [MENTION=4445176]guitardedhero[/MENTION]
[Nexus 6 Themes and Apps] guitardedhero:
:victory:

I know you're relieved! You shouldn't have to rename that file though. Didn't you guys get a new vendor partition recently? Did you flash it or not flash it? I'll be satisfied when the only thing you have to do after flashing is enabling v4a.
[Nexus 6 Themes and Apps] CNDow:
Yes I did flash the vender zip in TWRP I wonder if flashing the IMG through fastboot would make a difference.
[Nexus 6 Themes and Apps] r80ies:
These post do not provide any info that I did not already know. Further, they do not explain why the headphone jack would not be detected by Viper or Lollipop all together. I do appreciate your help, and 2.3.4.0 did work on my phone for a few days also. The only thing I can point it to is a busybox update I received the other day, and since then, until my dirty flash my phone was practically a paper weight. I know Viper uses busybox so maybe something beyond my knowledge was changed or whatever, but I am working fine now on 2.3.3.0.

Also for the people still with non-working headphone jack. I used NRT to stock unroot without flashing media and force no encrypt, then I re-root back with TWRP 2.8.5.0.
[Nexus 6 Themes and Apps] ozg33k:
Sweet, working under nuplayer enabled and normal mode
[Nexus 6 Themes and Apps] TheLoverMan:
got it working thanks so much :)
[Nexus 6 Themes and Apps] schoeni_tho:
Hi! You have to install just one of the apk Files, you MUST choose the correct one for your Android Version
[Nexus 6 Themes and Apps] reinert012:
Doesn't seem to be working on 5.1
[Nexus 6 Themes and Apps] lifeatabhi:
Working fine for me on 5.1.0

Need to change the state of kernel, that I forget to change!
[Nexus 6 Themes and Apps] blinde:
Works just fine. Make sure that you have set your kernel to permissive mode.
[Nexus 6 Themes and Apps] MichaelYip:
Doesn't seem to be working on Nexus6 5.1
[Nexus 6 Themes and Apps] reinert012:
I'm getting better quality sound out of my headset with poweramp EQ than with viper4android enabled and poweramps EQ turned off :eek: Interesting.

That doesn't seem right, does it?

---------- Post added at 10:03 AM ---------- Previous post was at 10:02 AM ----------

Had the same problem yesterday, read back a page or so and you'll see it works if you follow the steps.
[Nexus 6 Themes and Apps] Android-Desire:
Viper4Android have only worked for me on my S4 4.4.4, on myt Nexus 6 i cant get to work at all, permissive always on.

I use the other one modified for all roms, EQ from CM12.
[Nexus 6 Themes and Apps] aalupatti:
It has worked great for me for many different roms on Nexus 6.

Many times I had to flash the files in this thread ( not exactly the one from the first post ) .

Try the files in the this post http://xdaforums.com/showpost.php?p=59186504&postcount=245
[Nexus 6 Themes and Apps] ok2nvnexus:
will this work on stock rooted
[Nexus 6 Themes and Apps] boysetsfire:
Works perfectly for me, just be sure to have set SELinux to permissive mode.

Inviato dal mio Nexus 6 utilizzando Tapatalk
[Nexus 6 Themes and Apps] ok2nvnexus:
What's selinux??? Sorry still learning lol

---------- Post added at 06:51 PM ---------- Previous post was at 06:45 PM ----------

Noob sorry figured it out lol
[Nexus 6 Themes and Apps] grayskul:
Type selinux in the Google play store. It's a free app. There is only two choices in the app. Enforcing or permissive. Select permissive and you're good to go.
[Nexus 6 Themes and Apps] FatCat0:
Do you have to leave SELinux on permissive or just do this during installation?
[Nexus 6 Themes and Apps] boysetsfire:
It has to stay permissive or Viper won't work.
[Nexus 6 Themes and Apps] nickmilla15:
I did a quick search, and couldn't find the answer. What's the difference between the remove fx and regular zips? Thanks in advance!
[Nexus 6 Themes and Apps] urnamese3:
The regular one only contains Viper 2.3.4.0, so you have to manually flash the 2 zip patches you find in the OP and the other one will install Viper4Android in priv-app, the 2 patches for Lollipop and remove AudioFX, DSP manager, and MusicFX.

It's also written in the OP.

https://whokal.tinytake.com/sf/OTgyMDlfNjU3NTA0
[Nexus 6 Themes and Apps] nickmilla15:
It isn't written in the OP that the remove fx zip uninstalls audio fx, dsp manager, and MusicFX. Thank you for answering me though! ?
[Nexus 6 Themes and Apps] tcat007:
4.09 no issues. Chroma/Franco/6p. Permissive or Enforcing both fine.
[Nexus 6 Themes and Apps] masInvasion:
[MENTION=4445176]guitardedhero[/MENTION],

This is amazing work. Thank you for all of this. Luckily I stumbled across it when searching for Viper4Android with SELinux enforced.