Home » Featured, Hacks

[How-to] Customizing the “Swipe-to-unlock” screen

31 January 2012Entry by

Check out our new page Funny LOL Pictures (click here) – it brings you daily funny pictures that will make you LOL!



Note: the steps we go through this how-to include modifying low-level system files and imply that the readers know what they are doing. If you can’t understand some bits or think you might break something, you might want not to try this hack.

Interested in further customization of your N900? Then let’s take a look at how to change that “Swipe to unlock” screen that appears when you press the powerkey with screen locked.

The files we’re interested in are located under two directories:




Now, the files are lockslider.png, which is a background image located in the first directory mentioned; LockSliderTop/Bottom/Left/Right.png, which are the backgounds for the slider itself and are located in the second directory mentioned; and, finally, LockSliderThumb.png and LockSliderPortrait.png, which are the images for the slider button in landscape and portrait mode. These are also in the second directory mentioned.

You know the file names now, so you’d want to get creative and make substitutes for those originals! Back them up, if you need it.

Use the original files as a base, you need to be sure the image sizes match. That is, lockslider.png needs to be 800×480, other files need to be the same size as their originals. Check out this custom set for further example.

As soon as you finished creating your files, drop them all to their respective directories and reboot your phone.

  cp -f lockslider.png  /usr/share/themes/alpha/backgrounds/

cp -f LockSlider*.png /usr/share/themes/alpha/images/

sudo gainroot


Enjoy your new custom Swipe-to-unlock screen!


Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.