HomeStoreForumsWikiiPhone Native AppsiPhone Apps modmyifone Downloadsmodmyifone Links





Free 3G iPhone Contest!
Unlocked Cell Phones

Go Back   iPhone Forums at ModMyiFone.com - iPhone | iPod Touch, news, apps, themes. > IPHONE > File Mods
Register FAQ Members List READ THIS Today's Posts Mark Forums Read

File Mods Discussion on possible mods to files on the iphone to accomplish different goals.


iPhone Optimized MMi | Browser Optimized MMi | Work Opportunities at MMi - updated 6/29/08

Get more out of ModMyiFone by joining our free community. By registering you get privileges to download files from our downloads section and you may also post your questions in our forums! It's fast, free, and easy!

3G iPhone Local Launch Parties | 1.1.4 Unlock|Jailbreak OS X / Win | Win Free 3G iPhones!
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-01-2008, 08:34 PM
Green Apple
 
Join Date: Oct 2007
Posts: 35
Thanks: 12
Thanked 10 Times in 4 Posts
[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)
Code:
if (sc.selectedSegment == ? )
{
 if (sc2.selectedSegment == ? )
{
 if (sc3.selectedSegment == ? )
{
 if (sc4.selectedSegment == ? )
{
 if (sc5.selectedSegment == ? )
{
 if (sc6.selectedSegment == ? )
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.
It should look like this:
Code:
Application.launchApplicationWithIdentifier("???.?????.???");
Step 7: Hide the original of the app you want to lock with poof

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 problem
Attached Thumbnails
   
Attached Files
Lock.zip (8.9 KB, 37 views)
__________________
http://www.modmyifone.com/forums/image.php?type=sigpic&userid=62805&dateline=120630  7206

Last edited by d_sanche; 06-02-2008 at 08:02 AM.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
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)
  #2 (permalink)  
Old 06-01-2008, 09:05 PM
Green Apple
 
Join Date: Oct 2007
Posts: 35
Thanks: 12
Thanked 10 Times in 4 Posts

Bump. Come on, no responses?
__________________
http://www.modmyifone.com/forums/image.php?type=sigpic&userid=62805&dateline=120630  7206
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3 (permalink)  
Old 06-01-2008, 09:44 PM
iPhone? More like MyPhone
 
Join Date: Mar 2008
Posts: 142
Thanks: 6
Thanked 28 Times in 14 Posts

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.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4 (permalink)  
Old 06-01-2008, 09:45 PM
What's Jailbreak?
 
Join Date: Mar 2008
Device + Firmware: iPhone 1.1.4
Operating System: MS Vista Home Premium
Posts: 20
Thanks: 1
Thanked 1 Time in 1 Post

Sounds like too much work. And what if someone just unhide it? Insecure.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to asmodeus_dhoine For This Useful Post:
denyewest (06-12-2008)
  #5 (permalink)  
Old 06-01-2008, 09:52 PM
Green Apple
 
Join Date: Oct 2007
Posts: 35
Thanks: 12
Thanked 10 Times in 4 Posts

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.
__________________
http://www.modmyifone.com/forums/image.php?type=sigpic&userid=62805&dateline=120630  7206

Last edited by d_sanche; 06-01-2008 at 09:54 PM. Reason: spelling
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to d_sanche For This Useful Post:
denyewest (06-12-2008)
  #6 (permalink)  
Old 06-01-2008, 10:26 PM
Green Apple
 
Join Date: Sep 2007
Device + Firmware: 8gb iPhone Unlocked w/ ZiPhone FW 1.1.4
Operating System: Windows XP + Mac OS X Tiger
Posts: 93
Thanks: 8
Thanked 11 Times in 5 Posts

i think i'll lock my texting but thats it... i agree with the aforementioned
__________________
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to Ximpostrxx For This Useful Post:
denyewest (06-12-2008)
  #7 (permalink)  
Old 06-01-2008, 10:38 PM
What's Jailbreak?
 
Join Date: Sep 2007
Posts: 27
Thanks: 0
Thanked 1 Time in 1 Post

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
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #8 (permalink)  
Old 06-01-2008, 11:48 PM
What's Jailbreak?
 
Join Date: Jan 2008
Posts: 12
Thanks: 1
Thanked 4 Times in 4 Posts

Very nice

Last edited by tombonez; 06-02-2008 at 01:23 AM.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #9 (permalink)  
Old 06-02-2008, 12:33 AM
Green Apple
 
Join Date: Oct 2007
Posts: 35
Thanks: 12
Thanked 10 Times in 4 Posts

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
__________________
http://www.modmyifone.com/forums/image.php?type=sigpic&userid=62805&dateline=120630  7206
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #10 (permalink)  
Old 06-02-2008, 12:01 PM
What's Jailbreak?
 
Join Date: Nov 2007
Device + Firmware: 8gb iPhone, 1.1.4 jailbroken on at&t
Operating System: HP laptop dual booting Vista and Leopard
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.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #11 (permalink)  
Old 06-02-2008, 01:41 PM
What's Jailbreak?
 
Join Date: Dec 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts

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.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #12 (permalink)  
Old 06-02-2008, 09:20 PM
iphonejeff's Avatar
Jeffy the Moderator
 
Join Date: Jul 2007
Device + Firmware: iphone 8g 1.1.4
Operating System: windows xp pro
Location: los angeles
Posts: 1,247
Thanks: 17
Thanked 60 Times in 55 Posts
Send a message via Yahoo to iphonejeff

where is the noob friendly version?
__________________
Jeffy pwns........BEWARE zeal is a noob...


i'm what you call...experienced...
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #13 (permalink)  
Old 06-02-2008, 10:43 PM
Chase817's Avatar
iPhoneaholic
 
Join Date: Mar 2008
Device + Firmware: iPhone 1.1.4 PWNED
Operating System: Mac OS X Leopard
Location: Orange County, CA
Posts: 401
Thanks: 42
Thanked 23 Times in 21 Posts
Send a message via AIM to Chase817

if you could get some help from a dev and make a gui version, im sure a lot of people would like this
__________________
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #14 (permalink)  
Old 06-02-2008, 10:46 PM
iPhoneaholic
 
Join Date: Nov 2007
Device + Firmware: Jailbroken 1.1.4.
Operating System: Windows XP
Posts: 368
Thanks: 31
Thanked 42 Times in 24 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 =]
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to zsuns For This Useful Post:
d_sanche (06-02-2008)
  #15 (permalink)  
Old 06-02-2008, 10:47 PM
dlubbat's Avatar
iPhone? More like MyPhone
 
Join Date: Oct 2007
Device + Firmware: iPhone 16GB 1.1.4 Unlocked & Jailbroken
Operating System: Windows Vista Ultimate & iMac 20" 2.4 GHz 4gb Ram
Location: Houston
Posts: 223
Thanks: 25
Thanked 81 Times in 61 Posts
Send a message via AIM to dlubbat

Pretty cool but too much work. Good work though man
__________________
LINK TO IMAGE
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  iPhone Forums at ModMyiFone.com - iPhone | iPod Touch, news, apps, themes. > IPHONE > File Mods

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

ModMyMoto.com - ModMyGPhone.com - ModMyiFone.com - Managed Dedicated Servers by SingleHop - iPhone Wallpapers - iPhone | iPod touch forums, news, themes, apps, games, unlock, jailbreak community - ModMyiFone.com RSS Feeds - Contact Us - Link to us - Archive - Privacy Statement - - Top
Copyright © 2007-08 by ModMy, LLC. All rights reserved. You may not copy anything on this site unless you link to the original.
All times are GMT -6. The time now is 04:59 AM. Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5
ModMyiFone.com is an independent publication and has not been authorized, sponsored, or otherwise approved by Apple, Inc or Cisco Systems, Inc. The information contained on this site is for educational purposes only.
Forum skin by poetic_folly