Viper4Android Installation Guide for Stock ROM and Official LineageOS - Honor 5X Guides, News, & Discussion

LineageOS
>Root addon
>busybox install to /system/xbin
>install SELinuxmodechanger apk set to permissive always (v4a will stop working if enforcing..confirmed)
>install v4a nougat-io fix apk (present in ViPER4Android_FX_v2505.zip)
>can disable fx music app
>reboot
>install v4a drivers from viper app
>reboot
>enjoy
Stock B331 rom
>Root with SuperSu
>busybox install to /system/xbin
>install Viper4Android SELinux Policy fix via **TWRP** recovery
>install v4a apk (present in ViPER4Android_FX_v2505.zip) [do not install v4a-nougat-io apk]
>can disable fx music app
>reboot
>install v4a drivers from viper app
>reboot
>enjoy

Or just use Magisk + V4A addon and do everything systemlessly without that much hassle.
Why? No need to patch SELinux (works under Enforced), no need for busybox, no need for flashed zips and more important - no modifications to the system partition. Literally easiest, three step process, you'll find out there.

ShadySquirrel said:
Or just use Magisk + V4A addon and do everything systemlessly without that much hassle.
Why? No need to patch SELinux (works under Enforced), no need for busybox, no need for flashed zips and more important - no modifications to the system partition. Literally easiest, three step process, you'll find out there.
Click to expand...
Click to collapse
lol:laugh::laugh::laugh:

Related

Viper4android

is there someone who succes in the installation of this app?
when i open it,it ask if i want to install the drivers and stuck and after few seconds it crash
someone can help me with this ?
Many guys use this and there already was enough discussions, there are even seperate threads created with tutorials, use search for once[emoji14]
I managed to get Viper4Android working this way:
First off, I use stock with systemless root and xposed so the many security features included in stock made it a bit tricky. If you use a custom rom with a custom kernel, it's likely a bit easier.
I flashed my stock image from the google website
I flashed a custom kernel and then Supersu and then the lolliviper zip from this thread: http://forum.xda-developers.com/google-nexus-5/themes-apps/discussion-viper4android-t2543796
I installed busybox from the play store, opened the busybox app and let it install.
I disabled selinux enforcing using the app from this thread:
http://forum.xda-developers.com/showthread.php?t=2524485
Then I ran viper4audio and installed the driver from the app
Then I rebooted into twrp and used the terminal to delete /system/etc/audioeffects.conf and rebooted.
Voila, working Viper4android.
exad said:
I managed to get Viper4Android working this way:
First off, I use stock with systemless root and xposed so the many security features included in stock made it a bit tricky. If you use a custom rom with a custom kernel, it's likely a bit easier.
I flashed my stock image from the google website
I flashed a custom kernel and then Supersu and then the lolliviper zip from this thread: http://forum.xda-developers.com/google-nexus-5/themes-apps/discussion-viper4android-t2543796
I installed busybox from the play store, opened the busybox app and let it install.
I disabled selinux enforcing using the app from this thread:
http://forum.xda-developers.com/showthread.php?t=2524485
Then I ran viper4audio and installed the driver from the app
Then I rebooted into twrp and used the terminal to delete /system/etc/audioeffects.conf and rebooted.
Voila, working Viper4android.
Click to expand...
Click to collapse
By the way, you can run a supolicy script for media server instead of disabling selinux because that would increase security risks and don't you mean audio_effects.conf in vendor? IMO better to add v4a entries than delete it, it's there for a reason I would think
hinxnz said:
By the way, you can run a supolicy script for media server instead of disabling selinux because that would increase security risks and don't you mean audio_effects.conf in vendor? IMO better to add v4a entries than delete it, it's there for a reason I would think
Click to expand...
Click to collapse
Yes! Thanks for the corrections! I haven't done it in a while! ?

Lg k7 Viper4 android guide

Requirements:*
-Root
-Busybox
-Custom recovery
Installation:
1.- Deactivate NuPlayer in developer options.
2.- Deactivate any other equalizer.
3.- Set selinux to permissive with an app
Download link for viper
http://forum.xda-developers.com/attachment.php?attachmentid=3251183&d=1428464518
4. Reboot to twrp flash viper.
5.reboot. Open viper. You have to install driver i used middle one.
6.click enable viper inside app. And force viper.
Also set user ui to expert in settings for extra options.
Make sure to give thanks to the viper team

viper4android driver install fail

After following the instructions to install V4A, I got a message stating that the drivers did not install. My BusyBox is good, root is good, and the vendor file is good...What should I try next?
whtgrizzly said:
After following the instructions to install V4A, I got a message stating that the drivers did not install. My BusyBox is good, root is good, and the vendor file is good...What should I try next?
Click to expand...
Click to collapse
Had the same problem, and eventually found this to be working:
SElinux permissive
Busybox in /su/xbin
supersu 2.79
flash v4a package
Give permissions to v4a app to access storage
Rename /vendor/etc/audio_effects.conf to audio_effects.conf.bak
i´m using ViperAtmos 5.5 Sony Beats Edition, which i prefer.
whtgrizzly said:
After following the instructions to install V4A, I got a message stating that the drivers did not install. My BusyBox is good, root is good, and the vendor file is good...What should I try next?
Click to expand...
Click to collapse
Of course, root is required.
Install busybox
Rename audio_effects.conf to "audio_effects.conf.bak" in /vendor/etc.
Reboot
Install drivers in V4A app
kasarona said:
Had the same problem, and eventually found this to be working:
SElinux permissive
Busybox in /su/xbin
supersu 2.79
flash v4a package
Give permissions to v4a app to access storage
Rename /vendor/etc/audio_effects.conf to audio_effects.conf.bak
i´m using ViperAtmos 5.5 Sony Beats Edition, which i prefer.
Click to expand...
Click to collapse
How do I set SElinux permissive? Everything else did correctly
whtgrizzly said:
How do I set SElinux permissive? Everything else did correctly
Click to expand...
Click to collapse
You can use this: https://forum.xda-developers.com/showthread.php?t=2524485

V4A on AEX Nougat (tutorial)

I had a rough time with this so I thought I'd share my fix. This may work on other Nougat ROMs as well. If your ROM uses Chainfire SuperSU you can skip all of the Magisk stuff and go straight to step 4.
1: Clean install AEX + gapps
2: Boot system and update Magisk(via settings/Magisk Manager) and BusyBox(via play store app) and reboot
3: Flash Magisk SELinux Permissive Script
https://forum.xda-developers.com/apps/magisk/module-magisk-selinux-permissive-script-t3577549
4: Use Root Explorer to copy ViPER4Android_FX_v2505_A7.x_Nougat_IO_test_fix.apk to System/Privapp and set permissions rw-r--r--
https://forum.xda-developers.com/showthread.php?t=2191223
5: Reboot, launch V4A app, grant Root, install driver, reboot
Bonus: AdAway works if copied to Privapp with correct permissions rw-r--r--, reboot and launch
aaron.a said:
I had a rough time with this so I thought I'd share my fix. This may work on other Nougat ROMs as well. If your ROM uses Chainfire SuperSU you can skip all of the Magisk stuff and go straight to step 4.
1: Clean install AEX + gapps
2: Boot system and update Magisk(via settings/Magisk Manager) and BusyBox(via play store app) and reboot
3: Flash Magisk SELinux Permissive Script
https://forum.xda-developers.com/apps/magisk/module-magisk-selinux-permissive-script-t3577549
4: Use Root Explorer to copy ViPER4Android_FX_v2505_A7.x_Nougat_IO_test_fix.apk to System/Privapp and set permissions rw-r--r--
https://forum.xda-developers.com/showthread.php?t=2191223
5: Reboot, launch V4A app, grant Root, install driver, reboot
Bonus: AdAway works if copied to Privapp with correct permissions rw-r--r--, reboot and launch
Click to expand...
Click to collapse
If you do so, I think you lost all benefit of systemless system, as you are touching directly to the system.
casual_kikoo said:
If you do so, I think you lost all benefit of systemless system, as you are touching directly to the system.
Click to expand...
Click to collapse
Good call. Not a problem for me. I think dudes selinux script enables permissive system wide which may also turn people off. But my app selection is minimal and I use my phone more like a media tool than anything else.
You don't need to change to Permissive at all. Just install V4A latest apk and flash the driver with Magisk. Works with Enforcing fine.

Audio Mod for Stock Nougat

I wanted to install Viper4android on stock 7.0 march but was unable to do so after following 2-3 different methods. Is there anyone successfully using viper4android on stock? And if not successful them suggest any other sound mod fully working and compatible with stock 7.0 march. I am rooted, elementalX 1.04 + busybox also installed :silly:
You intent with Viper4Aprise?
most of these require permissive selinux and i dont want to do that.
Why? I dont know for what flash permissive, what Is this?
JassyelZ said:
Why? I dont know for what flash permissive, what Is this?
Click to expand...
Click to collapse
selinux can be "enforcing" which is more secure or "permissive" which is less secure. V4A does require permissive kernel generally.
so anyone found a working sound mod for stock rom with selinux enforcing?
nitish_namdev said:
so anyone found a working sound mod for stock rom with selinux enforcing?
Click to expand...
Click to collapse
I've got ARISE running on my device (NPJS25.93-14.4, ElementalX, magisk v13). Note, I'm just running the core modules, any other addons I do not know if you need to tweak further. I have not changed ElementalX's SE Linux permissions, and running 'su getenforce' in a terminal returns as 'enforcing'.
My setup: XT1642, updated to NPJS25.93-14.4, ElementalX, magisk v12/v13 (think if you have SuperSU, should be okay too).
1) Downloaded ARISE Magnum Opus from here: https://forum.xda-developers.com/android/software/r-s-e-sound-systems-auditory-research-t3379709 (I currently have the 05/06 build). The download link is the Magnum Opus TM. Also, as I'm using magisk, I downloaded the magisk compatibility module. https://forum.xda-developers.com/an...y-research-t3379709/post71569390#post71569390
2) To configure ARISE before flashing, I extracted arise_customize.prop to /sdcard, and configured install.core to = true, install.v4a_2.5.0.5= to be true (and later found out I needed delete.deep_buffer to = true). Saved the ARISE customise file (I've uploaded my prop file if you want to see my modifications. If you wish to use this file, delete the .txt in the file name so the extension is .prop).
3)Rebooted to TWRP. Backed up. Flashed ARISE Magnum Opus - as configured, it should flash the 2.5.0.5 core module and delete the deep buffer (without deleting deep buffer, I found that ARISE did not process output).
3a)After ARISE, flashed the magisk compatibility module (if you're on SuperSU, you may not have to flash this). With magisk v13, this does not trigger Safety Net.
4)Wipe cache/Dalvik and reboot.
5)As I'm using Poweramp, I had to go to Poweramp Settings > Audio > Advanced Tweaks and disable Direct Volume Control. Also, I disabled the main Equalizer.
Now, ARISE processes headphone output as per the ARISE settings.

Categories

Resources