Difference between revisions of "Respring"

From The iPhone Wiki
Jump to: navigation, search
(How respringing works)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
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.
+
Respringing is the term for restarting the device's [[SpringBoard]]. The process takes about 10 seconds and, by default, returns you to the Lock Screen. [[Mobile Substrate]] does this to exit Safe Mode if the SpringBoard crashes. Many SpringBoard extensions may respring for other reasons. For instance, [[WinterBoard]] resprings when you change theme settings and vBackground will respring when you change the video. This is not the same as a reboot.
   
 
== Technical Info ==
 
== Technical Info ==
  +
A "hard" respring involves issuing a "killall SpringBoard" command as either ''root'' or ''mobile'' user, which terminates the SpringBoard. The SpringBoard will be relaunched immediately afterward, but takes a few seconds to fully load while a spinning wheel is displayed.
 
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.)
 
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.)
Line 16: Line 13:
 
----
 
----
   
A ''fast respring'' (as employed by SBSettings or Rename II, for example)uses a Darwin notification and the
+
A "soft" respring (as employed by SBSettings or Rename II, for example) uses a Darwin notification and the
 
<key>SBLanguageRestart</key>
 
<key>SBLanguageRestart</key>
 
<true/>
 
<true/>
preference to emulate the "on language change" soft restart, which is non-locking by default.
+
preference to emulate the "on language change" soft restart, which returns to the Home Screen, not the Lock Screen, by default.
  +
  +
[[Category:Jailbreaking]]

Latest revision as of 00:17, 3 October 2015

Respringing is the term for restarting the device's SpringBoard. The process takes about 10 seconds and, by default, returns you to the Lock Screen. Mobile Substrate does this to exit Safe Mode if the SpringBoard crashes. Many SpringBoard extensions may respring for other reasons. For instance, WinterBoard resprings when you change theme settings and vBackground will respring when you change the video. This is not the same as a reboot.

Technical Info

A "hard" respring involves issuing a "killall SpringBoard" command as either root or mobile user, which terminates the SpringBoard. The SpringBoard will be relaunched immediately afterward, but takes a few seconds to fully load while a spinning wheel is displayed.

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 "soft" 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 returns to the Home Screen, not the Lock Screen, by default.