yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] DiamondJohn:
Thats what I have had to do with all previous installations of Viper. Personally, I freeze & Hide the Audio FX. Doing a freeze / hide or both (as opposed to uninstalling it) means that when dirty flashing an update of the ROM, the Audio FX app stays frozen/hidden. This step can be achieved via many many apps on the playstore, with a shell command / ADB.

Something like:

am force-stop <APP_CODE>;
pm disable <APP_CODE>;
pm hide <APP_CODE>;

Where <APP_CODE> will be something like com.android.musicfx, specific to your ROM. I Think LOS has AudioFX in the name.

I also have built a utility that wraps this functionality in a UI called TeMeFI (Find it the menu under "Application Info / Manage>State>Hibernate-Freeze-Hide")

Crashing is something I have not experienced. Maybe a logcat might be best for a crash.
[Android Apps and Games] Zilla0617:
Yes and it didn't load the file.
[Android Apps and Games] Guilhermex12:
Would be nice
[Android Apps and Games] sythlord66:
I thought the same too until it worked. I ended up looking for a solution, was going to flash arise was looking at some of their files in the zip and came across this...

Some ROMs don’t set/link the default ViPER folder in the right place. Always check all of these locations before reporting such an issue:

* sdcard/ViPER4Android (Default Location)

* Data/media/0/ViPER4Android (Most Common)

* Data/media/legacy/ViPER4Android

* Data/media/emulated/legacy/ViPER4Android

If you find the profiles in any one of these locations, simply copy them to the default location (sdcard/ViPER4Android) and re-launch ViPER4ARISE FX. You should be able to see the profiles now.

I know it says profiles but it worked as far as me getting the convolver to work
[Android Apps and Games] Zilla0617:
Where do you get viper4arise fx?
[Android Apps and Games] JJEgan:
In the Original Viper 4 Android thread.
[Android Apps and Games] Joe199799:
2.6 should be fine they just rewrote the app in kotlin and targeted for a more recent android version
[Android Apps and Games] ooonea:
You are the best in the world! Thank you so much!!!
[Android Apps and Games] Olegkyka:
- Copying zip to temp directory

- Installing v4afx_materialized_v2.7.1(2.7)-1.zip

Archive: /data/user/0/com.topjohnwu.magisk/cache/install.zip

inflating: common/unityfiles/tools.tar.gz

inflating: common/unityfiles/util_functions.sh

Unzipping files...

*******************************************

* ViPER4Android FX Materialized *

*******************************************

* v2.7.1 (2.7) *

*by ViPER520, ZhuHang, pittvandewitt, MrWhite214*

*******************************************

- Mounting /data, /cache

- Magisk install detected

- Mounting /system, /vendor

- MagiskSu detected

/dev/tmp/install/common/unityfiles/util_functions.sh: line 664: /dev/tmp/install/addon/*/main.sh: No such file or directory

This zip is only for rootless devices!

The APK has been copied to your sdcard (internal storage)

Install apk normally!

! Installation failed
[Android Apps and Games] kevintm78:
Just follow what the zip tells you. Install it like you would any other user app and the app will do the rest.

I tried to overcomplicate the install at first too, but installing as a user app works perfectly for me. I'm assuming because I'm using a permissive kernel is the reason I didn't need any additional modules to make it work with Spotify, YouTube, etc. All I had to do was delete /system/priv-app/AudioFX and it works perfectly.

My phone*

Samsung Note 4_LOS 16.0_ permissive kernel
[Android Apps and Games] darko454:
Dark theme?

hey! How can i switch to the dark theme?
[Android Apps and Games] HerrT:
The changelog in the 3rd post mentions this: "App follows system dark/light mode (can be toggled with google messages e.g.)"

Now searching this thread for "dark mode" and/or "google messages" will give you more details if needed...
[Android Apps and Games] TenzoSRx:
Hopefully a magisk version will be available soon
[Android Apps and Games] DiamondJohn:
If you install v2.7, a Magisk module is automatically created.
[Android Apps and Games] artisticwizard:
I think he means, installing magisk module directly that would install the app itself. The conventional way.

But yeah, this new method is very easy.
[Android Apps and Games] farzii:
Sony Wh1000xm3 bluetooth connection shows neon not supported
[Android Apps and Games] fuzmik:
Set it to 44100 or 48000
[Android Apps and Games] ramgeet:
will it work without root and magisk or custom recovery
[Android Apps and Games] racerx002:
No
[Android Apps and Games] DiamondJohn:
No. I do not install Viper via Magisk.

I have Magisk installed, then I simply install the Viper APK, it installs "stuff" then reboots the phone, and now there is a viper Magisk Module; which I did not explicitly installed. I have done the above more than once.
[Android Apps and Games] shouk_1987:
Viper4android doesnot start on boot although ia leaving the persistent on going notification

The notification auto start while viper is not processing unless I open it

I am using 2.7 apk on poco custom pie rom ( crdroid )
[Android Apps and Games] SirRhor:
Try the following (which is what I do): On Magisk there is a module called "Systemizer", install it, and use it on Viper4Android; use the "priv-app" option on it.

Reboot to make the changes effective, and then go to the Battery settings and change the app to "Not Optimized" under "Battery Optimization".
[Android Apps and Games] shouk_1987:
I did it but set to system not priv-app

Do you leave the ongoing notification enabled or not ?

Edit : I have tried and now it is not processing sound after setting to priv-app

I wiol revert to user app and I have to open it once after boot to make it process sound
[Android Apps and Games] my370z:
I found Magisk module work way more reliable than this 2.7 app app.
[Android Apps and Games] kevintm78:
+1

I'm not a big fan of magisk modules being applied to everything either. I understand if it is something that might break safety net but these kind of things I would rather not install systemless-ly.

Either way I'm going to use this app but just adding my 2 cents.
[Android Apps and Games] Vortell:
I think it's done for convenience of both users and distribution. I mean there are 32 bit and 64bit devices then a/b devices. Plus the install of arise was quite complex compared to magisk modules. With magisk u pick the mods u r interested in then install aml reboot. Plus these are easier to install without TWRP install.
[Android Apps and Games] kevintm78:
Yeah, I get that and I didn't mean to come off like I was complaining or anything. I just wish there was an easy option for a system install sort of like how the Dolby atmos mod works and there are other working examples that can install a package into the system across multiple platforms.

I'm not trying to start a controversy though. I love this app and I think that the devs are doing a great job. If I have to install it systemless-ly then that's what I'll do. :)
[Android Apps and Games] DiamondJohn:
Based on my (possibly incorrect) understanding of how Magisk works, you may be able to use the Magisk module as a template/instructions for a flashable zip that permanently modifies the system partition. For example, taking a simpler example, if you had a Magisk module that mounted a single file to replace an existing system file, creating a flashable zip (or even doing it manually in recovery) to replace the system file permanently (with ownership & permissions etc), then you would no longer need the Magisk module.

Although I too am not someone who likes lots of Magisk modules, a Viper module works for me as it stick after a dirty flash. Although, that too could be duplicated with the correct "backuptool.sh" script function of ROM flashable zips
[Android Apps and Games] Mrpookie:
The 2.7 APK works better for me.

Also, it appears to install the same magisk module as before. In fact, if you install previous magisk module and then 2.7 APK or leave 2.7 APK installed and Flash previous magisk module, both the old app and the new one work. Although it does replace the old app upon things like dirty flashing the new one still retains it's usability
[Android Apps and Games] fiannrs:
after install viper on my device processing show 'no' , and after flash Audio Compatibility Patch from from magisk, the sound is dissapear.

how to fix this?

thanks
[Android Apps and Games] sjamie:
Hmm... leaving the older Magisk viper module in place before I installed 2.7 messed things up for me. I had to make sure all previous viper mods were uninstalled before I installed 2.7 to make it work properly. Just sharing my personal experience in case it can help someone.
[Android Apps and Games] Maxissc:
Do you think it may be possible to make viper work without root by "hardchanging" selinux policies in the system to allow viper process audio? Because I have a locked bootloader s7 edge and have been trying to do that without success. Maybe someone can give me a hint.

The thing is, I can root and flash roms, but after that I have to quit being rooted because it makes the phone laggy and battery inefficient. I have viper succesfully installed but only processes audio when I root the phone. Also when being unrooted selinux is enforcing and I init.d doesnt work
[Android Apps and Games] DiamondJohn:
How are you suggesting "hardchanging" the selinux policies? change the source for the ROM?

I would also possibly spend a little more time on why your phone becomes laggy and battery inefficient when rooted, as most root solutions can be turned off per app, and root is only used when it is requested; ie if not requested, and not granted, it should logically not change the way the phone operates.
[Android Apps and Games] Maxissc:
The thing is, its the snapdragon version (verizon). Which has locked (and 99% not unlockable) bootloader. In order to achieve root we use a engineering kernel which is like an "alpha" version of official kernel and has lots of logs and debugging active. I've made almost everything possible in order to overcome eng kernel disadvantages (you can take a look at

thermal throttling solution...

in my signature), but the difference between them is still night and day.

Thanks to [MENTION=1949695]jrkruse[/MENTION] work we have a debloated easy to root stock rom (which we can root or unroot at will with only flashing one file via odin), so i can make changes in system and then boot unrooted.

So, as far as i know, originally viper needed selinux permissive in order to work properly. then by executing this with root permissions supolicy --live "allow mediaserver mediaserver_tmpfs:file { read write execute };" at boot we were able to make it process audio with enforcing selinux (but root is needed to do that)

I've searched without success how to make that (and everything neccesary, now i have forgotten almost everything i knew) without root (by modifying system files or whats necessary) so we could use viper without root and with enforcing selinux

Today i found this [TOOL] SEParser - Facilitate working with SELinux/SEPolicy by andrw.gldmn and i think it may be useful
[Android Apps and Games] pemulacupu:
tested on my phone. anyone got problem like me ?:confused:

1.Asus ZE620KL (Zenfone 5 2018)

Android 9 (Pie)

Stock ROM & Kernel (official)

Magisk 18.1

Audio Compability Patch

Viper status : already grant root and remove all sound things like (audiowizard and audiowizard service). when open the app > install driver > reboot > then somehow always no driver found each time open the apps, reboot and recurring.

2.Xiaomi Redmi Note 5 AI

Android 9 (Pie)

RR 7.0.1 ROM

Magisk 18.1

Audio Compability Patch

Viper status : already grant root and remove all sound things like (sounds and audioFX). when open the app > install driver > reboot > successfully install driver, but driver shown enabled : NO, Status : Abnormal, Audio Format : Unsupported, Processing : No

**** Already success on this phone, idk i just reinstall magisk via twrp. then. puff * ima keep ACP and install AML

i think my step on xiaomi are :

install ACP

install AML

reboot to activate ACP & AML

install viper2.7 apk from xda labs

auto grant root on magisk

open the app

reboot to install driver

enable master then wait..

at first actually my viper not proccessing..but several hours/days later its working. even on vance youtube :D:highfive:
[Android Apps and Games] BhanuGopal:
Not working Lineage OS16

Hello all. I have Lineage OS16 installed on my Oneplus 3t. The phone is rooted. Viper4Android FX 2.7 does not work on my phone and the Driver Status says: Dr. Ver. 2.5.0.4, NEON Enabled: No, Enabled: No, Status: Abnormal, Audio Format: Unsupported, Processing: No Sampling Rat: 0.

What could be wrong? Any help much appreciated. Thank you.
[Android Apps and Games] Lord Sithek:
I had to set SELinux permissive. I did it with Magisk SELinux Manager module. Nothing else worked for me
[Android Apps and Games] BhanuGopal:
Thanks for you reply. But I'm unable to locate this module. I have Magisk Manager 7. Which one do you have. Can you give me its full name? Thanks
[Android Apps and Games] Lord Sithek:
Yeah, it's not in repo. I had to googled it?️ and found on another xda thread:

https://xdaforums.com/apps/magisk/module-magisk-selinux-manager-t3760042
[Android Apps and Games] BhanuGopal:
Many thanks.
[Android Apps and Games] MikeyLee:
Went from 2.5 to 2.7 and it's no longer working. Driver seems to not be installed. There are no options in settings to do anything helpful.

**Edit** Got it working on my Xiaomi devices but not working on Huawei. No version of V4A will work on my Huawei devices.
[Android Apps and Games] rippledrums:
Huawei devices require a 64bit driver but since there is only 32bit ones, and no source code is available for the driver, it most likely will never work on Huawei.
[Android Apps and Games] MikeyLee:
Yep, never got it to work. I used JamesDSP. It's not too bad I guess
[Android Apps and Games] agplugged:
Hey guys, I searched the thread but couldn't find an answer so Imma ask here:

How exactly does the app find out if you're using dark mode or not? Reason is, I LOST dark mode in the app after updating my kernel and no method seem to bring it back. Is there a prop build or something that can be manually edited to allow dark mode?

I would also advise on having a toggle for it for later builds because the whole g messages thing gives A LOT of users a hard time...
[Android Apps and Games] Marty_Since87:
I wish I had root ? they need to make a non root version
[Android Apps and Games] bober10113:
its simpler to buy a rootable phone. the app mods the system. so not sure how it would be possible to make an app that only works with su rights work on a device that dosent allow this.

so in the end, the app is not the problem, but your device.

choose wisely next time.
[Android Apps and Games] schiff1108:
How to get driver 2.3.4.0?

What do I have to do to get this driver installed?
[Android Apps and Games] repey6:
Hi. Amazîng job! Thanks a lot.

Can you change next word in OP selected device to selected your connection type?

Kind regards.
[Android Apps and Games] Lenks:
Problem i had and how i resolved them:

1. APK won't install - delete the old app before install this one

2. Root permission fail - just try again, try opening magisk before opening the app or restart you phone in worst case scenario it will work sooner or later. :)
[Android Apps and Games] R1kki:
hi.

trying to install Viper (magisk version too), but can't install driver.

my phone (Xiaomi Redmi Note 6 pro - tulip) has updated from a8 to a9 (miui 10).

On Oreo Viper worked good, but on Pie it can't install the drivers.

How can I fix it? Maybe you need a log for help me?
[Android Apps and Games] pemulacupu:
Anyone have same problem like my asus ? i tried to lookup at thread somehow still cant install viper..

Youre on root right ? have you tried this below

install audio compatibility patch (ACP)

install Audio Modification library (AML)

**above are magisk module. you can search at xda labs

reboot

open magisk grant permission to root

install apk > reboot (dont open the app yet)

give storage permission to viper

open viper

i actually have some problem too. a lot weird problem. but its solved now when i tried to mix up several times. even reinstall my magisk lol:cyclops: well these steps only work on my redmi note 5 ai, but on my asus still not working at install driver..
[Android Apps and Games] R1kki:
didn't help.

also, I downgraded Magisk to 18.1, but nothing changed.

Viper was granted all permissions, but the app can't install the driver. Every reboot it wants to install drivers and nothing changed.
[Android Apps and Games] docteurcrook:
Hi everybody...

Since I've moved to pie rom, I'd a little problem with viper 2.7

Instal and drivers are ok, but when i use it with headphones, viper is right a minute, then drivers turn off... (see pictures). For help, i use ACP & AML via magisk 18.1

Thanks to help me understand what's wrong!
[Android Apps and Games] PsychOlli:
Has anyone got V4A working with Android Q Beta?
[Android Apps and Games] DiamondJohn:
Get a logcat

Remove it from battery optimisations

OOM it, to a less likely to be killed state (ie lower value)

Nice it to a higher priority (ie lower value)

Reduce aggressiveness of LMK
[Android Apps and Games] docteurcrook:
Remove from battery optimisations like you said and it works fine!

Thx for your help... :good:
[Android Apps and Games] R1kki:
fixed by using lib workaround and installing package from here.

https://zackptg5.com/android.php#viper
[Android Apps and Games] sufy1000:
Why do i get an error saying 'installation failed at obtaining root access'

How do i fix it? I'm running aicp 14.0 pie
[Android Apps and Games] pemulacupu:
i have this problem too and still not solve on my asus.

btw do you mean ACP and AML?

if yes. i already tried it. and still no luck.. or do you mean by libstdc ?

but ACP and AML works on ny xiaomi redmi note 5 (RR7.0.1)

***update : its now work too on my asus. thanks aalot.. i follow your hint to there. then uninstall mynviper via magisk and uninstall apk

then i install from zip.

uninstall apk

then reinstall the new 2.7 apk XD

thanks a lottttt
[Android Apps and Games] Lord Sithek:
I just don't understand. I granted to the app all permissions, I got root access, I installed Audio Compatibility Patch, I even set SELinux permissive... And sometimes it works, other times doesn't work. I went back to Viper4arise and Arise Sound System for Pie. I know it's not supported anymore, but at least works stable for me.
[Android Apps and Games] kalpik:
Yeah, the app only method is unstable for me too. I just used the zip from the earlier version. Yes, it's ugly, but it works *every* time.
[Android Apps and Games] my370z:
It ain't ugly for my taste but who care how it look if it work every time...you don't ever need to see after the initial setup :?
[Android Apps and Games] hugolol:
hmm, having problems getting my drivers to work on Pocophone F1 with Lineage OS latest nightly build. The zip installs fine and driver status shows normal behaviour until I go into Spotify and start playing a song, then the driver shows abnormal status. I've tried many builds incl 2.7.0.0 2.5.0.5 2.5.0.4 and 2.3.4.0.

Also tried to install using magisk and twrp and using different volume key options during installation without success. Tried too many times yesterday and ultimately ruined my wifi and bluetooth functionality so I clean installed my ROM now.

Any idea what it might be?
[Android Apps and Games] racerx002:
Have you installed the audio compatibility patch and audio modification library from magisk?
[Android Apps and Games] hugolol:
No, I must've missed that those were needed for Pocophone/Pie! Are they pointed out further back in this thread?
[Android Apps and Games] racerx002:
Yes. You want to install acp then viper then aml.
[Android Apps and Games] hugolol:
Okay, is there a link to ACP somewhere? I've also heard that AML breaks bluetooth, which I dont want so I guess I have to skip that one.
[Android Apps and Games] racerx002:
You can find them in the magisk app under downloads.
[Android Apps and Games] hugolol:
Yeah, found them. Thanks for the help! I tried to install everything, starting with ACP and then Viper from magisk, rebooting and installing the 2.7 apk.

The driver booted up fine and it looked good, but i got "processing: no" whatever I did, so I didnt get any media sound to my bluetooth headphones (spotify, youtube or local movie file). I did get calls in the bluetooth headset without problems however. I didnt install AML, so why would BT break?

Uninstalled the APK and module in Magisk and rebooted and got all sound back.
[Android Apps and Games] racerx002:
Are you turning on the master limiter? I've never heard of aml breaking bluetooth. I would suggest you install that.
[Android Apps and Games] hugolol:
I've tried all different combinations explained in these threads without success...:

https://xdaforums.com/app...mover-t3577067

https://xdaforums.com/poc...t3868729/page3

https://xdaforums.com/poc...ffect-t3840883

https://xdaforums.com/and...6-0-0-t3774651

Ive tried both ACP and AML, which ruins the BT functionality. Ive tried to change SELinux to permissive. Ive tried removing/renaming the sound files in vendor/lib/soundfx and vendor/lib64/soundfx. Ive tried to rename or delete audio_config.conf (or what it was called). Nothing works! The driver now says that it is fully working, but I am unable to get ANY media sound out of my bluetooth headphones (calls and notifications still work).

Removing ALL of these patches once again enables my BT headphones to play sound, so something must be wrong in the installation of either ACP, AML or V4A. This is on Poco F1 using LineageOS 16 latest nightly
[Android Apps and Games] Lord Sithek:
Yeah, it's just so unstable. Finally I removed it and came back to this:

https://xdaforums.com/xiaomi-redmi-4x/how-to/arise-sound-dolby-atmos-viper-pie-t3868205

Let's try it, works great for me. Should work on any Pie rom.
[Android Apps and Games] hugolol:
I got it to work with speaker phones this way, but when connecting bt headphones and trying, the driver shows abnormal status. Might it be the built in AudioFX of LOS16 that interferes with v4a? I got BT audio now at least, but v4afx not working
[Android Apps and Games] Lord Sithek:
I don't know, maybe. But with the mod from above-mentioned thread, I had to also install Audio Compatibility Patch via old logic (without Audio Modification Library) and set SELinux permissive. Now everything works great for me through the headphones, speakers and Bluetooth headset.
[Android Apps and Games] hugolol:
Yeah did that and tried old logic for ACP now. Didnt solve it however :( Oh well. Guess i have to push it towards viper4android or LOS16 dev team.
[Android Apps and Games] racerx002:
I found that V4A and AptX don't get along. You can disable Bluetooth HD in developer settings and it might work, but then you are missing out on better sound, so it's kind of pointless.
[Android Apps and Games] hugolol:
That might indeed be the cause if this is also true for LDAC, since I use Sony MDR-1000x as headphones.

EDIT: Confirmed! LDAC and AptX was the problem. Hooked it up to a mobile speaker using BT and it worked wonders using SDC codec. This sucks but still nice that I (read racerx002) figured it out! Thanks a lot for the help! Here's hoping that someone will post a fix for LDAC/AptX!

EDIT: More specifically, it is not LDAC and AptX that is the problem. It is the "Bluetooth sample rate". LDAC streams at 96kHz, while v4a only supports up to 48kHz as of now. Lowering to 48kHz in developer options instantly kicked in the viper4android FX!