Anyone have a guide for how to install V4A? - Xiaomi Poco F1 Questions & Answers

Hi,
Trying to install Viper4Android to transfer my good Profile files from my old Lenovo P2 to this new Poco F1, but I am unable to get V4A to work. I've tried to flash using magisk modules, both as a system app and user app but nothing works.
It always says abnormal status for the driver and the EQ does not change (except I get that notification crackling sound that I found the fix for here: https://forum.xda-developers.com/poco-f1/how-to/sound-distortion-issue-fixed-custom-t3891118)
Anyone know what might be the issue and what I might do to make it work?
EDIT: Running LineageOS 16, latest nightly build

Never had any issue with viper.
Im on miui stable 10.2.3..
I just flashed the latest viper and viper x hifi.. with audio sound mod. Both are magisk modules.. and are working fine..

How I made it work on my poco with the new app by pittvandewitt and MrWhite214:
Install Viper4AndroidFX via Magisk - select new > material > system app > no lib workaround
Reboot - do not open Viper yet.
Download new Viper app from https://labs.xda-developers.com/store/app/com.pittvandewitt.viperfx
Rename the downloaded apk to ViPER4AndroidFX.apk (might be case sensitive, didn't test)
Delete the existing apk from /system/priv-app/ViPER4AndroidFX
Move new apk where the deleted one was
Reboot
Give Viper storage permissions
Enjoy
If you get crackling during notifications, install the Notification Helper Remover and select to remove the library. Don't install AML since that seems to break bluetooth, at least for me.

Thanks for the answers, I will try them on later today! Forgot to mention that I am on the latest build of LineageOS 16.

stashcat said:
How I made it work on my poco with the new app by pittvandewitt and MrWhite214:
Install Viper4AndroidFX via Magisk - select new > material > system app > no lib workaround
Reboot - do not open Viper yet.
Download new Viper app from https://labs.xda-developers.com/store/app/com.pittvandewitt.viperfx
Rename the downloaded apk to ViPER4AndroidFX.apk (might be case sensitive, didn't test)
Delete the existing apk from /system/priv-app/ViPER4AndroidFX
Move new apk where the deleted one was
Reboot
Give Viper storage permissions
Enjoy
If you get crackling during notifications, install the Notification Helper Remover and select to remove the library. Don't install AML since that seems to break bluetooth, at least for me.
Click to expand...
Click to collapse
Well, that didnt work. Still "abnormal" status on driver

Ultimately tried to install too many times and corrupted my ROM so bluetooth and Wifi stopped working. Cleaninstalled my ROM now to try again if you have any other plan.

stashcat said:
How I made it work on my poco with the new app by pittvandewitt and MrWhite214:
Install Viper4AndroidFX via Magisk - select new > material > system app > no lib workaround
Download new Viper app from https://labs.xda-developers.com/store/app/com.pittvandewitt.viperfx
Delete the existing apk from /system/priv-app/ViPER4AndroidFX
Reboot
Enjoy
If you get crackling during notifications, install the Notification Helper Remover and select to remove the library. Don't install AML since that seems to break bluetooth, at least for me.
Click to expand...
Click to collapse
This worked for me on Havoc! After installing Notification Helper Remover (volume down option) I have no crackle and Bluetooth is working

what rom ur now stable beta custom ?!
Always install viper4 android from this thread https://labs.xda-developers.com/store/app/com.pittvandewitt.viperfx
installing normally open request for root permissions then reboot automatically
maybe installing busybox NDK magisk will help you if u still have abnormal status hope that will help you solving your problem
its working here
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
BTW Rom 9.3.14 beta with magisk 18.1

Antidote03 said:
what rom ur now stable beta custom ?!
Always install viper4 android from this thread https://labs.xda-developers.com/store/app/com.pittvandewitt.viperfx
installing normally open request for root permissions then reboot automatically
maybe installing busybox NDK magisk will help you if u still have abnormal status hope that will help you solving your problem
its working here View attachment 4728362
BTW Rom 9.3.14 beta with magisk 18.1
Click to expand...
Click to collapse
sorry, forgot to mention that I run LineageOS 16 in the OP. Had a reply in a comment later that explained it but should add it in OP. I will try with busybox!

I've tried all different combinations explained in these threads without success...:
https://forum.xda-developers.com/apps/magisk/module-universal-deepbuffer-remover-t3577067
https://forum.xda-developers.com/poco-f1/help/soundmod-pie-t3868729/page3
https://forum.xda-developers.com/poco-f1/how-to/poco-f1-dolby-effect-t3840883
https://forum.xda-developers.com/android/apps-games/app-viper4android-fx-2-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.

Found my solution below (from viper4android main thread):
Originally Posted by 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.
Click to expand...
Click to collapse
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!

Important, have had some problems with v4a for a while. Removing both ACP and AML fixed it for me

hugolol said:
Important, have had some problems with v4a for a while. Removing both ACP and AML fixed it for me
Click to expand...
Click to collapse
Hmm, I too couldn't get it working (with aptx enabled), but both are now running together. I have ViPER4Android FX Legacy Materialized. Settings at install using volume rocker: select new > material > system app > can't remeber the last one, but I chose the recommended.
I also flashed this fix for notifications. I then disabled aptx and enabled V4A master power, everything worked. Then I re-enabled aptx and V4A still works.
However, Aptx OFF(!) sounds better, clearer once I changed clarity settings up a couple of notches

reg66 said:
Hmm, I too couldn't get it working (with aptx enabled), but both are now running together. I have ViPER4Android FX Legacy Materialized. Settings at install using volume rocker: select new > material > system app > can't remeber the last one, but I chose the recommended.
I also flashed this fix for notifications. I then disabled aptx and enabled V4A master power, everything worked. Then I re-enabled aptx and V4A still works.
However, Aptx OFF(!) sounds better, clearer once I changed clarity settings up a couple of notches
Click to expand...
Click to collapse
Oh, thanks! I will try that!
Do you want to share you v4a settings once set up? Would be interesting to see

-install magisk debloater module
-reboot to system
-terminal
-type 'su' to get super user
-type 'debloat'
- u'll get a list
-type 2 for system priv-app
-now find out any kind of equalizer
-debloat it by typing it no
-flash v4a on magisk
-flash audio modification library
-reboot to system

markmywordz said:
-install magisk debloater module
-reboot to system
-terminal
-type 'su' to get super user
-type 'debloat'
- u'll get a list
-type 2 for system priv-app
-now find out any kind of equalizer
-debloat it by typing it no
-flash v4a on magisk
-flash audio modification library
-reboot to system
Click to expand...
Click to collapse
Not audio modification library, audio compatibility patch and use the notification helper to remove the library with the volume down button. AML isn't required and breaks Bluetooth audio

Related

[Audio Engine] ACID Audio Engine™ [1/26/13 - Sideload Nooz latest build]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I just installed it using the Aroma installer. I chose Universal>Universal>Skip>Noozxoid. I'm using it in conjunction with Beats rather than in lieu of it. My Klipsch Image ONE Premiums have never sounded better. I HIGHLY recommend this installation for anyone. The work these folks have done is incredible.
*Note* the final window says you should not have any other DSP or equalizer installed. I had DSP Manager v2 installed and I let it install anyway. There were some conflicts and AC!D actually FC'd. I had to turn off all DSP Manager's options and disable it. I then rebooted and no issues afterwards.
****NOTE**** I take no credit for the original work. This is simply a port to the DNA. The original thread is here:
http://forum.xda-developers.com/showthread.php?t=2002367
Folks, install this now. Seriously.
12/27/12 UPDATE: Tonight I mistakenly found out why the installer says not to have any other DSP's installed and why when you go into Settings\Sound\Music effects it FC's. If you did the Aroma installer and followed my installation and look in your applications, you have a new icon called Noozxoide EIZO-rewire. This is their Jelly Bean DSP manager suggested in the installer. If you click Build-In Audio Monitor (supposed to be built, but they're German, so give them a break), you can FULLY manipulate your sound to your liking. I'm enjoying my headphones even more with these tweaks and I'm sure you will too!!! See new screenshots below.
12/28/12 Disregard. See instructions below.
12/29/12 UPDATE: Looking at the original AC!D post, I noticed that my installation was incomplete. Steps 9 and 10 involve a build.prop edit. I've successfully done it and I want you all to hear what I am.
******WARNING***** Follow these steps EXACTLY. If you do not, you could make your phone unbootable. I'm not responsible for any damage to your phone. With that said, let's get to it:
1) First, you need to be on any version of TWRP recovery and have adb installed.
2) We're going to make a backup of your original build.prop first. Put your phone in recovery and plug it into your PC. In TWRP select Mount and mount System. Go into a DOS prompt and type:
Code:
adb pull /system/build.prop C:\
3) Right click on build.prop and select copy. Paste right there in the root You should now have two files on your root like the fourth screenshot. Right click on build.prop and open with Notepad. Scroll to the bottom of the file and hit enter. On the new line, paste the following code:
Code:
###AC!D Sound Tweaks by R-ikfoot###
#Sony Xloud & Clearbass +
ro.semc.sound_effects_enabled=true
ro.semc.xloud.supported=true
persist.service.xloud.enable=1
ro.semc.enhance.supported=true
persist.service.enhance.enable=1
ro.semc.clearaudio.supported=true
persist.service.clearaudio.enable=1
ro.somc.dmnorm.supported=true
persist.service.dmnorm.enable=1
ro.sony.walkman.logger=1
ro.somc.clearphase.supported=true
persist.service.clearphase.enable=1
#Resampling
af.resampler.quality=255
persist.af.resampler.quality=255
#Beats Engine
htc.audio.swalt.enable=1
htc.audio.swalt.mingain=14512
(See the fifth screenshot.) Close Notepad saving your changes.
4) Now send the edited build.prop back to your phone. Go back into your DOS prompt and type:
Code:
adb push C:\build.prop /system/build.prop
4) ***If you don't this, your phone is unbootable*** Go back into TWRP and use the File Manager to navigate to the system folder and find build.prop (scroll all the way to the bottom.) Click it and press the Chmod 755 button. Swipe to confirm. Make sure you get a "Successful!" at the top. Go back to main menu of TWRP and reboot system.
5) Profit! (If you have an app like Root Explorer, you should see the build.prop looking like the sixth screenshot.)
12/29/12 SECOND UPDATE: If you use either one of DSB's kernels that enable system write, you can use several apps that allow you edit the build.prop while booted into Android. The confirmed list, so far, is
ES File Explorer: https://play.google.com/store/apps/details?id=com.estrongs.android.pop&hl=en
Build Prop Editor: https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor&hl=en
Root Explorer: https://play.google.com/store/apps/details?id=com.speedsoftware.rootexplorer
Directions for the Explorer apps:
1) Navigate to the system folder and mount it as Read/Write capable.
2) Make a backup copy of the build,prop
3) Navigate to this thread with your phone's browser and copy and paste the code from step 3 above at the end of the file. Save your changes and exit the app.
4) Do a full reboot and profit.
Directions for Build Prop Editor:
1) Fire up the app and hit the menu button. Select Backups and create a backup.
2) Go back into the menu and select edit...
2) Navigate to this thread with your phone's browser and copy and paste the code from step 3 above at the end of the file. Save your changes and exit the app.
3) Do a full reboot and profit.
1/3/13- There's a new build of Noozxoide DSP, but the Play Store says it's not compatible with our device. I've found it best to sideload it in recovery. Instructions:
1) Download the .apk from: http://forum.xda-developers.com/showthread.php?p=36168124#post36168124
2) Put the .apk in the same folder as adb.exe.
2) Boot into recovery and mount system.
3) Type in:
Code:
adb install com.noozxoidelabs.eizo.rewirepro.apk
The install will complete with an error code, but it did install fine. Look in Settings\Apps\All and you should see new build number (see screenie #7)
*NOTE*-- For those of you that want to install the Walkman player, it specifically says in the OP of the Engine and the Aroma installer that you can NOT use the player with a DSP. Your installation in Aroma should be Universal, Universal, Walkman, Skip.
1/26/13- After some extensive testing (a LOT of flashing and restoring), I've come to the conclusion that the AC!D Engine either just doesn't work on our device or it doesn't work on any device. What I heard as a significant change in sound actually came from the Noozoxoide DSP and not from the Engine. A properly running Nooz sounds amazing combined with Beats on this phone. First, my test results (all v5 tests with proper build.prop edit. v7 supposedly doesn't need an edit):
AC!D v5 only: No change to sound
v5 with Walkman 5: No change
v5 with DSP Manager v2: Only DSP changes
v5 with Noozxoide DSP: Only Nooz changes
AC!D v7: phone boots, no changes to sound
AC!D v7 and Walkman v6: Phone won't boot into Android
v7 and DSP: DSP changes only
v7 and Nooz: Nooz changes only
The choice then becomes which DSP sounds better to you (DSP Manager v2 or Nooz.) I just sideloaded the latest version of Nooz (2.0.1.13) and I adjusted its settings to run with Beats. I don't think I could be happier with audio coming from this phone. Links:
flash v2.0.1.12 .zip installer with supporting files: http://dl.dropbox.com/u/68066384/HDSoundEngine_CWM_24Jan2013.zip
then sideload v2.0.1.13 with Root Explorer (etc): http://dl.dropbox.com/u/68066384/Noozxoide_EIZO-rewire__PRO_-_v2.0.1.13.apk
Tried to install it but after I changed the build.prop, saved, and rebooted, I couldn't find audio effects in sound settings. Checked build.prop again and the stuff I added wasn't there. Is yours still there?
slvrdrgn123 said:
Tried to install it but after I changed the build.prop, saved, and rebooted, I couldn't find audio effects in sound settings. Checked build.prop again and the stuff I added wasn't there. Is yours still there?
Click to expand...
Click to collapse
I never changed my build.prop. My music effects is still there, but it FC's when I click it. I don't think they need to be modified anyway. Their default settings are amazing.
Sent from my HTC6435LVW using xda premium
Just installed on my rooted stock ROM. Looks like it is working; have to go get my nice earphones in a bit to test it out.
Are you keeping beats and acid enabled at the same time, or turning beats off?
I'm getting fcs too when I click on music effects now. I don't think it's working properly because I don't hear a difference with it installed.
Sent from my HTC6435LVW using Tapatalk 2
tbns said:
Just installed on my rooted stock ROM. Looks like it is working; have to go get my nice earphones in a bit to test it out.
Are you keeping beats and acid enabled at the same time, or turning beats off?
Click to expand...
Click to collapse
As you can see from my screenshot in the OP, I use them together. Beats ends up being a bass and volume boot and AC!D cleans everything up.
slvrdrgn123 said:
I'm getting fcs too when I click on music effects now. I don't think it's working properly because I don't hear a difference with it installed.
Click to expand...
Click to collapse
No idea how you can't hear the difference...
Maybe because it's not working for me. Lol. I'll have to play with it later to get settings to not force close, then maybe it'll work right.
Plug in your headphones and you should see this in your notification bar...
This is the best mod I've had the privilege to install thus far. Thanks for the tip and Bravo AC!D team. This rocks big time. 100% improvement. I was using Volume+ app and this free mod completely dusted it. Wow!!!
The link to the thread doesn't work
RLKirk said:
The link to the thread doesn't work
Click to expand...
Click to collapse
i can confirm the link does not work. Can you post the download link you used from the thread or fix the link?
That's very strange. Obviously a glitch on the xda side because that thread was 50+ pages. I uploaded the installers to my Dropbox. I used the Aroma installer and it works just fine (they said it was for 720p+ phones; which our phone is). They say the Universal driver works on any phone if you're not comfortable using Aroma. I take no credit for their creation:
Aroma installer: http://dl.dropbox.com/u/68066384/[AROMA]AC!DAudioEngine[v5.0]_signed.zip (57.9MB)
Universal driver: http://dl.dropbox.com/u/68066384/[Universal]AC!DAudioEngine[v5.0]_signed.zip (2.15MB)
Working fine for me.
Sent from my HTC6435LVW using Tapatalk 2
Subscribing to this thread.
I'd love to see a rom builder add this baked into his/her rom.
Danzoman316 said:
Working fine for me
Click to expand...
Click to collapse
Seems to be intermittent today. They must be working on or having problems with their database.
thanks, good job
http://forum.xda-developers.com/showthread.php?t=2002367
looks like the link in the OP was concatenated.
rynfrnk said:
looks like the link in the OP was concatenated.
Click to expand...
Click to collapse
Fixed. Thank you.
slvrdrgn123 said:
I'm getting fcs too when I click on music effects now. I don't think it's working properly because I don't hear a difference with it installed.
Click to expand...
Click to collapse
slvrdrgn123 said:
Maybe because it's not working for me. Lol. I'll have to play with it later to get settings to not force close, then maybe it'll work right.
Click to expand...
Click to collapse
Tonight I mistakenly found out why the installer says not to have any other DSP's installed and why when you go into Settings\Sound\Music effects it FC's. If you used the Aroma installer and followed my installation instructions in the OP, you'll have a new icon in your applications called Noozxoide EIZO-rewire. This is their Jelly Bean DSP manager suggested in the Aroma installer.
If you click Build-In Audio Monitor (supposed to be built, but they're German, so give them a break), you can FULLY manipulate your sound to your liking. Look at my new screenshot below. I'm enjoying my headphones even more with these tweaks and I'm sure you will too!!! See new screenshots below.
Instructions modified to prevent possible conflicts.
Or you could (as the original AC!D forum instructions suggest) add the lines in a text editor using a file explorer app after making a backup of your original build.prop file. I renamed my build.prop to build.prop.bak, copied it to a clipboard, added the lines from the AC!D forum in a text editor, renamed the modified file to build.prop and put it in /system folder then rebooted. The whole process took less than 5 minutes and worked entirely on device. I caution those of you who don't know what you are doing to use the OP's advice as that method is safer and you are connected to your PC if anything goes south. I'm just providing a simplified on device alternative. Thanks docnok63 for keeping this thread updated with advice and improvements as the sound enhancements are remarkable to say the least. I also used this on my HP TouchPad running CM9 and the difference is stunning. Highly recommend doing this, you won't regret it.
---------- Post added at 01:51 AM ---------- Previous post was at 01:45 AM ----------
Docnok63, will using your build.prop file in place of whatever build.prop file is currently in use on one's device wipe out certain mods and ROM features or would you recommend using only the portion at the bottom provided by the AC!D team in their forum to add the enhancements? Just want to be sure people don't mess up their customizations after using your build.prop.working file in place of their own.

[DSP + APOLO] Working equalizer for stock rom !

Hellow all s3 mini stock users .
Tired about the "low" volume of your phone ?
I have tried lots of custom roms only for trying to increase the sound .
I have tried multiple mods trying to increase the volume ,
but since nothing worked for me i have created my own "mod" .
The files / binary were imported from CM10 .
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The orange template for apolo was donwloaded from playstore [apolo ubuntu] .
Flash zip content :
- Apolo Music Player .
- Dsp Manager .
- Working binary and configs for equalizer.
HOW TO INSTALL ?
- Place the zip file on your external sd and flash it via cwm .
- Delete cache + dalvik cache
- Reboot.
Enjoy and hit thanks if you have searched for this :laugh:.
Make sure to backup your rom before flasing this , in case you want to revert back , but i'm sure you won't
Note that the effects are working only within apolo player
If you want to be able to access equalizer from apolo music player follow this steps :
Go to : Settings > Sounds > Effects and select DSP as default .
Whohoooo i got high )) ( In volume) .
UPDATE NEW IMPROVED APK + SOME BINARY MODS .
Apk got from :
#olokos < Thanks for this one !
http://forum.xda-developers.com/showthread.php?t=2625426
The flashable zip was updated , it does all on its own , delete old content + bin , upload new ones , clear cache + dalvik & reboot .
Put it on your exernal sd card , flash it via cwm , you can install this one even if you have installed the first zip archive because it will remove
old content so no need to worry about that .
The new zip does also install new template for apollo (HoloLightTheme) access settings in the apollo menu and select it
.
New transparent widget !!
[NEW] FOR USERS WHO WANT TO KEEP THEIR "DOWNLOAD DISPLAY" AS "OFFICIAL" USE [THIS METHOD] TO ROOT YOUR DEVICE ON THE STOCK ROM , THAN INSTALL [THIS APP] FOR FLASHING THE xSoundFx_latest.zip FILE WITHOUT CWM > RESTART PHONE AFTER FLASHING THE ZIP THROUGH THAT APP.
########### BUGS ###########
- it seems it has some bugs on profile switching .
(i have used the player via bluetooth after listening some time i disconnect it , and hit play on the speaker the profile on dsp is still bluetooth i was needed to plugin the jack > play > and pull it back after that play again on speaker < is on speaker profile now >
Does DSP work also on other Apps like Groovemobile? or just on Apollo?
Lefl said:
Does DSP work also on other Apps like Groovemobile? or just on Apollo?
Click to expand...
Click to collapse
Apolo only , thats why i packed the zip with that player .
The thing is that i do not really know which files does also need to be included so this can work globally ,
if there's someone who can take a look on the zip file and help with patching i will gladly appreciate it . :victory:
Sorry for the offtopic, but, you can also install Viper4Android, it will work with any multimedia player in any android version, and will make your phone sound awesome :laugh:
LuuchoRocha said:
Sorry for the offtopic, but, you can also install Viper4Android, it will work with any multimedia player in any android version, and will make your phone sound awesome :laugh:
Click to expand...
Click to collapse
To be honest the sound provided by this mod (from this thread) hears hell louder than the "viper plugin" you mentioned , i just tested viper plugin even with the apolo player and the sound is "low" although it has more "effects" than this mod that beeing said i will rather use this + apolo player for high volume !
Thanks for this, man. A quick question, will this work on other devices [ex. Xperia E1, LG Optimus LTE]?
And,
If you want to be able to access equalizer from apolo music player follow this steps :
Go to : Settings > Sounds > Effects and select DSP as default .
Click to expand...
Click to collapse
How would I achieve this? I don't have the Effects chooser on system settings. I'm on Virginity V14.
Cheers,
Rae
Raeshabu said:
Thanks for this, man. A quick question, will this work on other devices [ex. Xperia E1, LG Optimus LTE]?
And,
How would I achieve this? I don't have the Effects chooser on system settings. I'm on Virginity V14.
Cheers,
Rae
Click to expand...
Click to collapse
I do not know if will run or not ... most likely not , because the library was taken from cm10 and the zip was created based on s3mini stock rom structure to delete "stock" sound library and replace with the one from cm10 .
" Effects chooser " will appear after you flash the zip file ... since you have 2 sound effects installed the "choose" option will appear .
Screenshot here : http://i.imgur.com/nOHGkVd.png
alin razvan said:
I do not know if will run or not ... most likely not , because the library was taken from cm10 and the zip was created based on s3mini stock rom structure to delete "stock" sound library and replace with the one from cm10 .
" Effects chooser " will appear after you flash the zip file ... since you have 2 sound effects installed the "choose" option will appear .
Screenshot here : http://i.imgur.com/nOHGkVd.png
Click to expand...
Click to collapse
Oh, that's why I didn't have the option. I unchecked MusicFX when installing Virginity. Thanks man. :good:
alin razvan said:
To be honest the sound provided by this mod (from this thread) hears hell louder than the "viper plugin" you mentioned , i just tested viper plugin even with the apolo player and the sound is "low" although it has more "effects" than this mod that beeing said i will rather use this + apolo player for high volume !
Click to expand...
Click to collapse
Sure, everyone to his own taste :cyclops:
Anyway, some of the Viper4Android code is based on CM DSP Manager and, I think, if you set output gain to +6 dB and you set control gain to extreme to compress signal, it will sound louder than ever!

[GUIDE] PowerAmp + Viper4Android on Lollipop

Just trying to redirect any search users into a global thread by creating this guide. I take no part in the development, just sharing a way that made it possible to have V4A working with Poweramp and MXplayer.
Download:
DropBox​
Prerequisites:
- Have root
- Must have selinux set to permissive.
- Do a nandroid backup.
Steps:
First method:
- Flash attached zip
- Go into Viper settings app
- Install required driver
- Go into poweramp -> settings -> audio -> advanced tweaks -> Disable DVT (Direct volume control)
- Reboot
Second (manual) method:
- Download attached zip, extract files
- Using any file explorer (ie: Rootexplorer), go into /system/Priv-app and create a folder called V4A or Viper4Android. Place ViPER4Android_FX_A4.x.apk in this folder. While the folder isn't actually necessary, it's cleaner than just leaving the .apk inside /priv-app/
- Go into /system/media/etc and do a backup of audio_policy.conf. Then, replace it using the file from the .zip.
- Reboot
- Go into Viper settings app
- Install required driver
- Go into poweramp -> settings -> audio -> advanced tweaks -> Disable DVT (Direct volume control)
- Reboot
Third (manual) method, which might work for other roms and even other phones:
- Download attached zip, extract files
- Using any file explorer (ie: Rootexplorer), go into /system/Priv-app and create a folder called V4A or Viper4Android. Place ViPER4Android_FX_A4.x.apk in this folder. While the folder isn't actually necessary, it's cleaner than just leaving the .apk inside /priv-app/
- Go into /system/media/etc and do a backup of audio_policy.conf
- Open up audio_policy.conf using a text editor, and delete the following code:
Code:
deep_buffer {
sampling_rates 44100|48000
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE |AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_W IRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVI CE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_PROXY|AUDIO_DE VICE_OUT_ANLG_DOCK_HEADSET|AUDIO_DEVICE_OUT_FM|AUD IO_DEVICE_OUT_FM_TX
flags AUDIO_OUTPUT_FLAG_DEEP_BUFFER
}
- Reboot
- Go into Viper settings app
- Install required driver
- Go into poweramp -> settings -> audio -> advanced tweaks -> Disable DVT (Direct volume control)
- Reboot
Extras:
Build.prop tweak:
While not necessary, this might be the solution if you can't get V4A working. I'm on an AOSP build (euphoria-OS) and this step was NOT necessary.
- Using any file explorer (ie: Rootexplorer), go into /system/ and locate the build.prop file
- I, personally, set the build.prop permissions to 0755 from the original 0644 to edit the file, save it and then revert back to 0644.
- Add the following lines at the very end
Code:
tunnel.decode=false
lpa.use-stagefright=false
lpa.releaselock=false
lpa.decode=false
Audio_effects.conf:
Previously needed, not anymore at the very least on AOSP. I'm posting this file in case it's necessary on stock roms.
Download audio_effects.conf
The only difference that I've made is update the audio_policy.conf file in order to make it compatible with V4A. The flashable zip was orignially provided by @donalberto17.
There is also a guide made by @dorimanx for LG G2 stock roms and V4A. While it's pretty complete, it was inside one of his kernel threads, and thus, out of sight for most users. I just wanted to make a bigger, more public thread about how to make V4A work with poweramp (nevermind lollipop).
Please let me know if I missed crediting somebody, as I take no part in development or creation of this, just recollecting information and trying to setup a nicely formatted thread.
Versions:
1.0 - Initial .zip
2.0 - Same zip without audio_effects.conf
3.0 - Updated audio_policy.conf from https://github.com/VanirAOSP/device_lge_g2-common/commit/dd3aa00ef250f6f405e675f685cd1f5909fa50f8, thanks to @sudosurootdev
I'll update a new flashable zip without audio_effects.conf, as this file doesn't seem to be necessary anymore in CAF roms. Could anyone confirm, maybe for stock as well?
Choristav said:
I'll update a new flashable zip without audio_effects.conf, as this file doesn't seem to be necessary anymore in CAF roms. Could anyone confirm, maybe for stock as well?
Click to expand...
Click to collapse
In CAF rom, removing deep buffer from audio_policy is enough to do the trick!
Updated to v3, if your AOSP rom has this commit, you don't need to even flash the zip/update the .conf file, just add the .apk!
Would love to see whether it works on stock/ what the .conf file looks like from stock.
Didn't work for me
Hey,
i tried to flash this on the new CloudyG2 3.2 rom
now there's just weird noises from my phones speakers, the sound just just got ruined.
can you make a little tutorial on how to reverse the process?
Edit:
i've opened my rom's zip file and replaced the audio_policy and audio_effects files in the system/etc folder - that fixed it
but still, i can't uninstall the driver from withing the app. it pops up saying "driver uninstalled" but after reboot and checking it's still have the option to uninstall
any idea?
Wow! Thank you so much! I was about to revert back to kitkat from CloudyG2 v3.3 but then I found this and used the third method, it perfectly worked!
Sent from my LG-F320L using Tapatalk
but still, i can't uninstall the driver from withing the app. it pops up saying "driver uninstalled" but after reboot and checking it's still have the option to uninstall
any idea?
Click to expand...
Click to collapse
same here. I tried uninstalling in order to reinstall the highest quality viper4Android driver but it seems to reinstall itself after every reboot - or it didn't get uninstalled in the first place
Hi! I'm sorry....but what is this method for?
Using V4A with PowerAmp, or use it on (stock) Lollipop??
Tnx.
Sent from my Samsung Galaxy S5 SM-G906K using TapaTalk
LG G3 Lollipop
Viper4Android is working with my LG G3 (stock lollipop rooted, SELinux permissive). At first it only worked with apps that open files (the stock player, relax and sleep, etc.), the deep buffer remover didn't help for streaming apps (xiia live, tunein, etc.), but unselecting process namespace separation in SuperSU did the trick. The same thing for Dolby Atmos. Finally!!!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
In poweramp settings i m not able to enable DVC
Sent from my falcon using Tapatalk
After installing Viper4Android I just converted it to system app by using Link2SD app. Now by disabling Direct Volume Control from poweramp settings I am using V4A with Poweramp.
It's working on marhsmallow?
Enviado desde mi LG-D800 mediante Tapatalk

[GUIDE][Android 11][Viper4Android] Viper4Android on Android 11 with Selinux Enforcing

First of all, I found this solution on Youtube. I spent hours finding a solution through forums because I like reading. I finally gave in and watched a Youtube tutorial. So this guide is for everyone who prefers reading like me.
1. Install Magisk 21.0. As of writing this is not the latest build (21.1). 21.1 does not seem to work with V4A on Android 11.
2. On Magisk Manager, install the module Audio Modification Library. Reboot.
3. On Magisk Manager, install Viper4Android. Reboot.
4. On Viper4Android, a prompt to install drivers will appear. Proceed and install. Device will automatically reboot.
5. On Viper4Android, go to settings and turn on Legacy mode. Driver status now should be Normal and audio format supported.
I am using Poco X3 NFC and Arrow OS. But the solution apparently works on other phones with Android 11.
Credits to munchy. Video can be found here:
.
ViPER4Android 2.7.1.6
Install this archive and nothing else is needed in addition.
For android 10 / 11.
MrMuffins5951 said:
First of all, I found this solution on Youtube. I spent hours finding a solution through forums because I like reading. I finally gave in and watched a Youtube tutorial. So this guide is for everyone who prefers reading like me.
1. Install Magisk 21.0. As of writing this is not the latest build (21.1). 21.1 does not seem to work with V4A on Android 11.
2. On Magisk Manager, install the module Audio Modification Library. Reboot.
3. On Magisk Manager, install Viper4Android. Reboot.
4. On Viper4Android, a prompt to install drivers will appear. Proceed and install. Device will automatically reboot.
5. On Viper4Android, go to settings and turn on Legacy mode. Driver status now should be Normal and audio format supported.
I am using Poco X3 NFC and Arrow OS. But the solution apparently works on other phones with Android 11.
Credits to munchy. Video can be found here:
.
Click to expand...
Click to collapse
thanks, will give it a try
Can someone please help me how to download Viper4android, I have no idea anything about rooting your phone or magisk module, I don't how to install it, can someone please explain it to me step by step what to do
noskojv said:
Install this archive and nothing else is needed in addition.
Click to expand...
Click to collapse
I'm on Xiaomi.eu v12.0.7.0. Flashed your ZIP with OFox recovery and got two V4A icons on Trebuchet's drawer.
Tried the first and got the driver error and a reboot after agreeing to have it installed; install failed for lack of root, obviously.
Tried the second icon, got the driver error, agreed, got a proper root prompt, agreed, phone auto-rebooted and everything worked, apparently.
As this is my first encounter of this double icon setup, I'm wondering if this is a feature of newer V4A Team De Witt versions?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
pnin said:
I'm on Xiaomi.eu v12.0.7.0. Flashed your ZIP with OFox recovery and got two V4A icons on Trebuchet's drawer.
Tried the first and got the driver error and a reboot after agreeing to have it installed; install failed for lack of root, obviously.
Tried the second icon, got the driver error, agreed, got a proper root prompt, agreed, phone auto-rebooted and everything worked, apparently.
As this is my first encounter of this double icon setup, I'm wondering if this is a feature of newer V4A Team De Witt versions?
View attachment 5178653
Click to expand...
Click to collapse
It needs to be installed through magisk, not through recovery.
noskojv said:
ViPER4Android 2.7.1.6
Install this archive and nothing else is needed in addition.
For android 10 / 11.
Click to expand...
Click to collapse
Thank you my friend
noskojv said:
It needs to be installed through magisk, not through recovery.
Click to expand...
Click to collapse
Duh! I see.
Will it be easy to revert?
pnin said:
Will it be easy to revert?
Click to expand...
Click to collapse
Yes
noskojv said:
Yes
Click to expand...
Click to collapse
Right. Re-installed in Magisk Manager (FTR, v8.0.4) and after rebooting am back to a single icon. Plus the notification, like it used to be.
Thanks mate. Me likes.
noskojv said:
ViPER4Android 2.7.1.6
Install this archive and nothing else is needed in addition.
For android 10 / 11.
Click to expand...
Click to collapse
after flashing this my SELINUX changed to permissive instead of enforcing.....
its working but in permissive mode.
nareshfree said:
after flashing this my SELINUX changed to permissive instead of enforcing.....
its working but in permissive mode.
Click to expand...
Click to collapse
that's how it should be
noskojv said:
ViPER4Android 2.7.1.6
Install this archive and nothing else is needed in addition.
For android 10 / 11.
Click to expand...
Click to collapse
Bam!!!
It's working!! Thank you
MrMuffins5951 said:
First of all, I found this solution on Youtube. I spent hours finding a solution through forums because I like reading. I finally gave in and watched a Youtube tutorial. So this guide is for everyone who prefers reading like me.
1. Install Magisk 21.0. As of writing this is not the latest build (21.1). 21.1 does not seem to work with V4A on Android 11.
2. On Magisk Manager, install the module Audio Modification Library. Reboot.
3. On Magisk Manager, install Viper4Android. Reboot.
4. On Viper4Android, a prompt to install drivers will appear. Proceed and install. Device will automatically reboot.
5. On Viper4Android, go to settings and turn on Legacy mode. Driver status now should be Normal and audio format supported.
I am using Poco X3 NFC and Arrow OS. But the solution apparently works on other phones with Android 11.
Credits to munchy. Video can be found here:
.
Click to expand...
Click to collapse
Booom! Working well to me. 10/10 with my mt1 earphone.
noskojv said:
ViPER4Android 2.7.1.6
Install this archive and nothing else is needed in addition.
For android 10 / 11.
Click to expand...
Click to collapse
Found a bug...
Although it's working perfectly, it has caused my pop up camera to stop working..
another way.... enforcing Android 11 (R)
1.install busy box (magisk module)
2.reboot
3.install viper 2.7.2.1 apk - self reboot
4. uninstall viper application
5. install viper 2.7.1.6 apk
6. enjoy
Baim alif said:
another way.... enforcing Android 11 (R)
1.install busy box (magisk module)
2.reboot
3.install viper 2.7.2.1 apk - self reboot
4. uninstall viper application
5. install viper 2.7.1.6 apk
6. enjoy
Click to expand...
Click to collapse
I removed all viper related and audio mods from magisk. Uninstalled viper app.
Before step 1, I installed Audio Modification Library in magisk.
Did all steps mentioned above. However viper 2.7.1.6 app would force close.
So I uninstalled it, installed 2.7.2.1 again and turned on "Legacy Mode" in Viper 2.7.2.1 Settings. BOOM!
It showed NEON enabled and status Normal.
Can confirm its working on my OP 8T custom rom, Android 11, Magisk 23!
BTW its a super mod! Thanks to all the devs and for the above instructions!
Hope this helps someone.
Oneplus 6t
DotOs v5.1
Magisk v23
Firstly installed busybox module, reboot, audio modification library, reboot, installed viper apk 2.7.2.1 and inatalled the drivers and let it reboot. After i needed to install app 2.7.1.6 even tho it is force closing because then when i install back 2.7.2.1 legacy mode works, without installing 2.7.1.6 and going back it is always status: abnormal
Thanks all very much for your research!
Maybe this post will help someone lost like i was... :
(I have a OnePlus 7 Pro, Android 11, and Magisk v23.)
- V4A was "Abnormal"
- With the "Permissive SELinux mod" -> No SIM Cards !
Then, I just installed the V4A FX from Magisk repo.
-> Nothing else ! (No Audio Compatibility Patch, Audio Modification Library, or other mods.)
Launch V4A -> Install Drivers -> Reboot.
With a Root Explorer, find this file :
/data/adb/modules/ViPER4AndroidFX/post-fs-data.sh
add these lines in the file :
magiskpolicy --live 'allow audioserver audioserver_tmpfs file { read write execute }'
magiskpolicy --live 'allow audioserver system_file file { execmod }'
magiskpolicy --live 'allow mediaserver mediaserver_tmpfs file { read write execute }'
magiskpolicy --live 'allow mediaserver system_file file { execmod }'
magiskpolicy --live 'allow audioserver unlabeled file { read write execute open getattr }'
magiskpolicy --live 'allow hal_audio_default hal_audio_default process { execmem }'
magiskpolicy --live 'allow hal_audio_default hal_audio_default_tmpfs file { execute }'
magiskpolicy --live 'allow hal_audio_default audio_data_file dir { search }'
magiskpolicy --live 'allow app app_data_file file { execute_no_trans }'
magiskpolicy --live 'allow mtk_hal_audio mtk_hal_audio_tmpfs file { execute }'
Reboot -> V4A Settings -> Legacy Mode !
Fully working V4A on Enforced Android 11
for mojito , redmi note 10 user , with pe+ 11 rom ,
1.first disable musicfx app in system ,
2.install busybox magisk , reboot ,
3. install audio modification library , reboot
4. install viper in magisk ver 2.7.2 , then install driver then reboot
5. remove viper app , install viper 2.7.1.6 by Baim alif
, app will be force close as Drigio mentioned, then reinstall viper 2.7.2 app , walla it is working now

VIPER4ANDROID FX INSTALLATION_[ANDROID_10/11

Just flash this module via magisk.
ViperFX-v2.3
Thread Updated.
All fine... but in the call notification the sound is bad.
FYI, the guide at https://forum.xda-developers.com/t/4208707/ is similar, apart from keeping selinux at enforcing...
pnin said:
FYI, the guide at https://forum.xda-developers.com/t/4208707/ is similar, apart from keeping selinux at enforcing...
Click to expand...
Click to collapse
In fact, viper4android still works while selinux is in enforcing mode.
but it stands constantly. It is necessary to constantly reboot the device for it to work again.
Macxsico said:
All fine... but in the call notification the sound is bad.
Click to expand...
Click to collapse
read this part well. If you do as I said, you will not encounter any problems.
2b. Install the Audio Compatibility Patch file with Magisk. ---> Options will be as below.
ONLY MIUI ;
Volume UP - Volume UP - Volume DOWN - Volume DOWN - Volume DOWN
For CUSTOM ROMS ;
Audio Compatibility Patch install it and do following :
- Patch audio policy ? > YES and remove old logic
- Patch notification_helper ? > YES and remove volume listener library
- Patch usb policy for usb dacs > NO and NO (recommended)
ryukseloglu said:
read this part well. If you do as I said, you will not encounter any problems.
2b. Install the Audio Compatibility Patch file with Magisk. ---> Options will be as below.
ONLY MIUI ;
Volume UP - Volume UP - Volume DOWN - Volume DOWN - Volume DOWN
For CUSTOM ROMS ;
Audio Compatibility Patch install it and do following :
- Patch audio policy ? > YES and remove old logic
- Patch notification_helper ? > YES and remove volume listener library
- Patch usb policy for usb dacs > NO and NO (recommended)
Click to expand...
Click to collapse
In custom rom have this bug. Only can fix it if I flash the V4 Pie Fix V2. For now not found other solution
Macxsico said:
In custom rom have this bug. Only can fix it if I flash the V4 Pie Fix V2. For now not found other solution
Click to expand...
Click to collapse
If you do as described in the installation, there should be no problem.
Macxsico said:
In custom rom have this bug. Only can fix it if I flash the V4 Pie Fix V2. For now not found other solution
Click to expand...
Click to collapse
there is no extra fix pack. I guess you are installing the audio compatibility patch incorrectly.
It's Works.. Thank u
All good .. Thanks..
ryukseloglu said:
All features are working. If you follow the process as described, viper4android works fine on YouTube and all platforms. --> MIUI and Custom ROMS
Moreover, it eliminates the problem of voice reduction when forwarding videos. --> MIUI ONLY
---> Tested MIUI 12 GLOBAL and Custom A11 ROMS
Before you start installing the Sound Mode, install the SELINUX PERMİSSİVE file with MAGİSK and restart the device.
FOLLOW THE PROCEDURES IN THE ORDER
1. Install the Viper4Android FX zip file with Magisk and
Open the Viper4Android FX application and install the driver and restart.
2a. Install the Audio Modification Library file with Magisk.
2b. Install the Audio Compatibility Patch file with Magisk. ---> Options will be as below.
ONLY MIUI
Audio Compatibility Patch install it and do following :
Volume UP - Volume UP - Volume DOWN - Volume DOWN - Volume DOWN
For CUSTOM ROMS ;
Audio Compatibility Patch install it and do following :
1) VOLUME UP -->{Patch audio policy? > YES}
and
2) VOLUME DOWN -->{Remove old logic}
3) VOLUME UP -->{Patch notification_helper? > YES}
and
4) VOLUME DOWN -->{Remove volume listener library}
5) VOLUME DOWN -->{Patch usb policy for usb dacs > NO}
and
6) VOLUME DOWN -->{NO (recommended)}
Restart the device.
3. Open the Viper4Android FX application and activate LEGACY MOD in settings.
DONE.
SETTİNG FILES --> VIPER4ANDROID_DDC-KERNEL-PRESET FOLDER
---> Copy to folder Android / data / com.pittvandewitt.viperfx / files.
FİLES;
1_Selinux_Permissiver_v2_Magisk.zip indir, download
dosyayı indir, full download - 1_Selinux_Permissiver_v2_Magisk.zip
www.dosyaupload.com
Hata indir
Hata
www.dosyaupload.com
Hata indir
Hata
www.dosyaupload.com
Hata indir
Hata
www.dosyaupload.com
SETTİNG FİLES
Hata indir
Hata
www.dosyaupload.com
Click to expand...
Click to collapse
I'm getting this error after launching v4a installed from Magisk repo
MIUI 12.0.8.0
also tried installing zip with TWRP same error !
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thread Updated
atefbeldi said:
I'm getting this error after launching v4a installed from Magisk repo
MIUI 12.0.8.0
also tried installing zip with TWRP same error !
View attachment 5330309
Click to expand...
Click to collapse
I updated the thread. try the above module.
Has any one got poweramp to work with this plz tell thank
Boncey1989 said:
Has any one got poweramp to work with this plz tell thank
Click to expand...
Click to collapse
it should work if you choose ViperFX as the default equalizer. Unfortunately I don't use poweramp.
im rooted but still on stock miui 12. i already installed viper4a and its already working but i can't find a way for it to load my vdc file for my earphone.If I enable the viper-ddc toggle, a pop up message would say to put the vdc files on a specific path, but that path is not is not present on poco x3. I tried rebooting to TWRP and manually created the path and saved my vdc there, but upon reboot, the changes I made are gone.

Categories

Resources