The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

2.2 Unlock / Jailbreak OS X | Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > General iPhone Chat
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-20-2008, 01:01 PM
bhz1's Avatar
Moderator
 
Join Date: Sep 2007
Device + Firmware: iPhone 3G 3.0 (jailbroken)
Operating System: Windows XP,Vista, OS X 10.5.7
Location: Pennsylvania
Posts: 2,107
Thanks: 81
Thanked 267 Times in 223 Posts
Restoring a Jailbroken iPhone made Painless (relatively)

One of the most sure-fire ways to fix a myriad of problems with an Iphone is to restore the firmware in iTunes. One of the most dreadded tasks apparently is the need to restore a modded and jailbroken iPhone. I have come up with a process that is realitvely simple and painless. Many people want to restore from backup- but this generally only causes problems in the long run from carrying forward corrupted data so always restore as "new".

This process assumes a jailbroken, modded iPhone with both Cydia and AppStore apps installed, 2G or 3G on 2.x firmware.

1. If you do not already have installed, install AppBackup and Chronus from Cydia. Note on these apps, if you installed apps after installing Chronus, you may want to reinstall so that the new apps show up in the list.

2. Use those apps to backup whatever apps you want data saved for.

3. Using SSH (WinSCP, for XP/Vista or Fugu or Cyberduck on OS X) copy the following to your computer:
a. /var/Stash/Themes<random characters>
b. /var/mobile/Library/Preferences/TimeCapsule
c. /var/mobile/Library/Preferences/com.apple.mobilephone.speeddial.plist (if you have favorites saved in your phone app)
d. /var/mobile/Library/AppBackup
e. /var/mobile/Library/YouTube (if you have bookmarks saved- Chronus does not copy the VideoCache)
f. /var/mobile/Library/MxTube (if you have that app and have downloaded videos saved- Chronus does not save the VideoLibrary.plist).

Note: If you have a Mac, you can simply SSH the Themes folder , skip steps b-f and then SSH the entire var/mobile/Library folder to your desktop.

4. Sync iPhone in iTunes.

5. Restore firmware in itunes - restore iPhone as NEW.

6. After new firmware is installed and phone is activated, uncheck the box that says automatically sync iPhone when connected

7. Jailbreak with your preferred jailbreak method.

8. Open Cydia, do all the upgrades

9. Install Open SSH from Cydia (always good to have when installing apps in case something goes wrong)

10. Reboot phone

11. Resync iPhone, This next part is crucial, If you sync contact, email, bookmarks and calendars before you click sync, make sure you scroll down to the bottom of the Info screen and check off the box that says replace info on iPhone this sync only" (not exact wording) I believe many people lose their info this way, since the iphone at this point is blank, if you do not do this step your sync will erase your data on the computer.

12. Once all your apps both Cydia and AppStore ones are installed, install Chronus and AppBackup from Cydia.
Note: If you theme with Winterboard, or use Categories folders, you may install those apps but do not do anything with them yet

13. SSH all the files and folders you previously saved to your computer back to their appropriate locations on your iPhone.

14. Open up Chronos and select the apps you want data restored from.

15. Open up AppBackup and restore app data for your selected apps.

16. Now you may apply your Winterboard theme and create your Categories folders.

17. Reboot iPhone for good measure.

Enjoy.

This entire process takes no more than about an hour and I have about 60 apps installed. Most of that hour is spent restoring the firmware and resyncing. reinstalling Cydia apps is not a terrible process. I usually just scroll through the list of apps and methodically install as i come up on an app i use.

Last edited by bhz1; 11-21-2008 at 10:53 AM.. Reason: additional info
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following 31 Users Say Thank You to bhz1 For This Useful Post:
Amraam (06-20-2009), Boker (03-25-2009), chuckplumber (06-20-2009), commandercool009 (06-19-2009), cooteruk (01-13-2009), cruel0r (06-23-2009), danburnsred (04-27-2009), dghazfan (06-22-2009), eastny (06-19-2009), ereid97 (04-06-2009), extremzocker (06-20-2009), gatorboy (11-23-2008), HarleyiPhone (04-04-2009), jdineshk (06-23-2009), Joshi001 (06-30-2009), josh_green_1 (03-24-2009), klown (06-07-2009), LuvMYiPhone (05-07-2009), MaxRabbit (11-23-2008), nevarDeath (12-02-2008), Oliva94 (05-27-2009), poetic_folly (11-20-2008), sebs8 (04-29-2009), slade (05-22-2009), smw42223 (06-21-2009), stereosympathy (03-09-2009), superscreen (06-18-2009), tjflyboy (11-25-2008), truforce (03-30-2009), xhenryrx (06-19-2009), z3n (11-22-2008)
  #2 (permalink)  
Old 11-20-2008, 01:50 PM
one1's Avatar
Livin the iPhone Life
 
Join Date: Sep 2007
Device + Firmware: Too many devices, not enough vices.
Operating System: EEEEETS A MAC, BABY!
Location: In my own little world
Posts: 3,584
Thanks: 40
Thanked 419 Times in 265 Posts

Good stuff, very similar to my SSH restore method. How to have a blazing fast jailbroken phone

I just grab the entire library all at once.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following 3 Users Say Thank You to one1 For This Useful Post:
Amraam (06-20-2009), cooteruk (01-13-2009), slade (06-05-2009)
  #3 (permalink)  
Old 11-20-2008, 01:55 PM
cricketlang's Avatar
Livin the iPhone Life
 
Join Date: May 2008
Device + Firmware: iPhone 2g 2.2 Quickpwn
Operating System: Windows XP
Location: Riverdale, UT
Posts: 1,906
Thanks: 87
Thanked 219 Times in 197 Posts

ill be saving this post to my favorites. as i will soon be needed to do this again and have been using the SSH method.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4 (permalink)  
Old 11-21-2008, 06:47 AM
bhz1's Avatar
Moderator
 
Join Date: Sep 2007
Device + Firmware: iPhone 3G 3.0 (jailbroken)
Operating System: Windows XP,Vista, OS X 10.5.7
Location: Pennsylvania
Posts: 2,107
Thanks: 81
Thanked 267 Times in 223 Posts

Quote:
Originally Posted by one1 View Post
Good stuff, very similar to my SSH restore method. How to have a blazing fast jailbroken phone

I just grab the entire library all at once.
I remember when you posted that method. For some reason i was never able to copy the entire library. I have forgotten the exact files, but it would not allow copying of certain files within the Library folder and end the copy. Also took f o r e v e r. Maybe it was my old XP laptop. Havent tried to copy the entire Library on the Macbook yet.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5 (permalink)  
Old 11-21-2008, 07:38 AM
iPhoneaholic
 
Join Date: Aug 2007
Device + Firmware: 16gig 3G iPhone 2.1 quickpwned
Operating System: Unibody Macbook 10.5.6
Location: Highland Park, IL
Posts: 477
Thanks: 26
Thanked 29 Times in 27 Posts

see the problem with the daunting task isn't the back up of your files, for me atleast, nor keeping my theme (all that's backed up already as part of my normal back up process) its getting all my things like caterogies set up again how i have it and other things that take days to set just right. all those apps from cydia to reinstall and stuff. that's the REAL problem with restoring the phone for me.

idk about u guys with XP but my on macbook i had no trouble coping the WHOLE libary folder and its VERY quick, but so is the back up process in itunes on my macbook too. takes like 5min if that, unlike almost 2hrs on my XP machine, but maybe that has been solved with 2.1 and 8.0.1
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #6 (permalink)  
Old 11-21-2008, 10:41 AM
bhz1's Avatar
Moderator
 
Join Date: Sep 2007
Device + Firmware: iPhone 3G 3.0 (jailbroken)
Operating System: Windows XP,Vista, OS X 10.5.7
Location: Pennsylvania
Posts: 2,107
Thanks: 81
Thanked 267 Times in 223 Posts

My curiosity aroused, I decided to try copying the Library folder from the iPhone to my Macbook.

YES!!! It is much faster to copy on OS X than on Windows. Not only was it slower on Windows, it would crash with error messages about not being able to copy certain files. In retrospect, perhaps there are some OS X files that are not readable in Windows? In very new to the Mac platform (other than iPhones) so I'm learning as well.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #7 (permalink)  
Old 11-23-2008, 09:30 AM
Green Apple
 
Join Date: Jul 2008
Posts: 40
Thanks: 26
Thanked 0 Times in 0 Posts

Nice tutorial. Using it to upgrade to 2.2
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #8 (permalink)  
Old 11-23-2008, 01:18 PM
Green Apple
 
Join Date: Sep 2008
Device + Firmware: 2.1
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts

Depending on what I decide to do, this is a really good reference on how to restore after jailbroken. Hmmm ...

What to do ...
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #9 (permalink)  
Old 11-23-2008, 02:10 PM
bhz1's Avatar
Moderator
 
Join Date: Sep 2007
Device + Firmware: iPhone 3G 3.0 (jailbroken)
Operating System: Windows XP,Vista, OS X 10.5.7
Location: Pennsylvania
Posts: 2,107
Thanks: 81
Thanked 267 Times in 223 Posts

Just about done my re-modding after upgrade. SO far so good. What took the longest was downloading the BigBoss repo apps since that server is apparently overwhelmed today.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to bhz1 For This Useful Post:
CaryDude (11-23-2008)
  #10 (permalink)  
Old 11-24-2008, 09:19 AM
CaptainChaos's Avatar
Livin the iPhone Life
 
Join Date: Sep 2008
Device + Firmware: iPhone 3G 3.0
Operating System: Window$ 7
Location: In a van down by ther river
Posts: 1,242
Thanks: 203
Thanked 94 Times in 86 Posts

Quote:
Originally Posted by bhz1 View Post
My curiosity aroused, I decided to try copying the Library folder from the iPhone to my Macbook.

YES!!! It is much faster to copy on OS X than on Windows. Not only was it slower on Windows, it would crash with error messages about not being able to copy certain files. In retrospect, perhaps there are some OS X files that are not readable in Windows? In very new to the Mac platform (other than iPhones) so I'm learning as well.
I have the same issue...when it gets to /private/var/mobile/Library/Logs/CrashReporter it will not copy any of the files as it says they are empty when they are not empty.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #11 (permalink)  
Old 11-24-2008, 03:35 PM
one1's Avatar
Livin the iPhone Life
 
Join Date: Sep 2007
Device + Firmware: Too many devices, not enough vices.
Operating System: EEEEETS A MAC, BABY!
Location: In my own little world
Posts: 3,584
Thanks: 40
Thanked 419 Times in 265 Posts

Quote:
Originally Posted by bhz1 View Post
I remember when you posted that method. For some reason i was never able to copy the entire library. I have forgotten the exact files, but it would not allow copying of certain files within the Library folder and end the copy. Also took f o r e v e r. Maybe it was my old XP laptop. Havent tried to copy the entire Library on the Macbook yet.
the non transferable files are locked system files which are irrelevant because you can neither remove them nor write over them when reinstalling. just drop and go.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #12 (permalink)  
Old 11-24-2008, 05:58 PM
bhz1's Avatar
Moderator
 
Join Date: Sep 2007
Device + Firmware: iPhone 3G 3.0 (jailbroken)
Operating System: Windows XP,Vista, OS X 10.5.7
Location: Pennsylvania
Posts: 2,107
Thanks: 81
Thanked 267 Times in 223 Posts

Quote:
Originally Posted by one1 View Post
the non transferable files are locked system files which are irrelevant because you can neither remove them nor write over them when reinstalling. just drop and go.
On the mac it works fine to do that. Everything is there, but on the XP laptop it stops the file transfer.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #13 (permalink)  
Old 11-30-2008, 11:48 AM
Green Apple
 
Join Date: Nov 2008
Device + Firmware: iPhone pwned 2.1
Operating System: OSX 10.5.5
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts

Thank you for the excellent tutorial! Is there ANY way to keep all the apps in their respective Categories folders when I do a restore? That is probably the most time consuming part of setting up a restore for me. Also, maybe someone knows of a better app to use instead of Categories to keep all my apps (62) categorized?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #14 (permalink)  
Old 11-30-2008, 05:48 PM
bhz1's Avatar
Moderator
 
Join Date: Sep 2007
Device + Firmware: iPhone 3G 3.0 (jailbroken)
Operating System: Windows XP,Vista, OS X 10.5.7
Location: Pennsylvania
Posts: 2,107
Thanks: 81
Thanked 267 Times in 223 Posts

Quote:
Originally Posted by macperry View Post
Thank you for the excellent tutorial! Is there ANY way to keep all the apps in their respective Categories folders when I do a restore? That is probably the most time consuming part of setting up a restore for me. Also, maybe someone knows of a better app to use instead of Categories to keep all my apps (62) categorized?
Basically Categories is the best app for this so far. I'm not sure about avoiding the need to reinstall apps into folders. I have about 60 apps and it doesnt take too long to set up for me.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #15 (permalink)  
Old 12-03-2008, 06:48 PM
What's Jailbreak?
 
Join Date: Dec 2008
Device + Firmware: iphone 3g/ 2.2 firmware/cydia installed
Operating System: windows XP/ vista 32
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

dude is there any way for me to go back to the original set as mine i s jailbroken on the first day i bought the phone and people told me that now suport and warranty is void please help with this is there any way make it the original packaging set?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > General iPhone Chat

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


Go to Top
ModMyI

All times are GMT -6. The time now is 12:58 PM. Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 | Dedicated Server Hosting by SingleHop | Copyright © 2007-09 by ModMy, LLC. All rights reserved.

RSS / Contact Us / / ModMyi Home / Archive / Privacy Statement / Top


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408