Xposed and Viper for 5.1.1 - Sony Xperia M2

5.1.1 has just rolled out to most of us here.
The OS is faster, and has a few jagged edges every now and then, but it's better than kitkat IMO.
But has anyone got Xposed to work?
And Has anyone got Viper to work?
I've tried this: http://forum.xda-developers.com/showthread.php?p=56964275#post56964275
Really want Viper first, Xposed is not so "urgent".
If you got Viper/Xposed to work. Please post it here, or PM me and I'll make a new thread if you cannot be bothered to.

Exactly why I'll be stopping on kk no xposed for a start waited 6mths plus for update that's no good
D2303,18.3.1.C.1.15 kk, deodexed, debloated, rooted, philz touch recovery, bravia engine 2+x-reality+z3 super vivid, viper audio, xposed mods.

AFAIK Xposed not gonna work for a while cause of corrupted services.odex in Sony roms.
V4A works like a charm using this method (found on Nexus5 Reddit):
As we know, Lollipop changed a lot. Some of the changes affect Viper4Android. There is a workaround for it, but you have to use FX Compatible Mode, which is not ideal. But I found a temporary fix, because I really hope the developer of V4A will start developing again soon.
These are the steps to get V4A working again like it worked on KitKat (you obviously need root access for V4A):
Step 1: Download SELinux Mode Changer, because you need SELinux to be set on permissive.
Step 2: Install Busybox on Rails, V4A requires a working Busybox.
Step 3: Go to the Developer options. Search for this option: Use NuPlayer (experimental), unclick this option, so you will use AwesomePlayer. (Very important step!)
Step 4: Install Viper4Android, I chose the super audio quality option, because I didn't notice any extra battery drain.
Step 5: Test it with your favorite music player.
With these steps, you should have a normal working V4A.
I tested it on my Nexus 5, Play Music and Soundcloud are working, proof.
Hope this helps!
Click to expand...
Click to collapse
For what I've noticed, Normal mode works for Spotify, Compatible mode works for other players like stock one or PowerAMP.

@resutatto
Tried that as well, keep telling me to reinstall drivers, turned SELinux enforcing mode on and off ext. Kept on reinstalling the drivers. Even found a post where I flashed 3 zip and that worked for ONLY default music app. And then after that audio died all together.
I'll just give it a few more weeks for everything to stabilize, and then try again when I got a few hours spare.

Related

Help With Viper4audio: Driver install failed

I've got busybox installed properly, it's Stericson's, I've checked if it's working and it is, I have given root permission to V4A and I have plenty of space for the drivers to be installed. I'm on a rooted h959 15e image, I'm not really willing to revert back to previous software versions, and I'm stuck with this problem. The exact message I get is "Driver install failed: The busybox installation found on your device does not work. This usually means you installed a wrong or broken busybox. V4A needs Stericson's busybox to work. If you are sure you installed busybox properly, then please confirm your device has been completely rooted". But it is rooted, I can access all types of root-only things like xposed and root booster. SELinuxModeChanger is set to permissive, I have tried with both V4A apps from the DXA thread and from the (not the FX one) one in Google Play, and I have already tried uninstalling and installing everything, and I have also tried reflashing my rooted_system.img countless times. So root is working, busybox is working, SELinuxModeChanger is properly set up, why isn't it working? Also I noticed something, when I reboot my phone, SELinuxModeChanger changes the SELinux mode back to enforcing, but if I turn on the option to show a notification after the mode changes, the notification IS showed, so it must mean it's working, right? I have tried before without poweramp and dolby atmos, but as of now I'm using both. I don't even know if V4A will work with Atmos and Poweramp (Atmos and Poweramp do work together, though), but I just need to try it, even if it means uninstalling atmos. So I'm completely out of options. The only thing that I can think of is if there's a way to manually install the drivers (latest updated/updatable super audio quality ones), but I don't know if that's possible. So anyway, can anyone help me with this?
You should flash a zip from this site: http://forum.xda-developers.com/nexus-6/themes-apps/viper4android-t2952137. I used this: http://forum.xda-developers.com/attachment.php?attachmentid=3667403&d=1456929089, and it works. Of course, flashfire v0.24 is required.
jst8 said:
You should flash a zip from this site: http://forum.xda-developers.com/nexus-6/themes-apps/viper4android-t2952137. I used this: http://forum.xda-developers.com/attachment.php?attachmentid=3667403&d=1456929089, and it works. Of course, flashfire v0.24 is required.
Click to expand...
Click to collapse
I'm flashing the zip file viper|atmos 5.5 sony beats edition with flashfire 0.50, and nothing's happening. Again, SELinux mode is permissive and busybox is installed, but atmos app and viper app won't show up, and when installing the app from the playstore, it says the driver is not installed. Help, please?
Iron_Overheat said:
I'm flashing the zip file viper|atmos 5.5 sony beats edition with flashfire 0.50, and nothing's happening. Again, SELinux mode is permissive and busybox is installed, but atmos app and viper app won't show up, and when installing the app from the playstore, it says the driver is not installed. Help, please?
Click to expand...
Click to collapse
1. First, install ViPER4Android apk from the official site: http://forum.xda-developers.com/showthread.php?t=2191223. You can choose between the old (v2.3.4.0) and new (v2.4.0.1) version.
2. Then flash a zip from this site: http://forum.xda-developers.com/nexus-6/themes-apps/viper4android-t2952137. I used "ViPERAudio 5.4 Stock.zip" (compatible with V4A v2.4.0.1). You can also choose "ViPERAudio 4.7.1 Stock.zip", if you have V4A v2.3.4.0 installed. I didn't try other mods (such as "viper|atmos 5.5 sony beats edition"), so I don't know if they work.
3. For flashing, you have to use FlashFire v0.24, other versions don't work with the device. Link: http://flashfireapk.com/flashfire-0.24.apk.
* Also, you don't have to change SELinux.
Thanks
jst8 said:
1. First, install ViPER4Android apk from the official site: http://forum.xda-developers.com/showthread.php?t=2191223. You can choose between the old (v2.3.4.0) and new (v2.4.0.1) version.
2. Then flash a zip from this site: http://forum.xda-developers.com/nexus-6/themes-apps/viper4android-t2952137. I used "ViPERAudio 5.4 Stock.zip" (compatible with V4A v2.4.0.1). You can also choose "ViPERAudio 4.7.1 Stock.zip", if you have V4A v2.3.4.0 installed. I didn't try other mods (such as "viper|atmos 5.5 sony beats edition"), so I don't know if they work.
3. For flashing, you have to use FlashFire v0.24, other versions don't work with the device. Link: http://flashfireapk.com/flashfire-0.24.apk.
* Also, you don't have to change SELinux.
Click to expand...
Click to collapse
Thank you very much, friend, I'm gonna try your method right now. Just one question, why doesn't flashfire 0.50 work with the g flex 2? I flashed Xposed with it and it worked. Isn't 0.24 an older version?
How do you test the benefits?
Iron_Overheat said:
Thank you very much, friend, I'm gonna try your method right now. Just one question, why doesn't flashfire 0.50 work with the g flex 2? I flashed Xposed with it and it worked. Isn't 0.24 an older version?
Click to expand...
Click to collapse
Actually, I don't know. I've read somewhere that v0.24 is the only working version for our flex 2. I didn't want to brick my device, so I used v0.24. I've had no problems with it so far.
soosoolhastam said:
How do you test the benefits?
Click to expand...
Click to collapse
I'm just going to play my flacs and listen to them while tuning v4a to my liking.
jst8 said:
Actually, I don't know. I've read somewhere that v0.24 is the only working version for our flex 2. I didn't want to brick my device, so I used v0.24. I've had no problems with it so far.
Click to expand...
Click to collapse
I've tried with version 0.24 and it didn't work either. I'm gonna test the g flex 2 flash mod (the one with g4 tweaks and etc) with flashfire 0.24, since it says to use that version and it didn't work flashing it with 0.50, and if it still doesn't work for me, I'll revert back to 0.50, since it worked flashing dolby atmos (seperate from viper4audio, but the viper4audio-only zip file didn't flash). I fixed my problem of drivers not installing, so I'll just install atmos again and install the v4a drivers through the app. But thank you all for your help, really . If I menage to get all the mods I have working, I'll make a thread so that H959 rooted 15e image users can enjoy the best experience in their G flex 2.
maybe you never get viper4 to work in GF2...i did it many times with diferent methods and never never get it to work...even use the flashfire 0.24 (the only working to install zips on GF2) you never get a driver to work!
i recomend to you install Dolby Atmos see Apps section in this forum of GF2...the Dolby Atmos works like a charm and do the good job as Viper4.
(i am not sure but because of architeture of the SD810 Viper4 the latest version never will work on our device!)
That's strange... I'm on H955 v15c, V4A 2.4.0.1 with "ViPERAudio 5.4 Stock.zip" installed using FlashFire v0.24.
Everything works.
copy2050 said:
maybe you never get viper4 to work in GF2...i did it many times with diferent methods and never never get it to work...even use the flashfire 0.24 (the only working to install zips on GF2) you never get a driver to work!
i recomend to you install Dolby Atmos see Apps section in this forum of GF2...the Dolby Atmos works like a charm and do the good job as Viper4.
(i am not sure but because of architeture of the SD810 Viper4 the latest version never will work on our device!)
Click to expand...
Click to collapse
Everyone... I... I... I FINALLY GOT TO GET ALL THE MODS I WANTED TO WORK!! *dances frenetically* :laugh::laugh::laugh::victory: I'm gonna make a thread so that every user with a h959 G Flex2 can enjoy this tuned experience I achieved! Thank you all for your help! If you guys are interested in knowing what mods I managed to make work on the latest software version of the G Flex2 (that is, on the h959 ones), keep an eye on the thread I'm about to make! *celebrates into oblivion* (erm... this is embarassing... I'm a newbie here and... um... how exactly do I "close" or delete this thread? I mean, my problem is solved so... what do I do?
Install busybox from google play, set selinux to permissive and You guys have to uncheck an option on supersu app. Option named "namespace separation". After uncheck that option reboot phone and try to install viper driver again.

[OUTDATED] Sound Mods Working +Install guide

/////
THIS GUIDE WAS FROM THE NOVEMBER SECURITY PATCH ON NOUGAT!!! DO NOT DO THIS IF YOU ARE ON OREO CAUSE YOU WILL LOSE ALL SOUND!
IF YOU WOULD LIKE TO USE VIPER ON OREO/PIE DEVICES. PLEASE USE THE MAGISK MODULE AND/OR FIND A BETTER GUIDE WITH A COMPATIBLE ZIP
//////
Okay I have confirmed that sound mods work on the Moto z2 force with no issues whatsoever many probably know that
How to Install:
1.
make sure you have root and TWRP installed on your Moto Z2 force
2.
download this version of A.R.I.S.E.
https://androidfilehost.com/?fid=457095661767141554
3.
Place the zip file in the Internal storage of your device (so its easy to find)
4.
Boot into TWRP recovery and click install
5.
Find the file you put in your internal storage named;
ARISE+Deuteronomy+2.94+Modular+AROMA+Installer.zip
And then swipe to install
6
An install wizard should appear and assuming that you haven't used this before select easy mode on the wizard and make sure you have it set to "install core engine then modules" and spam the hell out of the next button besides those 2 things
7.
TWRP screen should appear and you should boot into your device like normal
8.
ENJOY
SOME NOTES:
A.R.I.S.E AM3D DOES NOT WORK BUT OTHER THAN THAT EVERYTHING ELSE IS FINE
Update: DO NOT ATTEMPT TO INSTALL MAGNUM OPUS IT WILL FAIL
!!!!DISCLAIMER!!!!!
-I AM NOT RESPONSIBLE FOR A INCREASE IN GAS PRICES GETTING CHEATED ON BY YOUR WIFE OR A BRICKED DEVICE
Man.. I was going to try ARISE, but with all the concerns that I couldn't restore a nandroid because of data partition encryption, I just said screw it and I installed the v4a 2.3.4 module right from Magisk, and it works great with both USB Type-C to 3.5mm and Bluetooth.
I don't know if anyone's noticed or not, but Oreo has an entire section on Bluetooth audio protocol under the development options. Things like sample rate, bit rate, etc etc. I do know that v4a works with all protocols (SBC, AAC, aptX, aptX HD and LDAC), but if you up the sample rate to 96khz, it will NOT process. I usually use 48khz and it sounds great.
I installed arise and lost all audio on device . I don't know if it's a setting or something in aroma I should not have added or if it's viper settings I messed with .
I need to uninstall this how do I
Or how do I get sound back this is weird
joesee said:
Man.. I was going to try ARISE, but with all the concerns that I couldn't restore a nandroid because of data partition encryption, I just said screw it and I installed the v4a 2.3.4 module right from Magisk, and it works great with both USB Type-C to 3.5mm and Bluetooth.
Are you on Oreo 8.0 running V4A? Thanks!
Click to expand...
Click to collapse
climbhigh77 said:
Are you on Oreo 8.0 running V4A? Thanks!
Click to expand...
Click to collapse
Yes sir, I am. Since I got it working, I haven't touched anything in fear that it'll stop working. I haven't even made a nandroid. Twrp isn't installed, I just booted in it from adb.
Right on! I was also advised not to install TWRP. I flashed it and it seems to be working so far. Having other issues though like my camera and flash (flashlight) don't work now since installing magisk or the v4a which one I'm not sure but I assume magisk.
3/12/18 Update: camera and Flash are working properly now after a wipe Dalvik, cache and reboot.
Is anyone else having issues with viper4android working intermittently on Oreo? Sometimes it works but mostly it doesn't and I have no way to control it, toggling the switches does nothing and it doesn't matter if I reboot or not. It does work sometimes so I know the drivers are installed, and I've tried a fresh install a few times using the 2.3.4 version and the newest 5.0 version which produces the same result.
Is there a setting in magisk or Viper that I need to apply to to get it working seamlessly? I have systemless hosts check-in magisk already for ad blocking. There's got to be something I'm missing here. Any help is greatly appreciated thanks!
I was having this situation, the I disabled the music FX and it's gone for now
Flashlight stops because of selinux
Dolby Atmos for oreo works fine without any problems. You just have to find the working version in the last few pages of the mod thread.
Was able to get the latest ARISE, plus V4A, and Dolby ATMOS Oreo from guitardedhero working. I'm using SuperSU as I'm not a fan of Magisk. Flashed the latest ARISE, including the V4A 2.5.0.5. Crap, I made sure V4A opened and checked that the drivers were installed. But I may have flashed the ViPER4Android_FX_v2505_A7.x_Nougat_IO_test_fix.apk over the ARISE loaded v4a apk....? Try to see if the loaded apk works first. If not, flash Nougat_IO_test_fix.apk over: ViPER4Android_FX_v2505.zip Anyway, use this to set permissive: The.SELinux.Switch.ver.6.0.3.build.603.apk. Reboot. ARISE libs will be there and V4A should work. Sometimes you have to turn off the main power button for the V4A mod, go up to the corner button and exit. Clear out anything in recents. Then open V4A back up, and enable the power button. If music is playing, you will hear the change.
Ok.....Dolby. Go HERE and download the normal zip. Thank the dude, he's done a lot for us audiophiles. Flash it. Reboot. Apps will be there, and will likely forceclose. You have to extract the dolby zip and copy the libs from the dolby/lib and dolby/lib/soundfx files and paste them in the related folders in root /system/vendor and system/vendor/soundfx. You need to set the permissions to rw-r-r (644). Now save/reboot. Apps should work. I'm betting other libs/files weren't installed either, but just those got Atmos working, working well. Still looking through things and will verify later what else wasn't placed.:good:
Quick Question, I have used ARISE and Viper before and really like them but this is a Software Mod. I would just like to clarify that this Software Mod works on the actual Hardware Mod and if it does, does this Software Mod work on the Hardware Mod using a Custom ROM or Kernal? Can anyone confirm that yet?
androidddaaron said:
I installed arise and lost all audio on device . I don't know if it's a setting or something in aroma I should not have added or if it's viper settings I messed with .
I need to uninstall this how do I
Or how do I get sound back this is weird
Click to expand...
Click to collapse
Sorry about this... You may have to back up your internal then flash back to stock. This guide was from when our device was still on nougat. For Oreo I need you to install the module from MAGISK or find the magnum opus zip

Viper4android

AUDIOPHILES GET IN HERE!
One of the many reasons why rooting is still Popular..
NOTE(Old):
Your phone's Dolby Atmos would not be functional (but its dual speakers still function well) in other words, the Dolby Atmos in the settings would be turned "Off" only.
Note(New): I had an error installing the driver but itndoesn cause any problems, I backed up the audio config file. Deleted, restarted and installed the driver from the app. It was successful. I tried bringing back a copy of audio conf. And jollah I made the built in dolby atmos system of Nokia 6 work with the Viper4Androi and I swear, the phone is like a mini stereo with awesome quality. Just a few tweaks and you're great.
For those who doesn't know what's ViPER4Android:
As we know that the vipe4android is one of the best android voice enhancer app. Not just voice/music enhancer but the best thing you can do by viper4android is, improve music quality. This app works on same principal and applicable to both kinds of music as well as video, and also works to games, almost every app on your phone!
How to Install ViPER4Android on Nougat
Make sure you’re rooted and have TWRP recovery installed on your device.
If not yet, follow Hikari Calyx's guide for rooting your Nokia 6 https://forum.xda-developers.com/nokia-6/how-to/guide-how-to-flash-custom-recovery-root-t3702354
Just tested it on my Nokia 6 TA-1021 (March 30 +8:00)
1. Download the ViPER4Android_2.5.0.5_guitardedhero.zip file from the download button above and transfer it your device’ internal storage.
2. Boot into TWRP recovery and install/flash the ViPER4Android_2.5.0.5_guitardedhero.zip file to your device.
Reboot phone. (If you can't go to recovery mode just like me, use "#Rashr" app from playstore it has a function that can reboot you to recovery mode)
3. Download/install a root file explorer app (we recommend ES File Explorer/Classic root browser).
└ On ES File Explorer, swipe-in from left and turn on Root explorer feature. And don’t forget to grant root access when asked.
4. Now using your root explorer app, go to /vendor/etc/ directory on the device and rename audio_effects.conf to audio_effects.conf.bak.
5. Open ViPER4Android FX app on your phone (it installed when you flashed the zip file in step 3 above).
You’ll get a notification to install V4A driver. Select YES.
It’ll take some time to install V4A driver, and while doing so it might even look like it’s stuck but you don’t worry. It’s doing its job and will finish soon.
└ If Android gives an error that the app has stuck/stopped. Be sure to select the wait option, don’t force close it.
Once you get the Driver installed message on screen, reboot your device.
http://downloadmirror.co/2zYA/ViPER4Android_2.5.0.5_guitardedhero.zip
Is there any audiophiles here?
I would like to know if anyone has safely installed Viper4android to Nokia6
And if it's causing any problems with its dolby atmos system..
I wanted to know because tbh, the HMD global didn't make efforts for a nokia music app and it comes without a preinstalled equalizer. While Samsung even has their SoundAssistant and SoundAlive equalizer options. 3rd party app sucks. So this is the best option I only see, the mother of all equalizers for music.
I use ARISE Sound mod with VIPER4ARISE and it is working great. Only Dolby Atmos will not work with that, if you install the arise Dolby you will get a bootloop.
Wait, I don't understand... What's the difference between Vioer4android and Viper4ARISE and Arise itself...
And which of those causes bootloop, which ones are safe to install through twrp?
frince9000 said:
Wait, I don't understand... What's the difference between Vioer4android and Viper4ARISE and Arise itself...
And which of those causes bootloop, which ones are safe to install through twrp?
Click to expand...
Click to collapse
Viper4android is the original audio mod you were asking about. Some guys from created a collection of different mods and apps and made them work as best as they can - this is ARISE. They included Viper4android and modified the configs so it fits into arise - this is VIPER4ARISE. The main difference for the Nougat user is that the installation is simpler. You just place a text file on the internal storage which tells this twrp zip what to do and Flash through twrp - done. This means that you can easily install a variety of sound software with only minimal problems.
If you install arise however, the pre-installed Dolby from Nokia breaks. If you install Dolby Atmos from arise, you will end up with a bootloop.
I hope this was understandable.
How do I install Viper4arise.. I can't seem to be able to find links in google. Also, the files :/ if it doesn't bother you that is...
Also, have you tried installing Viper4android? Does it also cause the dolby atmos (speakers) of nokia 6 to malfunction? Or any side effects it might cause? I want the dolby atmos speaker function to remain while having installed Viper4android.
frince9000 said:
Also, have you tried installing Viper4android? Does it also cause the dolby atmos (speakers) of nokia 6 to malfunction? Or any side effects it might cause? I want the dolby atmos speaker function to remain while having installed Viper4android.
Click to expand...
Click to collapse
The speakers remain perfectly functional. But DOLBY ATMOS WILL NOT WORK after installing viper through arise at least. I have never installed stock viper so I cannot provide information about this.
Updated thread*

Viper4sound - Nothing happens

Today i unlocked and root my OP6 5.1.9
Went to Magisk and did install a Viper4 sound.
The problem is that......nothing happens. Try diferent modules, always uninstall before....and even so, nothing.
Even try APK + drivers.....nothing. Whatever i do, nothing change on default sound. i use Poweramp.
Is this something to do with Permissive something? On my previous Mi NOte 3 i had do uninistall FX and mod INI.
What should i do??
Mord0rr said:
Today i unlocked and root my OP6 5.1.9
Went to Magisk and did install a Viper4 sound.
The problem is that......nothing happens. Try diferent modules, always uninstall before....and even so, nothing.
Even try APK + drivers.....nothing. Whatever i do, nothing change on default sound. i use Poweramp.
Is this something to do with Permissive something? On my previous Mi NOte 3 i had do uninistall FX and mod INI.
What should i do??
Click to expand...
Click to collapse
Need to freeze base audio mod if not working go on official thread and post logs [emoji846]
During this process i get a loop entering always on TWRP...
Did restore backup, and nothing...then i saw start on partition B, and it did boot normally...
Now im scared to F**** something else....
Oh well.....default audio seems ok....
Mord0rr said:
Today i unlocked and root my OP6 5.1.9
Went to Magisk and did install a Viper4 sound.
The problem is that......nothing happens. Try diferent modules, always uninstall before....and even so, nothing.
Even try APK + drivers.....nothing. Whatever i do, nothing change on default sound. i use Poweramp.
Is this something to do with Permissive something? On my previous Mi NOte 3 i had do uninistall FX and mod INI.
What should i do??
Click to expand...
Click to collapse
You need to ROOT with Magisk, flash Busybox NDK via Magisk and the 1st of 3 Viper4Androids in the DL section of Magisk...
Long time user of Viper4Android. Across several HTCs, since Android 4.4 IIRC. Lately moved to the OP6.
Really....all you need is OOS 5.1.9, Magisk 16.0 (and the process that gets you those two things). Then install the ViPER4Android FX v1.7 module in Magisk. Choose the Material Design option when you activate/install V4a. If you get the I/O error installing the driver (first time running of V4a), then you need to enable SU in Magisk for V4a (as it didn't ask when you ran V4a).
If Poweramp is your only playback method. You'll need to make a change in the EQ/sound control setup (of PowerAmp, not V4a) for V4a to work. I ditched Poweramp long ago, so don't remember the specific change to make it compatible with V4a.
Lastly, are you direct connected to the OP6 (via the 3.5mm audio) or connected via BT? Those throw issues into it as well.
Don't get discouraged...it will work. I have V4a on my OP6 working via the 3.5mm connector, a BT connection to a vehicle system, and to another BT 3.5mm stereo receiver/adapter to headphones. It however does not work, to one of my BT devices, which uses LDAC BT connection to the OP6 (an EarStudio ES100).
HTH. More questions? Ask away.
Guys!
I apreciate the effort but nothing.....installed Busy BOx NDK, ok, and the first one (1.7):
However, when check drives status, i get a Enabled: NO - Processing: NO
Magisk 16.4
Root OK for Viper.
Maybe some previous driver install full of trash...even log seems to say it did clean old stuff....
Using Spotify connected via BT to vehicle.
It's either a remnant of another audio mod, or the EQ setup in Poweramp is not right. It's very specific. Google 'Poweramp Viper4Android fix'. And ignore the response of putting v4a in compatible mode. Not necessary. It's a special way if the EQ settings in Poweramp. One of the reasons I switched to USB Audio Player Pro.
HTH.
I notice you have xXx installed.....and i have OO 5.1.9 stock....
I really want earphones,....all the rest for me is not important...
Yes. xXx installed now. I ran about 2 weeks only with OOS 5.1.9, Magisk 16.4, AdAway, and V4a.
xXx installed BusyBox and V4a. But BusyBox is not needed for that.
Strange why it doesnt work for me....
Check this thread: Using-Poweramp-Viper4android
The Poweramp specific settings are mentioned. I don't use Poweramp anymore, so can't test. But remember doing this.
Or, there is another audio mod being persistent. This conversation just came up in the xXx thread. A user still had some DolbyAtmos mod enabled. Got it deleted, and V4a immediately started working.
mAN!
You are my hero!! When i start mess with sound proprietes i did start see results..
When i did use default app, everything was on, finally!
Gonna try now to put Poweramp working.
P.S. Strangly didnt found a big diference betwheen stock audio an Viper4sound . This is new for me....need time to tune it.
Love you guys! Tks XDA!
And Poweramp works!!
Quote:
"If you are having problems with PowerAmp, you first need to do this: Go to PowerAmp Settings - Audio - Advanced Tweaks. Now disable Direct Volume Control and enable Music FX!"
Maybe it helps someone else....
Thank you ALL!!
try installing audio compatibility patch module from magisk. then see if anything changes.
Dont have it installed...
Glad you have it working. If you are playing with V4a....then you likely enjoy great sound or at least tuning it to your liking. Setup your audio stream (no matter the source, Poweramp, Spotify, Pandora, Tidal, etc.) to the highest quality. If you're using Poweramp, then it'd be your sound files (FLAC or similar at the minimum). Then, get some quality mid range headphones/canalphones. Earbuds not. If you want to research (and be completely overwhelmed), visit head-fi.org.....and 'sorry about your wallet' as they say over there.
Uninstall the driver and flash the Magisk module one, so the processing sound will work flawless.
I did it on my Mi Note 3, but here im still afraid to do something wrong, especially with this alien A/B partition stuff...
For the record i still owm a Piston 2 earphones, ZS ZSR and ZS SR10 earphones... so i have good stuff!
Mord0rr said:
I did it on my Mi Note 3, but here im still afraid to do something wrong, especially with this alien A/B partition stuff...
For the record i still owm a Piston 2 earphones, ZS ZSR and ZS SR10 earphones... so i have good stuff!
Click to expand...
Click to collapse
Not familiar with the Mi Note 3. Does it use Magisk or SU?
In general, I've found that if you are using a Magisk setup device, it's just install the v1.7 module I mentioned above, and all is usually good to go (as long as there aren't other audio mods enabled!). If you are using a device that uses SU, you may also have to do some boot up kernel config to set SELinux to unenforcing, rather than it's usual default of enforcing. You don't need all the other fluff....xposed, busybox, etc. etc. to make V4a work properly.
---------- Post added at 01:54 PM ---------- Previous post was at 01:44 PM ----------
My wallet's unfortunate casualty :silly: of my reading Head-Fi.org too much. But, these give some truly awesome sound....
Serious Listening.....Flare Audio Pro
Most of the time.....iBasso IT01
Radsone EarStudio....usually connected to IT01s
Mi Note 3 i had to erase SoundFX or whatever, inject Viper4sound 2.3.5 file and other stuff i don`t remenber...
At moment i only use Magisk and Viper4sound, so no chance of other stuuf conflict!
Thank you Guys!!

[GUIDE] How to Make Audio Mods Work Amazingly Well

I am an audiophile and I make it a point to use audio mods whenever possible. That being said, the audio mods that I've tried and worked amazingly well are Viper4Android and Ainur Sauron, but you will also need Audio Compatibility Patch and Audio Modification Library to make things work so seamlessly.
That being said, I get to see a lot of people complaining about Viper4Android being too buggy in that after every restart, it asks for the driver to be installed again, etc. Well, I have clean flashed/dirty flashed plenty of ROMs now so I can honestly say that my method works.
So, what is my method for installing all of the audio mods I mentioned earlier? Well here are the steps:
1. Install Busybox for Android (in Magisk Repo)
2. Install Audio Compatibility Patch. It now comes with a multi-option installer, so you want to Select NO to the first option then choose Vol + (Patch New Logic). Select NO to the second option and then use Vol - (remove Volume Listener Library). This is done so that your audio won't crackle. You can skip USB Dac if you're not using it and you should choose NO at the last option (library workaround).
3. After Installing ACP with the chosen options, proceed to install Ainur Sauron.
4. Once that is done, install Audio Modification Library. After AML, DO NOT REBOOT YET.
5. Download the Viper4Android 2.7.1 APK here: https://labs.xda-developers.com/store/app/com.pittvandewitt.viperfx . I find this to be the best iteration of the module since it is not buggy at all. Once that is installed, run the application and it will prompt you to install drivers for the first time, choose OK and then allow it to reboot. (Note: after installing this, a Magisk Module will be created automatically)
At this point, all of the audio mods should work in unison. Do not toggle anything else in Viper4Android but the main interface. This means that do not go to the settings and toggle anything. Just configure the audio options as per your liking.
6. Currently, the setup will bork BT audio which means that there is no sound that is going to come off of your BT speakers or headphones. What you need to do to fix this is as follows:
a. Rename "audio_policy_configuration.xml" in "/sbin/.magisk/img/aml/system/vendor/etc/audio" to "audio_policy_configuration.xml.bak".
b. Copy the audio policy configuration xml file from "/sbin/.magisk/img/aml/system/etc" to "/sbin/.magisk/img/aml/system/vendor/etc/audio".
c. Restart the device.
Additional Notes
a. When dirty flashing your custom ROM, allow the modules to recoup itself. In other words, do not touch anything until everything is back to normal (or after 5 minutes from dirty flashing).
b. If you happen to uninstall Ainur Sauron (or Narsil), I find that it usually uninstalls viper4android as well. If that is the case, uninstall Sauron and then click the viper4android app from the drawer and allow it to install drivers again.
c. In some devices, the BT workaround is no longer needed. However, I find that for the Pocophone, the workaround is still required. I guess you just have to test it for yourself if it works right off the bat or not.
d. Audio compatibility patch (remove patch logic) actually enhances the volume and the sound quality of the Poco F1. I cannot test this on other devices since I do not have another phone, but you can try and see if it works for you. (thanks to @Jonas G. Morsch for this).
e. If you are going to try Ainur Narsil, I suggest that you do not install viper4android anymore since it provides a great listening experience right off the bat. You can still install v4a, though if you really want it (The same procedure applies).
f. If you are using a custom ROM that has a built-in "AudioFX" app, you need to freeze it using Titanium Backup or similar apps for Viper4android to work. Thanks to @mikedavo for this tip.
g. If, after following all of the above instructions, and you still experience random driver issues or bugs, I suggest that you do a clean installation of your ROM and do the entire steps again. If it still presents the same error, I suggest that you hop on the Viper4android telegram channel to address your concern so that the dev can fix it.
h. Attached below is a profile converter, so if you're using the old version of Viper4android, you can use the attached file to convert all of your profiles to supported presets.
That's about it! If you have questions, feel free to drop them below. Happy listening!
man just what i needed. thank you very much. will try it later. :good:
Point 6 should be fixed. Possible a failure in Poco firmware or something. Use latest AML from Magisk repo. Also install all modules via magisk manager by now. Seems there is an issue and we are working in it.
Also I would replace Viper with JamesDSP.
JamesDSP future is bright and expect a tone of new **** in future. ?
Work as a charm in MIUI latest... But Bluetooth is working without step 6
Sent from my POCOPHONE F1 using Tapatalk
Hmm, I just make sure to disable and freeze any inbuilt audio equaliser or fx from custom roms before installing viper and have never had a problem with vipers drivers installing or instability in viper. I also, after installing viper, activate enhanced sound at the bottom of the sound menu in settings and choose my headphones in the dropdpwn, mine are mi inear pro. If I happen to forget to do this, I'll get the drivers need installing message from viper.
Use jamesDSP. Better ****. Has even 24-bit support. Viper just 16-bit. Also our viper guys teamed up with James. So expect some new **** soon.
it doesn't work for me at all, viper keeps asking to install driver and reboots the phone.. again and again
efakkawy98 said:
it doesn't work for me at all, viper keeps asking to install driver and reboots the phone.. again and again
Click to expand...
Click to collapse
Same here, i gave up after the tenth try
efakkawy98 said:
it doesn't work for me at all, viper keeps asking to install driver and reboots the phone.. again and again
Click to expand...
Click to collapse
Edit:- This worked perfectly for me even in the Secondary ROM with the following changes. V4A 2.7.0 instead of Latest 2.7.1 probably because I'm using Magisk 18.1 and V4A kept on asking to install driver even after reboot so I had renamed the MusicFX.apk in the System to MusicFX.apk.bak.
@BenParz Thank you very much for the guide.
This trick doesn't work with MultiROM for sure.
Will viper work with a bitrate of over 48k? My headphones us 96k which doesnt work with the buggy v4a i use, but its the only version of v4a that actually works at all for me (will try your way of installing later)
SVR said:
This trick doesn't work with MultiROM for sure.
Click to expand...
Click to collapse
I'm not using MultiROM. I'm on PE latest build
I've created a monster hehe. Ainur Sauron also installed
BenParz, i can't thank you enough for this! the choppy audio after installing Viper was making me crazy.
I'm running Lineage OS 05/18/2019 + nano gaaps
After mess around with this modules i got other way:
1 . Install Audio Compatibility Patch. It now comes with a multi-option installer, so you want to Select NO to the first option then choose Vol + (Patch New Logic). Select NO to the second option and then use Vol - (remove Volume Listener Library). This is done so that your audio won't crackle. You can skip USB Dac if you're not using it and you should choose NO at the last option (library workaround).
2. Download and install Viper4Android 2.7.1 Magisk Module here: https://zackptg5.com/downloads/v4afx_v2.7.1.0.zip .
More info : https://forum.xda-developers.com/android/apps-games/app-viper4android-fx-2-6-0-0-t3774651
3. Fix BT:
a. Rename "audio_policy_configuration.xml" in "/sbin/.magisk/img/acp/system/vendor/etc/audio" to "audio_policy_configuration.xml.bak".
b. Copy the audio policy configuration xml file from "/sbin/.magisk/img/acp/system/etc" to "/sbin/.magisk/img/acp/system/vendor/etc/audio".
4. Go to ViperFx and install drivers, Viper will auto Reboot!
I'm probably cutting some corners here, but i got no problems at all this far.
Jonas G. Morsch said:
BenParz, i can't thank you enough for this! the choppy audio after installing Viper was making me crazy.
I'm running Lineage OS 05/18/2019 + nano gaaps
After mess around with this modules i got other way:
1 . Install Audio Compatibility Patch. It now comes with a multi-option installer, so you want to Select NO to the first option then choose Vol + (Patch New Logic). Select NO to the second option and then use Vol - (remove Volume Listener Library). This is done so that your audio won't crackle. You can skip USB Dac if you're not using it and you should choose NO at the last option (library workaround).
2. Download and install Viper4Android 2.7.1 Magisk Module here: https://zackptg5.com/downloads/v4afx_v2.7.1.0.zip .
More info : https://forum.xda-developers.com/android/apps-games/app-viper4android-fx-2-6-0-0-t3774651
3. Fix BT:
a. Rename "audio_policy_configuration.xml" in "/sbin/.magisk/img/acp/system/vendor/etc/audio" to "audio_policy_configuration.xml.bak".
b. Copy the audio policy configuration xml file from "/sbin/.magisk/img/acp/system/etc" to "/sbin/.magisk/img/acp/system/vendor/etc/audio".
4. Go to ViperFx and install drivers, Viper will auto Reboot!
I'm probably cutting some corners here, but i got no problems at all this far.
Click to expand...
Click to collapse
Have you tried whatsapp voice notes?
Are they making crackling sound when app is minimized or screen is off while playing voice note?
Thanks a lot for such an easy guide.
hugolol said:
Will viper work with a bitrate of over 48k? My headphones us 96k which doesnt work with the buggy v4a i use, but its the only version of v4a that actually works at all for me (will try your way of installing later)
Click to expand...
Click to collapse
Well, you can actually change the Bluetooth bitrate setting in developer options. Doing that allows me to use V4a on my sony BT speaker (which uses LDAC).
slimshouki said:
Have you tried whatsapp voice notes?
Are they making crackling sound when app is minimized or screen is off while playing voice note?
Click to expand...
Click to collapse
Yeah, Whatsapp on Lineage crackles no matter what.
I'm dealing with this problem since my Zenfone 2 with Lineage 14 and no audio mod whatsoever, but never cared too much, because when i rarely listen Whatsapp audio files i do in foreground, and using the earpiece, . I also use telegram for 95+% off my conversations this days.
Hi Again!
After some time of testing, i think i got it how to use Audio Compatibility Patch (1.7.3+) with Lineage OS properly on our device:
Skip audio_policy patching?
- No
Patch flags or remove selections?
- Remove (old logic)
If patched the audio gets worse/lower on speaker/jack.
Would you like to skip notification helper?
- No
Remove notification helper effect or volume listener library?
- Remove volume listener library
Would you like to skip usb policy patching for usb dacs?
- Whatever
Use library workaround?
- No
If used causes bluetooth routing problems.
No Audio Modification Library needed.
After this sequence, my earphones,bluetooth and speaker worked fine with ViperFX 2.7.1, especially the jack, witch was really quieter and muffed before.
Can you guys try it out?
AudioModificationLibrary (AML) has been updated to 2.4. we've also updated unity modules. Everything should work now. Viper, James, Sauron and DTS.
At least on latest MIUI pie betas there should be no Bluetooth bug or anything.
There was a question regarding viper and above 48k.
Viper can just process up to 48. We've released yesterday the new module with DTSultra port. This is capable of up to 96k.
Nemuritor01 said:
AudioModificationLibrary (AML) has been updated to 2.4. we've also updated unity modules. Everything should work now. Viper, James, Sauron and DTS.
At least on latest MIUI pie betas there should be no Bluetooth bug or anything.
There was a question regarding viper and above 48k.
Viper can just process up to 48. We've released yesterday the new module with DTSultra port. This is capable of up to 96k.
Click to expand...
Click to collapse
What about bluetooth on PE and other custom ROMs?

Categories

Resources