View Single Post
  #1 (permalink)  
Old 12-15-2008, 10:33 PM
volDeus's Avatar
volDeus
PPCGeeks Regular
Offline
Location: Las Vegas, Nevada
 
Join Date: Jun 2007
Posts: 171
Reputation: 305
volDeus is becoming a PPCGeeks regularvolDeus is becoming a PPCGeeks regularvolDeus is becoming a PPCGeeks regularvolDeus is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to volDeus Send a message via Skype™ to volDeus
S2U2 and Gyrator2 on TP .. my setup

I have been playing with my Raphael for about two weeks now and the last two days I've been tweaking settings for S2U2 and Gyrator2 ...
I just got them configured the way I wanted and thought I would share my setup in-case anyone was having problems getting these apps to play nice or just wants some ideas to make them more productive ...

I've tested this on the stock Sprint ROM and on no2chem's 2.17 with no problems ... Hibby's 2.17 however doesn't seem to be working with the "Lock when screen turns off" option ...


First off ... make sure you have the newest version of both apps since some issues that have been recently fixed will cause lots of trouble if you try to use an older version ...
I'm using Gyrator2 2008.12.10 r1 and S2U2 1.36 ...

The latest release of Gyrator2 is always available at the author's site here http://gyrator.brins0.net/?page=downloads
Likewise, you can find the latest version of S2U2 at it's author's site here http://www.ac-s2.com download the version for VGA devices.

Remember if you like these apps and plan on using them long-term you should donate ... brins0, A_C, and other authors like them work very hard with little or no return to bring the community great software and keep it up to date ...


We will start with S2U2 ... Once it's successfully installed, run S2U2Settings (Start\Programs\S2U2\S2U2Settings) and start rooting around ...
The settings I found to be important are as follows:


Lock when device wakes up: ON
When this option isn't turned on S2U2 doesn't seem to like starting up after you have suspended your TP with the power button ... I rarely use the power button to suspend with my setup but I kept this on for versatility ...

Lock when screen is blank: ON
This is the main trigger we use to lock our TP ... I've noticed that locking by turning off the screen rather than suspending the device makes S2U2 display much faster on wake up and prevents sluggish animation or sliding response ... I assume this is because S2U2 is being executed before the device suspends rather than after it wakes up ...

On Battery Power: Power off in: ??s
This setting doesn't have to be exact as long as its not set to OFF ...

On Battery Power: But blank screen only: OFF
Since we are triggering S2U2 most of the time by just turning off the screen, we need to use this option to make sure S2U2 suspends the device completely ...

Ignore screen rotation: ON
This option isn't completely neccessary but I personally think it makes the whole setup respond alot cleaner ... It allows Gyrator2 to bring your screen back to the orientation your holding it in after having left your pocket or case, without making S2U2 hang up forever trying to redraw itself after rotations ...

On wake, delay the start of S2U2: 500ms
Leaving this option at the default 500ms delay helps prevent some cases where S2U2 re-locks itself immediately after unlocking. It also helps with keeping everything clean and snappy in regards to the rotation issue above ...

We can now save and exit S2U2Settings and do a quick registry edit to remove Internet Explorer from the exception list ...
Open your favorite registry editor and find HKEY_CURRENT_USER\Software\A_C\S2U2 ...
Look for the values titled ExceptionEXE0 through ExceptionEXE9 ... one of them has the data "iexplore.exe" ... Replace the entry with a blank string and update the registry ...
I'm not sure what A_C's original intention was when including Internet Explorer in the list but I removed it since Internet Explorer would otherwise have to be closed for the setup to react correctly ...


Now that we have S2U2 set up correctly we can move on to Gyrator2 ... Once it's successfully installed, run it (Start\Programs\Gyrator2), open the menu on the lower right, and tap events ... Once you have the event screen opened you can add/edit/remove/reorder all the events by tapping and holding on the event name or the background ...
Heres a rundown of the events I have set and thier order:


Hang up phone and lock: Orientation event.
-Application: Phone
-Orientation: reverse-portrait and face-down.
-Actions: Simulate keypress and Turn screen off
-Advanced: 115
This event hangs the phone up and locks when the phone is turned face-down or upside-down ... This only differs from the included default event in that it is triggered when face-down also, and it turns off the screen to trigger S2U2 ... Unfortunately S2U2 is only triggered if it was running when the call came in, I'm not sure of the reasons but I have a theory if anyone is interested ... Even with the small limitation this event is still very useful ...

Reject call and lock: Orientation event.
-Application: Phone - Incoming
-Orientation: reverse-portrait and face-down.
-Actions: Simulate keypress and Turn screen off
-Advanced: 115
This event is very similar to the previous except that it rejects an incoming call ...

Answer call: Orientation event.
-Application: Phone - Incoming
-Orientation: portrait
-Actions: Simulate keypress
-Advanced: 114
This is a default included event that answers an incoming call when you rotate to portrait. I changed the name and corrected the application string only ... Unfortunately this event is not triggered if "Reject call and lock" is enabled so you will have to decide which one is more important to you ... This is due to the way that Gyrator2 handles events, hopefully with a bit of feedback, brins0 can give us more options in the future that will allow both ...

Lock: Orientation event.
-Application *
-Orientation: reverse-portrait and face-down.
-Actions: Turn screen off
This event turns the screen off (and triggers S2U2) when you place your TP face-down or upside-down ... I used these orientations in this and the first two events because I always put my mobile devices into my pocket or case upside-down and I can't think of any situation where you would have it face-down and still be using it ...

Disable (Opera)
Disable (Manilla)
Disable (Teeter)
Disable (YouTube)
Disable (Camera)
These are all included default events that I did not alter ...

Rotate: Orientation event.
-Application: *
-Orientation: portrait, landscape, and reverse-landscape
-Actions: Rotate screen
This is the default included event that rotates the screen after all other events have been parsed ... I removed all but the three orientations listed above to help prevent any other lag or mis-rotation issues ...


To simplify things for anyone who wants to use my event list exactly I'll include the contents of my Events.ini file ...

Hang up phone and lock,Phone ,1,20,160,,115
Reject call and lock,Phone - Incoming,1,20,160,,115
Answer call,Phone - Incoming,1,1,132,,114
Lock,*,1,20,32,,0
Disable (Opera),Opera,1,1,1,,0
Disable (Manila),Manila,1,1,1,,0
Disable (Teeter),TEETER,1,1,1,,0
Disable (YouTube),HTCYOUTUBE,1,1,1,,0
Disable (Camera),IACSP20_Main,1,1,1,,0
Rotate,*,1,11,1,,0



Now a few miscelanneous system settings to finish it all off ...

Start\Settings\System\Key Lock: Do not lock buttons
This setting allows you to wake your TP up with any button press instead of having to press the power button ... I usually use the dpad-ok button to wake my TP so that I don't have to use two hands or reposition it multiple times with one ...

Start\Settings\System\Power\Advanced\On Battery Power:
-Turn off backlight if device is not used for: UNCHECKED
-Turn off device if not used for: 2 min
These settings are a matter of preferance but I included them anyway


The Conclusion!!!

So thats it ... have fun ...
Remember if something isn't responding the way it should, try to soft-reset ... Many times during my adventure I hit a wall and a soft-reset was the cure ...

Hopefully this has been useful to someone .... If anyone notices errors or has something to add please do, and if neccessary, I'll edit this post ...
__________________
---- volpe Deus ---- Device: HTC RhodiumW (Sprint Branded) ROM: Under Construction -- Radio: Sprint 2.32.00WF -- PRL: 60660 -- OS: WM6.5 b23554 -- GUI: Sense 2.5.2012 --
Reply With Quote
This post has been thanked 3 times.