If you want to use custom message on your iphone screen with Server Lock Example, here is how you do it. (My phone is 3G, firmware 2.2.1)
First download a Terminal app, then download vim (or any text editor). Assuming you have Winterboard and have Server Lock Example turned on, we are now ready to go!
Run Terminal, then
cd /Library/Themes/Server Lock Example.theme/
Run “ls -l“, you will see that there is a file called LockBackground.html. However it is owned by “root”, and you are “mobile”. So, let’s su as root then. The password is “alpine”.
Run “vim LockBackground.html“.
Here due to the limited keyboard, the arrows keys are gone along with other important keys such as the ESC key. Luckily I found ways around it. You will see this file:
You can see that the message “This doesn’t really do anything yet, but it /did/ get loaded off the server ;P. (Awesome, huh?)” is from http://cydia.saurik.com/lock/. Well, what do you think? Change that link! 😉
Let’s just say you want to change that link to http://www.myWebsite.com/lock/, because this link will display something cool! (Or you can display some contact info in case you misplace your phone).
To move down, press “return“. When you get to that line, press space to move right. When you are on the letter “c”, press “x” to delete until you have “http://.com/lock”. Now press “i” to go into insert mode. Then type carefully “www.myWebsite”.
After that, you need to quit the insert mode. Poor me I couldn’t find the ESC key. But if you use your finger to press the terminal, a little keybad thing will show up. These are supposed to be command line shortcuts like grep, find, etc. I went to “find” and the find command typed out for me. So now for some reasons you are out of the insert mode, but with a find command. So, just “x” them until you have your “http://www.myWebsite.com/lock/”, see below.
If you make too many typo, then trigger the find command, then type “:q!” to quit vim so that you can start over. Yeah, start over… ^^;
Once you are done, type “:wq” to save.
So there you have it. A custom message from your own server!
Thx to http://www.modmyi.com/forums/native-iphone-ipod-touch-app-discussion/349481-server-lock-screen-example-revealed.html and http://www.hackint0sh.org/forum/f127/1323.htm
6 thoughts on “Server Lock Example”
Man, that’s great…Thanks for providing such a good info………
Nice work! I’ll have to do a cross post on this one 😉
Thanks a lot!! a very useful topic!!
I would like to exchange links with your site birdchan.com
Is this possible?
go ahead. 😉
You can actually have any message that you want to be emitted on the iphone.
For example, I have “This iPhone belongs to Krishna Kanth who can be reacned at .com”.
All that you need is to SSH into your iPhone and change the src=”http://cydia.saurik.com/lock/” into src=iPhone.html and place a iPhone.html in the same directory that has the message.
You are good to go ….