How I passed safetynet, got root, adblock and viper-fx to work on OOS 4.0.2 OP3T - OnePlus 3T Guides, News, & Discussion

I decided to start this thread for a couple of reasons 1 so I can remember what order I did things in to get back after a wipe and 2 so maybe it can help others to setup certain apps how they want and not have to spend the time I did searching and googling.
To start we are going to assume you already have an unlocked bootloader and TWRP installed.
After a fresh wipe I flashed OOS 4.0.2 Full from this thread in TWRP
https://forum.xda-developers.com/oneplus-3t/how-to/rom-oos4-0-nougat-op3t-leaked-t3523482
I recommend a fresh wipe because every time I did a dirty flash or restored a backup my Android System started draining battery like crazy and phone would get warm while charging
Without rebooting I then flashed Magisk V10.2 in TWRP
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Still without rebooting I flashed Franco Kernel in TWRP
https://forum.xda-developers.com/on...ernel-franco-kernel-r1-28th-november-t3508904
I then wiped dalvik and cache and rebooted phone.
edit - THIS STEP WILL NOT WORK ON 4.0.3. It has been patched out.
Somewhere in the process my DM-Verity was tripped and although annoying it does not seem to matter and it can be fixed later by following this
https://forum.xda-developers.com/oneplus-3/how-to/fix-easy-method-removing-dm-verity-t3544339
After phone booted and I setup account and wifi and I go the play store and install PHH superuser
https://play.google.com/store/apps/details?id=me.phh.superuser&hl=en
Once installed I open it and click the 3 dots and go to settings
Where it says Superuser access I toggle between Apps only and Apps and ADB till I get the message Superuser granted to Superuser
I then go back into play store and install Magisk manager
https://play.google.com/store/apps/details?id=com.topjohnwu.magisk&hl=en
I go into Magisk Settings and click the checkbox to Enable Magisk Hide.
I then reboot phone
Once phone reboots I open Magisk manager again and check safetynet. It now passes.
I hate ads, I had been using Adaway from F-Droid with MM but I couldn't get it to work on N
I found this https://github.com/AdAway/AdAway/issues/770 after many searches. About halfway down a user named KreAch3R has comiled Sanjay900's changes into an apk so I figured I would give it a try.
At first I could not get it to activate and block ads
I installed this busybox and then it activates no problems and now most ads (not youtube) are blocked
https://play.google.com/store/apps/details?id=stericson.busybox&hl=en
Now what I really wanted was Viper4arise. I tried flashing some in TWRP and I couldn't get them to work and this led to a couple more wipes. But I really wanted this so I kept searching.
I found this https://forum.xda-developers.com/apps/magisk/viperfx-mkm-magisk-t3535401
I downloaded it and enabled it in Magisk manager
Still no luck and I couldn't get it to work.
After more googling and reading through the other threads for viper I figured it was deep buffering
I used ES file explorer as I was not at home and went into system/etc and found audio_policy.conf
I commented out the first line I saw that said deep_buffer.
After saving I rebooted and now Viper-fx works
To get it to work with Poweramp I had to set FX compatibility mode in Viper to compatible and in Poweramp audio/advanced tweaks I had to disable Direct Volume Control and Enable MusicFX.

Thanks for sharing

Did you have any special trick to get viper to work ? Tried commenting out the line deep_buffer and still unable to get viper to work.

ghofer said:
Did you have any special trick to get viper to work ? Tried commenting out the line deep_buffer and still unable to get viper to work.
Click to expand...
Click to collapse
The only steps I did are what was listed.
I was able to replicate it twice after wipes with same steps.
This is the line I commented out in attached

Sykojoe said:
The only steps I did are what was listed.
I was able to replicate it twice after wipes with same steps.
This is the line I commented out in attached
Click to expand...
Click to collapse
Edited: Didn't see the attachment earlier. Answered my question. Thank you btw for sharing this the rest of the steps worked great for me. I am passing safety net.

Ya I realized a SS might help more so I edited it in.

Sykojoe said:
The only steps I did are what was listed.
I was able to replicate it twice after wipes with same steps.
This is the line I commented out in attached
Click to expand...
Click to collapse
Sykojoe said:
Ya I realized a SS might help more so I edited it in.
Click to expand...
Click to collapse
Would you be able to send me that file ? I am just curious what is wrong with my setup.

Just want to say thank you again. Didn't see the PM until now. I was able to use another guide on XDA to get Viper working.

Viper will not work on all apps at any time on OOS 4.0.2. Enable Compatibility mode in settings to get it to work. IMO this produces lower quality audio, but it works.

Still cant get viper working. Nothing of deep_buffer is commanded. Please can you share your audio_policy.conf?

NielsvdS said:
Still cant get viper working. Nothing of deep_buffer is commanded. Please can you share your audio_policy.conf?
Click to expand...
Click to collapse
You need to edit in a # on the deep_buffer line.
I sent you a pm with my file

NielsvdS said:
Still cant get viper working. Nothing of deep_buffer is commanded. Please can you share your audio_policy.conf?
Click to expand...
Click to collapse
1) With what app?
2) Did you enable Viper's Compatibility mode?
3) I've also modified audio_policy_configuration.xml to remove deep buffer. Messing with this file too much will break your audio though.

damiensturdy said:
1) With what app?
2) Did you enable Viper's Compatibility mode?
3) I've also modified audio_policy_configuration.xml to remove deep buffer. Messing with this file too much will break your audio though.
Click to expand...
Click to collapse
With what app?: I've editted with ES File Explorer.
Did you enable Viper's Compatibility mode? Not tried yet
I don't have changed anything inside audio_policy_configuration.xml

NielsvdS said:
With what app?: I've editted with ES File Explorer.
Did you enable Viper's Compatibility mode? Not tried yet
I don't have changed anything inside audio_policy_configuration.xml
Click to expand...
Click to collapse
WHat app isn't Viper working with? Viper processes audio on a per-app basis, based on the audio buffer the app uses. Google Play Music, on Nougat, does not pipe through Viper even with modifications to the audio config.
Enable compatibility mode. At the moment this is the only way to get the highest compatibility with apps- like Google Play Music.

damiensturdy said:
WHat app isn't Viper working with? Viper processes audio on a per-app basis, based on the audio buffer the app uses. Google Play Music, on Nougat, does not pipe through Viper even with modifications to the audio config.
Enable compatibility mode. At the moment this is the only way to get the highest compatibility with apps- like Google Play Music.
Click to expand...
Click to collapse
It's now working after disabling audio buffer. I use most of the times Spotify to listen to music

I followed same steps earlier. But my selinux is enforcing. I have to set it to permissive everytime on reboot. Permissive fix that comes with arise didnt work for me. Any idea..?

Do you think the Elemental X Kernel would be ok instead of franco kernel? Not sure if I'd get compatibility issues with any of this stuff. Btw not going to try to get adblock or viper fx. Also, do you wipe the system or just what TWRP has already checked?

x12prem said:
I followed same steps earlier. But my selinux is enforcing. I have to set it to permissive everytime on reboot. Permissive fix that comes with arise didnt work for me. Any idea..?
Click to expand...
Click to collapse
Mine is set to enforcing with all this working fine

Ra3zor0 said:
Do you think the Elemental X Kernel would be ok instead of franco kernel? Not sure if I'd get compatibility issues with any of this stuff. Btw not going to try to get adblock or viper fx. Also, do you wipe the system or just what TWRP has already checked?
Click to expand...
Click to collapse
Not sure. I know it all worked the same with stock kernel.
Normally when I need to wipe my phone it is because I have really messed it up so I wipe system and data.

Sykojoe said:
Mine is set to enforcing with all this working fine
Click to expand...
Click to collapse
But viper4rarise needs selinux as permissive. Isnt it....?

Related

Viper4Android -or any EQ- only for certain apps, not system-wide?

Hello. I currently have a OP2 (or is it OPT? ) with Official RR + Boeffla for CM (alpha 10). I know, I need to update my signature.
Today I decided to try Viper (making a nand backup first, of course) and it installed without problems, but it only works on Play Music. Same for AudioFX, the default EQ that came with the system that I have now disabled (to avoid Viper issues).
No effects on YouTube or BSPlayer for example (with eighter A-FX or Viper), in short, the EQs don't affect the system, but only some apps, or one in my case.
Is this normal behaviour? Back on KK 4.4.4 I could use Viper or whatever EQ app and it would apply to all the system and apps!
Thanks in advance.
Do you have force enable v4a on?
I tried but nothing. Do I have to reboot when I enable that?
Tried rebooting, nothing. It's just not applying to the whole system, only to the apps tha use equalizers.
Is this normal?
For me, it didn't even work on Spotify using the latest 2.4.0.1 of V4A in permissive mode and using the correct busybox. So I uninstalled it, maybe in a couple of months it will work again.
It's like not all system uses the default EQ. And I don't know if that's normal behaviour on MM or is it just me.
Fixed thanks to this post:
http://forum.xda-developers.com/showpost.php?p=66617379&postcount=22262
Hope it helps others.
eXtremeDevil said:
Fixed thanks to this post:
http://forum.xda-developers.com/showpost.php?p=66617379&postcount=22262
Hope it helps others.
Click to expand...
Click to collapse
Does the zip still work. Am on RR 5.7.1 and facing the same issue. Viper works for Music Player and Googel Music but nothing else. Need it for MX desperatley. Would really appreciate your help
Yes, actually, it was easier than flashing all those. Just install Viper the normal way, the apk and then the driver. You need to have Selinux set to permissive all the time, AFAIK. After the driver installation and reboot, follow these instructions:
http://forum.xda-developers.com/showpost.php?p=66717263&postcount=22331
For me, I had to set that file to read only because after reboots it would roll back to normal. But as long as those line are commented, Viper will work system-wide.
Hope that helps. Please tell me how it goes.
Cheers.
eXtremeDevil said:
Yes, actually, it was easier than flashing all those. Just install Viper the normal way, the apk and then the driver. You need to have Selinux set to permissive all the time, AFAIK. After the driver installation and reboot, follow these instructions:
http://forum.xda-developers.com/showpost.php?p=66717263&postcount=22331
For me, I had to set that file to read only because after reboots it would roll back to normal. But as long as those line are commented, Viper will work system-wide.
Hope that helps. Please tell me how it goes.
Cheers.
Click to expand...
Click to collapse
Yup that did it :victory::victory: thanks so much man.
Cheers!!
Glad I could help
eXtremeDevil said:
Yes, actually, it was easier than flashing all those. Just install Viper the normal way, the apk and then the driver. You need to have Selinux set to permissive all the time, AFAIK. After the driver installation and reboot, follow these instructions:
http://forum.xda-developers.com/showpost.php?p=66717263&postcount=22331
For me, I had to set that file to read only because after reboots it would roll back to normal. But as long as those line are commented, Viper will work system-wide.
Hope that helps. Please tell me how it goes.
Cheers.
Click to expand...
Click to collapse
What do you mean by commenting? Do I have to really delete those lines or just put quote marks before and after the lines?
And I'm on stock 3.02, rooted and xposed installed. Van this work form me?
If Viper is not working for you, you can try that solution. You can delete the lines or add "#" before them, eighter would work. I recommend commenting them because that way you can uncomment them anytime you want.

Viper 4 android

Can't handle the sound on this phone. How do we get viper to work?
jkieffer46 said:
Can't handle the sound on this phone. How do we get viper to work?
Click to expand...
Click to collapse
Download ExperienceOS Add-on Aroma 5.0 and flash Divine Beats Audio mod here: https://forum.xda-developers.com/oneplus-5/development/rom-experienceos-r1-0-lite-addon-t3626657
Simpliest way :
- Download and install Busybox on your phone.
- Set SELINUX to permissive mode.
- Download and flash this Viper4android Zip : www.androidfilehost.com/?fid=745425885120697254
Normally all should be working. (Maybe open Viper4android app and install the driver first)
Also don't forget tout uninstall or disable any other audiofx you have.
(I know it's still the 2.4.0.1 version but it's still my fav)
Uninstall any viper APK and flash this on twrp...
cultofluna said:
Uninstall any viper APK and flash this on twrp...
Click to expand...
Click to collapse
Does this work while encrypted? Also does it require any additional file tweaking or driver installation?
HDash said:
Does this work while encrypted? Also does it require any additional file tweaking or driver installation?
Click to expand...
Click to collapse
Just flash on twrp...working great ...
After flashing you get the viper icon on your drawer...
Just open it and enable ..
Viper for OnePlus 5
cultofluna said:
Uninstall any viper APK and flash this on twrp...
Click to expand...
Click to collapse
Works like a charm! ?
Thank you so much.
Cheers
It is working for me only if I set SELinux to permissive. Tried so many diffirent builds. The last one is ViPER4Android_2.5.0.5_guitardedhero.zip.
(used the guide from here: http://andxda.blogspot.com/2016/09/how-to-install-viper4android-on-android.html)
Did someone have a success to run viper4android in selinux Enforcing mode !?
polzovotel said:
It is working for me only if I set SELinux to permissive. Tried so many diffirent builds. The last one is ViPER4Android_2.5.0.5_guitardedhero.zip.
(used the guide from here: http://andxda.blogspot.com/2016/09/how-to-install-viper4android-on-android.html)
Did someone have a success to run viper4android in selinux Enforcing mode !?
Click to expand...
Click to collapse
I have no idea about the SELinux modes but I just flashed the Deutronomy zip without changing anything else and now it works perfectly
What ROM are you using ? OxygenOS 4.5.8 ?
---------- Post added at 03:10 PM ---------- Previous post was at 02:38 PM ----------
cultofluna said:
Uninstall any viper APK and flash this on twrp...
Click to expand...
Click to collapse
I am running OxygenOS 4.5.8. Root and BusyBox is installed. I flashed this zip but still get:
Enabled: No
Status: Abnormal
The same second I change SULinux to permissive - all start working fine....
Another Method
Hey Guys,
so I found another way to get V4A working.
Worked for me on enforcing too, but i couldn't test it 100% because my ROM is permissive.
This Viper version is called Viper FX and has the same features as V4A by guitardedhero.
It is a Magisk module so u need to be rooted with Magisk to get this working.
ViperFX:
https://forum.xda-developers.com/apps/magisk/viperfx-mkm-magisk-t3535401
I also found another very usefull Module called Universal deep_buffer remover.
This Module allows you to use Viper FX with streaming apps (e.g. Soundcloud, Pandora, ...) which are normally not affected by Viper.
Universal deep_buffer remover:
https://forum.xda-developers.com/apps/magisk/module-universal-deepbuffer-remover-t3577067
Hope I could help!
henrikh1998 said:
Hey Guys,
so I found another way to get V4A working.
Worked for me on enforcing too, but i couldn't test it 100% because my ROM is permissive.
This Viper version is called Viper FX and has the same features as V4A by guitardedhero.
It is a Magisk module so u need to be rooted with Magisk to get this working.
ViperFX:
https://forum.xda-developers.com/apps/magisk/viperfx-mkm-magisk-t3535401
I also found another very usefull Module called Universal deep_buffer remover.
This Module allows you to use Viper FX with streaming apps (e.g. Soundcloud, Pandora, ...) which are normally not affected by Viper.
Universal deep_buffer remover:
https://forum.xda-developers.com/apps/magisk/module-universal-deepbuffer-remover-t3577067
Hope I could help!
Click to expand...
Click to collapse
i download from magisk download after flash i reboot but still logo oneplus!!!
guide me!
cultofluna said:
Uninstall any viper APK and flash this on twrp...
Click to expand...
Click to collapse
excuse me, do i need to be rooted? or at least unlock the bootloader?
I will be creating a thread for simplest and proper viper4android installation on OxygenOS in my free time soon.
---------- Post added at 05:11 AM ---------- Previous post was at 05:07 AM ----------
Watch out in the Guides, New & Discussions section for my guide, thread to be posted soon.
ivongolia said:
excuse me, do i need to be rooted? or at least unlock the bootloader?
Click to expand...
Click to collapse
You need to unlock the bootloader and install custom recovery to install this ..
henrikh1998 said:
Hey Guys,
so I found another way to get V4A working.
Worked for me on enforcing too, but i couldn't test it 100% because my ROM is permissive.
This Viper version is called Viper FX and has the same features as V4A by guitardedhero.
It is a Magisk module so u need to be rooted with Magisk to get this working.
ViperFX:
https://forum.xda-developers.com/apps/magisk/viperfx-mkm-magisk-t3535401
I also found another very usefull Module called Universal deep_buffer remover.
This Module allows you to use Viper FX with streaming apps (e.g. Soundcloud, Pandora, ...) which are normally not affected by Viper.
Universal deep_buffer remover:
https://forum.xda-developers.com/apps/magisk/module-universal-deepbuffer-remover-t3577067
Hope I could help!
Click to expand...
Click to collapse
Tried the version in Magisk repo, but nothing happend after reboot. I can see the module in magisk but no Viper4Android-app. So I did a delete in Magisk Manager. Also, the thread is closed now.
Going to try install V4A via TWRP and his new module.
https://forum.xda-developers.com/apps/magisk/alienoidos-t3660485
Update:
Didn't work for me. No V4A-app, so I installed it manually and it tolds me to install drivers, did that reboot and it still said install drivers.
I'm on latest OOS with Magisk 13.3
I have a OnePlus 5, so you guys ought to be in good shape. The zip attached below is intended to work perfectly for Magisk and SuperSU users in Enforcing SELinux Mode.
In fact, if genuine init.d support is obtained (I've been trying for weeks now...), no root will be necessary at all.
BusyBox is already unnecessary for any installation scenario, though. Of course, I mean unnecessary for ViPER4Android. BusyBox has its uses elsewhere in Android. :good:
guitardedhero said:
I have a OnePlus 5, so you guys ought to be in good shape. The zip attached below is intended to work perfectly for Magisk and SuperSU users in Enforcing SELinux Mode.
In fact, if genuine init.d support is obtained (I've been trying for weeks now...), no root will be necessary at all.
BusyBox is already unnecessary for any installation scenario, though. Of course, I mean unnecessary for ViPER4Android. BusyBox has its uses elsewhere in Android. :good:
Click to expand...
Click to collapse
Thx for your share and clarification.
However, I'm really confuse by all these different realeases : Viper4Android, Viper4Arisee ViperFX, ...
I really don't know which one to install
guitardedhero said:
I have a OnePlus 5, so you guys ought to be in good shape. The zip attached below is intended to work perfectly for Magisk and SuperSU users in Enforcing SELinux Mode.
In fact, if genuine init.d support is obtained (I've been trying for weeks now...), no root will be necessary at all.
BusyBox is already unnecessary for any installation scenario, though. Of course, I mean unnecessary for ViPER4Android. BusyBox has its uses elsewhere in Android. :good:
Click to expand...
Click to collapse
Dunno why but still the same problem.
Seeing the module in Magish (flashed via TWRP) but no V4A-app.
Should i dirty flash my ROM* and try again maybe?
* 4.5.8: OnePlus5Oxygen_23_OTA_013_all_1708032241_9a87b4.zi p
chrissss91 said:
Thx for your share and clarification.
However, I'm really confuse by all these different realeases : Viper4Android, Viper4Arisee ViperFX, ...
I really don't know which one to install
Click to expand...
Click to collapse
You're not alone.
ViPER4Arise is merely a themed version of ViPER4Android and ViperFX designed for the ARISE Sound Systems™ project.
ViperFX is merely the current 2.5.0.5 version of what is known previously as ViPER4Android, although it hasn't quite caught on obviously. This slight name change was a part of much bigger and impactful changes such as the official website address/domain, for example. :good:
acrylamid said:
Dunno why but still the same problem.
Seeing the module in Magish (flashed via TWRP) but no V4A-app.
Should i dirty flash my ROM* and try again maybe?
* 4.5.8: OnePlus5Oxygen_23_OTA_013_all_1708032241_9a87b4.zi p
Click to expand...
Click to collapse
Lol yeah, that is certainly not the intended outcome. At least we now know it is something on your end, most likely Magisk-related, although an existing v4a data or system installation can produce those same results.
I recommend a factory-reset in TWRP followed by an OOS-4.5.8 flash whenever it feels like a good time to do so, or at least uninstall and reinstall Magisk if nothing else.
We'll get you going, don't you worry. :good:

Viper4Android Pixel 2 XL stereo speaker optimization profile (Android Q working)

Updated: OP contains instructions for Android Pie and below, post #5 has current instructions for Android Q.
Saw a couple Viper4Android threads, did not see much in terms of profiles for the 2 XL specifically. Just got the 2 XL coming from a 6P and there was a great profile to optimize it's internal speakers so decided to try out the mod for the 2 XL's speakers. Working very nicely.
Not sure if this will work with every ROM but works nice on Bootleggers (should work on any Pie ROM including stock) and thought I would share so more people could enjoy much improved sound quality. Makes rooting the phone well worth it.
Instructions:
After installing Magisk 18.1
Install BusyBox and run the set-up
Download the Viper4Android V4.1 (used Material theme) via Magisk manager
run the install process, select 2.5.0.4 material theme, install as system app, grand root access then reboot
Load the DorianX profile taken from the 6P. Just unzip then look over the extracted files.
Edited to explain further: You will probably need to individually place the "SRS Audio HD" IRS file in the Viper4Android Kernel folder and put the Profile folder in the Viper4Android Profile folder (using a file explorer to copy/paste the files). Once that's done, in the Viper4Android app under "Convolver", tap it and choose "impulse response file", You should see the "SRS Audio HD" IRS file that you placed in the Kernel folder, select it, tick the box next to Convolver to enable it. Under the main app settings you should be able to select and load the profile. If you did it correctly the DorianX profile folder should be visible to select it. It depends which version of Viper4Android you install. If you do materialized (2.5.0.4) the above should work. Let me know if any problems
Play some music. Toggle Viper4Android master power on and off under the phone speaker tab within the app then back to on once to enable it. Usually you have to do this to "officially" enable Viper4Android. If it's working you will hear the difference. Under the app settings you can verify that the app is processing as well under "driver status". Working with the latest Poweramp, Youtube, etc.
Credit to DorianX who made the profile. There are 4 profiles included to optimize specific bluetooth devices, headphones,etc but just using the internal speaker one (for now). Unable to locate the past post in the 6P forum containing the profile and which other devices were optimized to link to it.
Works very well and thought it was worth posting and making a small contribution so for now enjoy! Profile attached.
Have Viper4Android working nicely on Android Q Beta 4.
Those that downloaded this profile if you don't mind posting the Dorian profile speaker settings (all of them for each tab and whether enabled or disabled) would appreciate it. Profiles no longer can be loaded in this version of Viper.
Looking at the speaker xml file can see some of the settings but probably not all.
Magisk 19.3, Adaway works, viper now works all on today's beta 4. Tried all versions and combos. Getting the driver to install and stick was a big pain.Can post some instructions if anyone is interested. I'm sure plenty of people would like to get viper working.
Now if only Google apps like Gmail and Google play would be themed. Can see the force dark toggle is broken in this beta. Not sure if the Google apps were theming in Beta 3 or not.
powerserge1 said:
Have Viper4Android working nicely on Android Q Beta 4.
Those that downloaded this profile if you don't mind posting the Dorian profile speaker settings (all of them for each tab and whether enabled or disabled) would appreciate it. Profiles no longer can be loaded in this version of Viper.
Looking at the speaker xml file can see some of the settings but probably not all.
Magisk 19.3, Adaway works, viper now works all on today's beta 4. Tried all versions and combos. Getting the driver to install and stick was a big pain.Can post some instructions if anyone is interested. I'm sure plenty of people would like to get viper working.
Now if only Google apps like Gmail and Google play would be themed. Can see the force dark toggle is broken in this beta. Not sure if the Google apps were theming in Beta 3 or not.
Click to expand...
Click to collapse
a lot interesting of this, this is a reason why I am rollback to custom on pie while like q beta
libracez said:
a lot interesting of this, this is a reason why I am rollback to custom on pie while like q beta
Click to expand...
Click to collapse
See below
Ok I got it. No need to PM me the profile. Took most of the night but done now.
Would be unable to stay on Q without Viper4Android as well...
Make sure to uninstall all previous versions of Magisk and modules to start fresh.
Install Magisk 19.3 via twrp, install latest Magisk manager and then Busybox (make sure to set up busybox). Some are having problems with this Beta and Magisk so YMMV. Working well for me and no app lag.
On Pie in Magisk you should see Viper4Android 2.7.1 module as available
On Q it's not listed (for me at least) so get it from XDA labs.
Install Viper4Android:
https://labs.xda-developers.com/store/app/download/com.pittvandewitt.viperfx (link to direct download, must be signed in)
Or use this link: https://labs.xda-developers.com/store/app/com.pittvandewitt.viperfx
The installer will install it as a magisk module. Grant supersu permissions, install driver, phone will reboot.
Install the magisk audio modifications library module. Reboot. After rebooting disable this module (do not uninstall). Reboot again.
Open up Viper4Android. If it asks you to install driver again do so and phone will automatically reboot. Repeat if needed. If driver install remains unsuccessful try enabling and disabling the audio modifications module then try again. What worked for some worked the opposite for others in past threads on previous Android versions and various devices. Here is the thread for reference: https://forum.xda-developers.com/pixel-2/help/viper4android-driver-installation-fails-t3766362
Once driver is installed the app will load properly and under driver status it will probably say "unsupported" and "abnormal". Close the app
Go back into Magisk manager. Now toggle to re enable the audio modifications module. Reboot. (This is the module that allows Viper4Android to process and can help to install the driver)
Upon reboot, Viper4Android should work. Play some music, check the driver status to verify, you may need to toggle off/on master limiter to finally enable it.
For this profile, put the SRS file in OP above in the Viper4Android Kernel folder. Under the apps speaker tab manually input these settings:
Master limiter: On
Playback gain: moderate or 2, max gain 4x, output threshold -1.9db
FIR Equalizer: On. EQ is flat
Convolver: On. Tap convolver then select the SRS inpulse file you placed in the Kernel folder. Cross channel set to 0
Profit.
You can set or disable the viper4android notification icon in the statusbar within the app's settings.
Let me know how the 2 XL's speakers sound Post updated, instructions should be clear enough. Some having problems will need to wait for the updated Magisk. Moving forward, we do have viper4android working on Q. Fully tested on my 2xl and stable with beta 4.
Thanks to @Team_DeWitt
And Dorianx for his profile originally created for the 6p
powerserge1 said:
Ok I got it. No need to PM me the profile. Took most of the night but done now.
Would be unable to stay on Q without Viper4Android as well...
Make sure to uninstall all previous versions of Magisk and modules to start fresh.
Install Magisk 19.3 via twrp, install latest Magisk manager and then Busybox (make sure to set up busybox). Some are having problems with this Beta and Magisk so YMMV. Working well for me and no app lag.
On Pie in Magisk you should see Viper4Android 2.7.1 module as available
On Q it's not listed (for me at least) so get it from XDA labs.
Install Viper4Android:
https://labs.xda-developers.com/store/app/download/com.pittvandewitt.viperfx (link to direct download, must be signed in)
Or use this link: https://labs.xda-developers.com/store/app/com.pittvandewitt.viperfx
The installer will install it as a magisk module. Grant supersu permissions, install driver, phone will reboot.
Install the magisk audio modifications library module. Reboot. After rebooting disable this module (do not uninstall). Reboot again.
Open up Viper4Android. If it asks you to install driver again do so and phone will automatically reboot. Repeat if needed. If driver install remains unsuccessful try enabling and disabling the audio modifications module then try again. What worked for some worked the opposite for others in past threads on previous Android versions and various devices. Here is the thread for reference: https://forum.xda-developers.com/pixel-2/help/viper4android-driver-installation-fails-t3766362
Once driver is installed the app will load properly and under driver status it will probably say "unsupported" and "abnormal". Close the app
Go back into Magisk manager. Now toggle to re enable the audio modifications module. Reboot. (This is the module that allows Viper4Android to process and can help to install the driver)
Upon reboot, Viper4Android should work. Play some music, check the driver status to verify, you may need to toggle off/on master limiter to finally enable it.
For this profile, put the SRS file in OP above in the Viper4Android Kernel folder. Under the apps speaker tab manually input these settings:
Master limiter: On
Playback gain: moderate or 2, max gain 4x, output threshold -1.9db
FIR Equalizer: On. EQ is flat
Convolver: On. Tap convolver then select the SRS inpulse file you placed in the Kernel folder. Cross channel set to 0
Profit.
You can set or disable the viper4android notification icon in the statusbar within the app's settings.
Let me know how the 2 XL's speakers sound Post updated, instructions should be clear enough. Some having problems will need to wait for the updated Magisk. Moving forward, we do have viper4android working on Q. Fully tested on my 2xl and stable with beta 4.
Thanks to @Team_DeWitt
And Dorianx for his profile originally created for the 6p
Click to expand...
Click to collapse
succesfuly, ty
for my 2xl It was
1. installation from xda lab - reboot
2. install audio modification library - reboot
3. open viper (still asking to install driver - just close app, don't choose nothing)
4. go to Magisk switch off audio modification library - reboot
5. viper successfully load, status normal and working (media) with just my favorite profile no custom settings
libracez said:
succesfuly, ty
for my 2xl It was
1. installation from xda lab - reboot
2. install audio modification library - reboot
3. open viper (still asking to install driver - just close app, don't choose nothing)
4. go to Magisk switch off audio modification library - reboot
5. viper successfully load, status normal and working (media) with just my favorite profile no custom settings
Click to expand...
Click to collapse
Our 2 XL's can be temperamental, lol.
Glad you got it working. Not sure how the driver installed and the viper app fixed itself with the audio modifications module switched off. It's like you didn't need that module at all. Whatever works.
Just happy we have viper for Q. Played games, music, youtube and running stable here.
powerserge1 said:
Ok I got it. No need to PM me the profile. Took most of the night but done now.
Would be unable to stay on Q without Viper4Android as well...
Make sure to uninstall all previous versions of Magisk and modules to start fresh.
Install Magisk 19.3 via twrp, install latest Magisk manager and then Busybox (make sure to set up busybox). Some are having problems with this Beta and Magisk so YMMV. Working well for me and no app lag.
On Pie in Magisk you should see Viper4Android 2.7.1 module as available
On Q it's not listed (for me at least) so get it from XDA labs.
Install Viper4Android:
https://labs.xda-developers.com/store/app/download/com.pittvandewitt.viperfx (link to direct download, must be signed in)
Or use this link: https://labs.xda-developers.com/store/app/com.pittvandewitt.viperfx
The installer will install it as a magisk module. Grant supersu permissions, install driver, phone will reboot.
Install the magisk audio modifications library module. Reboot. After rebooting disable this module (do not uninstall). Reboot again.
Open up Viper4Android. If it asks you to install driver again do so and phone will automatically reboot. Repeat if needed. If driver install remains unsuccessful try enabling and disabling the audio modifications module then try again. What worked for some worked the opposite for others in past threads on previous Android versions and various devices. Here is the thread for reference: https://forum.xda-developers.com/pixel-2/help/viper4android-driver-installation-fails-t3766362
Once driver is installed the app will load properly and under driver status it will probably say "unsupported" and "abnormal". Close the app
Go back into Magisk manager. Now toggle to re enable the audio modifications module. Reboot. (This is the module that allows Viper4Android to process and can help to install the driver)
Upon reboot, Viper4Android should work. Play some music, check the driver status to verify, you may need to toggle off/on master limiter to finally enable it.
For this profile, put the SRS file in OP above in the Viper4Android Kernel folder. Under the apps speaker tab manually input these settings:
Master limiter: On
Playback gain: moderate or 2, max gain 4x, output threshold -1.9db
FIR Equalizer: On. EQ is flat
Convolver: On. Tap convolver then select the SRS inpulse file you placed in the Kernel folder. Cross channel set to 0
Profit.
You can set or disable the viper4android notification icon in the statusbar within the app's settings.
Let me know how the 2 XL's speakers sound Post updated, instructions should be clear enough. Some having problems will need to wait for the updated Magisk. Moving forward, we do have viper4android working on Q. Fully tested on my 2xl and stable with beta 4.
Thanks to @Team_DeWitt
And Dorianx for his profile originally created for the 6p
Click to expand...
Click to collapse
Please forgive me for sounding like a complete tool ..lol but i cant seem to find viper4android app on my phone in the file explore to be able to put the srs file from the dorian zip to the folder in my phone , any help would be greatly appreciated
Mr. Blanco said:
Please forgive me for sounding like a complete tool ..lol but i cant seem to find viper4android app on my phone in the file explore to be able to put the srs file from the dorian zip to the folder in my phone , any help would be greatly appreciated
Click to expand...
Click to collapse
No problem. You are looking for the viper4android folder not the app. See attached screen
powerserge1 said:
No problem. You are looking for the viper4android folder not the app. See attached screen
Click to expand...
Click to collapse
I figured that and searched and searched through internal storage and root directory and i cannot find that app anywhere in my file explorer ..lol this is crazy im using Mixplorer and have attached pics , not sure if i should erase everything and start from scratch again ..lol
Edit: Okay after multiple reboots it magically showed up and was able to put file in correct place but now Driver Status Enabled = no (message) strange ....gonna start over and see if i can get everything working ..lol Thank you for your help @ powerserge1
Edit: Everything up and running and working ... Profit
Mr. Blanco said:
Edit: Everything up and running and working ... Profit
Click to expand...
Click to collapse
Good stuff. To anyone else installing viper just to note if you click on driver and see it as processing = no this does not mean you did anything or the install went wrong. Play a video or music, driver should show as processing yes. When nothing is playing then processing will be no.
Does this enable dual speaker for calls/message alerts?
How did you guys get magisk working on Q beta 4? For me it makes systemui not start on boot and it skips the lock screen entirely. And if it does boot normally, apps take over 10 seconds to launch. I have tried to wipe system data cache and then ran the flash-all bat and still have the issue. A lot of others have the issue on the magisk canary thread. Some don't have it. Someone suggested after a full wipe with -w it fixed it.
joedajoester said:
How did you guys get magisk working on Q beta 4? For me it makes systemui not start on boot and it skips the lock screen entirely. And if it does boot normally, apps take over 10 seconds to launch. I have tried to wipe system data cache and then ran the flash-all bat and still have the issue. A lot of others have the issue on the magisk canary thread. Some don't have it. Someone suggested after a full wipe with -w it fixed it.
Click to expand...
Click to collapse
Looks like I found a solution that is working for several members (and it was purely by accident because installing Magisk threw an error). Uninstall Magisk in TWRP first then:
https://forum.xda-developers.com/showpost.php?p=79682444&postcount=477
powerserge1 said:
Looks like I found a solution that is working for several members (and it was purely by accident because installing Magisk threw an error). Uninstall Magisk in TWRP first then:
https://forum.xda-developers.com/showpost.php?p=79682444&postcount=477
Click to expand...
Click to collapse
It's not working for me. I had to reboot about 4 times because systemui wasn't starting up and I was getting a black wallpaper with no status or nav bar. Finally rebooted normally and at times apps refuse to open but it's slightly better than it was. This is just so weird. Do I really need to wipe my phone or is it magisks fault?
joedajoester said:
It's not working for me. I had to reboot about 4 times because systemui wasn't starting up and I was getting a black wallpaper with no status or nav bar. Finally rebooted normally and at times apps refuse to open but it's slightly better than it was. This is just so weird. Do I really need to wipe my phone or is it magisks fault?
Click to expand...
Click to collapse
Someone in the Android Q discussion thread might be able to help better. Google pulled the beta so it's tough to say whether in your case it's a magisk or android issue. Or both.
I love this post for real, I have a Pixel 3 with Android P, viper v2.7.1.
I had to port the userprofile to the new version, if someone want it, PM me
zxspectrun said:
I love this post for real, I have a Pixel 3 with Android P, viper v2.7.1.
I had to port the userprofile to the new version, if someone want it, PM me
Click to expand...
Click to collapse
Feel free to post it as well. Curious how you were able to port the profile. Looked everywhere but couldn't find any info to convert the old profile to the new preset format.
powerserge1 said:
Feel free to post it as well. Curious how you were able to port the profile. Looked everywhere but couldn't find any info to convert the old profile to the new preset format.
Click to expand...
Click to collapse
I just installed the viper4android mod showed on the screenshot and it ported all my old profiles
attached dorian ported to v2.7.1.0
zxspectrun said:
I just installed the viper4android mod showed on the screenshot and it ported all my old profiles
attached dorian ported to v2.7.1.0
Click to expand...
Click to collapse
Yes it did the same for me. The first time, almost forgot. I did not find the sound to be the same, not even close. Ultimately I still had my Nexus 6p and was able to retrieve the settings and input them manually. Then the sound was as it should be.
Do you find the sound identical with the ported profiles? It might be hit and miss.

Viper4Android on the Redmi Note 7

Hello there, I've been trying to get the viper4android but it just keep asking me to install the driver.
I've tried with the magisk module and the xda labs version (which looks awesome btw).
I'm on magisk 19.0
My rom is xiaomi.eu 10.4
Any ideas?
Just install a Magisk module or a script to set SeLinux as Permissive. I am using it right now and everything works great.
thunderteaser said:
Just install a Magisk module or a script to set SeLinux as Permissive. I am using it right now and everything works great.
Click to expand...
Click to collapse
huh? can you pm me the module? i cant seem to find it online.
Zontos said:
huh? can you pm me the module? i cant seem to find it online.
Click to expand...
Click to collapse
open magisk manager and go to downloads and search for viper4android, then install. it works just fine.
thunderteaser said:
Just install a Magisk module or a script to set SeLinux as Permissive. I am using it right now and everything works great.
Click to expand...
Click to collapse
I've had trouble installing it, too. Tried every rom posted on this forum, stock MIUI, and some GSI, and in none of them I could get V4A working. Used Magisk Module, too.
Could you please ellaborate how you installed it? Which rom? Which Magisk/V4A version?
Viper is literally the only thing I'm missing from my previous phone; I'd reeeally like to enjoy it again!
metroid2010 said:
I've had trouble installing it, too. Tried every rom posted on this forum, stock MIUI, and some GSI, and in none of them I could get V4A working. Used Magisk Module, too.
Could you please ellaborate how you installed it? Which rom? Which Magisk/V4A version?
Viper is literally the only thing I'm missing from my previous phone; I'd reeeally like to enjoy it again!
Click to expand...
Click to collapse
Have you tried using the XDA Labs version? I had the same problems and that worked pretty well
AdRi_232 said:
Have you tried using the XDA Labs version? I had the same problems and that worked pretty well
Click to expand...
Click to collapse
Yes, I tried that one as well. Always the same error: "No driver installed", press yes, restart phone, and back to "no driver installed" again.
Which busybox version are you using?
Ok, I finally got it.
I'll write it here for anyone with the same problem, or for future reference.
First, check that you have BusyBox installed.
Then, in Magisk Manager, install the Audio Modification Library. Reboot.
In Magisk Manager again, install the Viper4Android module. Install options: new driver, old interface, user app, library workaround no, oneplus 3 workaround yes. Reboot.
Check opening the app, it should work normally, with no "driver not found" errors.
Notes: tried with letsmakecake's Lineage 16. People in the RN7 Telegram group recommend busybox.zip, but I confirm that the stericson app works the same.
If anyone has problems making it work with Poweramp: settings->audio->advanced->
- Direct Volume Control: disabled
- MusicFX: enabled
Then go to the eq screen, second tab, press MusicFX so it's enabled.
Thanks all who helped, and the V4A devs. This is the best audio tweak mod available for Android, hands down.
Personal recommendation: try the Dolby Pro Logic II irs in the convolver!
metroid2010 said:
First, check that you have BusyBox installed.
Click to expand...
Click to collapse
Thanks for guide I will try it.
EDIT: Working fine, thank you
I tried this method and it does not work
---------- Post added at 11:11 AM ---------- Previous post was at 11:09 AM ----------
metroid2010 said:
Ok, I finally got it.
I'll write it here for anyone with the same problem, or for future reference.
First, check that you have BusyBox installed.
Then, in Magisk Manager, install the Audio Modification Library. Reboot.
In Magisk Manager again, install the Viper4Android module. Install options: new driver, old interface, user app, library workaround no, oneplus 3 workaround yes. Reboot.
Check opening the app, it should work normally, with no "driver not found" errors.
Notes: tried with letsmakecake's Lineage 16. People in the RN7 Telegram group recommend busybox.zip, but I confirm that the stericson app works the same.
If anyone has problems making it work with Poweramp: settings->audio->advanced->
- Direct Volume Control: disabled
- MusicFX: enabled
Then go to the eq screen, second tab, press MusicFX so it's enabled.
Thanks all who helped, and the V4A devs. This is the best audio tweak mod available for Android, hands down.
Personal recommendation: try the Dolby Pro Logic II irs in the convolver!
Click to expand...
Click to collapse
what exact version did you use? I tried it with the latest legacy from magisk app and most of the options were changed. and I couldnt get it to work on the RN7
metroid2010 said:
Ok, I finally got it.
I'll write it here for anyone with the same problem, or for future reference.
First, check that you have BusyBox installed.
Then, in Magisk Manager, install the Audio Modification Library. Reboot.
In Magisk Manager again, install the Viper4Android module. Install options: new driver, old interface, user app, library workaround no, oneplus 3 workaround yes. Reboot.
Check opening the app, it should work normally, with no "driver not found" errors.
Notes: tried with letsmakecake's Lineage 16. People in the RN7 Telegram group recommend busybox.zip, but I confirm that the stericson app works the same.
If anyone has problems making it work with Poweramp: settings->audio->advanced->
- Direct Volume Control: disabled
- MusicFX: enabled
Then go to the eq screen, second tab, press MusicFX so it's enabled.
Thanks all who helped, and the V4A devs. This is the best audio tweak mod available for Android, hands down.
Personal recommendation: try the Dolby Pro Logic II irs in the convolver!
Click to expand...
Click to collapse
Alright, can confirm this works, with some minor differences:
-new interface (just personal preference)
-library workaround was applied automatically
I also have selinux permissive and MusicFX disabled (app frozen).
The package I used is Viper4Android FX Legacy. The new version, Viper4Android 2.7, did not work for me.
My ROM is HavocOS.

Question about Viper

I use Amazon Music with Viper Mod and Dolby. The problem I have is when I start playing my music I have to go into the Viper app. As soon as I open the app Viper kicks in.
Is there something I can do to kick Viper in automatically?
Hi, re-instak and follow instructions, instal as system app, u mess a step
Honeslty, I have never been able to get Viper working fully on my 6t. You might want to try removing the optimization in settings to see if that will let the app continue running. I think OOS just disables it after you don't have anything playing for a while.
I mainly play on my car Bluetooth when I am driving mostly a volume issue but do like surround sound as well
Have you tried making Viper a system app so that the process won't continually get killed?
Causical said:
Have you tried making Viper a system app so that the process won't continually get killed?
Click to expand...
Click to collapse
When installing Viper4Android 2.7 it doesn't give me any options just installs it, FX Legacy I can't seem to get to work
I moved it to system with terminal emulator so we'll see.
Install viper as a magisk module. Select as system app
Runs fantastic on my 6T
mmarcz said:
Install viper as a magisk module. Select as system app
Runs fantastic on my 6T
Click to expand...
Click to collapse
Viper4Android FX 2.7.1.0 doesn't give me a option to select anything, It just installs completely and then says to reboot. I downloaded App Systemizer (Terminal Emulator} and moved it to system and now you are right it is running fantastic.
PapaMag said:
Viper4Android FX 2.7.1.0 doesn't give me a option to select anything, It just installs completely and then says to reboot. I downloaded App Systemizer (Terminal Emulator} and moved it to system and now you are right it is running fantastic.
Click to expand...
Click to collapse
As a follow-up, about a day after I had posted, my viper stopped working. So I deleted the plug-in in magisk, and reinstalled 2.7.1.0 fresh and it's been work ever since! I apologise if I came off flippant at all. Seems they changed / updated something and that had to be done.
mmarcz said:
As a follow-up, about a day after I had posted, my viper stopped working. So I deleted the plug-in in magisk, and reinstalled 2.7.1.0 fresh and it's been work ever since! I apologise if I came off flippant at all. Seems they changed / updated something and that had to be done.
Click to expand...
Click to collapse
No need to apologize after a few times of uninstall and reinstall I gave up. Between my Bose Stereo settings in my car and the phone settings I get really good sound so I'm good.

Categories

Resources