Difference between revisions of "Respring"

From The iPhone Wiki
Jump to: navigation, search
m
(How respringing works)
Line 3: Line 3:
 
== Technical Info ==
 
== Technical Info ==
   
  +
A proper respring involves actually reloading SpringBoard and can be done by issuing a "killall SpringBoard" command as either ''root'' or ''mobile'' user, which will terminate the process.
The application in question SpringBoard.app. It is possible to end the process by using Mobile Terminal and typing killall SpringBoard and will therefore cause a respring
 
  +
  +
(A "spinning wheel" icon is shown)
  +
  +
SpringBoard's daemon, referenced at [[/System/Library/LaunchDaemons]]/com.apple.SpringBoard.plist will quickly reload the GUI. (While this is accomplished, the previously mentioned spinner will appear stationary.)
  +
  +
The lockscreen will then appear on screen, unless the ~/Library/Preferences/com.apple.springboard.plist file contains
  +
<key>SBDontLockAfterCrash</key>
  +
<true/>
  +
In which case the first page of applications will immediately appear.
  +
  +
----
  +
  +
A ''fast respring'' (as employed by SBSettings or Rename II, for example)uses a Darwin notification and the
  +
<key>SBLanguageRestart</key>
  +
<true/>
  +
preference to emulate the "on language change" soft restart, which is non-locking by default.

Revision as of 19:06, 16 June 2010

To respring is to restart the device's SpringBoard thus takes about 10seconds and will return you to the Lock Screen. Such is done by Mobile Substrate to exit Safe Mode should the SpringBoard crash. Also, many SpringBoard extensions may respring for other reasons. I.e. WinterBoard resprings when you change theme and vBackground will respring when you change the video. This is not the same as a reboot.

Technical Info

A proper respring involves actually reloading SpringBoard and can be done by issuing a "killall SpringBoard" command as either root or mobile user, which will terminate the process.

(A "spinning wheel" icon is shown)

SpringBoard's daemon, referenced at /System/Library/LaunchDaemons/com.apple.SpringBoard.plist will quickly reload the GUI. (While this is accomplished, the previously mentioned spinner will appear stationary.)

The lockscreen will then appear on screen, unless the ~/Library/Preferences/com.apple.springboard.plist file contains

<key>SBDontLockAfterCrash</key>
<true/>

In which case the first page of applications will immediately appear.


A fast respring (as employed by SBSettings or Rename II, for example)uses a Darwin notification and the

<key>SBLanguageRestart</key>
<true/>

preference to emulate the "on language change" soft restart, which is non-locking by default.