How to Root Android Wear 5.0.1 Lollipop Devices – XDA TV

The Lollipop update for Android Wear devices has hit the market and people are … more

Android 5.0.2 and New Factory Images For Nexus 7 (Wi-Fi) Available

Android 5.0 is has been publicly available since early November, and the … more

Github Tutorial App Shows You How to Use… Github

Github can get pretty complicated and using it can become quite daunting, especially … more

Google Glass-like Clip-On For Regular Glasses Developed by Sony

For the price of $2,000, a pair of glasses that can run apps, take pictures, … 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
Thread Closed

(18 June 2008) S2U2 v1.05 - new page


1st April 2008, 12:50 PM   |  #1  
A_C's Avatar
OP Senior Member
Thanks Meter: 5
1,364 posts
Join Date:Joined: Jan 2007
Hey guys,

Although S2U2 is now called v1.05, it doesn't mean it can be 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. And it's has a CallerID function (but some devices may not work, so please try it first); and S2P control plugin.

- WM5 Phone or WM6 Professional devices
- free RAM: at least 1M for QVGA; 3M for VGA

Changes of v1.05
- fixed the bug introduced in v1.02 that the clock did not update occasionally on device wake up;the idle time out occasionally malfunction; and the wallpaper did not change occasionally.
- the total unread count for FlexMail now reads to a maximum of 10 storages.
- fixed the bug that displayed night icon for Spb Weather.
- fixed the bug that some devices could not run probably on landscape mode.
- added support to RealVGA.
- added support to WVGA & WQVGA.
- some minor bugs fixed.

Changes of v1.03
- added unread count for Windows Live Messenger.

Changes of v1.02
- added option S2UText to customize the text "slide to unlock".
- added option S2AText to customize the text "slide to answer".
(if you still want to use the old graphics file for the animation, delete the sliden.png under \GFX\)

- added option UnlockSound (must in full path) to play a .WAV file after unlock.
- added option LockSound (must in full path) to play a .WAV file when manually lock the device.
(sample WAV files are attached at the end of this post)
- added option UnlockRunEXE (must in full path) to execute an application after unlock.
(All the above settings can only be modified by editing the registry. Or you may try the apps produced by l3v5y or Grondinm. Thanks both.)
- added option UnlockOnRotate to unlock after the screen is rotated; default is 0 (disabled). 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).
- added option S2AAnsKey to enable the ANSWER key even "slide to answer" is activated; default is 0 (disabled).
- added option WakeupDelayMS to add a delay (in ms) to start S2U2 when the device is woke up; default is 100ms. For SPB Mobile Shell user, a longer delay time is required, e.g. 300ms to let the S2U2 to lock the Now screen.
- added unread count for FlexMail.
- the DPAD Up/Down can only used to mute the incoming ring/vibration when DpadOn is enabled.
- the closing message of iLock2.exe is now self-closing in 3 seconds.

CAB files

Language Pack (Afrikaans, Arabic, Chinese (Simplified & Traditional), Czech, Danish, Dutch, French, FYROM, German, Greek, Hebrew, Hungarian, Indonesian, Italian, Japanese, Korean, Norwegian, Polish, Portuguese, Portuguese BR, Romanian, Russian, Slovak, Slovenian, Spanish, Swedish & Turkish) Most of them are still not completed yet. Read the LangReadme.txt for the changes. Please let me know if you can complete them.

Clock Pack

Reset Unread Count
It's attached ( 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.

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. Please give me a little respect. Thanks.)

- Use the "s2u2 Settings.exe" to change the settings.

- 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)
  • 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)
  • ShowAppointment=0 (show the next today or tomorrow's appointment information; 0 to disable)
  • ShowTask=1 (show the total no of active tasks; 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)
  • 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)
  • S2AEndKey=1 (when Slide2Answer is enable, allow END key to decline a call; 0 to disable)
  • PhoneNoFormat= (the format of the incoming phone no.)
  • 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; 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)
  • 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)
  • DirectDraw=1 (run in DirectDraw mode; 0 in Raw Buffer 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)
  • S2UText=slide to unlock (customization)
  • S2AText=slide to answer (customization)
  • 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))
  • WakeupDelayMS=100 (delay (in ms) to start S2U2 when the device is woke up. For SPB Mobile Shell user, a longer delay time is required, e.g. 300ms to let the S2U2 to lock the Now screen)
- 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.
Attached Files
File Type: cab - [Click for QR Code] (1.8 KB, 13465 views)
File Type: zip - [Click for QR Code] (164.0 KB, 48415 views)
Last edited by A_C; 17th June 2008 at 06:15 PM.
1st April 2008, 12:51 PM   |  #2  
A_C's Avatar
OP Senior Member
Thanks Meter: 5
1,364 posts
Join Date:Joined: Jan 2007
Readme First
- If you have Slide2Unlock installed, please uninstall it first & then soft-reset.

- Under your PC/MAC/device, extract the content of the downloaded file & copy the CAB file to your device.

- Under your device, run any File Explorer application; go to the folder where the CAB file is copied; run the CAB file.

- For hi-res devices, d/l the S2U2ClockPack.rar & follow the steps in the ClockReadme.txt. Otherwise the clock will be shown as half-sized.

- For additional clock fonts, d/l the S2U2ClockPack.rar & follow the steps in the ClockReadme.txt.

- For non-English devices, d/l the S2U2LanguagePack.rar; extract your language's ini file; rename it to lang.ini; copy to the S2U2 installed folder; restart iLock2.

Known limitations & FAQs:

Q. Do I have to install the old version before using this version?
A. No.

Q. How to use the .CAB file?

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 apps.

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".

Q. S2U2 consumes a lot of power?!
A. Make sure there is no music player running in the background.

Q. If "Password/Pin Lock" or "Owner Information" are enabled to display at wake up, the screen may go ALL BLACK?!
A. Tap the screen to refresh the screen.

Q. When system notifications come in (e.g. SMS, email or alarm...), S2U2 will be unlocked with a black background?!
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 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. The ShowAppointment does not show all my today's appointments?
A. Yes, only ONE appointment (the closet) & ONE day event will be shown.

Q. Does the CallerID support Video Call?
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) or PocketCM 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.

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

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.

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 have a transparent wallpaper so that the Today screen will be shown instead?
A. NO.

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.

Q. When ShowWeather set to HTC Weather, it does not show any icon?
A. You're probably running a custom-made HTC Home plugin. Try to figure out where the plugin is installed (e.g. \HTCHome\), then copy all HH_Weather_XXsmall.png files to \Windows\. Restart iLock2.

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

Q. Why there is no current weather info shown?
A. Because S2U2 only shows TODAY's FORECAST info from other weather applications.

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

Special Thanks:
- All the donators for your kindly supports.
- Forum fellows at xda-developers ( Thank you for your testings, comments, supports & patience.
Last edited by A_C; 17th June 2008 at 05:03 AM.
1st April 2008, 12:52 PM   |  #3  
Senior Member
Thanks Meter: 3
139 posts
Join Date:Joined: Jun 2007
thank goodness this is no april fools!

I was fearful someone had an awful sense of humor.

edit: still wish there was a slide to view for text messages, cause that's still sticky to either auto-unlock the screen or not have a notification... maybe 2.00!?
Last edited by lazyboy0172; 1st April 2008 at 12:58 PM.
1st April 2008, 01:02 PM   |  #4  
mugglesquop's Avatar
Senior Member
Flag UK
Thanks Meter: 8
1,497 posts
Join Date:Joined: Oct 2007
lol very nice, havent been using S2U2 for a while... might have to go back to it now
1st April 2008, 01:06 PM   |  #5  
abdelamine's Avatar
Flag blida
Thanks Meter: 0
90 posts
Join Date:Joined: Aug 2006
thank you for your hard work A_C
1st April 2008, 01:21 PM   |  #6  
Junior Member
Thanks Meter: 1
16 posts
Join Date:Joined: Jul 2007
Red face
Very good !
Thanks !

But I have found a bug !

When you put your finger on the slide button, after you move top. The slide button is always linked to your finger, if you move right, it will unlock the phone...

I speak english very bad ! Sorry ! Have you understood ?
1st April 2008, 01:39 PM   |  #7  
eumel79's Avatar
Thanks Meter: 2
91 posts
Join Date:Joined: Jan 2008
Great Work, A_C!
1st April 2008, 01:43 PM   |  #8  
Senior Member
Thanks Meter: 3
144 posts
Join Date:Joined: Jan 2006
HTC Weather

I was using the .99 version and the same has happened in this version. I have been trying to work out and how to have the weather screen working. I Use HTC Weather, the default weather program. I followed the instructions of putting the small.png in the windows folder. It still does not read the icons!

How am I able to rectify this. I have searched everywhere, and been working on this for a 5 days now!

Has anyone any suggestions. I cannot believe I am the first person on original ROM, and default weather......

Kind Regards,

1st April 2008, 02:30 PM   |  #9  
Junior Member
Thanks Meter: 0
5 posts
Join Date:Joined: Jan 2008
A problem here with S2P integration.

I use S2U2 without the "slide to unlock" in the bottom, I use d-pad to unlock.

But when S2P is launched, d-pad is the next track button. So it's just impossible to unlock the phone ...

Thank you (I'm using a LG KS20).
1st April 2008, 02:36 PM   |  #10  
Thanks Meter: 0
58 posts
Join Date:Joined: Dec 2004
S2P integration is wonderful!!!
When i unlock the phone with s2p in background it return to today screen and s2p is minimized.
Is possible to have s2p always in foreground when i unlock the phone with s2u2???

Thank you in advance.

Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes