Cydia Substrate

Mobile Substrate is saurik's platform that makes it easier to develop third-party addons for iOS. Examples include Five Icon Dock and WinterBoard.

And with all this extra code...
As always, even with iPhones, iPod touches, and iPads, extra code means crashing and Mobile Substrate can solve this too. Should the SpringBoard crash for any reason (which is quite common once let loose on Cydia as there are a large number of SpringBoard extensions) Mobile Substrate will temporarily put the SpringBoard into Safe Mode with SpringBoard extensions disabled, so you can troubleshoot the problem.

If one is trying to troubleshoot a problem that isn't causing Springboard crashes but is suspected of being caused by a Mobile Substrate-using extension, Safe Mode can manually be entered using the SBSettings application available in Cydia by hitting its "Power" button and choosing the "Safe Mode" option.

If you find that your device won't boot, you can force Mobile Substrate to not run by holding down the volume up key while the Apple boot logo is visible. This requires version 0.9.3997 or newer. Devices without a capable version can be forced into Safe Mode from a ramdisk or ssh by typing:

touch /var/mobile/Library/Preferences/com.saurik.mobilesubstrate.dat

More Info

 * Substrate documentation
 * saurik's Web Site
 * MobileSubstrate Development Info
 * Filippo Biga: MobileSubstrate / Theos tutorial + source