iPhone Restore Instructions: v3.1.2 + Jailbreak

Thought I might share a little guide I’ve compiled. Enjoy. =)

Restore + Jailbreak Steps

  1. Perform full restore from iTunes with stock 3.1.2 firmware
  2. When prompted to “Restore From Backup,” decline and choose Setup New iPhone…
  3. Download blackra1n, and run it to jailbreak the iPhone: http://blackra1n.com/
  4. Once Jailbroken, install Rock, Cydia, and Sn0w.
  5. Run Rock to update, and exit. Then run Cydia to update, and exit.
  6. Open Rock or Cydia and install MobileTerminal, Aptitude, and APT.
  7. Change your passwords for “mobile” and “root” users!
  8. Install OpenSSH and respring/reboot.
  9. Optional: Run the following commands to install the most used software through an SSH session:
    1. apt-get install bigbosshackertools com.ericasadun.utilities
    2. apt-get install rotationinhibitor sbsettingsinsomnia notifier irealquicksms
    3. apt-get install jp.ashikase.kirikae backgrounder us.scw.afctwoadd
    4. apt-get install com.weiphone.setwallpaper3 com.saurik.iphone.fid
  10. Performance Improvements: Remove unnecessary LaunchDaemons

    1. cd /System/Library/LaunchDaemons
    2. rm com.apple.DumpPanic.plist
    3. rm com.apple.ReportCrash.*.plist
    4. rm com.apple.CrashHouseKeeping.plist
    5. rm com.apple.aslmanager.plist
    6. rm com.apple.syslogd.plist
    7. rm com.apple.powerlog.plist
    8. rm com.apple.stackshot.server.plist
    9. rm com.apple.tcpdump.server.plist
    10. rm com.apple.iqagent.plist
    11. rm com.apple.mobile.profile_janitor.plist
    12. rm com.apple.chud.chum.plist
    13. rm com.apple.chud.pilotfish.plist
    14. rm com.apple.AddressBook.plist
    15. rm com.apple.datamigrator.plist
    16. rm com.apple.AOSNotification.plist
    17. rm com.apple.AdminLite.plist
  11. Performance Improvements: Remove unnecessary Language Packs

    1. apt-get install find
    2. updatedb; locate lproj | grep -E proj$ | grep -E -v -i ‘(en.l|English)’ > langpacks.txt
    3. while read file; do rm -rf “$file”; done < langpacks.txt