FORUMS

3D Printable Mobile Microscope? Nexus 7 Discontinued – XDA TV

The Nexus 7 2013 has been discontinued on the Google Store! That and … more

Which Lockscreen Security Type Do You Use?

From pattern locks to the controversial face unlock, there are a number of different ways you … more

Xposed 3.0 Alpha 3 Released

A new alpha for the Xposed framework is out and brings several bug fixes. You’ll only need to flash … more

XDA Recap: This Week In Android (Apr 18 – 25)

Here in the digital XDA newsroom, we spend our days pouring over an average of … more
Post Reply Subscribe to Thread Email Thread

Viper4Android S-ON/OFF Workaround

1st April 2014, 05:13 AM |#1  
OP Member
Thanks Meter: 31
 
More
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 2 Users Say Thank You to blewis540 For This Useful Post: [ View ]
 
 
1st April 2014, 05:59 AM |#2  
graffixnyc's Avatar
Retired Forum Moderator / Recognized Developer
Flag New York City
Thanks Meter: 5,853
 
Donate to Me
More
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.
The Following User Says Thank You to graffixnyc For This Useful Post: [ View ]
1st April 2014, 11:10 AM |#3  
migascalp's Avatar
Senior Member
Flag Créteil
Thanks Meter: 203
 
More
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
1st April 2014, 05:29 PM |#4  
graffixnyc's Avatar
Retired Forum Moderator / Recognized Developer
Flag New York City
Thanks Meter: 5,853
 
Donate to Me
More
Quote:
Originally Posted by migascalp

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.
1st April 2014, 05:40 PM |#5  
migascalp's Avatar
Senior Member
Flag Créteil
Thanks Meter: 203
 
More
I just wanted to clarify that with S-OFF this module is useless
1st April 2014, 06:13 PM |#6  
graffixnyc's Avatar
Retired Forum Moderator / Recognized Developer
Flag New York City
Thanks Meter: 5,853
 
Donate to Me
More
Quote:
Originally Posted by migascalp

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
4th April 2014, 03:54 AM |#7  
Senior Member
Flag Toronto
Thanks Meter: 18
 
Donate to Me
More
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)
Last edited by xReaper7x; 4th April 2014 at 04:03 AM.
17th November 2014, 10:30 AM |#8  
helloicanseeu's Avatar
Junior Member
Flag Ang Mo Kio
Thanks Meter: 1
 
More
worked with htc 816 running indian stock, which still has no s-off at the moment,
had to go to twrp recovery terminal command, to make the symbolic links or move directories....
viper4android made a lot of difference in this particular model.
the next thing would be to make viper4a a system app, since it tended to close and thus lower the volume, usually after some time.
17th November 2014, 11:53 AM |#9  
One-M8-Master's Avatar
Senior Member
Flag Hannover
Thanks Meter: 2,869
 
More
Quote:
Originally Posted by helloicanseeu

worked with htc 816 running indian stock, which still has no s-off at the moment,
had to go to twrp recovery terminal command, to make the symbolic links or move directories....
viper4android made a lot of difference in this particular model.
the next thing would be to make viper4a a system app, since it tended to close and thus lower the volume, usually after some time.

you can try and copy the app or push it in recovery to System/app. if you put it manually in not push via adb be sure to set the right permissions if the recovery doesn't set them automatically ! it should work even without s-off
The Following User Says Thank You to One-M8-Master For This Useful Post: [ View ]
19th November 2014, 05:33 AM |#10  
helloicanseeu's Avatar
Junior Member
Flag Ang Mo Kio
Thanks Meter: 1
 
More
Quote:
Originally Posted by One-M8-Master

you can try and copy the app or push it in recovery to System/app. if you put it manually in not push via adb be sure to set the right permissions if the recovery doesn't set them automatically ! it should work even without s-off

will try to make it work .... meanwhile from what i gathered in a htc 816 facebook group, most indian pple buying this particular model seems to have no clue about making the most out of its audio properties ... the 816's true selling points were its larger 5.5 " size, great audio output, and relatively low cost compared with other htc flagship models.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes