(HOW TO) Get Viper audio to work with kitkat aosp based roms - Sprint HTC EVO 4G LTE

Ok so I was having trouble getting viper audio mod to work with cm 11 based roms so after consulting with GoblinZ it seems he and irocevo figured it out and shared with me what was wrong. To start when i downloaded viper and installed it, removed dsp manager with titanium backup and installed viper audio drivers, it worked great.... Until I rebooted my phone then it was like I never installed the drivers, but they were still installed... So that was the issue I was having, couldn't get it to stick, so this is how goblinz instructed me to get it to work.
First you need viper audio mod [http://forum.xda-developers.com/showthread.php?t=2191223
Now download viper audio zip file and open with your file explorer, I'm using es file Explorer you must enable Root Explorer and Mount
/system as writable. Ok now don't install the viper apk located inside the zip just extract it to any folder you like, now copy the Viper audio apk file to /system/priv-app
Ok now one more thing, You must change the permissions on the apk file, so in es file Explorer you long press on the file, then press on more/properties then permissions, change them to
Owner: read write execute
Group: read write
Others: read
Now reboot and then you should see Viper4Android as an app in your app drawer, open then install audio drivers then at the top right of your screen you'll see three dots which is the menu for the app, check FX compatibility mode and check compatible, then check UI setting to moderate or expert.
That's it your done, hopefully this helps someone out cause I was really frustrated that i couldn't get this to work cause imo this is the best audio mod for Android.
Enjoy
Sent from my EVO using XDA Premium 4 mobile app

Or just install the app. Open titanium and convert to system app.
Open Viper and install driver of choice.
Dont reboot yet.
Edit your build.prop and change lpa.decode=false.
Reboot.
Profit.
The build.prop edit is the most important one. The only Roms it doesnt work is the last build of cm10.2 and that was because CM messed the rom and made it impossible for user to disable low power audio. Thus V4A didnt work no matter what. Evrrything else sense aosp cm etc just edit the build.prop entry and you are good to go.
Sent from my EVO using Tapatalk

Good stuff thanks
Sent from my EVO using XDA Premium 4 mobile app

..
Does the Viper mod have the option to increase the phones in call volume on the earpiece?
Sent from my EVO using XDA

Related

Install Swype on Custom Rom (Difficulty Level 1)

First of all..
THIS DOES NOT INCLUDE SWYPE!!!!
Also, I am not responsible for anything you do to your phone...
This is just a zip file that can be used to install swype to a custom rom.
What is Needed...
1)The attached Zip file
2)Swype.apk and libswypecore.so
3)Clockwork Recovery (i tested using clockwork 3.0.0.6)
4)7-Zip (or any other zip utility that can place files into a zip without extracting)
How to...
1) Open up the attached file in 7-Zip
2) Place Swype.apk in the "app" folder
3) Place libswypecore.so in the "lib" folder
4) Place the zip file in your sdcard
5) Boot into recovery
6) Go to mounts and storage
7) Mount "system"
8) Go to the main menu and install the zip file
9) Reboot and go to any text field
10) Hold the text field until a popup appears
11) Click "input method"
12) Select Swype
If for some reason it does not work, go to the system folder using root explorer or something similar and make sure the permissions are as follows for both the Swype.apk and the libswypecore.so
User: Read Write
Group:Read
Others:Read
If this procedure does not work for any reason, please send me a pm with the following information
1) Rom
2) Recovery Version
Also: Special Thanks to Marine6680
This is just a zip file.
TrueBlue_Drew said:
This is just a zip file.
Click to expand...
Click to collapse
yes, but my reason for posting it is because it contains the script to flash along with it being signed. this way the only thing missing are the files.
VibrantOwnr said:
First of all..
THIS DOES NOT INCLUDE SWYPE!!!!
Also, I am not responsible for anything you do to your phone...
This is just a zip file that can be used to install swype to a custom rom.
What is Needed...
1)The attached Zip file
2)Swype.apk and libswypecore.so
3)Clockwork Recovery (i tested using clockwork 3.0.0.6)
4)7-Zip (or any other zip utility that can place files into a zip without extracting)
How to...
1) Open up the attached file in 7-Zip
2) Place Swype.apk in the "app" folder
3) Place libswypecore.so in the "lib" folder
4) Place the zip file in your sdcard
5) Boot into recovery
6) Go to mounts and storage
7) Mount "system"
8) Go to the main menu and install the zip file
9) Reboot and go to any text field
10) Hold the text field until a popup appears
11) Click "input method"
12) Select Swype
If for some reason it does not work, go to the system folder using root explorer or something similar and make sure the permissions are as follows for both the Swype.apk and the libswypecore.so
User: Read Write
Group:Read
Others:Read
If this procedure does not work for any reason, please send me a pm with the following information
1) Rom
2) Recovery Version
Also: Special Thanks to Marine6680
Click to expand...
Click to collapse
An easier way to do this, which is what I have been doing, is to simply use a File Manager with Read/Write (Root) privileges and copy the libswypecore.so file into your system/lib directory and then install the Swype.apk like a normal app. This way you can do everything without needing to reboot.
I installed by giving them my email getting the apk and installing...you could almost calk it average lol
Sent from my HTC Glacier using XDA Premium App
can someone provide me a copy of swype.apk and libswypecore.so? Thanks.
Comment removed.
Didn't know it was against the rules to post the .apk.
My bad!
@aussiehairspray
If I'm not mistaken, I don't think this is allowed to be posted... Swype's rules.
I'm no admin but I just don't want to see you get in trouble.
schizopunk said:
@aussiehairspray
If I'm not mistaken, I don't think this is allowed to be posted... Swype's rules.
I'm no admin but I just don't want to see you get in trouble.
Click to expand...
Click to collapse
You are not mistaken. Posting the swype apk and lib files is not allowed and is actually illegal
Sent from my HTC Glacier using XDA App
AGx-07_162 said:
An easier way to do this, which is what I have been doing, is to simply use a File Manager with Read/Write (Root) privileges and copy the libswypecore.so file into your system/lib directory and then install the Swype.apk like a normal app. This way you can do everything without needing to reboot.
Click to expand...
Click to collapse
I posted this so o once you add the files you can just flash this anytime you flash a new rom. this would mainly help crackfkashers. For Every one else, your methods may be easier/faster
Sent from my HTC Glacier using XDA App
so quick question, how would I go about uninstalling this?
Swype FCs every time it tries to load.
Mytouch 4g CM 7.02
I'm getting force closes as well using the files posted here. I followed these instructions here because after installing via the sywpe installer beta everytime I rebooted my phone it wouldn't trace anymore. To fix this I needed to disable and reenable swype. So as of right now I'm still outta luck.
To remove swype though simply go into titanium and scroll down to swype and delete it.
Sent from my HTC Glacier using XDA App
Unfortunately swype force closes are not due to this zip and chances are it is the ROM. I would suggest trying fix permissions from recovery or ROM manager. Other than that I would not know what would be causing the force closes.
Sent from my myTouch_4G_Slide using XDA App
maybe i'm confused but i just went to swype.com and registered for beta and it works fine
is this different?
Before I ever tried the files here I used the beta installer that I registered and it seemed like everytime I rebooted it wouldn't swype anymore and the keyboard would flash like an error. I've been running cyanogenmod nightlies, currently on 61. I've tried fixing permissions before but it never corrected the issue.
Sent from my HTC Glacier using XDA App
I tried the Root Explorer method with the same results. No matter what I do to install Swype on any ROM other than CM7, I can't get the keyboard to "swype". I've even created a new account with swype to download it again with no luck. I'm close to using something other than CM7 as my daily ROM but I need Swype! Any more ideas?
Thanks!!
When it won't swype after reboot. Try selecting another board, type something, then go back to swype and slide. Used to work for me when I was using swype
this worked flawlessly! thanks
im running nightlies. i downloaded iced glacier for the original swpe .apk and libswpe files. just selected update zip from sdcard in clockwork.
forse closes, then i uninstalled and uses root explorer to copy both files, than i change the permissions, it worked but gave error about licencing, that this is for some other device. im using htc panache stock GB ROM.
than yesterday i realized new beta is out i re-registered and installed the latest beta which is ofcourse much better , only thing im missing is light colored theme of oribngnal swype.
atifsh said:
forse closes, then i uninstalled and uses root explorer to copy both files, than i change the permissions, it worked but gave error about licencing, that this is for some other device. im using htc panache stock GB ROM.
than yesterday i realized new beta is out i re-registered and installed the latest beta which is ofcourse much better , only thing im missing is light colored theme of oribngnal swype.
Click to expand...
Click to collapse
I got the constant force close using the new swype 3.0 the way I fixed it was deleted it then right after I reinstalled it I rebooted in to recovery and cleared both caches and fixed permissions. I don't think rom manager fix permission is working right for this version.

[Guide] How to get Viper4Android working on 4.3.1+ Roms

So I know many of you enjoyed using this amazing mod in the past and something in our builds caused it to break after 4.3.1 roms started rolling out. Look no further as i have a fix for you that is guaranteed to work again.
Step 1.) For the first step you will need to edit your build.prop file found in /system folder. Personally i use Rom Toolbox lite (found here https://play.google.com/store/apps/details?id=com.jrummy.liberty.toolbox&hl=en) as it comes with a built in build.prop editor and root browser and it is free. Some of these edits may already be in your build.prop so check the edits posted below to see if they are already there or just need a slight change before just adding it as having 2 of the same edits with a different value may conflict with eachother
the edits are:
lpa.decode=false
tunnel.decode=false
tunnel.audiovideo.decode=false
it may ask to reboot on some or just one of these but we can skip rebooting for now. once set we can now move forward.
Before starting the next step MAKE SURE YOU REMOVE AND UNINSTALL DSP MANAGER. you can do so via app manager in ROM Toolbox Lite.
Step 2.) Now we download viper4android according to your rom version. For 4.3.1 roms get this one https://play.google.com/store/apps/details?id=com.vipercn.viper4android4x&hl=en
Once downloaded and installed you will now have to copy and paste it from /data/app to system/app. When it finishes copying over delete the app from /data/app as it will not work otherwise. Make sure permissions are properly set to rw-r--r-- or 0644 in numerical terms. Rom Toolbox will make this whole process easier and faster.
At this point you will now reboot your device for the next step
Step 3.) Once rebooted open the app and it will have you install its driver Select cortex A8 option (3rd one down). It will ask to reboot but dont do it yet. Last thing to do is while in viper4android app hit the sttings button and you will see a long list of things. Select FX Compatible Mode and switch from Normal to Compatible mode and now you reboot for it to take effect and work.
After this you are all set to start setting your sound otions in viper4android and enjoy
I Give great Thanks to:
@zhuhang for making this great app/mod
 @jrummy for creating rom toolbox (another amazing app)
 @Bradl79 for the build.prop idea
 @bbgreen for confirming this works
And Anyone else i may have missed
If i have PM me and ill gladly add them in
So far for the headset option i have the following enabled and set
Under MASTER POWER:
Enable V4A-FX is checked and powered on
Under FIREQUALIZER:
Enabled is checked and powered on
Select Preset is set to Rock
Under DYNAMIC SYSTEM:
Enable is checked
Select Listening Device is set to Common Earphone (v2)
Select Dynamic Bass is set to 2 percent
Under FIDELITY CONTROL:
Enable ViPER Bass is checked
Select Bass Mode is set to Natural Bass
Select Bass Frequency is set to 100Hz
Enable ViPER Clarity is checked
Select Clarity Mode is set to XHiFi
Select Clarity is set to 3.5 db
thats all i have set for now but i'm using skullkandy heaphones with this setup will vary for other headphone brands and models. with this setup it gets very loud and clear as well as amazing bass so dont damage your eardrums lol
Other aidio profiles can be found here by scrolling down to second post http://forum.xda-developers.com/showthread.php?t=2324454&highlight=viper4android
Thanks @sixcarnage for posting that as well
REV3NT3CH said:
So I know many of you enjoyed using this amazing mod in the past and something in our builds caused it to break after 4.3.1 roms started rolling out. Look no further as i have a fix for you that is guaranteed to work again.
Step 1.) For the first step you will need to edit your build.prop file found in /system folder. Personally i use Rom Toolbox lite (found here https://play.google.com/store/apps/details?id=com.jrummy.liberty.toolbox&hl=en) as it comes with a built in build.prop editor and root browser and it is free. Some of these edits may already be in your build.prop so check the edits posted below to see if they are already there or just need a slight change before just adding it as having 2 of the same edits with a different value may conflict with eachother
the edits are:
lpa.decode=false
tunnel.decode=false
tunnel.audiovideo.decode=false
it may ask to reboot on some or just one of these but we can skip rebooting for now. once set we can now move forward.
Before starting the next step MAKE SURE YOU REMOVE AND UNINSTALL DSP MANAGER. you can do so via app manager in ROM Toolbox Lite.
Step 2.) Now we download viper4android according to your rom version. For 4.3.1 roms get this one https://play.google.com/store/apps/details?id=com.vipercn.viper4android4x&hl=en
Once downloaded and installed you will now have to copy and paste it from /data/app to system/app. When it finishes copying over delete the app from /data/app as it will not work otherwise. Make sure permissions are properly set to rw-r--r-- or 0644 in numerical terms. Rom Toolbox will make this whole process easier and faster.
At this point you will now reboot your device for the next step
Step 3.) Once rebooted open the app and it will have you install its driver Select cortex A8 option (3rd one down). It will ask to reboot but dont do it yet. Last thing to do is while in viper4android app hit the sttings button and you will see a long list of things. Select FX Compatible Mode and switch from Normal to Compatible mode and now you reboot for it to take effect and work.
After this you are all set to start setting your sound otions in viper4android and enjoy
I Give great Thanks to:
@zhuhang for making this great app/mod
@jrummy for creating rom toolbox (another amazing app)
@Bradl79 for the build.prop idea
@bbgreen for confirming this works
And Anyone else i may have missed
If i have PM me and ill gladly add them in
Click to expand...
Click to collapse
Been trying to get this to work for a while as well as you may recall from past comments. Sure this guide will produce a desired "universal" sound effect as before? I had no luck with SoundCloud getting processed by V4A after this. However, I may needed to retry steps verbatim on a fresh ROM install too as I had some other conflicting things to clean up along the way.
Idk about soundcloud...I does work like it did before in Apollo...my guess is that its directing to basic sound while using other apps or stuff like soundcloud
Sent from my ADR6425LVW using xda app-developers app
Nice find Rev! Works great.
Thanks for the write up I just tried it. Unfortunately it only seems to work with Apollo. When I try it with Power Amp or Pandora it no longer works. On my old sense 4.0 ROM viper4android would modify those programs as well Ive tried the current version and the version off the play store with the same results. Thanks for the write up though very easy to follow.
Please post any questions about Viper4Android here not just 4.3 ROMs.
Sent from my ADR6425LVW using Tapatalk
How To Bake Viper4Android into a ROM zip (BASED OFF OFF v.2322)
@REV3NT3CH Consider adding this to the thread (Not trying to hijack the thread) this may be super long
@PTuT @Chucktr you asked for a pm of how to bake v4a into a rom, i decided to post it here for everyone
If you dont want to download the apk and install the apk/drivers you can merge the drivers and app from your pc.
ill probably end up making a script for this but right now i don't mind copying it into new builds for now
Latest apk - http://www.mediafire.com/download/z1mqg58hz1sfais/ViPER4Android_FX_v2322.zip
driver - http://d-h.st/xHh
driver config - http://d-h.st/axM
i usually use 7zip for archive viewer ect..
1. Open the rom zip in 7zip or whatever you choose to use
2. In 7zip navigate to "system/priv-app/" and drag/drop the apk you downloaded into the 7zip window.
3. In 7zip back out of the "prive-app" folder and navigate to "system/lib/soundfx/" and drag/drop libv4a_fx_ics.so you downloaded into the 7zip window
4. in 7zip back out of "soundfx" & "lib" and navigate to "system/ect/" and drag/drop audio_effects.conf you downloaded into the 7zip window
Exit 7zip, Now you have the app and driver baked in the rom :good:
Now what happens when any of this stuff gets update?.... well
Drag/drop the latest apk to priv-app (obviously lol)
The Driver can be pulled from the inside the apk in the assets folder using 7zip. Use any of the drivers containing "libv4a_fx_ics_NEON" based on the quality of the driver they are named different but i use libv4a_fx_ics_NEON_HQ, rename it to libv4a_fx_ics.so and copy it to the rom zip
We cant use the JB drivers on jb or kk, only ics
i dont know how often audio_effects.conf gets updated but just add the fallowing to the audio_effects.conf in the rom zip (ONLY IF NEEDED) the download link above should be good fine good for a while:
Line 9 to 11 :
v4a_fx {
path /system/lib/soundfx/libv4a_fx_ics.so
}
Line 69 to 72:
v4a_standard_fx {
library v4a_fx
uuid 41d3c987-e6cf-11e3-a88a-11aba5d5c51b
}
all of this is based off of v.2322 so i cannot guarantee this to work within the next year or so ect... if someone updated something
bunchies said:
@REV3NT3CH Consider adding this to the thread (Not trying to hijack the thread) this may be super long
Click to expand...
Click to collapse
thanks for this...will deffinately be very useful and will do...your not hijacking bud your contributing to a very useful cause... you tha man @bunchies

[MOD] Verizon G3 HotspotMod Fully Working (Not the G2 Apk)

PLEASE READ
This mod ONLY applies to UNLIMITED USERS who DO NOT have tethering on their plan
This mod DOES NOT apply to SHARE EVERYTHING plans
I took a peak over at this thread http://forum.xda-developers.com/verizon-lg-g3/help/g3-hotspot-hack-t2812305 and saw that there were issues with using the G2 apk. I decided to take a looksy at it and see if I can replicate the functionality of the G2 apk with out having to re-apply settings to turn on tethering.
I have always had issues using root explores and database explorers messing up permissions and causing boot loops so until I have a proper recovery I use the android terminal emulator. Many people here have had plenty of success using file explores so give it a shot if you like!
Skip down to the bottom for a video walkthrough created by { owenbeals aka DroidModderX}
First things first you will need root!
0.) Start a root shell
Code:
su
1.) mount the system partition for read and write access
Code:
mount -o remount,rw /system
2.) Rename stock files HotspotProvision.apk and HotspotProvision.odex to something memorable. I use .bak and .bakdex
Code:
cd /system/app
mv HotspotProvision.apk HotspotProvision.bak
mv HotspotProvision.odex HotspotProvision.bakdex
3.) Now copy over the new file, can be the root of the extSD card which is /storage/external_SD/HotspotProvisionVzG3.apk
Code:
cp /storage/external_SD/HotspotProvisionVzG3.apk .
4.) The last thing is to change permissions to 644 (RW- R-- R-- for you file browsy types )
Code:
chmod 644 HotspotProvisionVzG3Mod.apk
5.) Now reboot and enjoy your glitch free hotspot action!
You must reboot! Do not try to "install" it, it does not function like that.
N.B.
Some users have noted that their cpu governors change to Performance while the hotspot is on and change back to On Demand when off instead of normal Interactive. This is the stock behaviour of the kernel, and not a bug introduced by this mod.
Thanks to { owenbeals aka DroidModderX} for this handy video walkthrough.
Thanks { Robshr, JayGoat } for bringing this up
Also thanks to { nrage23 } for answering a ton of questions on here
CREDIT:
Guest who started previous thread
Anonymous original creator
WACOmalt for making the original G2 thread
what was glitchy about the first hotspot app? HotspotProvision_24A_mod.apk
rp201 said:
what was glitchy about the first hotspot app? HotspotProvision_24A_mod.apk
Click to expand...
Click to collapse
You have change something every time you use it.
The modded apk works perfectly. I used root explorer to do it though. I renamed the original files, copied your apk to system/app, renamed it to HotSpotProvision.apk, fixed the permissions and rebooted.
Sent from my VS985 4G using XDA Premium HD app
Pretty cool. I'll have to give this a try when I'm bored later on today at work. Could you explain what you actually did to the hotspot apk though?
One thing though - why not just append ".bak" to the end of the existing filename/extension? That way, you don't lose the original extension so you can't forget what it was. It works fine. That's what I always do. In other words, your files would end in ".apk.bak" and ".odex.bak". The system only sees the extension after the final period.
nrage23 said:
You have change something every time you use it.
The modded apk works perfectly. I used root explorer to do it though. I renamed the original files, copied your apk to system/app, renamed it to HotSpotProvision.apk, fixed the permissions and rebooted.
Sent from my VS985 4G using XDA Premium HD app
Click to expand...
Click to collapse
How do you launch tethering after moving, renaming, and re-permissioning the apk? I've tried to launch from Settings app but nothing happens.
The downloaded apk he modded is named differently from the original one in the system/app folder. After I changed the names for the original files in system/app. I changed the name of the modded apk to match the original apk in system/app. I copied the renamed modded apk to system/app, set the permissions correctly, then rebooted. I went into Settings then More... under wireless networks,Mobile HotSpot and changed the SSID and password. I can turn it on via settings or the quick setting in the notification bar.
sstapley_56 said:
How do you launch tethering after moving, renaming, and re-permissioning the apk? I've tried to launch from Settings app but nothing happens.
Click to expand...
Click to collapse
I'd guess for it to work from stock menus (i.e. without starting the apk directly from a file browser app or terminal emulator) you'd have to rename it the same as the stock apk so that the path is the same for the various apps that would call it.
nrage23 said:
The downloaded apk he modded is named differently from the original one in the system/app folder. After I changed the names for the original files in system/app. I changed the name of the modded apk to match the original apk in system/app. I copied the renamed modded apk to system/app, set the permissions correctly, then rebooted. I went into Settings then More... under wireless networks,Mobile HotSpot and changed the SSID and password. I can turn it on via settings or the quick setting in the notification bar.
Click to expand...
Click to collapse
So I have renamed it exactly as the original apk was and rebooted but still no go. On reboot I get a force close of VZWAWSService. I have some of the system bloat frozen, maybe this has something to do with it.
phobos512 said:
I'd guess for it to work from stock menus (i.e. without starting the apk directly from a file browser app or terminal emulator) you'd have to rename it the same as the stock apk so that the path is the same for the various apps that would call it.
Click to expand...
Click to collapse
---------- Post added at 09:36 AM ---------- Previous post was at 09:33 AM ----------
Sweet it's working now, I had the lgmobilehotspot GUI.apk frozen and that's what was causing the issue. Thanks for the apk and tutorial guys!
sstapley_56 said:
How do you launch tethering after moving, renaming, and re-permissioning the apk? I've tried to launch from Settings app but nothing happens.
Click to expand...
Click to collapse
Did you reboot?
There should be no reason to rename the apk. When android installs applications it goes into the /data... Dir as the package name. All intents are handled via package names therefore the apk name is inconsequential.
To use you should be able to go settings > more and see all the tethering options.
To verify placement and permissions use
Code:
su
ll /system/app/Hotspot*
You should see your two backup files and the new HotspotProvisionVzG3Mod.all
Permissions should be rw-r--r--
Let me know if you still have issues.
I will post a DIY response so that people who want to learn about the modification can play along at home. Think of it as source code for this mod:good:
[email protected] said:
Did you reboot?
There should be no reason to rename the apk. When android installs applications it goes into the /data... Dir as the package name. All intents are handled via package names therefore the apk name is inconsequential.
To use you should be able to go settings > more and see all the tethering options.
To verify placement and permissions use
Code:
su
ll /system/app/Hotspot*
You should see your two backup files and the new HotspotProvisionVzG3Mod.all
Permissions should be rw-r--r--
Let me know if you still have issues.
I will post a DIY response so that people who want to learn about the modification can play along at home. Think of it as source code for this mod:good:
Click to expand...
Click to collapse
Thanks for the detailed response, I got it working now. I had previously frozen some of the bloat on the phone when I got it and one of the apps I froze was the lgemobilehotspotui.apk which is needed to work correctly. Thanks for all the help from the awesome devs here.
Nice work, thanks. I just installed it with Root Explorer, and it worked perfectly. Just have to do it to the wife's phone, now.
Well done. Working great!
Thanks! Works perfect. And now I can use the toggle on the drop down menu to activate the hotspot. Thanks so much.
Worked
Worked perfectly for me. Used ES file explorer to move the files around.
I have downloaded, changed permissions, changed the file names to .bak but when I try to install the nodded split says application not installed. I'm using root explorer. I did have the othe mod installed and deleted it first. Wondering if that is the problem
Edit...Stopped trying to install and just rebooted and it turns on just fine, and my laptop connects...the app shows it connected and listed as an approved device...yet I'm not able to actually get a a connection.
Sent from my VS985 4G using XDA Free mobile app
Thanks! Works like a champ.
works great!
I'm also getting the VZWARSService has stopped message, and when I go into settings and turn on the hotspot, nothing happens. If I go into mobile hotspot and turn it on from there, I get this message: Unfortunately, com.lge.mobilehotspot.ui has stopped. Followed the directions exactly, so I'm not sure what's going on.
Works perfectly. I used Root Explorer to rename and move everything. Thanks!
Worked like a charm the only thing is still changes the cpu governor to performance the g2 one did it to I don't know if someone is able to fix that
It's just when I turn on the hotspot afterwards I use android tuner and change it back to interactive
Does anyone else have this issue

Sound mod that works

Hey guys so I was looking for a way to increase the volume on my Verizon branded G3 with no luck. Tried Viper4Android and even the mixer_path mod but that didn't work. So I looked and found this mod for the G2 which requires editing the snd_soc_msm_taiko. So I tried that and to my surprise it works. What I did was copy the file using root explorer to my sd card and then edited using a text editor on my pc due to file being to large for root explorer. Copied to directory and fixed permissions and after a reboot noticed the difference. Anyways more info is available on the following link --> http://forum.xda-developers.com/showthread.php?t=2442883. Make sure you thank them if this helps you.
asj2583 said:
Hey guys so I was looking for a way to increase the volume on my Verizon branded G3 with no luck. Tried Viper4Android and even the mixer_path mod but that didn't work. So I looked and found this mod for the G2 which requires editing the snd_soc_msm_taiko. So I tried that and to my surprise it works. What I did was copy the file using root explorer to my sd card and then edited using a text editor on my pc due to file being to large for root explorer. Copied to directory and fixed permissions and after a reboot noticed the difference. Anyways more info is available on the following link --> http://forum.xda-developers.com/showthread.php?t=2442883. Make sure you thank them if this helps you.
Click to expand...
Click to collapse
im all for figuring this out myself, but without a custom recovery to restore backups, i would rather not re-flash stock while im trying this.
if you have it working without issue, can you just post the modified file?
thanks
How can we use an equalizer? Also some ring tones on max sound a teeny distorted. This speaker is LOUD
Sent from my VS985 4G using Tapatalk
I actually use Viper4Android along with this mod as the volume mod for the speaker within Viper4Android doesn't seem to work however the equalizer does.

[GUIDE] [ROOT] Installing Viper4Android

OK everyone, there seems to be mass confusion on what to do to get Viper4Android running, this guide should help clear that confusion.
DO NOT USE THESE FILES UNLESS YOU HAVE A NEXUS 6P. SO MANY PEOPLE HAVE ISSUES BECAUSE THEY USE FILES DESIGNED FOR OTHER PHONES.
Firstly: Are you running normal root or systemless root?
If you are running systemless root I suggest you switch over to normal root to get things working. So far, systemless root has been a roadblock for some people and Viper4Android starts acting up with systemless root installed.
Secondly: Have you flashed any of the billion V4A recovery flashable zips?
If yes, restore your system partition as those have a billion and one differently modified files that will probably screw over how your phone functions.
Thirdly: Do you have enough room in the /system and /vendor partitions?
Install the Busybox binaries (linked below) and open a terminal (using your favorite terminal app, or Terminal Emulator) and run
Code:
df
and make sure that you have enough room for the files.
If your /system partition is full, try deleting common apps like Chrome or Drive and install them from the Play Store as user apps instead.
If your /vendor partition is full, there isn't much to fix other than if you installed overlays for Layers, try uninstalling one (some overlays can go up to 400KB, like ones for Chrome). However, it may seem that you don't need to worry about the /vendor partition, more on that below.
OK, now it is time to continue.
If you don't want to follow this guide, then you can use Lollviper's recovery flashable zip, as it works just fine. Use the standard zip, and not the surround zip: http://forum.xda-developers.com/google-nexus-5/themes-apps/discussion-viper4android-t2543796
Choose your favorite v2.3.4.0 version of V4A and install it to /system/priv-app/. Just create a folder with the same name as the APK, give it the same permissions as the other folders, and drop the APK in it making sure to also give it the permissions that the other APKs get. If you encounter issues with a customized version of V4A, I suggest you use the standard version. So far, Lolliviper seems to work.
Make sure to install BusyBox, I recommend this one: https://play.google.com/store/apps/details?id=stericson.busybox
If the files linked below can't be downloaded, use the zip file at the bottom of this post and continue following the guide.
Now, download this file (49_viper4android.sh) : https://www.dropbox.com/s/rcp77ul41m...ndroid.sh?dl=0
And create a folder called su.d in /system/. The path should be /system/su.d/, and then give it permissions 0700 with root:root, and drop the script into the folder with permission 0755 with root:root. This script will allow V4A access to mediaserver, so it can see audio to do it's magic. You can make sure that the script worked on boot by checking /data/v4a_script.txt for if it exists, or, was modified recently to correlate with you booting your phone.
Now do the same for this file (audio_effects.conf) : https://www.dropbox.com/s/57y44o74dk...ects.conf?dl=0
And drop the file in /system/etc/ AND in /system/vendor/etc/ (alternatively you can go to /vendor/etc/ as it's actually the same folder). Both of the files should have permissions 0644 with root being the owner and group. This modified file will allow V4A to be used as an equalizer and allow it to do magic in your audio. Quick note, if V4A keeps asking to install the driver, then delete the audio_effects.conf in /system/vendor/etc/ and don't worry about it.
Now the file which will allow V4A to work system-wide, like in YouTube (audio_policy.conf) : https://www.dropbox.com/s/yi8u3j91z3...licy.conf?dl=0
And drop it in /system/etc/ and give it permissions 0644 with root being owner and group, and you are good to go. This modified file removes the "deep_buffer" module that made it so apps that don't hook into Viper4Android (apps that aren't music players) wouldn't have their audio processed. Some of the flashable zips included modified files, but usually only for the Nexus 5.
Now disable or delete the app MusicFX:
This is necessary as Google Play Music will use MusicFX over Viper4Android if the app isn't disabled.
That should be it, you can now continue with your installation of Viper4Android and it should work.
Issues:
Viper4Android still doesn't work!
Click to expand...
Click to collapse
Are you sure you followed the guide correctly? Wipe everything and start fresh because if you used recovery flashables they do stuff they really shouldn't.
My headphones don't work.
Click to expand...
Click to collapse
Another potential issue with random recovery flashables, suggest you wipe and start again.
Viper4Android's driver doesn't stick.
Click to expand...
Click to collapse
Install Viper4Android to /system/priv-app/ and that should fix your issue.
OR
Delete the audio_effects.conf file from /system/vendor/etc/.
Viper4Android doesn't work in Google Play Music.
Click to expand...
Click to collapse
Remove the MusicFX app.
Viper4Android doesn't work in YouTube.
Click to expand...
Click to collapse
Make sure you did the proper steps for the audio_policy.conf file.
worked like a charm. Thanks mate!!!
Why do you guys need this? Audio reproduction is excellent and this will only make it sound worse. The only way to improve the sound would be better headphones and/or amp.
Thanks @Namelesswonder for the help .. I have not used your steps might use them based on other users findings and plus these steps will have to redone upon every ROM flash..
I believe all this could be done with a flashable zip , I know we had flashable zips for Nexus5.
@AndrasLOHF I see you have Nexus6P now , will you be able to help us out
Thanks
likonvampire said:
Thanks @Namelesswonder for the help .. I have not used your steps might use them based on other users findings and plus these steps will have to redone upon every ROM flash..
I believe all this could be done with a flashable zip , I know we had flashable zips for Nexus5.
@AndrasLOHF I see you have Nexus6P now , will you be able to help us out
Thanks
Click to expand...
Click to collapse
I haven't rooted or anything yet. From my experience on all the dev previews I would think the Lolliviper zips would still install fine just as they used to. Just don't use the Surround Sound zip.
Thank you! Works great on Nexus 6p. Can't live without the Viper.
designgears said:
Why do you guys need this? Audio reproduction is excellent and this will only make it sound worse. The only way to improve the sound would be better headphones and/or amp.
Click to expand...
Click to collapse
You must be unaware the audio sound is completely subjective.
AndrasLOHF said:
I haven't rooted or anything yet. From my experience on all the dev previews I would think the Lolliviper zips would still install fine just as they used to. Just don't use the Surround Sound zip.
Click to expand...
Click to collapse
Yeah, I just checked it and Lolliviper flashable does work just fine, I'll put it up in the post. My intent for this post was to just outline how to install it without using flashable zips as people were using the wrong ones and having troubles.
Shockz said:
You must be unaware the audio sound is completely subjective.
Click to expand...
Click to collapse
You misread what I said. If you like crappy sound, you like crappy sound, nothing can be done about that. Running audio thru any software filter will degrade the quality, period.
I flashed the lolliviper zip, but viper4android keeps asking me to install drivers (even after install and reboot).
Edit: I'll re-flash and wipe dalvik/cache and try again.
Edit 2: Yup, still having the same issue. It also takes awhile for the driver install to happen too (even though it doesn't actually work).
mugenga said:
I flashed the lolliviper zip, but viper4android keeps asking me to install drivers (even after install and reboot).
Edit: I'll re-flash and wipe dalvik/cache and try again.
Edit 2: Yup, still having the same issue. It also takes awhile for the driver install to happen too (even though it doesn't actually work).
Click to expand...
Click to collapse
OK then, try using my way instead. Weird, because flashing the zip worked for me. Do you have systemless root? Try renaming the audio_effects.conf in /vendor/etc/, checking the permissions on audio_effects.conf and audio_policy.conf in /system/etc/, and checking that the 50viper.sh file in /system/su.d/ at least has permissions 0755.
Namelesswonder said:
OK then, try using my way instead. Weird, because flashing the zip worked for me. Do you have systemless root? Try renaming the audio_effects.conf in /vendor/etc/, checking the permissions on audio_effects.conf and audio_policy.conf in /system/etc/, and checking that the 50viper.sh file in /system/su.d/ at least has permissions 0755.
Click to expand...
Click to collapse
I don't have systemless root, but I'll look into the permissions.
Edit: All my permissions look fine. I'll try and tinker around some more. Still not sure why the driver isn't installing.
You probably need more space in the system partition. Delete an app and reinstall from there play store.
---------- Post added at 19:46 ---------- Previous post was at 19:46 ----------
You probably need more space in the system partition. Delete an app and reinstall from the play store.
AndrasLOHF said:
You probably need more space in the system partition. Delete an app and reinstall from there play store.
---------- Post added at 19:46 ---------- Previous post was at 19:46 ----------
You probably need more space in the system partition. Delete an app and reinstall from the play store.
Click to expand...
Click to collapse
I have 1.8GB free in my system/root partition.
Edit: I solved my issue. I had to delete audio effects conf from system/vender/etc
mugenga said:
I have 1.8GB free in my system/root partition.
Edit: I solved my issue. I had to delete audio effects conf from system/vender/etc
Click to expand...
Click to collapse
Thanks a lot for this. I was having same issue and this worked for me.
I did flash the lolliviper zip , the processing worked with pocketcast app but no go with SoundCloud...
Sent from my Nexus 6P using Tapatalk
mugenga said:
I have 1.8GB free in my system/root partition.
Edit: I solved my issue. I had to delete audio effects conf from system/vender/etc
Click to expand...
Click to collapse
Yes worked like a charm!
Hi guys,
How does this improve audio quality from the speakers? Coming from Boomsound the speakers on the 6P seem to lack any kind of bass. Could viper help in that department?
Sent from my HTC One using XDA Free mobile app
tgeza said:
Hi guys,
How does this improve audio quality from the speakers? Coming from Boomsound the speakers on the 6P seem to lack any kind of bass. Could viper help in that department?
Sent from my HTC One using XDA Free mobile app
Click to expand...
Click to collapse
Anyone?
Sent from my HTC One using XDA Free mobile app
tgeza said:
Anyone?
Sent from my HTC One using XDA Free mobile app
Click to expand...
Click to collapse
Because you can tune the way the speakers sound to your liking. It makes the phones speaker and any headphones sound much better than they normally do.

Categories

Resources