Open War for Open Android: Antitrust for Cyanogen?

Android and openness is something we talk about all the time, but the recent … more

What Do You Do with All of Your Old Photos?

Smartphone cameras have advanced so tremendously over the past few years that they have … more

Diving into the April 2015 Material Design Update

Before the release of Android 5.0 Lollipop, the Holo Design guidelines served as the … more

New Cyanogen Partnerships Bring Privacy Concerns

New Privacy concerns have emerged regarding Cyanogen’s latest announcements, … more
Post Reply Subscribe to Thread Email Thread

Info 2 [GUIDE] How to make Viper4Android work on 5.0.x Lollipop

1st February 2015, 04:33 PM |#1  
TheXGX's Avatar
OP Senior Member
Thanks Meter: 631
 
257 posts
Join Date:Joined: Jan 2015
Donate to Me
More
How to get Viper4Android working on Lollipop ROMs


I want to start the thread off by stating that I DID NOT develop this mod myself. Full credit for the work goes to @FuMMoD for the updates for V4A’s .apk and libraries. Also to @//.dax for the new icon. @AndrasLOHF for the thread that lists the original .zip files we’ll be flashing, also the Viper4Android team for making this app in the first place. This thread is simply a detailed, in-depth guide with a video to help people install what they created. Links to the original threads are below. Please visit it for more information and help. This wouldn’t have been possible without these people.

I’ve personally tested this method on many ROMs based off of CM12 on my Samsung Galaxy S4 GT-i9500 and it’s worked every time. If it doesn’t work for your ROM, post details and I’ll look into it. Most people have tried this method on their Nexus 5 and reported success.

Stock users!! If you use a ROM based on TouchWiz or other ROMs with a stock kernel that is set to "Enforcing", there is a chance step #3 will fail! Please read Q6 in the F.A.Q. below for help on this! This is NOT a V4A problem! And it CAN be fixed usually! Read carefully!

Please do not post that this isn't working for you unless you are 100% sure you did the steps exactly like I mentioned. Read the F.A.Q. first to make sure. Visit the thread links below for more help. It should theoretically work on all Lollipop ROMs.


Please follow this carefully step by step or this may not work for you. If you ARE sure you did these steps correctly and it still didn't work (I don't see why it wouldn't), post your device information and ROM details and I'll look into it.

I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
Please do some research if you have any concerns about features included in this ROM before flashing it!
YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.]


Let's get started.

Things you'll need:
1. A lollipop ROM. (duh)
2. Root access.
3. Custom recovery. (Any recovery should work as long as it can flash .zip files)


I would recommend reading the F.A.Q. before you do this!


Here's a video tutorial I made to make things easier to understand:



Here are the steps:
  1. Head into your settings, and go to about device. Look for the SELinux status. If it says either “Permissive” or “disabled”, move on to step 4. If it says “Enforcing”, go to step 2.
  2. Download and install “SELinux Mode Changer” from the Play Store (link in post two)
  3. Open the app you just installed, and tap on “Permissive”. Grant root access when and if prompted, then reboot the device. <--If this does not work, read question 6 of the F.A.Q. below.
  4. Go to post two, and download “Viper4Lollipop.zip” from any of the mirrors listed. (Request for more mirrors).
  5. Go into app drawer, and disable “Audio FX”, or “DSP Manager” or “Music FX” depending on your ROM.
  6. Disable stock music player. <--Read question 1 of the F.A.Q. below to see why you have to do this.
  7. Go to developer options, and uncheck “Use NuPlayer”.
  8. Reboot device into recovery.
  9. Flash the “Viper4Lollipop.zip” you downloaded. Wipe dalvik/cache. Reboot.
  10. Open the V4A app from the app drawer, and install drivers when prompted after granting root access. Reboot once it’s done.
  11. Go to play store and download any third party music app. (Shuttle Player or Google Play Music are good options.)
  12. Enjoy the sweet sound of V4A on your Lollipop ROM.



F.A.Q.
Q1: Why do I need to disable the stock music app?
A: V4A causes force closes when using the stock music app. You CAN try another .zip (see post two and question 2 of F.A.Q.) which fixes this issue, but the disadvantage of that is that you might lose Chromecast functionality. Moreover, I never tried this personally so I can’t help you if you flash the other one and it doesn’t work. For anyone who wants to try a more complex approach and keep stock music player compatibility, see post #20 by @mholloway.

Q2: What is the difference between the recommended .zip and alternate .zip?
A: The recommended one will break stock music app, but it’ll work fine otherwise. The alternate one MIGHT fix the stock music app, but you might lose Chromecast functionality. Refer to the original thread for more details on this.

Q3: Will this cause any bricks or bootloops?
A: Absolutely no. It shouldn't. Never bricked mine.

Q4: How do I remove this?
A: Uninstall V4A drivers, then delete the app from the root directory.

Q5: Why does the volume go down on some screens?
A: This isn’t a problem with V4A. This is because of Google Now conflict or any other app that uses the microphone. It happens on some ROMs and they are the problems. Example: Volume went down for me on GearCM but not on Euphoria OS. Fix? Disable "OK Google" hot-word detection or disable/stop apps that use the microphone.

Q6: The kernel won't change to permissive.
You're not alone. Some people reported this doesn't work on some stock ROMs. This is because of the stock kernel on some stock ROMs (mostly Samsung) that cannot be changed to permissive. At this point, your best bet is to try a different kernel for your phone and ROM. A simple Google search will help you with that. Thanks to @banccalif in post #15 for the suggestion.

Watch the video if the steps seem complicated to you. If you're gonna tell other people about this, please link back to this thread.

Enjoy V4A for Lollipop and be sure to check out the thread in post two and thank the devs. They’re the geniuses who did this.
Last edited by TheXGX; 12th March 2015 at 09:50 AM. Reason: Updates
The Following 8 Users Say Thank You to TheXGX For This Useful Post: [ View ]
 
 
1st February 2015, 04:34 PM |#2  
TheXGX's Avatar
OP Senior Member
Thanks Meter: 631
 
257 posts
Join Date:Joined: Jan 2015
Donate to Me
More
Info 2 Links
Download and other links:

SELinux Mode Changer:
https://play.google.com/store/apps/d....selinux&hl=en

Viper4Lollipop:
http://goo.gl/alFjx2 <-- MEGA.CO.NZ mirror
http://goo.gl/MfYChl <-- MediaFire mirror

Alternate:
http://forum.xda-developers.com/atta...9&d=1422024942


Main thread link:
http://forum.xda-developers.com/goog...droid-t2543796

Official Viper4Android thread:
http://forum.xda-developers.com/show....php?t=2191223
Last edited by TheXGX; 18th February 2015 at 07:26 AM.
The Following 5 Users Say Thank You to TheXGX For This Useful Post: [ View ]
15th February 2015, 09:23 PM |#3  
Bugz1's Avatar
Senior Member
Thanks Meter: 43
 
166 posts
Join Date:Joined: Feb 2014
Does this work on alemtro Aurora lollipop rom for i9500?
16th February 2015, 07:40 AM |#4  
TheXGX's Avatar
OP Senior Member
Thanks Meter: 631
 
257 posts
Join Date:Joined: Jan 2015
Donate to Me
More
Quote:
Originally Posted by Bugz1

Does this work on alemtro Aurora lollipop rom for i9500?

On that particular ROM? No. I have not. But it worked on 100% of Lollipop ROMs I've tried.. CM12, GearCM, Resurrection Remix and Euphoria. Worked just fine. If you do decide to try it, do post results.
16th February 2015, 03:17 PM |#5  
Bugz1's Avatar
Senior Member
Thanks Meter: 43
 
166 posts
Join Date:Joined: Feb 2014
I am not able to disable or change selinux to permissive on this rom
17th February 2015, 04:31 PM |#6  
TheXGX's Avatar
OP Senior Member
Thanks Meter: 631
 
257 posts
Join Date:Joined: Jan 2015
Donate to Me
More
Quote:
Originally Posted by Bugz1

I am not able to disable or change selinux to permissive on this rom

Even with that app? I don't think you can disable it if it's set to enforcing, only to permissive.. But I don't know why you're not able to set it to permissive from enforcing though.. :/ Try asking in the ROM forum? Mine was disabled from the beginning so I had no troubles with this. But everyone who has had it to enforcing WAS able to change it with that app. :/
18th February 2015, 05:52 AM |#7  
Bugz1's Avatar
Senior Member
Thanks Meter: 43
 
166 posts
Join Date:Joined: Feb 2014
I guess it would not change on touchwiz based roms
18th February 2015, 07:24 AM |#8  
TheXGX's Avatar
OP Senior Member
Thanks Meter: 631
 
257 posts
Join Date:Joined: Jan 2015
Donate to Me
More
Quote:
Originally Posted by Bugz1

I guess it would not change on touchwiz based roms

Never tried this on a TouchWiz based ROM, but the app should still theoretically work. :/ Have you disabled Knox if you have it?
18th February 2015, 01:28 PM |#9  
Bugz1's Avatar
Senior Member
Thanks Meter: 43
 
166 posts
Join Date:Joined: Feb 2014
Quote:
Originally Posted by TheXGX

Never tried this on a TouchWiz based ROM, but the app should still theoretically work. :/ Have you disabled Knox if you have it?

I always disable knox even if its not required
18th February 2015, 01:38 PM |#10  
TheXGX's Avatar
OP Senior Member
Thanks Meter: 631
 
257 posts
Join Date:Joined: Jan 2015
Donate to Me
More
Quote:
Originally Posted by Bugz1

I always disable knox even if its not required

Kudos to that. xD But anyway.. Then idk why it won't work man.. :/ I just flashed Euphoria OS today and it's working just fine. Like it was on my Resurrection Remix ROM before this.
The Following User Says Thank You to TheXGX For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes