Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,495 Members 37,162 Now Online
XDA Developers Android and Mobile Development Forum

Viper4Android S-ON/OFF Workaround

Tip us?
 
blewis540
Old
#1  
Member - OP
Thanks Meter 25
Posts: 76
Join Date: Sep 2007
Default Viper4Android S-ON/OFF Workaround

I have successfully created my own bypass to get viper4android to work. Always create a full backup before attempting =)


1. Download viper4android APK
2. Download Root Explorer from the playstore
3. Install Both Apps
4. Launch Root Explorer
5. In root explorer go to /system/lib/soundfx and copy the folder to /data/ (make a soundfx folder)
6. Also copy /system/etc/audio_effects.conf to the /data/soundfx/ folder
7. Using root explorers menu you can create a shortcut (symbolic link) make a shortcut of the /data/soundfx/ folder and a shortcut of the /data/soundfx/audio_effects.conf
8. Boot into TWRP
9.Mount the system partition
10. Rename /system/lib/soundfx to /system/lib/soundfx2
11. Copy soundfx shortcut create earlier to /system/lib/ it will look like a "file" to TWRP
12.Rename the /system/etc/audio_effects.conf to /system/etc/audio_effects.conf1
13. Copy the audio_effects shortcut into /system/etc/ (be sure its name matches the old exactly)
15. Reboot
16. Launch Viper and install driver


I haven't dealt with LPA yet (hasn't had an issue) nor have I done any other modifications at this time which are avail on the viper4android thread.

I was just thinking about symbolic links to get around this S-OFF/ON issue and it appears they work and technically as a workaround we could symbolically link everything in system to another location and access it all. This could easily be put into ROM builds now at least as well!

Build.Prop may be useful to move out via sym link as well
The Following User Says Thank You to blewis540 For This Useful Post: [ Click to Expand ]
 
graffixnyc
Old
#2  
graffixnyc's Avatar
Forum Moderator / Recognized Developer
Thanks Meter 4,720
Posts: 5,528
Join Date: Jan 2011
Location: New York City

 
DONATE TO ME
It's not a matter of being s-on or s-off.. It's a matter of having write protection removed then you can do all of that. S-off just allows you to flash any partition on the device.. (radio, hboot etc..) plus you can flash any ruu you want as long as you change to supercid

There is a kernel module in dev and it's working great on my device.

One day some of the kids from the neighborhood carried my mother's groceries all the way home. You know why? It was outta respect." -Henry Hill

Devices:
 


Current Phones:
HTC One M8 Gray 32GB + 128GB SD
Oppo Find 7a 16GB + 64GB Card
OnePlus One

Current Tablets:
Sony Z Ultra GPe (Phone but use as a tablet)
Samsung Galaxy Note 10.1 2014 Edition 32gb


All new members should watch this:
http://www.youtube.com/watch?v=JmvCpR45LKA


Follow me on twitter! http://www.twitter.com/graffixnyc

G+: http://gplus.to/graffixnyc
 
migascalp
Old
#3  
migascalp's Avatar
Senior Member
Thanks Meter 135
Posts: 272
Join Date: Aug 2006
On M7 it seems to me that the S-OFF also disables write protection system on stock rom

Envoyé de mon HTC Butterfly s en utilisant Tapatalk
HTC One M8: Rom MaximusHD 7.0.0 - Recovery TWRP 2.7.1.0
HTC Butterfly S: Rom Custom 4.10.708.1 - Kernel Falter v1.1 - Recovery TWRP 2.7.0.4
HTC One M7: Rom Custom 6.09.401.5 - Recovery TWRP 2.7.1.2
 
graffixnyc
Old
#4  
graffixnyc's Avatar
Forum Moderator / Recognized Developer
Thanks Meter 4,720
Posts: 5,528
Join Date: Jan 2011
Location: New York City

 
DONATE TO ME
Quote:
Originally Posted by migascalp View Post
On M7 it seems to me that the S-OFF also disables write protection system on stock rom

Envoyé de mon HTC Butterfly s en utilisant Tapatalk
But you don't need s-off to disable write protection. You just need a kernel with it disabled or the kernel module which flair posted in the development section. I'm using it and am able to write to the system fine and I'm s-on. The title of the thread should be something like "with write protection on" not s-on.

One day some of the kids from the neighborhood carried my mother's groceries all the way home. You know why? It was outta respect." -Henry Hill

Devices:
 


Current Phones:
HTC One M8 Gray 32GB + 128GB SD
Oppo Find 7a 16GB + 64GB Card
OnePlus One

Current Tablets:
Sony Z Ultra GPe (Phone but use as a tablet)
Samsung Galaxy Note 10.1 2014 Edition 32gb


All new members should watch this:
http://www.youtube.com/watch?v=JmvCpR45LKA


Follow me on twitter! http://www.twitter.com/graffixnyc

G+: http://gplus.to/graffixnyc
 
migascalp
Old
#5  
migascalp's Avatar
Senior Member
Thanks Meter 135
Posts: 272
Join Date: Aug 2006
I just wanted to clarify that with S-OFF this module is useless
HTC One M8: Rom MaximusHD 7.0.0 - Recovery TWRP 2.7.1.0
HTC Butterfly S: Rom Custom 4.10.708.1 - Kernel Falter v1.1 - Recovery TWRP 2.7.0.4
HTC One M7: Rom Custom 6.09.401.5 - Recovery TWRP 2.7.1.2
 
graffixnyc
Old
#6  
graffixnyc's Avatar
Forum Moderator / Recognized Developer
Thanks Meter 4,720
Posts: 5,528
Join Date: Jan 2011
Location: New York City

 
DONATE TO ME
Quote:
Originally Posted by migascalp View Post
I just wanted to clarify that with S-OFF this module is useless
You don't need to clarify that to me. I'm very well aware of that. My point was that for this topic you don't need s-off for this to work.. You just need write protection off. Whether that be with with s-off or with a module.. This working is not dependant on s-off.. It's dependant on write protection being off. That is my point.

Sent from my HTC One using Tapatalk

One day some of the kids from the neighborhood carried my mother's groceries all the way home. You know why? It was outta respect." -Henry Hill

Devices:
 


Current Phones:
HTC One M8 Gray 32GB + 128GB SD
Oppo Find 7a 16GB + 64GB Card
OnePlus One

Current Tablets:
Sony Z Ultra GPe (Phone but use as a tablet)
Samsung Galaxy Note 10.1 2014 Edition 32gb


All new members should watch this:
http://www.youtube.com/watch?v=JmvCpR45LKA


Follow me on twitter! http://www.twitter.com/graffixnyc

G+: http://gplus.to/graffixnyc
 
xReaper7x
Old
(Last edited by xReaper7x; 4th April 2014 at 04:03 AM.)
#7  
Senior Member
Thanks Meter 8
Posts: 103
Join Date: Dec 2013
Location: Toronto

 
DONATE TO ME
For anyone who wants the stock kernel with write protection off just use this JMZM8 Kernel and then just install busybox like regular and boom Viper4Android, literally made my M8 sound so much better (not that it wasn't already awesome)

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Flyme OS Finds Its Way to the Google Nexus 5

Flyme OS is a heavily modified Android variantdeveloped by the Meizu team for their MX … more

MultiROM Makes Its Way to the LG G2

Over the last few weeks, we’ve seen quite a fewflagship (and former flagship) devicesget to … more

Jair Player with a Major Update–Here’s What’s New!

Back in May, we talked a bit aboutJair Player, a nice looking music … more