yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] DiamondJohn:
Don't forget, it is lost in a reboot or if the app dies. Thats why I run a script to kick off my music player, in case the PID has changed.

And just to be extra clear, its OOM that is set to "superman" (which equals -17), and nice to the highest, which is the lowest value of -20.:silly:

The app allows you to set these once, and check to see how you go. If it does die, check if the value (for oom and nice) has been changed using the app again.

You can also use the LowMemoryKiller check to see if that was the cause (Logcate>Logcats>Filter By Level>Logcat - Low Memory Killer).
[Android Apps and Games] - Chaorrupted X -:
Works on Xiaomi Pocophone F1 Android 10

I'm using Xiaomi Pocophone F1 (Android 10 Stock ROM). At first, after I finish installing the driver, I got bootloop.

Thanks to your solution, now I can run ViPER4Android FX. But I need to lock the app so the app won't get killed.

Anyway, thank you very much.
[Android Apps and Games] Beagle Bo:
Strange app notification

I see the Viper4Android app notification "Processing (Speaker)" but the driver isn't processing anything.
[Android Apps and Games] marciozomb13:
Normal, just design.
[Android Apps and Games] Beagle Bo:
It is confusing.

When do I get which notification and when do I get no notification?
[Android Apps and Games] marciozomb13:
That notification is permanent to avoid the app being killed. If you don't want it, just long press and disable it.
[Android Apps and Games] Beagle Bo:
The notification shouldn't say "Processing" when it is not. Why doesn't it say "Idle" or something similar.

Noob question: why is it a problem when the app is killed? Isn't it just a configuration app?

You mean the service component may not be killed?

Why isn't it a system app anymore?
[Android Apps and Games] marciozomb13:
Notification is always the same no matter is processing or not, your question make sense. Regarding the app being killed: yes, that's a problem, if is not running, the service don't run. System app or not the probability of being killed is the same. Always exclude Viper from battery saving settings. If nothing else work (Chinese roms are sh*t), [MENTION=5417899]DiamondJohn[/MENTION] is the man.
[Android Apps and Games] Beagle Bo:
Thanks marciozomb13
[Android Apps and Games] staicueduard@gmail.com:
Hey guys.

I am using Note9 with Android 10, rooted with Magisk 20.3

I got viper installed, with the 2 files mentioned here pasted in adb/modules/viper...

I have passed the bootloops.

The drivers are installed but Viper says status abnormal, with neon off, just like the rest of info.

What to do?tried aml enabled, disables etc.

Drivers installed but cannot activate them.

Thank you
[Android Apps and Games] ttrueten:
Hello,

My OnePlus 6T says Processing: No. Drivers are successfully installed, but there is no effect when I try to use Settings like Bass, Treble etc.

Any hints?
[Android Apps and Games] staicueduard@gmail.com:
This is normal. No music, no processing. When you play it works

Please help for my note9 with Android 10 and magisk 20.3. When will viper will work?
[Android Apps and Games] ttrueten:
Hello,

Thank you for your answer.

of course I tried to change the settings while playing a title. Unfortunately without effect, even if I try "Attach Audio Effects" in the Viper Settings, various restarts, etc.
[Android Apps and Games] staicueduard@gmail.com:
I think we need to wait for a new version update for Android 10.

In my case, my drivers are not working at all, i have abnormal status and all esle with "no".
[Android Apps and Games] mrpeev:
I've downloaded the apk file and install it, after driver install phone rebooted and stucked as usual. Then I copy/paste the two files in the data/adb/modules/viper folder and phone successfully loaded. Then I discovered after I opened the viper app that my drivers are missing. At the end no matter how much times I've tried to repeat the process it always ended up with missing drivers. That's from me for now. Device is Samsung Galaxy S9.

edit: after installing Magisk module Audio modification module and done the steps mentioned above everything works.
[Android Apps and Games] staicueduard@gmail.com:
What Android and what Magisk version?
[Android Apps and Games] mrpeev:
Android Q and latest Magisk
[Android Apps and Games] staicueduard@gmail.com:
I need to know if it Magisk 20.3 or canary.

On my n9 viper sees the drivers but status abnormal and cannot use them.
[Android Apps and Games] Alxoom33:
Android R.
[Android Apps and Games] fil3s:
I rooted my S10 yesterday on Android 9. Has anyone had issues on S10 with latest viper 2.7x ?? I wanna use it but I don't need bootloop :(
[Android Apps and Games] KirTer:
Hi, guys

Please, tell me what I'm doing wrong?

Installed Magisk, AML, V4A but:

NEON enabled: No

Enabled: No

Status: Abnormal

Audio format: Unsupported

Processing: No

Sampling Rate: 0

Restarted, re-enabled...

Ran Poweramp, Youtube Music - the V4A doest make any effect

Xiaomi Mi 8 | Android 10
[Android Apps and Games] ttrueten:
Hello everybody,

a success message: Viper is running. Sometimes it is enough to just do nothing for a few hours ;)

See screenshot. But: Viper does not (yet) tolerate jumping between different player apps and between the different modes (earphones, speakers, Bluetooth). At least between PowerAmp v3-build-860-arm64 and Amazon Music there are occasionally problems that I could only solve by restarting the phone. By the way: OnePlus 6T under crdroid 6.6.
[Android Apps and Games] fil3s:
Removed
[Android Apps and Games] staicueduard@gmail.com:
Same here on note9 Android 10, samsung.
[Android Apps and Games] KUSOsan:
Magisk, audio compatibility module then audio modification module (AML). Try that and see you will most likely need the compatibility module which needs installed first before the modification module
[Android Apps and Games] staicueduard@gmail.com:
nope. it is the same

and there are many options to choose when installing audio compatibility module.

You say to install, but what to choose when installing this ACM ??

anyway it is unnacceptable to do this steps.. we need a full update to Viper
[Android Apps and Games] KUSOsan:
Just follow the instructions on the audio compatibility module when installing and try the recommended options first and if those don't work uninstall it and then try the other alternate option. You have to make sure you install the modification module (AML) after because it patches Viper and the compatibility module to work together. I never used to need the compatibility module to use Poweramp but now I need to for some reason so Poweramp must have changed something in one of their updates or maybe it is just Magisk that changed something.

Just worry about the 1st stage which is the 3 in 1 part for now. The notification helper and USB patcher which is stage 2 and 3 of the module are optional so I would suggest just skipping both of those until you can see if you get it to work.
[Android Apps and Games] staicueduard@gmail.com:
No it does not work. Drivers are installed but status abnormal, no neon no nothing.

The method works with magisk canary but not with the stable 20.3 . I need to use 20.3 for other camera module which does not work with canary.

I am trapped between these two versions of magisk. One module works with canary and the other module with stable.
[Android Apps and Games] KUSOsan:
What camera module? I've seen instances with a camera module that has been known to conflict with viper and jamesdsp. Also have you tried downgrading to magisk 20.1? That's what's I'm on as I have read other people having issues with 20.3 breaking their Viper
[Android Apps and Games] sfairmm:
Hi,

Here the same on Mi9T Pro eu.rom Miui 11 (Android 10).

Thanks!
[Android Apps and Games] staicueduard@gmail.com:
Zero camera mod my friend. For note 9..

When viper has the drivers installed (even with abnormal status) , the camera does not work. This is the dilemmam

BUT even without the camera mod, viper still does not work. Only with magisk canary.

But i don.t want to use canary. In canary the camera mod does not work at all.
[Android Apps and Games] fil3s:
I have never had problems with V4a 2.7.1

I did find thatwhen I install the module that it did NOT install the APK . So i used the one linked in XDA labs app. :)

Below you will find screenshots , of working status of V4A 2.7.1 Megisk module.

Simple intstall. ;) Just flesh the module and audiomodification library and enjoy! :D :highfive:

Edit: Exynos S10 Android 9 latest stabile magisk
[Android Apps and Games] staicueduard@gmail.com:
On Android 9 there are no problems. Being using it since Pie.

Put Android 10 and see how happy are you after.

We are talking for Android 10 not 9. Read the posts
[Android Apps and Games] fil3s:
I had it working on my Nokia 6.1 on Android 10.. :rolleyes:
[Android Apps and Games] halloarno:
Viper/aml perfect working on Android 10 on Oneplus 6 (for a while). After install just needed an extra reboot due drivers not installed . After that no problems.

The only one thing is sometimes Viper wont detect the audio output correct (bt, headohonejacket, speaker). And while audio casting, Viper choses speaker setup.

Hopefuly the feature to pin your choice for output will return in new release.
[Android Apps and Games] staicueduard@gmail.com:
Yes i know this procedure.

but like i said, it works with mgasik canary, on my note9, android 10

With stable magisk 20.3 it is not working. but i need to use magisk 20.3 for other modules, which do not work with canary.

So i think i must wait, either for magisk update or viper update
[Android Apps and Games] Detonatte:
ViperFX work with Android 10?? How? Can u explain step by step pls?
[Android Apps and Games] E66666666:
I'm trying to install V4AFX 2.7.1.0 , but the driver installation just won't succeed. Even after 5 or so attempts/reboots, it keeps showing the "No driver found" prompt.

Device: OnePlus 3, OOS 9.0.6 / Android 9

Magisk: v20.3

Magisk modules: Audio Modification Library, OP5T OPLongshot PNG, Systemless Hosts, ViPER4Android FX and YouTube Vanced.

I installed AML after things didn't work, but it fixed nothing. Is there something I'm doing wrong?

I did install the old ViPER4Android XHiFi from Magisk's Download tab, but removed it and rebooted before I installed the correct one from XDA Labs.
[Android Apps and Games] joeo10:
I couldn't get to work on my Pixel 2 XL even the workarounds so for me its a no but others had some luck though on other devices.
[Android Apps and Games] staicueduard@gmail.com:
RO: Hi, magisk canary chicken, it doesn't work with the stable 20.3

2. install viper4fx apk, see that it is still on XDa if you google. so don't install it from Magisk

3. open the application, ask the drivers, cancel, do not install now

4. In magisk install the audio modification library module. do not give restart the tel

5. get into the viper and install driver, it will restart itself

6. after restart enter magsik and disable AML (do not uninstall it, just disable it)

7. Get in the viper and go back to install the drivers. it will restart itself

8. It should be ready. if not, enter magisk you activate AML again, enter viper and install driver, and after it restarts it must be OK

so only with Magisk Canary it works, if you use zero camera mode, you know it doesn't work with canary, only with 20, .3

so it is a trade of either viper or camera mode

RO: Salut, pui magisk canary, nu merge cu cel stable 20.3

2. instalezi viper4fx apk, vezi ca e tot pe XDa daca dai pe google. deci nu il instalezi din Magisk

3. deschizi aplicatia , te intreaba de driveri , dai cancel, nu instalezi acum

4. in magisk instalezi modulul audio modification library. nu dai restart la tel

5. intri in viper iar si instalezi driver, se va restarta singur

6. dupa restart intri in magsik si dezactivezi AML ( nu il dezinstala, doar dezactiva)

7. intri in viper si dai iar sa instaleze driverele. se va reporni singur

8. ar trebui sa fie gata. daca nu, intri in magisk activezi la loc AML, intri iar in viper si instalezi driver , si dupa ce va reporni trebuie sa fie OK

deci doar cu Magisk Canary merge, daca folosesti zero camera mod, sa stii ca nu merge cu canary, doar cu 20,.3

deci e un trade of, ori viper ori camera mod

Please keep post. Detonatte is romanian just like me, so i write it so he can understand better.

these are the steps to install viper on Note 9 with Android 10

thank you
[Android Apps and Games] chooks06:
Good job. Appreciate you helping fellow country man! Yes, native language is better if from the same locale.

Edit - also appreciate the translation so we can understand his issues better.

Cheers!
[Android Apps and Games] adek89:
I had this on the usual version, recommended drivers did not enter and older hung device on bootloop

Wysłane z mojego Lenovo TB-8703X przy użyciu Tapatalka
[Android Apps and Games] riquemonteiro:
Driver don't work

After install the apk, it says that i will reboot to install the driver, then when it gets back, the Status windows says "driver active: no", only the "neon" is activated

So, idk what to do

---------- Post added at 05:13 PM ---------- Previous post was at 05:13 PM ----------

Driver don't work

After install the apk, it says that i will reboot to install the driver, then when it gets back, the Status windows says "driver active: no", only the "neon" is activated

So, idk what to do
[Android Apps and Games] nortuzar:
On MI 8, with MIUI.EU, android 10, the only solution was to use the method 3 of the following thread, it save my life and is working. I actually try it again today (27 February 2020)

https://xdaforums.com/mi-8/themes/guide-force-enable-viper4android-stuck-t3972551

Hope this help someone
[Android Apps and Games] mixxamm:
Thank you so much! This actually worked on my Mi MIX 2S, also running xiaomi.eu.
[Android Apps and Games] adek89:
How to make the option amplifys the sound on bt worked?

Wysłane z mojego Lenovo TB-8703X przy użyciu Tapatalka
[Android Apps and Games] -AjDj-3k:
YouTube vanced gets muted when running in attach all audio effects and does not get processed if attack all audio effects is off works on Spotify and amazon music. ROM:- lineage 17.1 unofficial Android Q Device:-Mi A2
[Android Apps and Games] DiamondJohn:
You do realise you are now running permissive?
[Android Apps and Games] mrpeev:
Sorry for asking but is it bad running permissive?
[Android Apps and Games] Tom_Scott:
Hi,

Thank you for the step by step helper. I don't understand some lines.

What do you mean with "...is

still

on XDA

if you google

..."?

You mean show the "Driver Status", right?

Where do I can get the audio modification module get from?

Thank you very much

Tom
[Android Apps and Games] FabreFaction:
Yes, not the best scenario, but I listen to a lot of music from my phone and Viper is pretty essential for enhancing that expereince.

If I enforce SELinux Viper stops working on Bluetooth.

The other methods don't work for me for now.

I'll keep my eye on the threads to see how things develop which might mean I can switch in the future.

Good call to point that out [MENTION=5417899]DiamondJohn[/MENTION]
[Android Apps and Games] mahesh2040:
As per my understanding viper works on permissive selinux roms in android 10...? No need of this big tutorial there are already short tutorial shared which make viper works with permissive in android 10.
[Android Apps and Games] All-In-One:
It's not a good idea. SELinux is a group of policies which provide a security layer for your device, stopping apps on your device from accessing data they're not supposed to, or even preventing remote attackers to take control of your device.

And, it gets worse if you pair it with root access. You should only grant it to apps you know well enough. Otherwise, you may be gifting system-level access to some shady ones.

You can read more about it here: https://android.stackexchange.com/q...elinux-is-in-permissive-mode-what-should-i-be
[Android Apps and Games] DiamondJohn:
Not one phone released by google (or any other big manufacturer) has been permissive since they switched to enforcing.

So yes, its bad.
[Android Apps and Games] helloyello:
I'm running LOS16 on Samsung S3Neo and installed the Viper4AndroidFX APK form https://labs.xda-developers.com/store/app/com.pittvandewitt.viperfx

After installing it, on the first run I gave it root privileges, the app wrote/flashed something and asked me to reboot.

It looks installed, the driver is loading and asking Magisk for root privileges on every boot. If I enter the ViPER4Android FX App and click on the driver status (chip) button, it says that the driver version is 2.5.0.4 and that the driver is not enabled and is not processing - which is true, none of the filters work.

LOS16 comes with AudioFX installed by default and I noticed that the music player I use (Vanilla Player) is opening the AudioFX Equalizer and uses it by default. I switched off the AudioFX (button inside the app) but that didn't help either.

Do I need to remove AudioFX from LOS16 to make Viper4AndroidFX default? Or is there any way to set Viper4AndroidFX as default without vandalizing LOS16 ?

here it says I need to remove the stock AudioFX from LOS16:

https://www.reddit.com/r/LineageOS/comments/bqbdx6/viper4android_fx_works_only_if_you_turn_off/

Besides, I didn't install any Viper4AndroidFX module in Magisk, I understood is not needed anymore. Am I wrong?

Thanks in advance!
[Android Apps and Games] DiamondJohn:
Simply Freeze and/or Hide AudioFX, There are many apps that can do this. One option is the app I built:

https://xdaforums.com/android/apps-games/app-temefi-comprehensive-documentation-t3806260

Find it in the menu under "Application Info /Manage>State>Hibernate-Freeze-Hide"

Using the above, means you do not have to redo it after a dirty flash. If you uninstall, it will be reinstalled after a dirty flash
[Android Apps and Games] helloyello:
Thank you for the confirmation/details. I just did a simple AudioFX "uninstallation", removed the folder /system/priv-app/AudioFX/ and rebooted.

It works now, Vanilla Music opens the Viper4AndroidFX and I can enable some filter/effect there, the Driver Status shows Enabled and Processing and I can clearly hear the effects.

The main issue now is that the FIR equalizer doesn't work and it's only because of it I installed Viper4AndroidFX in the first place, I just don't need anything else - I'm more of a purist, like to not alter the studio recording with effects but only tune the headphones with an EQ.

Nothing happens if I enable the FIR equalizer and play with the graph, Driver Status displays Enabled: No & Processing: No - and obviously I don't hear any change in the sound.

Edit - actually only the Master Limiter works and enables the driver, nothing else appears to activate in the Headset section....

Do I need to reinstall Viper4AndroidFX ? Is there something I need to check in /system/build.prop ? Disable stagefright?

I'm afraid that AudioFX reverted some defaults the Viper4AndroidFX installation modified.

Edit2 - reinstalled Viper4AndroidFX and realized that I need to enable Master Limiter and then the other filters, including the FIR equalizer, which works. Are all the filters dependent on the Master Limiter? Is this a normal behavior/design?

... sorry, it's the first time I'm using this toy :o

Edit 3 - it works fine, never mind what I wrote before. I've finally understood the logic, Master Limiter must be enabled first.

Thanks for all the help!
[Android Apps and Games] Beagle Bo:
How to do an OTA update when V4A 2.7.1 is installed?

If I want to perform an OTA Android update

I normally do the following:

1) Fetch the new boot.img from the fastboot or recovery zip file.

2) Disable all Magisk modules (including the Viper4Android 4.4 legacy module)

3) Uninstall Magisk

4) Reboot

5) Perform the OTA Android update

6) Patch the boot.img in Magisk manager.

7) Boot via fastboot using the patched boot.img

8) Install Magisk again

9) Enable all Magisk modules again (including the Viper4Android 4.4 legacy module)

Can I do the same when I use Viper4Android 2.7.1?

Or should I also uninstall the V4A app and or Magisk module before doing the OTA update?

Anyone?

I am asking because I had problems with Magisk.

Magisk wasn't installed after step 7.

And the SafetyNet check failed (ctsProfile:false).
[Android Apps and Games] helloyello:
I'm also not sure the Viper4AndroidFX I installed - just APK that modified the system on first run and the rebooted, will remain preserved after a LOS16 OTA update.

Do I need to reinstall the Viper4AndroidFX APK after every LOS16 OTA? Will the settings remain preserved?

Thanks!
[Android Apps and Games] marciozomb13:
You will probably need to install the driver again, but app settings will survive.
[Android Apps and Games] helloyello:
I'm only using Viper4Android FX for the EQ on the HeadPhones, replacing the rather limited (only 5 bands) AudioFX EQ that comes with LOS16 and I was looking for a way to save the EQ fine tuning I'm doing on my own for my Sony HeadPhones. Noticed that I cannot define a custom EQ and I started modifying the ACOUSTIC Preset for the first Sony HeadPhones model and considering to modify another EQ preset for the second HeadPhones. Nor am I able to save/restore the configuration, it doesn't look Viper4Android FX has such feature implemented.

Now, I was using PowerAmp for some years on stock ROMs and when I had to wipe the user data / reflash the ROM, I'd always manually back up the settings from /data/data/App_Name/shared_prefs and restore them afterwards (root was required).

I noticed that Viper4Android FX also stores some "human unfriendly" (just a bunch of numbers, without any descriptions) settings in /data/data/com.pittvandewitt.viperfx/shared_prefs and only the active EQ values look to be stored - 65552

I fear that I'll lose the second EQ preset I'm about to modify if that isn't used when I backup the files.

Is there any way to properly back up (even manually - I have root) the Viper4Android FX configuration?

Some details (screenshots) about what I described above:

https://imgur.com/ge6ee9g

Thanks in advance for any useful inputs! ;)
[Android Apps and Games] zzenyoo:
I'm on LOS16 on Shamu, and after ota settings and driver (all V4A things) are intact.
[Android Apps and Games] tongjet:
Long time no tweak with viper4android. Does this version work fine with note 10 and stock rom? If it's work , I may try!

Tks.
[Android Apps and Games] Beagle Bo:
Viper4Android 2.7.1 Magisk module not shown

Sometimes the V4A 2.7.1 Magisk module doesn't appear in the Downloads list of Magisk Manager!

Can someone explain why???

Any help is appreciated.

Remark: It doesn't matter whether the V4A 2.7.1 is installed or not.

I didn't have this problem with V4A 4.4.
[Android Apps and Games] captain sideways:
Hello, just after a little help:

On android 10 rooted with magisk.

Installed v4a 2.7

When I try to load a profile, app just crashes and exits. I have the Audio Compatibility Patch module installed. I installed v4a using apk, do I need to install the v4a module as well or anything else to make it work?

Many thanks :)
[Android Apps and Games] 42n4:
Maybe try AML audio modification library, it works with Android Q, viper installed from twrp in my phone
[Android Apps and Games] Nicolfa:
Would love a rootless option if it ever got off the ground.
[Android Apps and Games] Bobthahog:
That would be awesome but doubt it ever happens.
[Android Apps and Games] Lughnasadh:
Have you tried this rootless option? https://zackptg5.com/android.php#viper