Make Your Own Heat Sink for the LG Optimus 4X HD

Its not a rare occurrence that performing a resource heavy task on your Android device (e.g. … more

Learn How to Create an Old School Dialer

XDA is not only a great source for custom ROMs, kernels, and various modifications for numerous … more

USB Desktop Charger Roundup – XDA TV

Sometimes you learn one way to do something, and that’s the way you do it forever. You never … more

Samsung Galaxy Grand Duos Receives Early CM12 Port

Samsung Galaxy Grand is a dual-SIM phone with a 5 screen that was announced two years ago. … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Sweep2wake toggling easily

OP imcoolsj

22nd June 2014, 09:38 AM   |  #1  
imcoolsj's Avatar
OP Senior Member
Thanks Meter: 73
 
182 posts
Join Date:Joined: Apr 2013
please suggest me to toggle s2w easily. I tried few on play store but no luck . please post If u have some . thanks
22nd June 2014, 09:41 AM   |  #2  
shut_down's Avatar
Senior Member
Flag Belgrade
Thanks Meter: 3,514
 
7,682 posts
Join Date:Joined: Sep 2010
More
Quote:
Originally Posted by imcoolsj

please suggest me to toggle s2w easily. I tried few on play store but no luck . please post If u have some . thanks

There is setting in NovaThor app as I remember. If you are on CM based ROM.

I think that you will not find app in Play store for that, because of differend method of implementation of s2w.


If you are on stock:
Find out how Cocafe made those widgets (probably with terminal emulator):



And make one for on and one for off.

Enable/Disable:
Quote:
echo on > /sys/kernel/mxt224e/sweep2wake
echo off > /sys/kernel/mxt224e/sweep2wake
Last edited by shut_down; 22nd June 2014 at 09:46 AM.
The Following User Says Thank You to shut_down For This Useful Post: [ View ]
22nd June 2014, 12:09 PM   |  #3  
imcoolsj's Avatar
OP Senior Member
Thanks Meter: 73
 
182 posts
Join Date:Joined: Apr 2013
thnks for reply. in nova thor setting has s2w on off but what I mean is toggle quickly like a widget. without entering novavthor setting
22nd June 2014, 01:33 PM   |  #4  
shut_down's Avatar
Senior Member
Flag Belgrade
Thanks Meter: 3,514
 
7,682 posts
Join Date:Joined: Sep 2010
More
Quote:
Originally Posted by imcoolsj

thnks for reply. in nova thor setting has s2w on off but what I mean is toggle quickly like a widget. without entering novavthor setting

And as I told, s2w is custom made as I know. With out kernel. I think it is the same as on CoCore, so you can use those widgets (and commands) like on that screenshoot on CM based ROMs too.
22nd June 2014, 04:51 PM   |  #5  
imcoolsj's Avatar
OP Senior Member
Thanks Meter: 73
 
182 posts
Join Date:Joined: Apr 2013
I did. I got this access denide error message
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-06-22-20-11-17.png
Views:	38
Size:	29.3 KB
ID:	2811796  
22nd June 2014, 07:21 PM   |  #6  
shut_down's Avatar
Senior Member
Flag Belgrade
Thanks Meter: 3,514
 
7,682 posts
Join Date:Joined: Sep 2010
More
Quote:
Originally Posted by imcoolsj

I did. I got this access denide error message

Ofcourse, you forgot to use ROOT mode. SU it before using command.
The Following User Says Thank You to shut_down 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