Thread: [HOW TO] Lock Applications
-
06-01-2008, 08:34 PM #1
[HOW TO] Lock Applications
I know that this has always been something people wanted, so I finally decided to do something about it today.
Step 1: download, unzip, and place Lock.app in /Applications
Step 2: install Jiggy.app ang Jiggy runtime from installer
Step 3: open Jiggy.app and navigate to the webpage it displays on your iPod's screen
Step 4: open up the main.js of Lock.app
Step 5: edit lines 174 to 184 so that it has the password you want. ( the default is 1,1,1,1,1,1). The lines should end up like this (with the question marks replaced by one-digit numbers of your choice)
Step 6: edit line 186 so it has the identifier of the app you want to lock. You can find the identifier in the app's Info.plist. The default is MobileAddressBook.Code:if (sc.selectedSegment == ? ) { if (sc2.selectedSegment == ? ) { if (sc3.selectedSegment == ? ) { if (sc4.selectedSegment == ? ) { if (sc5.selectedSegment == ? ) { if (sc6.selectedSegment == ? )
It should look like this:
Step 7: Hide the original of the app you want to lock with poofCode:Application.launchApplicationWithIdentifier("???.?????.???");
DONE
Optional-
1: replace Lock.app's icon with that of the locked app
2: edit /System/Library/CoreServices/SpringBoard.app/English.lproj/LocalizedApplicationNames.strings so that Lock.app's name apperas as the app you wanted to lock. To do this, I would add
(k e y)com.app.lock (/ k e y )
(s t r i n g) Contacts (/ s t r i n g)
(in < brackets)
for it to appear as Contacts on the home screen
Notes-
You can have more than one Lock.app, just make sure that every Lock.app you install has a different name and indentifier in its info.plist
Hopefully someone with more experience than me can take this and make it easier to manage, but this is good for now.
Edit: screenshots attached
Edit2: Update added. The last one only needed a correct last digit to open, this version fixes the problemLast edited by d_sanche; 06-02-2008 at 08:02 AM.

-
The Following 7 Users Say Thank You to d_sanche For This Useful Post:
chronzz (06-02-2008), dragonzzzz (06-03-2008), majl702 (06-05-2008), MattMac (06-03-2008), morphiusrt (06-06-2008), msboy2011 (06-22-2008), rasbill (06-03-2008)
-
06-01-2008, 09:05 PM #2
Bump. Come on, no responses?

-
06-01-2008, 09:44 PM #3
I dont think anyone has responded because its not so user friendly. I mean to me, it is, if i ever wanted to lock my apps, but to others who need a quick solution this isnt it. Simply poofing the app seems adequate and simple enough to me.
-
06-01-2008, 09:45 PM #4
Sounds like too much work. And what if someone just unhide it? Insecure.
-
The Following User Says Thank You to asmodeus_dhoine For This Useful Post:
denyewest (06-12-2008)
-
06-01-2008, 09:52 PM #5
Ya, I'm sorry I couldn't make it simpler. Maybe someone with more experience could build onto it. If you're worried about poof, you could hide your apps manually by editing the info.plist. Or just lock poof.
Last edited by d_sanche; 06-01-2008 at 09:54 PM. Reason: spelling

-
The Following User Says Thank You to d_sanche For This Useful Post:
denyewest (06-12-2008)
-
06-01-2008, 10:26 PM #6
i think i'll lock my texting but thats it... i agree with the aforementioned
-
The Following User Says Thank You to Ximpostrxx For This Useful Post:
denyewest (06-12-2008)
-
06-01-2008, 10:38 PM #7
seems like a great idea but would be alot better if it was as simple as picking a program, setting a password and locking it
-
06-01-2008, 11:48 PM #8
Very nice
Last edited by tombonez; 06-02-2008 at 01:23 AM.
-
06-02-2008, 12:33 AM #9
A bug has been brought to my attention where you only need to know the last number to gain access to the locked apo. I have fixed this problem, but I will have to upload the updated app tomorrow

-
06-02-2008, 12:01 PM #10What's Jailbreak?
- Join Date
- Nov 2007
- Location
- Bradenton, FL
- Posts
- 15
- Thanks
- 0
- Thanked 1 Time in 1 Post
I think I would be into this but not without making it a seperate app with a user friendly gui.
-
06-02-2008, 01:41 PM #11
Thanks d_sanche.
It's a good start. Too bad I don't know how to do this to my phone because I would definitely attempt this. I guess I'll just have to wait for a user-friendly GUI version.
-
06-02-2008, 09:20 PM #12Livin the iPhone Life
- Join Date
- Jul 2007
- Location
- Los Angeles
- Posts
- 1,339
- Thanks
- 18
- Thanked 70 Times in 62 Posts
where is the noob friendly version?
mod edit, old signature removed
-
06-02-2008, 10:43 PM #13Livin the iPhone Life
- Join Date
- Mar 2008
- Location
- Orange County, CA
- Posts
- 1,463
- Thanks
- 127
- Thanked 89 Times in 64 Posts
if you could get some help from a dev and make a gui version, im sure a lot of people would like this

-
06-02-2008, 10:46 PM #14My iPhone is a Part of Me
- Join Date
- Nov 2007
- Location
- Las Vegas.
- Posts
- 533
- Thanks
- 39
- Thanked 61 Times in 37 Posts
Thanks bro, i don't think it's really that difficult, i already locked all of my apps i wanted to be locked in a matter of 10 minutes =]
A Thanks is always nice =]
-
The Following User Says Thank You to zsuns For This Useful Post:
d_sanche (06-02-2008)
-
06-02-2008, 10:47 PM #15iPhone? More like MyPhone
- Join Date
- Oct 2007
- Location
- Houston
- Posts
- 215
- Thanks
- 25
- Thanked 81 Times in 61 Posts
Pretty cool but too much work. Good work though man

-
06-02-2008, 10:58 PM #16My iPhone is a Part of Me
- Join Date
- Nov 2007
- Location
- Las Vegas.
- Posts
- 533
- Thanks
- 39
- Thanked 61 Times in 37 Posts
Anyone upp to compiling this into one simple app. ?
A Thanks is always nice =]
-
06-03-2008, 12:10 AM #17
this is fantastic, just what i wanted, the only thing i ask is if you can make the password a text entry box, because this is just to visual, people can clearly see my password as i enter it.
-
06-03-2008, 04:16 AM #18
I am with rasbill
and I hope to see a GUI version soon
iPhone 4GB [1.0.2 OTB]
2.2 Bootneutered and QuickPwned!
-
06-03-2008, 07:41 AM #19My iPhone is a Part of Me
- Join Date
- Dec 2007
- Location
- Nar Nar Goon, Victoria, Australia
- Posts
- 741
- Thanks
- 83
- Thanked 88 Times in 71 Posts
Great job.
Finally someone has managed to make this app. Although it requires an amount of user programming, a GUI is defiantly not hard to make from here. Get onto some devs if you need a hand. They would be glad to help.
Thanks for the time put into this. I'm sure once the wrinkles are ironed out you'll be quite respected by many!16GB iPhone 3G
2.2 Pwned
Dedicated Cydia User
2.2 GHz Intel MacBook
Mac OS X 10.5.5
Bootcamp w/ Windows XP
-
06-03-2008, 08:55 AM #20My iPhone is a Part of Me
- Join Date
- Dec 2007
- Location
- East Texas
- Posts
- 972
- Thanks
- 14
- Thanked 110 Times in 79 Posts
here here! Sweet start! people have been bugging the devs for an app like this for a long time. Congrats to you for finally making one.



LinkBack URL
About LinkBacks
Reply With Quote


