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

Status
Not open for further replies.
Search This thread

A_C

Senior Member
Jan 5, 2007
1,364
4
www.ac-s2.com
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.

Prerequisition:
- 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\)
Screen122.png


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

Download
CAB files
http://asapload.com/121076

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.
http://asapload.com/120710

Clock Pack
http://asapload.com/120563

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.

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

Configuration:
- 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.
 

Attachments

  • ResetUnreadCount.cab
    1.8 KB · Views: 13,608
  • LockUnlockSound.zip
    164 KB · Views: 48,532
Last edited:

A_C

Senior Member
Jan 5, 2007
1,364
4
www.ac-s2.com
Readme First

Installation:
- 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:

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

Q. How to use the .CAB file?
A. http://www.google.com/search?q=install+cab

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 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. The ShowAppointment does not show all my today's appointments?
A. Yes, only ONE appointment (the closet) & ONE day event will be shown.

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

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

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.

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 http://xdaforums.com/showthread.php?t=358952

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 (http://xdaforums.com). Thank you for your testings, comments, supports & patience.
 
Last edited:

lazyboy0172

Senior Member
Jun 3, 2007
159
4
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:

dcat

Member
Jul 25, 2007
18
1
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 ?
 
HTC Weather

Hi,

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,

Will
 

dwarfy

Member
Jan 31, 2008
5
0
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).
 

Pandemonium

Senior Member
Dec 15, 2004
58
0
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.
 

TedNet

Senior Member
Jun 10, 2007
50
1
great work... just tested and working fine... now i have a ipod touch look a like.. hehehhe :p
 

!Kernel Panic!

Senior Member
Sep 13, 2007
173
0
Configuration:
- 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
IdleStart=0
OffLCD=17
BlankScreen=0
BlankOnTalk=0
ACIdleStart=0
ACOffLCD=0
ACBlankScreen=0
ACBlankOnTalk=0
DateFormat=dddd', 'd MMMM
TimeFormat=H':'mm
ClockPath=clock\
ShowAlarm=1
ShowAppointment=0
ShowTask=1
ShowWeather=0
AppointmentTimeFormat=h':'mmt
CallerID=0
Slide2Answer=0
S2AEndKey=1
PhoneNoFormat=
Wallpaper=
WallpaperL=
GifSpeed=5
WallpaperChangeTime=0
WallpaperRandom=0
DpadOn=0
NoSoftKey=0
TopCurtain=1
NoPowerSuspend=0
SafeMode=0
DirectDraw=1
KoreanSMSpatch=0
ExceptionEXE0=iexplore.exe
ExceptionEXE1=VoiceCommander.exe
ExceptionEXE2=AlarmPopup.exe
ExceptionEXE3=
ExceptionEXE4=
ExceptionEXE5=
ExceptionEXE6=
ExceptionEXE7=
ExceptionEXE8=
ExceptionEXE9=

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

As always excellent....but I don't have all of the registry settings as posted above in my registry(e.g. ShowWeather = 0 or must I create the missing ones?
 
Last edited:

A_C

Senior Member
Jan 5, 2007
1,364
4
www.ac-s2.com
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).

LOL... with your settings means the DPAD should be reserved to unlock.

Just updated the CAB file & pls redownload it.
 

fmc000

Senior Member
Jan 18, 2008
3,152
1,373
Hi. Quoting the original message:

---------------------------------------
Changes of v1.00
- integration with S2P (v0.38 or later): When S2P is running, the title & album art of the current playback will be displayed on S2U2. Tapping the screen will call up the music control buttions. If DPAD is enabled, the hardware keys (DPAD & volume up/down) will also be functional as on S2P.
---------------------------------------

Unfortunately this does not work for me. With S2P (0.38) running, I let it turn off the device after the timeout. When I turn it on S2P crashes (I can't find it as a running application) and the device is not locked by S2U2.

As usual, S2U2 works perfectly if S2P is not running.

I'm using a Fujutsu-Siemens T830 with un unofficial WM6 ROM.

Please let me know if you need more details.
Regards,
Fabio
 

dolphin91

Member
Jan 4, 2008
16
0
I have a problem with this version : when I reset my device, S2U2 does'nt work :(
I must stop and restart it with Ilock2 and then it's working nice.
But if I stop it with Ilock2 and then restart it I always have the window with the message "S2U2 and ILock2 are stopped" and I must reset my device to have it to work again (after a first stop and restart with ILock2) :(
I'm on a LG KS20.
Thank you for your responses
 

azzambm

Senior Member
Jan 23, 2008
276
0
Syria
Downloading.... Testing...
Thank U very much for your great work...

Feedback:
It's working very smoothly...
And the integration with S2P is Just "Charming"...
 
Last edited:

kwill

Senior Member
Jun 15, 2006
4,375
26
Austin, TX
great work once again AC!! And now that you've integrated S2P, its the best group developed apps I've ever used. THANKS MUCH!!
 

mikewchandler

Senior Member
Nov 16, 2004
127
1
48
I've used S2U and S2U2 off and on for months. Thanks btw :)

Question: Is there anyway to make a transparent screen (so I can see my today screen) with the slider? I'm sorry if this has been asked before.
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Has anyone had the problem I posted earlier? My sound files get cut off, and I wondered if it had to do with the size of them (I posted them as well).

    i downloaded your files and they seem to work for me. i hear goodbye and that was a nice nap. they play the same as if i would play them on my pc. Atho winamp can't play them....i'm not sure why your phone is cutting them...where do they cut off?