[Windows Mobile Development and Hacking General] A_C:
Readme First

READ ME FIRST BEFORE YOU POST YOUR QUESTIONS

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

Prerequisition:

- WM5 Phone or WM6 Professional devices

- free RAM: ~ 1M for QVGA; ~ 3M for VGA

Installation:

- If you have Slide2Unlock installed, please uninstall it first & then soft-reset.

- After installation, there are 3 shortcuts created under \Program Files\S2U2:

iLock2.lnk - start/stop ilock2.exe (on the 1st run, it runs silently in the background; on the 2nd run, it closes iLock2 & S2U2)

s2u2.lnk - manually start S2U2 (be sure iLock2 is running in the background, otherwise the Battery status will not be updated).

s2u2 Settings.lnk - change the settings of S2U2.

s2u2 Settings(dd).lnk - change the settings of S2U2, but run in DirectDraw mode.

- A shortcut for iLock2.exe is created automatically under "\Windows\StartUp" as well.

- Installation on Storage Card is not supported (for the sake of stability).

- There are 2 clock font files for selection - clock.zip (default) & clockH.zip. How to use?

1. stop iLock2

2. delete those files under \GFX\Clock (under the installed folder)

3. copy the extracted files to \GFX\Clock

4. start iLock2

- For hi-res devices, please extract files (follow the above steps) from either vclock.zip or vclockH.zip & copy them to \GFX\Clock under the installed path. Otherwise the clock will be shown as half-sized.

- 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

Configuration: (in the Registry under \HKEY_CURRENT_USER\Software\A_C\S2U2. Please remember to RESTART iLock2 after any registry settings changed, otherwise it won't work):

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

- Through the lang.ini, the 3 default selections of DateFormat & TimeFormat can be customised. They are s_DefaultDateFormat1~3 & s_DefaultTimeFormat1~3.

- For advanced users, you can edit the registry directly. The default values are added on the first run of iLock2:

ACBlankOnTalk=0

ACBlankScreen=0

ACIdleStart=0

ACOffLCD=0

AppointmentTimeFormat=h':'mmt

Autostart=1

BlankOnTalk=0

BlankScreen=0

CallerID=0

DateFormat=dddd', 'd MMMM

DirectDraw=0

DpadOn=0

IdleStart=0

NoPowerSuspend=0

OffLCD=17

PhoneNoFormat=

SafeMode=0

ShowAlarm=1

ShowAppointment=0

ShowTask=1

Slide2Answer=0

TimeFormat=H':'mm

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

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

Known limitations & FAQs:

- How to change wallpaper?

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

- How to edit the registry?

- You need 3rd party software like "Task Manager" & "Total Commander". Try to google them & they are very user friendly apps.

- After changing the registry settings, iLock2/S2U2 do not behave as instructed??

- Pls RESTART iLock2 after any registry settings is made.

- If "Password/Pin Lock" or "Owner Information" are enabled to display at wake up, S2U2 may cause the screen flicker?!

- Pls disable these functions. Besides, it'll break the CallerID function!

- When system notifications come in (e.g. SMS, email or alarm...), S2U2 will be unlocked?!

- Yes, otherwise you will not be notified. But S2U2 will reappear after these notifications are dismissed.

- My device's special Keys are not blocked by S2U2?! (e.g. HTC Touch, the camera key on some devices...)

- This is a device specific problem that cannot be resolved.

- The quality of the CallerID pic is so bad even the original photo is in high quality?!

- DO NOT use the system contact to add photo to a contact. Use other s/w like Inesoft Address Book or PocketCM to do so.

- How to mute an incoming call when CallerID is enable?

- PRESS the volume up/down keys.

- After soft-reset, the first call's callerID is not shown sometimes?

- It's an OS issue, no solution yet.

- How to restore the system caller tab?

- set CallerID to 0 or uninstall S2U2, then soft-reset.

- Some keys are not blocked?

- Please check if you have installed any key mapping s/w that will break S2U2.

- My device shows a blank/black screen on start? (SX66, Xda IIs (Blue Angel / Himalaya))

- It's not compatible with S2U2. It's a h/w problem. Try to turn on the DirectDraw option:

1. make sure your device is in Portrait mode

2. create a shortcut for "s2u2 Settings.exe"; add -ddraw command switch (or you may use the installed file "s2u2 Settings(dd).lnk", but it assumes the installed path is \Program Files\S2U2")

3. run it

4. check option "Direct Draw" (at the bottom) is turned on

5. save the settings & run S2U2

- Some of my scheduled tasks did not run as schedule, but it'll start when manually turn on the device?

- Try to set OffLCD longer (17 seconds or more).

- Some of my device's background jobs (like email sync or bluetooth connection) stopped unexpectedly when S2U2 is running?

- Try to enable NoPowerSuspend.

- NOT Compatible s/w: AEButton, WA3, RealVGA

Trouble shooting:

If you find your device is hang with a blank screen or no response with any key or screen-touch, you may not need to reset it. Please follow these steps if your device has a camera button:

- press the camera button to invoke the built-in camera program

- press the end call button to go back to Today screen

- use Task Manager (a third party freeware; highly recommended) to close the S2U2.EXE

Special Thanks:

- Forum fellows at xda-developers (http://xdaforums.com). Thank you for your testings, comments, supports & patience.