Home User CP Donate Chat Register Today!  
  Get New posts Faq / Help?
   


Go Back   Hackint0sh > Projects and Hacks > iPhone > Applications & Development > iPhone Linux

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-27-2008, 07:54 AM
truehybridx
Status: Online
Respected Member
 
Join Date: Nov 2007
Posts: 992
Rep Power: 51
truehybridx is on a distinguished road
Default Backup/Restore NOR

This bit was off of the Linux on the iPhone blog originally posted by planetbeing

Quote:
The important thing is to have a backup of the NOR. As I described in a previous posting, it's possible to really screw things up if you erase the SysCfg section of the NOR. If you do that, the iPhone OS will refuse to boot at all since iBoot cannot properly populate the device tree for the kernel. Since restore ramdisks rely on XNU booting, this is Bad News Bears. In addition, the SysCfg section is device specific, so if you do not have a backup, it will be difficult to ever completely recover from erasing it.

Therefore, before you proceed, MAKE A BACKUP OF YOUR NOR. openiboot can do this for you (and subsequently restore your backup if things go wrong).

Load openiboot via loadibec and select the console. Connect with the oibc client. Type in: nor_read 0x09000000 0x0 0x100000

This will read all of NOR into memory. Then type: ~nordump.bin:0x100000

This will transfer the dump over USB onto your computer and save it as nordump.bin.

Supposing you filled the entire NOR with garbage somehow and are unable to boot. You have to get into openiboot to restore the NOR. The problem is that openiboot is only designed to operate in a post-LLB or post-Recovery Mode context, so it cannot be directly booted from DFU mode. Basically, you've got to load a pwned WTF, then a pwned iBSS, and then a pwned iBEC (all of which is available from a custom IPSW). After that, you can use loadibec to load openiboot. Then, you can restore the NOR thus:

!nordump.bin
nor_write 0x09000000 0x0 0x100000

After that, you can reboot and everything should be normal.
this is basically for the people who enjoy making their stuff NONWORKING...

im not to sure what he meant to use to load the WTF iBSS n iBEC files but i think iRecovery should do the trick (correct me if im wrong)

have fun and do not erase your NOR for the love of God
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 12-27-2008, 12:36 PM
boz
Status: Offline
Senior Member
 
Join Date: Nov 2007
Posts: 156
Rep Power: 9
boz is on a distinguished road
Default

i was feeling quite pressed to erase my NOR, but i won't now, thanks ;-)

nah, seriously, good warning
__________________
'There is no I in threesome'
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 12-27-2008, 05:36 PM
truehybridx
Status: Online
Respected Member
 
Join Date: Nov 2007
Posts: 992
Rep Power: 51
truehybridx is on a distinguished road
Default

i give it atmost 3 months and someone will be posting "OMG my iphone wont boot!!!! i was trying this tut that involves erasing the NOR and it dont work!!!!"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #4 (permalink)  
Old 12-27-2008, 05:38 PM
volkspost
Status: Offline
iPhone Moderator
 
Join Date: Aug 2007
Posts: 3,581
Rep Power: 213
volkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to all
Default

Quote:
Originally Posted by truehybridx View Post
i give it atmost 3 months and someone will be posting "OMG my iphone wont boot!!!! i was trying this tut that involves erasing the NOR and it dont work!!!!"
i'm in with two weeks
__________________
Read the stickies and search the forum before posting!
If you want to become a Hackint0sh supporter click here
----------
iPhone 3GS factory unlocked (3.1.2; Blackra1n, Cydia, OpenSSH, custom 3.0 ipcc file (no sig), tethering hack by Dev team, 32 GB)
iPhone 3G (3.0.1; Redsn0w 0.8, Cydia, OpenSSH) 16 GB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best Way to backup/restore contacts/etc from a firmware update? zragnarok General 4 07-25-2008 10:25 PM
[Pool] What would you like to see in the next version of PWNAGE Tool ? DirectBrasil PwnageTool 45 04-24-2008 05:16 PM



All times are GMT +2. The time now is 07:29 AM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 Ad Management by RedTyger
follow us on Twitter!

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