HomeStoreForumsWikiiPhone Native AppsiPhone Apps modmyi Downloadsmodmyi Links








Android Forum | GPhone Forum

iPhone Poker

Go Back   Apple Forums | ModMyi.com | iPhone, iPod, Mac, OS X, Mods, More > iPhone Modding > 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.


Congrats to the Winners of our Contest

Discuss AppStore Apps! | MMi Cydia Repo Download Stats

Get more out of ModMyI 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!

2.1 Unlock|Jailbreak OS X | iPhone 3G Detailed Review w/Pics! | Developers - Port Your Apps to 2.0
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-24-2008, 09:19 AM
What's Jailbreak?
 
Join Date: May 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Startup Script

Hey all,
I am not all that familiar with the launch process of OS X, and namely the iPhone. I am trying to get a script, or alternatively a command, executed ONLY at startup. Here is the problem I am solving:

SpringBoard crashes on me after boot where the touchpad I/O stops working inside any application. The solution to my problem is to SSH in, run a `ps -A`, and kill -9 <process of SpringBoard> So I wrote a script to do the same thing (or a simple `killall SpringBoard` that runs *once* at boot is also sufficient). Cron jobs are not sufficent because if I need to restart my phone at any time of day, well cron jobs are useless and I don't want springboard restarting every 2 min, for example.

So, I am trying to figure out how to use launchd or launchctl to do this (I'm assuming this is my best bet). Any ideas?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2 (permalink)  
Old 07-19-2008, 03:38 AM
What's Jailbreak?
 
Join Date: Jul 2008
Device + Firmware: iPhone 3g
Operating System: Ubuntu Hardy
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

Bump
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3 (permalink)  
Old 07-24-2008, 11:28 AM
What's Jailbreak?
 
Join Date: Jan 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
touch boot

One thing I found interesting was that the boot scripts of the iPhone and Touch are identical, and thus when starting a Touch in verbose you notice several iPhone-only processes starting and subsequently failing because they require iPhone-only software. :-) sorry I couldnt be of more help!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4 (permalink)  
Old 07-24-2008, 11:48 AM
iPhone? More like MyPhone
 
Join Date: Dec 2007
Posts: 200
Thanks: 12
Thanked 37 Times in 32 Posts

well, I looked it up once and the startup scripts are in some way related to /System/Library/LaunchDaemon/ ... the .plist files in there represent an application to be executed at startup. I tried adding an application by myself once but although I thought I did everything right it never worked. But you have to look there ...
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums | ModMyi.com | iPhone, iPod, Mac, OS X, Mods, More > iPhone Modding > 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
Forum Jump

ModMyMoto.com - ModMyGPhone.com - modmyi.com - Dedicated Server Hosting by SingleHop - iPhone Wallpapers - Apple Forums & News | ModMyi.com | iPhone, iPod, Mac, OS X, More 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:28 PM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
modmyi.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