FORUMS
Remove All Ads from XDA

(16 December 2008) S2U2 v1.37 - freeware

1,364 posts
Thanks Meter: 5
 
By A_C, Senior Member on 29th July 2008, 06:24 AM
Thread Closed Email Thread
Hey guys,

Although S2U2 is now reached v1.37, it doesn't mean it can run perfectly on your device. Thanks to different devices produced by different vendors. So, please test it before use it everyday, especially the CallerID function.

What is S2U2?
S2U2 (Slide2Unlock2) is a simple lock/unlock application which has the iPhone style slide unlocking. It can be used as a screensaver while you don't use your device. It has a CallerID function (but some devices may not work, so please try it first); S2P control plugin; and volume control.



Prerequisition:
- WM5 Phone or WM6/6.1 Professional devices
- free RAM: at least 1M for QVGA; 4M for VGA

Changes of v1.37
- added support to PocketWeather v2.1 (thanks Adrian).
- fixed the volume keys not functional during a phone call if S2U2's Volume Control is enable.
- fixed the occasional problem that the system alarm did not work.
- fixed the occasional problem that the system CallerID would not be shown even S2U2's CallerID is disable.
- a few minor bugs fixed.
if you encounter the clock displayed abnormally, try the beta build here.
if S2U2 shows a blank screen or not updated screen, try to set the DisplayMode to RawBuffer.


Changes of v1.36
- added option "Unlock to Home screen".
- added option "Ignore screen rotation", i.e. if on, the orientation of S2U2 will not be affected by the system.
- changed option "UnlockOnAC" to "ActionOnAC" - lock/unlock when external power is connected.
- extended the range of "WakeupDelayMS" to 4000ms.
- made the "Change Wallpaper Randomly" more random; but still, it's fake.
- fixed the display displacement problem on devices which have G-Sensor.
- fixed the occasional problem that the wallpaper will not change if a folder is assigned.
- improved the compatibility of DirectDraw (fixed screen not update/blank).
- reduced RAM usage a little.
- a few minor bugs fixed.

Changes of v1.35
- fixed the problem when start-up on Landscape mode on some devices.
- fixed the problem when changing orientation on some devices.
- fixed the occasional problem that the device is not locked when power off.
- improved the compatibility of DirectDraw.
- a few minor bugs fixed.

Changes of v1.33
- added option to automatically close S2P when the headphone (either Bluetooth or wired) is disconnected.
- added optional nopic.png to differentiate no pic caller & unknown caller (unknown.png).
- fixed the display displacement problem on Smartphone & WVGA devices.
- fixed the problem when the lang.ini was too big, some translation phases would be omitted.
- a few minor bugs fixed.

Changes of v1.32
- fixed the issue of Manila 3D Weather.
(if it still not works, in the Weather tab, try to add one more city & update;
if the weather shows in wrong unit, try to change the unit setting in the Weather tab & then change it back;
if still no info shown or shows wrong info, pls read here)

- fixed a few weather display problem.
- when CallerID is set to full-screen, unknown.png will be displayed as its own size.
- a few minor bugs fixed.

Changes of v1.30
- added a new display mode - GDI (removed DirectDraw registry key). If your device has problem (e.g. no display) with RawBuffer or DirectDraw, try this. But on some old devices or VGA devices, it may be very slow.
- added optional "Slide to End" ("CallerID" & "Slide to Answer" must be enabled first).


- added weather support to Manila 2D & 3D.
- added option to delay "Blank screen on Talk".
- added option to unlock when external power is connected.
- added option to automatically run S2P when the headphone (either Bluetooth or wired) is connected.
- added option to unlock when the stylus is pulled out.
- added option to lock when the stylus is put back.
- added option to disable the bottom curtain.
- it now locks the Diamond's Home button (but in another way).
- all graphics support high resolution, i.e. truely VGA. (thanks poorlyduck for helping the artworks)
- changed some graphics elements (e.g. a new battery connector).
- fixed the bug that occasional double lock occurred in v1.22.
- moved the S2UText & S2AText settings from registry to lang.ini (as it's more related to language).
- reduced the memory usage.
- a more logical S2U2 Settings.
- some minor bugs fixed.

Download
http://www.ac-s2.com

Reset Unread Count
It's attached (ResetUnreadCount.cab) at the bottom of this post. If your device has suspicious unknown count of any unread email/vmail/sms/mms, use this CAB file to reset them.

Lock/Unlock Sound Sample

For details, as usual, please read the README or the next post first, especially the Known limitations & FAQs before posting your questions here.

To show your appreciation, pls CLICK HERE to make a donation.

(@ALL LINK POSTERS: I know most of you do not post the donation link on your reposted message. That's fine. But I hope you can at least post the link of this thread so that your visitors know the source of S2U2. Thanks.)

Volume Control shortcut
If you need to manually map a key to invoke the new Volume Control, extract the S2U2-VC.LNK & transfer it to your device's \Windows\Start Menu\Programs\S2U2 (for Non-English device, it varies), then use any key mapping software (some devices have it come along) to map this S2U2-VC to your preferred key.

But it assumes S2U2 is installed at \Program Files\S2U2. You may read HERE for how to create a LNK file.
Attached Files
File Type: zip s2u2-vc.zip - [Click for QR Code] (155 Bytes, 52010 views)
 
 
29th July 2008, 06:25 AM |#2  
A_C's Avatar
OP Senior Member
Thanks Meter: 5
 
More
Command Switch of iLock2:
iLock2.exe accepts the following command switches:
-slide to start/invoke S2U2
-nomsg to not to show any message even it closes itself & S2U2
-refresh to reload the registry settings & restart S2U2
-reset to reset the unread counts of SMS, MMS, email & vmail

Configuration:
- Use the "s2u2 Settings.exe" to change the settings.
(There are some extra options that cannot be changed by "s2u2 Settings" yet, but ichijou-san & mushipkw had made their own programs for them, you may try out here & here. Thanks all of them.)

- Through the lang.ini, the default values of DateFormat, TimeFormat, AppointmentTimeFormat, PhoneNoFormat, Wallpaper (Protrait & Landscape) & ClockPath can be customised. They are s_DefaultDateFormat, s_DefaultTimeFormat, s_DefaultAptTimeFormat, s_DefaultPhoneNoFormat, s_DefaultWallpaper(L) & s_DefaultClockPath.

- For advanced users, you can edit the registry (\HKEY_CURRENT_USER\Software\A_C\S2U2) directly. Please remember to RESTART iLock2 after any registry settings changed, otherwise it won't work. The default values are added on the first run of iLock2:
  • Autostart=1 (start S2U2 when the device is woke up; 0 to disable)
  • BlankStart=0 (start S2U2 when the device's LCD is turned off; 0 to disable)
  • IdleStart=0 (start S2U2 when the device's backlight is turned off; 0 to disable)
  • OffLCD=17 (x seconds after the backlight is off, device will be turned off; minimum is 5 seconds; 0 to disable)
  • BlankScreen=0 (when OffLCD is executed, 1 means do not turn off the device but only turn off the LCD)
  • BlankOnTalk=0 (blank the LCD when the device is making a voice call; 0 to disable)
  • ACIdleStart=0 (same as IdleStart but only effective for external power)
  • ACOffLCD=0 (same as OffLCD but only effective for external power)
  • ACBlankScreen=0 (same as BlankScreen but only effective for external power)
  • ACBlankOnTalk=0 (same as BlankOnTalk but only effective for external power)
  • DateFormat=dddd', 'd MMMM (the format of the displayed date)
  • TimeFormat=H':'mm (the format of the displayed time)
  • ClockPath=clock\ (the path stored the clock graphics file under \gfx\)
  • ShowAlarm=1 (show the next system alarm time; 0 to disable)
  • ShowTask=1 (show the total no of active tasks; 0 to disable)
  • ShowMMS=0 (show the MMS unread count; 0 to disable)
  • ShowWeather=0 (show weather information from: 1 - Spb Weather; 2 - Weather Panel, 3 - Pocket Weather, 4 - HTC Weather; 5 - User-defined Weather; 0 to disable; more details at FAQ)
  • ShowAppointment=0 (show the no. (maximum is 6) of next week appointments information; 0 to disable)
  • AppointmentDays=7 (no. of next days appointment to be shown; maximum is 100 days)
  • AppointmentDateFormat= (the format of the appointment date)
  • AppointmentTimeFormat=h':'mmt (the format of the appointment time)
  • CallerID=0 (the CallerID; 1 - full screen mode; 2 - thumbnail mode; 0 to disable)
  • Slide2Answer=0 (the "Slide to Answer"; 0 to disable; more details at FAQ)
  • S2AAnsKey=0 (when Slide2Answer is enable, disable ANSWER key to answer a call; 1 to enable)
  • S2AEndKey=1 (when Slide2Answer is enable, allow END key to decline a call; 0 to disable)
  • PhoneNoFormat= (the format of the incoming phone no.)
  • ShowBattery=1 (show the full-screen battery only when charging; 0 to disable; 2 to always show)
  • Wallpaper= (the path of the wallpaper or folder of wallpapers in portrait mode)
  • WallpaperL= (the path of the wallpaper or folder of wallpapers in landscape mode)
  • GifSpeed=5 (the display speed of the GIF wallpaper; 1 is the slowest; 10 is the fastest; 0 to use the GIF's origianl speed)
  • WallpaperChangeTime=0 (the no. of minutes to change the wallpaper automatically; 0 to disable)
  • WallpaperRandom=0 (change the wallpaper randomly; 0 to disable)
  • DpadOn=0 (enable the DPAD Right key to unlock, DPAD control when the S2P control plugin is displayed & mute the incoming ring/vibration; 0 to disable)
  • NoSoftKey=0 (display the bottom soft unlock key; 1 to hide)
  • TopCurtain=1 (display the top curtain behind the clock & date; 0 to hide)
  • BottomCurtain=1 (display the bottom curtain behind the slide)
  • NoPowerSuspend=0 (suspend the power by S2U2; 1 to disable; more details at FAQ)
  • SafeMode=0 (run in safe mode; 0 to disable; more details at FAQ)
  • DisplayMode=1 (run in DirectDraw mode; 0 in RawBuffer mode; 2 in GDI mode)
  • KoreanSMSpatch=0 (the Korean SMS patch; 0 to disable)
  • ExceptionEXE0=iexplore.exe (disable S2U2's auto lock when ie is running)
  • ExceptionEXE1=VoiceCommander.exe (disable S2U2's auto lock when Voice Commander is running)
  • ExceptionEXE2=AlarmPopup.exe (disable S2U2's auto lock when Spb's Alarm is running)
  • ExceptionEXE3=SDDialer.exe (disable S2U2's auto lock when HTC's voice dialer is running)
  • ExceptionEXE4=
  • ExceptionEXE5=
  • ExceptionEXE6=
  • ExceptionEXE7=
  • ExceptionEXE8=
  • ExceptionEXE9=
  • ExceptionEXEisFG=1 (exception is checked against foreground application; 0 is checked against both foreground & background application)
  • UnlockSound= (play a .WAV file (must in full path) after unlock)
  • LockSound= (play a .WAV file (must in full path) when manually lock the device)
  • UnlockRunEXE= (execute an application (must in full path) after unlock)
  • UnlockOnRotate=0 (do not unlock after the screen is rotated. It's useful for device with slide-out keyboard. Set to 1 will unlock it when the keyboard is slided out (assume the screen will be rotated as well))
  • ActionOnAC=1 (action when connected to external power; 0 to disable; 1 to unlock; 2 to lock)
  • WakeupDelayMS=500 (delay (in ms) to start S2U2 when the device is woke up. For SPB Mobile Shell user, read FAQ for details)
  • BlankOnTalkDelayMS=300 (delay (in ms) to blank the screen when a phone call is connected)
  • VolumeControl=0 (replace the system Volume Control; 1 to enable)
  • TransparentVC=0 (have a transparent background for the Volume Control; 1 to enable)
  • NoBackLightCheck=0 (not to double check the Backlight when IdleStart is fired; 1 to enable)
  • NoS2P=0 (not to call the running S2P when unlocked; 1 to enable)
  • NoKeyBoardHook=0 (not to use the Keyboard Hook to lock the keys; 1 to enable)
  • StylusOutUnlock=1 (unlock the device when the stylus is pulled out; 0 to disable; only functional if the hardware is supported)
  • StylusInLock=0 (lock the device when the stylus is put back; 1 to enable; only functional if the hardware is supported)
  • Unlock2Home=0 (goto Home screen after unlock; 1 to enable)
  • IgnoreScreenRotation=0 (ignore the system screen rotation; 1 to enable)
- All files under \GFX\ can be modified. To keep the transparent effect of some graphics, the top left corner pixel must be the transparent color; or use the ARGB PNG format.

Command Switch of iLock2:
iLock2.exe accepts the following command switches:
-slide to start/invoke S2U2
-nomsg to not to show any message even it closes itself & S2U2
-refresh to reload the registry settings & restart S2U2
-reset to reset the unread counts of SMS, MMS, email & vmail
29th July 2008, 06:25 AM |#3  
A_C's Avatar
OP Senior Member
Thanks Meter: 5
 
More
Known limitations & FAQs:

General
Q. My device shows a blank/black screen when run S2U2 or "S2U2 Settings"?
A. It's not compatible with S2U2. It's a h/w problem. Try to turn ON or OFF the DirectDraw option:
1. stop iLock2
2. edit the registry, under \HKEY_CURRENT_USER\Software\A_C\S2U2, find the key DirectDraw
3. set it to 0 or 1 (depending on which mode it doesn't work, set an opposite value)
4. start iLock2 & S2U2

Q. How to hide the Date or the Time?
A. Set the DateFormat or TimeFormat to blank; restart iLock2.

Q. How to edit the registry?
A. You need 3rd party software like "Task Manager" & "Total Commander". Try to google them & they are very user friendly.

Q. After changing the registry settings, iLock2/S2U2 do not behave as instructed??
A. Pls RESTART iLock2 after any registry settings is made.

Q. S2U2 always run unexpectedly?
A. Try to disable the IdleStart.

Q. S2U2 suddenly does not start automatically?
A. Check if there is any applications which are included in the ExceptionEXE list are running in the foreground.
A. If you have installed Battery Status, disable the "show Today Screen after wake up".
A. If you have installed Ultimate Launcher, disable "activate plugin on start up".
A. Try to enable the "Don't double check Backlight" in S2U2 Settings.

Q. S2U2 consumes a lot of power?!
A. Make sure there is no music player running in the background.
A. Don't use GIF wallpapers.
A. Don't use a folder of wallpapers.
A. Turn off "Show Appointment".
A. Turn off "Show Weather".
A. Turn on "Don't use Keyboard Hook".
A. Turn on "Ignore screen orientation"
A. If any "auto-rotation" application is installed, please add "S2U2" to it's exception list.

Q. S2U2 sometimes reappear by itself immediately after an unlock?
A. set a longer "WakeupDelayMS".
A. If any "auto-rotation" application is installed, please add "S2U2" to it's exception list.

Q. When system notifications come in (e.g. SMS, email or alarm...), S2U2 will be unlocked?!
A. Yes, otherwise you will not be notified. But S2U2 will reappear after these notifications are dismissed.

Q. S2U2 shows the wrong no. of unread SMS/MMS/email/vmail?!
A. It's a device specific problem. You may reset these counts by:
1. stop iLock2
2. run iLock2 -reset
3. start iLock2
A. You may use the ResetUnreadCount.cab to reset these unread counts.

Q. My device's special Keys are not blocked by S2U2?! (e.g. the camera key on P525 & P535...)
A. This is a device specific problem that cannot be resolved.
A. Please check if you have installed any key mapping s/w that will break S2U2.

Q. I can still activate "Touch Flo" even S2U2 is locked?!
A. Exclude S2U2.exe in the "Touch Flo" setting either by edit the \Windows\Touch Flo\FTouchFloConfig.txt
or edit the registry: go to HKLM\Software\HTC\Biotouch\Disable4SpecificApp; add new key called "S2U2"; in the folder for this Key, add new string value "ClassName" = "S2U2"; softreset the device.

Q. Some of my device's background jobs (like email sync or bluetooth connection) stopped unexpectedly when S2U2 is running?
A. Try to enable NoPowerSuspend.

Q. What is NoPowerSuspend?
A. There is a few options in S2U2 to set when to suspend your device's power. If NoPowerSuspend is set to 1, these options will all be disabled.

Q. What is SafeMode?
A. S2U2 runs in special mode called "unattended mode" so that everytime the power button is pressed, it'll start in the background. If SafeMode is set to 1, S2U2 will not run in "unattended mode".

Q. Some of my scheduled tasks did not run as schedule, but it'll start when manually turn on the device?
A. Try to set OffLCD longer (17 seconds or more) or add it to the ExceptionEXE list as below.

Q. How to configure S2U2 not to start when some applications are running?
A. Edit the Registry, under \HKEY_CURRENT_USER\Software\A_C\S2U2, add key ExceptionEXE0 (STRING) with the name of the application (e.g. iexplore.exe). A total of 10 (0-9) ExceptionEXE can be added. Set ExceptionEXEisFG to 1 for checking it's running in foreground only; while set to 0 for checking it's running in foreground or background. Then restart iLock2.

Q. How to not to display any unread alert?
A. Delete "notice.png" under the \GFX folder; restart iLock2.

Q. How to use the old file "slideanis.png" for displaying the "slide to unlock" animation?
A. Delete "sliden.png" under the \GFX folder; restart iLock2. But the S2E screen will look weird.

Q. How to integrate Spb Mobile Shell with S2U2?
A. http://www.spbclub.com/forum/viewtopic.php?t=17396 (thanks PocketPcUser05)

CallerID
Q. Does the CallerID support Video Call / Skype / PTT (Push-To-Talk)?
A. No.

Q. The CallerID function does not work on my device?!
A. Since there are a lot variables between different devices/environment, it's possible that the CallerID does not work. So if it's the case, disable the CallerID. Otherwise you may don't know who is calling you.

Q. The quality of the CallerID pic is so bad even the original photo is in high resolution?!
A. DO NOT use the system contact to add photo to a contact. Use S2V (Slide 2 View) to do so.

Q. How to mute an incoming ring/vibration when CallerID is enable?
A. Press the Volume Up/Down; or DPAD Up/Down keys when DpadOn is enable.

Q. After soft-reset, sometimes the first call's callerID is not shown?
A. It's an OS issue, no solution yet.

Q. The CallerID is working fine, but after iLock2 is ended, no more CallerID even the system one?
A. The system caller tab is diabled by iLock2. Either restart iLock2 or restore the system caller tab as the next question.

Q. How to restore the system caller tab?
A. Set CallerID to 0 or uninstall S2U2, then soft-reset.

Q. "Slide to Answer" does not work?
A. Firstly, the CallerID must be enable & it works on your device. Secondly, the "Slide to Answer" screen will only appear when your device is locked already by S2U2. Otherwise it only shows a normal CallerID screen.
A. Change the S2U2 settings from "Only Locked" to "Always".

Q. "Slide to End" does not work?
A. Firstly, the CallerID must be enable & "Slide to Answer" & both work on your device. Secondly, the "Slide to End" screen will only appear when your device is locked already by S2U2. Otherwise it only shows a normal CallerID screen.
A. Change the setting of "Slide to Answer" from "Only Locked" to "Always".
A. Do not delete the "sliden.png", otherwise the screen will look weird.

Wallpaper
Q. How to change wallpaper?
A. Create a jpg file with resolution the same as your device (QVGA is 240 x 320; VGA is 480 x 640); rename it to "wallpaper.jpg"; copy it to the gfx folder (default is \program files\s2u2\gfx\); restart iLock2. And the file "wallpaperL.jpg" is for the Landscape mode.

Q. My GIF wallpaper does not shown?
A. Currently, there seems to be a limitation to the size of the GIF file. Sometimes, even your device has enough free RAM, it still cannot be shown. Recommended to reduce the dimension (not the file size) & the no. of frames of the GIF, then try again.

Q. The GIF animation stopped after a certain period?
A. Turn on the GifEndless option.

Q. I've set up a folder of GIF files & set the Wallpaper point to that folder, but S2U2 shows nothing?
A. Wallpaper(L) folder only supports JPG files.

Q. When the wallpaper is set to GIF file, even a small one, the memory usage is very high?
A. Yes, all the frames need to be cached in memory. So the more frames the GIF has, the more memory will be used.

Q. Is it possible to always show the large battery as wallpaper?
A. No, the large battery only shows up when external power is connected.

Q. How to disable the large battery even when external power is connected?
A. Delete "battery1.png" under \GFX folder, restart iLock2.

Weather
Q. My XXX weather application cannot be shown on S2U2?
A. S2U2 only supports Spb Weather (not Traveler; not Shell), Weather Panel, Pocket Weather, HTC Weather, User-defined Weather Manila 2D & 3D Weather.

Q. There is no registry key called UserWeather in my device?
A. Create it (as STRING) by yourself.

Q. How to make use of UserWeather?
A. You have to manually update the registry key UserWeather (STRING) under \HKEY_CURRENT_USER\Software\A_C\S2U2. The format is "icon|index|high temp|low temp" where icon is S, P or W (Spb Weather, Pocket Weather or Weather Panel).
Or "icon|index|string" where "icon" is C (custom), "index" is the weather icon & "string" will be the message displayed underneath the weather icon. e.g. "C|50|Rainning" means the \gfx\weather\50.png icon & "Rainning" will be displayed on screen.
Schettj has created a MortScript to update it through Yahoo's weather, details at http://forum.xda-developers.com/showthread.php?t=358952

Q. Why there is no current weather info shown? Why the weather icon mismatches with HTC Weather or Manila 2D/3D Weather?
A. Because S2U2 only shows TODAY's FORECAST info from other weather applications.

Q. When getting temperature (in Celsius) from HTC Home or Manila 2D, there is always 1 degree discrepancy?
A. That's the bug of HTC Home when converting the readings from Fahrenheit to Celsius.

Q. The Manila 3D Weather info not shown on S2U2?
A. Check if you have added custom city; try to add a non-custom city.
A. Check if you have set the weather to update itself automatically; try different setting.
A. No perfect solution yet.
29th July 2008, 06:30 AM |#4  
Senior Member
Thanks Meter: 63
 
More
awesome! im gonna give this a try asap! thanks for the great work A_C!
29th July 2008, 06:38 AM |#5  
somphon_r's Avatar
Junior Member
Thanks Meter: 0
 
More
Thumbs up Thanks
It works perfectly on my P526. Thank you for your hard work.
29th July 2008, 06:41 AM |#6  
Senior Member
Thanks Meter: 0
 
More
Thumbs up
thank!! can't wait to try.
29th July 2008, 06:45 AM |#7  
Member
Thanks Meter: 0
 
More
Hmm, it turns my screen black when I try to lock it. The locking sound is there but the screen turns black. Tried uninstalling the old version, but still the same. I have the i760 wm6.

Edit: It works now.
29th July 2008, 06:45 AM |#8  
Jackuuuuu's Avatar
Senior Member
Thanks Meter: 0
 
More
3q3q!

Nice work! Testing!
29th July 2008, 06:52 AM |#9  
Senior Member
Flag Philadelphia
Thanks Meter: 2
 
More
thanks buddy..gonna test..
29th July 2008, 06:54 AM |#10  
Junior Member
Thanks Meter: 0
 
More
Smile
great work A_C!
thanks,i like it
29th July 2008, 07:00 AM |#11  
TheChampJT's Avatar
Senior Member
Thanks Meter: 7
 
More
Oh! Great work, downloading now!

One question though, about to check it out, but I noticed with FlexMail, in v1.05, it would show an entire count versus unread only, anyway to change?
Thread Closed Subscribe to Thread

Tags
iphone, lock, love your work a_c!
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes