2011年5月6日 星期五

[教學]備份Cydia Apps的方法

現在有一個簡單的方法去backup所有jailbreak apps,,tweaks和themes。大家可以短時間內更新,破解iPhone和保留jailbreak的apps。

呢個方法就係將大家所有的packages保存在移入電腦的text file。當更新和破解iPhone後,再將那個text file移入iPhone.

1.)Back up Packages

  • Step 1: 在iPhone執行MobileTerminal
  • Step 2: 輸入以下指令:dpkg –get-selections> installed-apps.txt
  • Step 3: 之前的command line會將installed-apps.txt諸存在/var/mobile。之後透個SSH在電腦儲存這個file

2.)重新安裝你的Packages

當更新到新的iOS,將會重新jailbreak和在Cydia安裝 MobileTerminal。以下係指引:
  • Step 1: SSH入部iPhone,接着複製“installed-apps.txt”入/var/mobile.
  • Step 2: 在MobileTerminal輸入以下指令
    • su
    • alpine (which is the default password. Type your password if you changed it)
    • dpkg –set-selections
    • apt-get dselect-upgrade
當遇到任何問題,輸入apt-get dselect-fix-missing-upgrade
Cydia 會自動重新安裝所有packages.