yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Bygepp:
Same issue here! I put custom presets in com.pittvandewitt.viperfx/files/Preset folder, but nothing appears on the chooser dialog.

If I create a new preset it correctly appear in the chooser dialog and in the folder, so the directory is correct, I really can't understand...

Hello, I tried your presets but still not working (thank you anyway)
[Android Apps and Games] Techguy777:
Am I missing something you really need a file to load up the settings they like? It's not that hard go through and adjust the settings to your liking. It's not like like there's a magical profile that makes Viper sound so much more amazing. I thought all of that stuff at first and I found I always like the same settings on every single headphone I have a little surround sound level 3 the clarity 12db or 14.8db, dynamic system for bass I don't use the actual bass and of course gain moderate all the way up with no limits. I use 2.3.4 though so there's that.
[Android Apps and Games] Bygepp:
Lol, ok so let's play a videogame without savings...

Your speech makes no sense, if I'm having troubles with using a feature, I have the right to ask and discuss with other users who have the same issue.
[Android Apps and Games] _mysiak_:
New Viper app has different folder/file structure for presets.

Old one:

/internal_sd/com.pittvandewitt.viperfx/files/preset/CUSTOM_PRESET_NAME_FOLDER/headset.xml

New one:

/internal_sd/com.pittvandewitt.viperfx/files/preset/CUSTOM_PRESET_NAME_FILE-headset.xml

Old and new profiles are not compatible, so simple renaming will not help. I would advise you to either re-create profiles again and save them from new app, or use this automatic tool which will do it for you - https://zackptg5.com/downloads/V4A-Profile-Converter.zip
[Android Apps and Games] Bygepp:
Hello, thank you for your answer.

Already tried to put the file in /internal_sd/com.pittvandewitt.viperfx/files/preset directory, outside any other folder, but preset still not recognized.

Also tried to convert old ones, or to use some presets surely working on other devices with new app, but still no success...
[Android Apps and Games] _mysiak_:
Just to be sure, do you try it with headset connected? App/widget will show presets for the currently active sound output (phone speaker/headset/bluetooth).
[Android Apps and Games] Bygepp:
Yes also tried with headset connected, and tried different presets for speakers or headset...

I know it's really weird, I even tried to open with a text editor the xml of a newly created preset (correctly seen by the app), and a custom preset (not seen), and I can't see any difference in the structure...

Maybe some attribute or permission need to be granted? I know that probably it's a stupid question, but I can't imagine other hypotheses 😂
[Android Apps and Games] _mysiak_:
Do you have that many custom presets? I didn't really bother with the conversion/restoration, I just re-created profiles from within the new app (I have only 3 though).. :)

But if you want to investigate further - create a new profile, save it and then overwrite the content with your custom preset, and see what happens.

Btw. don't compare the files by an eye, use some diff app to confirm that they are really the same.
[Android Apps and Games] Jarod5001:
Can't find the download links. Xda labs not working anymore 😕
[Android Apps and Games] Kiastinger:
Magisk has the downloadable v4a.
[Android Apps and Games] theboz1419:
Is there anyway to get Viper to work with Android Auto?
[Android Apps and Games] grulong:
Any way we can download the file now that xda labs been shut down?
[Android Apps and Games] _mysiak_:
Link from the first post - https://zackptg5.com/android.php#viper
[Android Apps and Games] Esper Nyanko:
Superb! Just work like a charm!

Almost giving up about Viper after update my ROM (or maybe Magisk).

Thank you very much! 😄😄

Tested on Redmi Note 7, MIUI 12.5 (21.2.3 xiaomi.eu) Magisk version 21.4.
[Android Apps and Games] Techguy777:
Well I tried giving this viper a shot. I have the S10 lite with One UI 3.1 update and I installed this viper and it wouldnt work. I played around and it finally worked in legacy mode however I had to restore the rom from a bootloop and my backup had viper processing and than after a wipe and restore it wouldnt work again. Nothing would make it work not even legacy. Thats a new one ive never had viper stop with a restore. I ended up going back to lineage but im letting people know with one ui you might not get it working.
[Android Apps and Games] Abdul M Ahmed:
I am on Magisk 22 do i need to downgrade inorder to use V4A? pls
[Android Apps and Games] Wishmasterflo:
I am using V4A with Magisk 22.0 on my Oneplus 6t without issues.
[Android Apps and Games] Abdul M Ahmed:
:love: Thanks Man!
[Android Apps and Games] DiamondJohn:
I have a Pixel 4a, and just upgraded to the Mar firmware and also to Magisk v22, (I was holding out because of people reporting issues, and the upgrade was actually a little by accident) with Viper. It is working, but I did lose my settings and had to re-set my config in Viper. That may have to do with the fact my first boot was without Magisk, and so it booted without Viper, and thereby Android cleared the orphaned Viper app data.
[Android Apps and Games] rigadoog:
Noob question:

Is there a way to set this so that it auto switches between EQ settings if it's outputting from bluetooth/phone speaker/whatever?
[Android Apps and Games] iamMG:
oscillum's post over here made V4A v2.7.2.1 (Legacy Mode) working for me on my OnePlus 7 Pro running OOS 10.3.8, Magisk v22.0, Audio Modification Library v4.0.
[Android Apps and Games] Techguy777:
A lot of you are having trouble with OneUI like I did well you have 2 options if there is a permissive kernel I recommend that first it always works. However with 3.1 you have to turn on legacy mode and dolby atmos in quick settings and than viper starts playing. It doesn't stop if you shut off dolby either. With dolby music is like 90 percent the same as 2.3.4 but video voices still are more processed sounding but 2.3.4 is impossible on samsung without permissive kernel.
[Android Apps and Games] Burt Squirtz:
Every text editor I've tried for one UI 3.1 is not able to open up this file to make these changes. What Root browser or text editor are people using?
[Android Apps and Games] Burt Squirtz:
Dude you're an absolute genius. This even works in one UI 3.1.
[Android Apps and Games] Techguy777:
I know I agree in oneui it doesn't show the data adb modules folder in system but it does show in twrp which is weird. I don't understand this anymore android has gotten extremely difficult.
[Android Apps and Games] Techguy777:
Honestly I dont know if that did because I got viper working by turning on legacy mode without filling out all that stuff with dolby also activated. So I think that did it.
[Android Apps and Games] _mysiak_:
I see that you solved it already, but it might help others - I am using Total commander for Android with root access enabled + internal text file editor. It will automatically change file access rights if necessary.

Sometimes I use Total commander for Windows + ADB plugin - this way I can edit files on my PC directly.
[Android Apps and Games] Techguy777:
Honestly I dont know if that did because I got viper working by turning on legacy mode without filling out all that stuff with dolby also activated. So I think that did it.

Thanks I tried every file explorer and none of them showed that folder not even mixplorer. Total commander worked wonder why.
[Android Apps and Games] Techguy777:
I'm dumb mixplorer didn't have root access I thought it did.
[Android Apps and Games] wayase8080:
I'm not sure if it was mentioned in this thread already, or if this is the right thread for my question, if not please re-direct me to the correct one. I believe I have no other audio modifications in place as I installed and then removed "Ainur Narsil", which should supposedly leave me with "pure" audio. Viper is working, but only with some apps, with others (like mpv, bromite, simple clock and probably others, which I have not tried yet), sometimes I get audio, but not modified through Viper, other times I get no audio from these apps at all, from the basic troubleshooting I've done, it seems that this is caused by wheter I turn the Master Limiter option on before I launch one of the said apps or if I do so, but afterwards. The latter results with me getting un-modified audio and "Processing: no", and the former results in getting no audio and "Processing: Yes", but when I turn on the notifications, no "Proccessing 'x' "popup can be seen. Some apps, like NewPipe and MusicPlayerGo work fine. Installing the Magisk module "Audio Compatibility Patch" did not work.

I'm on LG V20 F800 (dirty santa'd into US996) with x86 LOS 17.1 for 996, with 3.18.71 Gamma Kernel.

Viper>

Driver version: 2.5.0.4

NEON enabled: Yes

Enabled: Yes

Status: Normal

Audio format: Supported

Processing: yes/no (based on what I described earlier)

Sampling rate: 48000

If you need any logs and such, I'll be sure to try and provide them. A possible solution would very much be appreciated.
[Android Apps and Games] Ms0206:
Simple - some postings before I linked the older v2.7.1.6 - uninstall your latest Viper-version, install the older 2.7.1.6. Works as it should without any big problems.

After this avoid an update. xxxxxx

Mod Edit: Disrespect
[Android Apps and Games] wayase8080:
Thank you, and sorry for bothering you with a question that would have been answered if I had simply skimmed through the last ~5 pages of this thread. Everything I tested so far works well.
[Android Apps and Games] rn3miii:
Thanks a lot, that worked for me with Android 10/Magisk 22/V4A 2.7.1.6 (with audio modification library and audio compatibility patch).
[Android Apps and Games] Demianis:
Just for the record. This works with Magisk 22.00 on Android11 with OneUI3.0

Many Thanks or the solution!
[Android Apps and Games] revelbytes:
I'm curious to know, did you have to install the Audio Modification Library or the Audio Compatibility Patch? Or did you simply install viper and modify the post-fs-data file?
[Android Apps and Games] kashif9:
Hi Guys, May Be Some person already posted the method which I tried and it worked. I have Samsung A715F and Viper4Android was not working on the Magisk 22.0. So I downgraded Magisk using Custom Channel to 21.2. I installed Audio Modification Library and Then Viper4Android Latest Version directly from Magisk. I didn't rebooted from Magisk. I opened V4A First and then Let the Drivers Installed and phone rebooted. After Reboot I opened V4A and Turned on Legacy Mode. Rebooted Again and After that V4A is Working Perfectly.
[Android Apps and Games] ShinigamiDa:
Hi Guys,

I think I messed up Xiaomi k20 pro audio drivers. Here is how - (I use evolution X 10.0 Official ROM)

First, without any prior research I installed "viper4android XHiFi" through magisk and installed it's audio driver, after hectic bootloops and audio distortions, I uninstalled it, still I can notice some distortions(around 5%) sometimes, later, I reset system, data, vendor, firmware, deleted android folder in internalStorage(through OrangeFox Recovery), but can still notice 5% distortions in audio(both speaker and headphones).

Next, Installed "viper4android" (non XHiFi version) assuming that might fix it, it also gave distortions to the device(90% distortion as beginning) and uninstalled it later. Still again, there are 5% distortion (even after full reset as before).

Next I installed MIUI(through fastboot and mi Flashtool, not recovery) and immediately reinstalled OrangeFox and Evolution X (i did not check for distortions in MIUI), still having 5% audio distortions without installing anything related to audio.

How do I fix this? Please Help !!
[Android Apps and Games] innit:
Thanks for this! Solves the issue on OneUi 3.1.
[Android Apps and Games] Ms0206:
Its working in legacy mode - so its not perfect, xxxxxxx

Mod Edit: Disrespect
[Android Apps and Games] Owlbert8:
Just install audio modifications library on magisk. I had the same problem. Now its totally fine 😊
[Android Apps and Games] ShinigamiDa:
Tried that, but no use. And as I mentioned above, I did a complete device reset through MI flash tool, still the problem persists.
[Android Apps and Games] Ms0206:
What are the mods here doing???

Delete this 2.7.2.* update please! Its the source of all problems here....why do the mods watch this since months and doing nothing?

Unbelieveable in my opinion whats going on here....more than 20 pages just because noone is willing to remove a defect update...
[Android Apps and Games] Lord Sithek:
Well buddy, not everybody would agree with your opinion.
[Android Apps and Games] Ms0206:
Is there just 1 person, where the latest update work as it should? And no, legacy mode is not - as written by others in earlier postings - "working", its just a fallback for problems.
[Android Apps and Games] _mysiak_:
Yep, me (and many others who used the magiskpolicy fix). Viper works with or without legacy mode, but I don't hear the difference between standard and legacy mode anyway (tried on a couple of headphones, both modes sounds the same). I assume that the difference is in how the equalizer connects to the audio session, the audio processing itself is still the same.
[Android Apps and Games] Ms0206:
With a fix....ok^^

Also on YouTube?
[Android Apps and Games] _mysiak_:
https://xdaforums.com/t/app-all-root-solutions-6-0-viper4android-fx-2-7.3774651/post-84121895

This fix. Instructions should be easy enough to follow even without a video.

Edit: if you are asking if the Viper processes audio in Youtube application, then yes - it process audio system wide in all apps while in legacy mode. In non-legacy mode, as far as I know an app must announce its audio session ID to allow equalizer to connect to it and Youtube doesn't do that.
[Android Apps and Games] ferreter:
V4a v2.7.2.1 from the magisk repo is now working for me, after updating magisk to latest canary version (22005), using audio modification library module, and using legacy mode on V4a. (OnePlus 8 pro IN2020, build 11.0.4.4). Couldn't get it to work with my previous magisk version it seemed (22001), but might have been something else going on.
[Android Apps and Games] ShinigamiDa:
Mod Edit: Quote removed since post deleted

ok, will try
[Android Apps and Games] Pihexur:
why not much option?
[Android Apps and Games] _mysiak_:
Connect your headphones.
[Android Apps and Games] gil80:
Mod Edit: Quote removed since post deleted.

I used the search but couldn't find a link for 2.7.1.6

Can you please help?
[Android Apps and Games] Pihexur:
Cant find 2.7.1.6
[Android Apps and Games] _mysiak_:
Mod Edit: Quote removed since post deleted

App is not broken, it's how Android 10/11 handles audio sessions and equalizer apps. Just because you don't understand it doesn't mean it's "defect".

"Hack" is only fix for recent Magisk versions and "fallback" legacy mode works perfectly fine system wide even in Android 10/11.
[Android Apps and Games] gil80:
Using LinageOS 17.1 on OnePlus One with the latest stable Magisk.

Tried using that script on post-fs-data.sh

Tried legacy mode

Installed audio modification libraries

nothing works for me

It doesn't show processing.

Can someone please help?
[Android Apps and Games] _mysiak_:
What status do you see in the driver info? Normal or abnormal? If it's abnormal, try to disable SELinux (type in terminal as root user "setenforce 0") and try it again. Don't forget to actually play some music in a music player app. :)
[Android Apps and Games] gil80:
My tests always include music playing. I have v4a since 2015 :)

It's abnormal.

Setting to legacy mode, it's normal but not processing.

I'd rather not have SELinux disabled/permissive.
[Android Apps and Games] _mysiak_:
It's only for the test to narrow down the problem. :)
[Android Apps and Games] gil80:
Doesn’t work with permissive.
[Android Apps and Games] _mysiak_:
If it doesn't work with permissive + legacy and/or compatibility mode, then I'm out of ideas. :) Maybe someone else will chime in.

Btw. older Viper releases can be found here https://www.apkmirror.com/apk/team-dewitt/viper4android-fx/
[Android Apps and Games] gil80:
thanks.

this is APK, not ZIP. how come?
[Android Apps and Games] _mysiak_:
Do you have a zip file for me?

No. There is no point in providing a zip file anymore. The driver installation is written from scratch and actually works now

Source: https://xdaforums.com/t/app-all-root-solutions-6-0-viper4android-fx-2-7.3774651/#post-76155035
[Android Apps and Games] Pihexur:
Any idea ? 2.7.1.6 ver
[Android Apps and Games] _mysiak_:
Does it happen also with the latest version?
[Android Apps and Games] Pihexur:
2.7.2.1 work perfect
[Android Apps and Games] _mysiak_:
If 2.7.2.1 works perfectly, why do you bother with 2.7.1.6? 🙂
[Android Apps and Games] Pihexur:
Because got little choice. Dont have bluetooth, USB mode
[Android Apps and Games] _mysiak_:
You must connect audio device first. App shows options available for currently connected audio output. In your case it's phone speakers. As soon as you connect headphones, the menu will change.
[Android Apps and Games] file2mail:
So I tried the Viper4Android 2.7.2.1 magisk module ... and immediately went into bootloop.

simply removing the magisk module from twrp browser does nothing. What are the files that magisk module changed?? How can I get this back to normal!?

On android 11 with a s10
[Android Apps and Games] DiamondJohn:
Have y0u checked for scripts in post-fs-data.d and service.d?
[Android Apps and Games] gil80:
Ok, trying to have another go at this.

Using latest Magisk. Oneplus one. LinageOS 17.1

Using Viper4Android magisk module.

I removed the Audio Modification Library module and made sure all of its files are gone.

I have the following folders and files in the attached screenshots. Are these correct? Should I have them in the folder they appear?

I'm really confused. Why is it always an issue installing V4A?

It worked before well. The latest version is not working. Installing previous versions are no longer working either. WTF?
[Android Apps and Games] file2mail:
Ive tried deleting the /data/adb folder and still wont boot
[Android Apps and Games] DiamondJohn:
get and review your last_kmsg That is the log to look at for boot issues.
[Android Apps and Games] sand_man:
Working beautifully on Oneplus 7T Pro, model 1913, Android 11RC, rooted, Magisk Canary, xXx NoLimits rom...

provided SElinux is set to permissive mode: using Termux rooted>su>setenforce 0 (still green as to what the risks are re permissive mode). Rebooting phone restores to enforced mode.

Installed via Magisk - V4A v2.7.2.1 + Audio Modification Library v4.0 (not sure if the latter is necessary)
[Android Apps and Games] sand_man:
Actually thanks for this!! This solution negates the SElinx permission work around!! Great work!
[Android Apps and Games] file2mail:
been sifting through the 2mb log file! ... after hours, i pretty much feel like i dont know what im looking for

This is the only fatal exception in the log, and not sure how to deal with "com.android.server.voiceinteraction.VoiceInteractionManagerService":

<6>[ 17.950594] [6: system_server: 5675] !@*** FATAL EXCEPTION IN SYSTEM PROCESS: main
<6>[ 17.950594] [6: system_server: 5675] java.lang.RuntimeException: Failed to create service com.android.server.voiceinteraction.VoiceInteractionManagerService: service constructor threw an exception
<6>[ 17.950594] [6: system_server: 5675] at com.android.server.SystemServiceManager.startService(Unknown Source:118)
<6>[ 17.950594] [6: system_server: 5675] at com.android.server.SystemServiceManager.startService(Unknown Source:13)
<6>[ 17.950594] [6: system_server: 5675] at com.android.server.SystemServer.startOtherServices(Unknown Source:4716)
<6>[ 17.950594] [6: system_server: 5675] at com.android.server.SystemServer.run(Unknown Source:424)
<6>[ 17.950594] [6: system_server: 5675] at com.android.server.SystemServer.main(Unknown Source:5)
<6>[ 17.950594] [6: system_server: 5675] at java.lang.reflect.Method.invoke(Native Method)
<14>[ 17.952005] [4: init: 1] init: starting service 'resetreason'...
<3>[ 17.953829] [0: kworker/u16:2: 71] IOF drv: Can't obtain absolute path: (null) (null)
<14>[ 17.954163] [3: init: 1] init: Control message: Processed ctl.restart for 'resetreason' from pid: 5675 (system_server)
<14>[ 17.965879] [5: init: 1] init: starting service 'bugreportd'...
<3>[ 17.968082] [0: kworker/u16:2: 71] IOF drv: Can't obtain absolute path: (null) (null)
<14>[ 17.968207] [0: init: 1] init: Control message: Processed ctl.start for 'bugreportd' from pid: 5675 (system_server)
<6>[ 18.164121] [7: BootAnimation: 5673] !@BootAnimation : Number of frames drawn 161
<6>[ 18.281268] [7: iod: 5020] !@ 8,0 r 40302 1682232 w 945 31504 d 274 12468 f 224 371 iot 6784 6584 th 102400 0 0 pt 0 inp 0 0 18.270
<6>[ 18.442923] [7: kworker/7:4: 5182] samsung-abox 18c50000.abox: abox_disable
<6>[ 18.446552] [7: kworker/7:4: 5182] samsung-abox-gic 18cf1000.abox-gic: abox_gic_disable_irq
<6>[ 18.603835] [6: kworker/u18:0: 1439] [SSP]: MSG From MCU - Sensor_Algo =>
<6>[ 18.603835] [6: kworker/u18:0: 1439] [SSP_MCU] 000000 0001000000 0000000000 0000000000 0000001000 0000000000 0000000000 0000000000
<6>[ 18.603835] [6: kworker/u18:0: 1439] [SSP_MCU] LCD On_Off 1, AP_Status 1
<6>[ 18.603835] [6: kworker/u18:0: 1439] [SSP_MCU]Sensor_Bypass => ACC:0,-1,20 Gyro:0,-1,20 Mag:0,-1,-1
<6>[ 18.603835] [6: kworker/u18:0: 1439] MagC:0,-1,-1 Baro:0,-1,-1 Prox:0,-1,-1 Light:0,-1,-1 UnGy:0,-1,-1
<6>[ 18.603835] [6: kworker/u18:0: 1439] GRV:0,-1,-1 RV:0,-1,-1 Bulk:1,60 Timer:20 VDIS = 0, VDIS_Bat = 0, Motor = 0
<6>[ 18.604370] [7: BootAnimation: 5673] !@BootAnimation : Number of frames drawn 171
<2>[ 18.855055] [6:SettingsProvide: 5873] watchdog: watchdog1: watchdog did not stop!
<6>[ 18.855067] [6:SettingsProvide: 5873] softdog: softdog_ping: 100
[Android Apps and Games] DiamondJohn:
The name of the theme implies it would not be a light/white theme as the original poster wanted, but it does show some people are already making themes for it, so a search may result in what they are seeking/requesting.
[Android Apps and Games] rippledrums:
Sadly no, there is no substratum theme that makes this particular V4A light/white.

I do use the theme made by the same team but only for changing the accents. It's available in XDA Labs if anyone is wondering.
[Android Apps and Games] Growtopia Jaw:
Wow! Thanks for the complete answer! I am very happy with it and you've answered all the questions.

Thanks for providing the source code too! Although I didn't ask for it but thanks anyways!

Hope you have a nice day too!
[Android Apps and Games] Team_DeWitt:
That's quite an understatement. In the OP there's a feature list of what's been added and improved.

That's possible, but it won't be easy. I'll see what I can do
[Android Apps and Games] rippledrums:
I think it would be in the interest of the community if the original developer released the updated source both for the app and driver or at the very least sell it.

Stopping development and hoarding it is just wrong in my opinion.
[Android Apps and Games] -->:
Wait so the original V4A has been discontinued?
[Android Apps and Games] rippledrums:
Says "Development: Inactive" and has been for years.

That's why there's no 64bit driver.
[Android Apps and Games] shadowstep:
The latest version is 2.6.0.6 (at least on their Telegram Channel). You can download it from this post of mine. :)
[Android Apps and Games] MrBrady:
Was pointed here from the Unity Viper thread. Looking for a rootless solution and the previous thread said to grab the zip from here. Does anyone have instructions for a rootless install (pixel 2 xl w/ TWRP).

I downloaded v4afx_materialized_v1.4(2.6.0.6).zip. Installed through TWRP. Looks like everything was successful, athough I see "Addon.d not detected. And This root method has no boot script support! You will need to add init.d support!", for which I flashed init.d-injector_v1.7.zip first.

When I boot the device, I see no Viper in the app drawer. If I install the Viper APK from XDA Labs, it asks to install the drivers, but can't because I'm rootless.