Wednesday, December 22, 2010

How to Edit Hosts file and Restore your iPhone with your Saved ECID

Tutorial: Edit your HOSTS file and restore your iPhone with your saved ECID
  • This tutorial is for Windows and Mac
What is the hosts file? The hosts file is the primary element in a web application. So through this file that your computer will query the Internet addresses. Name for each configured with an IP address, the computer will move automatically to the address indicated. Somehow, the HOSTS file can force the computer to connect to a specific IP address. If you set an address "127.0.0.1 localhost", your computer will connect locally (to himself). by adding a line to read: " 74.208.105.171.gs.apple.com (IP + space + name) you ask your computer to re-direct all calls / requests "gs.apple.com" personalized to an IP address ( here the server Cydia). Your ECID should be saved on the server Cydia!



CHANGES IN WINDOWS
STEP 1: Change Hosts File The hosts file is original here:
C: \ WINDOWS \ system32 \ drivers \ etc \ hosts

It should contain this: --------------------------
Copyright (c) 1993-1999 Microsoft Corp.. # # This is a sample HOSTS file used by Microsoft TCP / IP for Windows. # # This file contains the mappings of IP addresses to host names. Each # entry should be on an individual line. The IP address should # be placed in the first column followed by the corresponding host name. # The IP address and host name should be separated by a space. # # Additionally, comments (such as this one) may be inserted on individual # lines or following the machine name. They are indicated by # '#' symbol. # # Example: # # 102.54.94.97 rhino.acme.com # source server # 38.25.63.10 x.acme.com # x client host 127.0.0.1 localhost
-------------------------- 
First, to facilitate your work, create a shortcut on the desktop for easier editing the file.
  • Right click on the desktop to an empty slot, make> New> Shortcut
  • In the field "Location" (or "Target"), paste it (as is, with the quotes!)
"C: \ Program Files \ Windows NT \ Accessories \ wordpad.exe"
"C: \ WINDOWS \ system32 \ drivers \ etc \ hosts"
  • Then rename the shortcut in "Edit HOSTS file"
  • You get a shortcut on your desktop:
STEP2: Added server Cydia Upon restoration gs.apple.com iTunes asks the server if your iPhone is authorized to restore a particular firmware. What we do gracve the HOSTS file is to tell viotre computer, if iTunes called the address "gs.apple.com" then redirect to the server Cydia (where your ECID is saved). To do this, open the HOSTS file and add the following line. On the last line, add: 74.208.105.171 gs.apple.com You will in the end the following result --------------------------
Copyright (c) 1993-1999 Microsoft Corp.. # # This is a sample HOSTS file used by Microsoft TCP / IP for Windows.
# This file contains the mappings of IP addresses to host names. Each # entry should be on an individual line. The IP address should # be placed in the first column followed by the corresponding host name. # The IP address and host name should be separated by a space. # # Additionally, comments (such as this one) may be inserted on individual # lines or following the machine name. They are indicated by # '#' symbol. # # Example: # # 102.54.94.97 rhino.acme.com # source server # 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
74.208.105.171 gs.apple.com
--------------------------
- Other automated methods, download the Hostsman : http://www.abelhadigital.com/hostsman
Then let guide you, choice, select your hosts file, then with a right click to modify your file:
Either directly hostsman open software, delete and add your addresses ...
Once amended, Save the HOSTS file (you must have administrator rights in order to save the file. If you have a errur: "Access denied". To remedy this, you must open in Notepad.exe or Wordpad.exe menu Windows / Accessories by right clicking and "Run as administrator". 

STEP3: Refreshing DNS (optional) To avoid an error while restoring your iPhone, step 3 may be necessary:
  • Click Start
  • Then Run
  • Type "cmd.exe"
  • Then in the command prompt enter the following: "ipconfig / flushdns" Press Enter.
  • Then again enter "ipconfig / registerdns" Press Enter
-> That you're ready to restore your firmware!
  • Manually download your firmware on your desktop (make sure you save it with extension. Ipsw)
  • Connect your iPhone to iTunes
  • Shift + Click Restore (PC) or Alt + Restore (Mac)
  • Let iTunes work ...
-> That you "Downrgader" your iPhone. To avoid problems, thinking still has to restore your original HOSTS file for this you need to reopen it and add a # in front of the address (The Ligen will not be read) ----- ---------------------
Copyright (c) 1993-1999 Microsoft Corp.. # # This is a sample HOSTS file used by Microsoft TCP / IP for Windows.
# This file contains the mappings of IP addresses to host names. Each # entry should be on an individual line. The IP address should # be placed in the first column followed by the corresponding host name. # The IP address and host name should be separated by a space. # # Additionally, comments (such as this one) may be inserted on individual # lines or following the machine name. They are indicated by # '#' symbol. # # Example: # # 102.54.94.97 rhino.acme.com # source server # 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
# 74.208.105.171 gs.apple.com
--------------------------


AMENDMENT ON MAC
STEP 1: Change Hosts File The hosts file is original here:


/ Etc / hosts

Through MAC, the most comfortable solution is to use the terminal:
  • Type sudo-s
  • Then vi / etc / hosts
  • Type i
  • Then insert the line 74.208.105.171 gs.apple.com
  • Finally, Type : w / etc / hosts
  • Then q
TextEdit via:
  • Open the HOSTS file in Finder using TextEdit has (via software or Onyx TinkerTool, bring up the hidden files) located here: "/ etc / hosts"
  • Save the file to your desktop, make the change by inserting the line 74.208.105.171 gs.apple.com
  • After you save the file, copy / paste in "/ etc /", your password will be asking.
Voila, you are ready to restore via iTunes. Remember to restore your HOSTS file. 
Enhanced by Zemanta

1 comments:

My iphone try this is answer but not it fix

Post a Comment

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More