Difference between revisions of "Restore iPod without iTunes"

From freemyipod.org
Jump to: navigation, search
m
Line 10: Line 10:
  
 
Calm down, and keep reading...
 
Calm down, and keep reading...
 +
 +
=The standard disclaimer=
 +
'''THE SOFTWARE AND INSTRUCTIONS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR INSTRUCTIONS, OR THE USE OR OTHER DEALINGS IN THE SOFTWARE OR INSTRUCTIONS.'''
 +
 +
Continue reading only if your agree.
  
 
=Prerequisites=
 
=Prerequisites=
Line 24: Line 29:
  
 
=Overview of the procedure=
 
=Overview of the procedure=
# You put the ipod into DFU mode
+
# You put the iPod into DFU mode
 
# You install a custom driver to that device, so ipoddfu can talk to it (exploit a bootrom vulnarability, to be exact)
 
# You install a custom driver to that device, so ipoddfu can talk to it (exploit a bootrom vulnarability, to be exact)
 
# You install Python and pyusb
 
# You install Python and pyusb
# You send the first stage of the restore firmware (called "DFU") to the ipod using ipoddfu
+
# You send the first stage of the restore firmware (called "DFU") to the iPod using ipoddfu
# The ipod reconnects with a different USB IDs
+
# The iPod reconnects with a different USB IDs
 
# You install a custom driver for the new USB device
 
# You install a custom driver for the new USB device
# You send the second stage of the restore firmware (called "WTF") to the ipod using ipoddfu
+
# You send the second stage of the restore firmware (called "WTF") to the iPod using ipoddfu
# The ipod shows a monochrome disk mode screen
+
# The iPod shows a monochrome disk mode screen
# You repartition the hard disk, upload the new firmware and reboot the ipod - all these three at once using ipodscsi
+
# You repartition the hard disk, upload the new firmware and reboot the iPod - all these three at once using ipodscsi
# Your ipod is working again. Yay!
+
# Your iPod is working again. Yay!
  
 
You're ready? Ok, let's do it!
 
You're ready? Ok, let's do it!
  
 
=Steps to restore=
 
=Steps to restore=
==Putting the ipod into DFU mode==
+
 
 +
There's a video of what you see on your computer during the whole procedure. At some point, I messed up the arguments of ipodscsi, so I tried again. Sorry about that. Link to the video:
 +
 
 +
https://www.youtube.com/watch?v=IEz0cCDBqnQ
 +
 
 +
==Putting the iPod into DFU mode==
 
# Get an USB-to-iPod cable.
 
# Get an USB-to-iPod cable.
 
# Connect it to your computer.
 
# Connect it to your computer.
# Get your ipod.
+
# Get your iPod.
# Lock the HOLD switch, then unlock it after a second.
+
# Lock the '''HOLD''' switch, then unlock it after a second.
# Connect the USB cable to the ipod.
+
# Connect the USB cable to the iPod.
# During the next two steps, disregard what happens on the ipod's screen, just do what we ask you to.
+
# During the next two steps, disregard what happens on the iPod's screen, just do what we ask you to.
# Hold down MENU+SELECT, and count to 12.
+
# Hold down '''MENU''' + '''SELECT''' (the center button), and count to 12.
 
# Release the buttons.
 
# Release the buttons.
 
# You're in DFU mode.
 
# You're in DFU mode.
Line 53: Line 63:
 
==Installing a custom DFU driver==
 
==Installing a custom DFU driver==
 
# Download [http://zadig.akeo.ie/ Zadig]
 
# Download [http://zadig.akeo.ie/ Zadig]
# Open Zadig
+
# Open '''Zadig'''
# Click menu Options -> List all devices
+
# Click menu '''Options''' -> '''List all devices'''
# Select USB DFU Device (the first box of USB ID should be 05AC, the second one depends on the ipod model - 1223 for iPod Classic)
+
# Select USB DFU Device (the first box of USB ID should be '''05AC''', the second one depends on the iPod model - '''1223''' for iPod Classic)
# From the options to the right of the green arrow, select libusb-win32
+
# From the options to the right of the green arrow, select '''libusb-win32'''
# Click the large button named Install driver or Replace driver or Reinstall driver (depending on what driver you have installed at the moment)
+
# Click the large button named '''Install driver''' or '''Replace driver''' or '''Reinstall driver''' (depending on what driver you have installed at the moment)
 
# Wait for Zadig to complete the installation.
 
# Wait for Zadig to complete the installation.
 
# You're ready for the next step
 
# You're ready for the next step
 
==Uploading the first restore stage (DFU)==
 
==Uploading the first restore stage (DFU)==
 
# Press the Start menu button
 
# Press the Start menu button
# Type cmd and Press Enter
+
# Type '''cmd''' and press '''Enter'''
# In the black window that opens, type cd Desktop and press Enter (in case your Windows installation is localized, type the name of your desktop folder in your language instead)
+
# In the black window that opens, type '''cd Desktop''' and press '''Enter''' (in case your Windows installation is localized, type the name of your desktop folder in your language instead)
# Download this file to your Desktop: [http://svn.freemyipod.org/tools/ipoddfu/ipoddfu.py ipoddfu.py] (Right-click, then choose Save link as...)
+
# Download this file to your Desktop: [http://svn.freemyiPod.org/tools/ipoddfu/ipoddfu.py ipoddfu.py] (Right-click, then choose Save link as...)
# And this one, too: [http://svn.freemyipod.org/tools/ipoddfu/libipoddfu.py libipoddfu.py], make sure you also put it there
+
# And this one, too: [http://svn.freemyiPod.org/tools/ipoddfu/libipoddfu.py libipoddfu.py], make sure you also put it there
 
# Another one, this time from Apple's servers: [http://appldnld.apple.com/iPod/SBML/osx/bundles/041-8552.20121203.Bile3/x12230000_Recovery.ipsw x12230000_Recovery.ipsw] (I hope they won't delete it at some point, because we can't legally host it on our server)
 
# Another one, this time from Apple's servers: [http://appldnld.apple.com/iPod/SBML/osx/bundles/041-8552.20121203.Bile3/x12230000_Recovery.ipsw x12230000_Recovery.ipsw] (I hope they won't delete it at some point, because we can't legally host it on our server)
# Go to your desktop, and rename the ipsw file to zip
+
# Go to your desktop, and rename the '''ipsw''' file to '''zip'''
# Use your favourite tool to extract the zip, WinZip, WinRAR and 7-zip will do it well, even Windows' integrated ZIP extractor will do.
+
# Use your favourite tool to extract the zip, '''WinZip''', '''WinRAR''' and '''7-zip''' will do it well, even Windows' integrated ZIP extractor will do.
# Open the extracted folder, and go to Firmware\dfu. There should be a file named WTF.x1223.RELEASE.dfu there. Copy it to the desktop.
+
# Open the extracted folder, and go to '''Firmware''' -> '''dfu'''. There should be a file named '''WTF.x1223.RELEASE.dfu''' there. Copy it to the desktop.
 
# Back in the black window, type: (or copy/paste)
 
# Back in the black window, type: (or copy/paste)
 
  python ipoddfu.py WTF.x????.RELEASE.dfu
 
  python ipoddfu.py WTF.x????.RELEASE.dfu
Line 79: Line 89:
 
If you see something different, stop here. Otherwise, go ahead.
 
If you see something different, stop here. Otherwise, go ahead.
 
==Installing a custom WTF driver==
 
==Installing a custom WTF driver==
# It's the same as the previous driver install, this time the device is named iPod Recovery and the second ID is 1241 for Classic 1G, 1245 for Classic 2G or 1247 for Classic 3G
+
# It's the same as the previous driver install, this time the device is named iPod Recovery and the second ID is '''1241''' for Classic 1G, '''1245''' for Classic 2G or '''1247''' for Classic 3G
 
# Complete the installation, and move to the next step
 
# Complete the installation, and move to the next step
 
==Uploading the second restore stage (WTF)==
 
==Uploading the second restore stage (WTF)==
 
# "What the f*ck"? No, probably means '''W'''riting '''T'''he '''F'''irmware or '''W'''aiting for '''T'''he '''F'''irmware - we never found out. Who cares, anyway.
 
# "What the f*ck"? No, probably means '''W'''riting '''T'''he '''F'''irmware or '''W'''aiting for '''T'''he '''F'''irmware - we never found out. Who cares, anyway.
 
# Download one of the following files, depending on your iPod model. You can tell it from the USB ID in the previous step.
 
# Download one of the following files, depending on your iPod model. You can tell it from the USB ID in the previous step.
## For Classic 1G (USB ID 1241), download [http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPod/SBML/osx/bundles/061-4728.20080707.Vlo09/x12410000_Recovery.ipsw x12410000_Recovery.ipsw]
+
## For '''Classic 1G''' (USB ID 1241), download [http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPod/SBML/osx/bundles/061-4728.20080707.Vlo09/x12410000_Recovery.ipsw x12410000_Recovery.ipsw]
## For Classic 2G (USB ID 1245), download [http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPod/SBML/osx/bundles/061-4962.20080909.Aaqs3/x12450000_Recovery.ipsw x12450000_Recovery.ipsw]
+
## For '''Classic 2G''' (USB ID 1245), download [http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPod/SBML/osx/bundles/061-4962.20080909.Aaqs3/x12450000_Recovery.ipsw x12450000_Recovery.ipsw]
## For Classic 3G (USB ID 1247), download [http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPod/SBML/osx/bundles/061-7299.20091217.Bghyt/x12470000_Recovery.ipsw x12470000_Recovery.ipsw]
+
## For '''Classic 3G''' (USB ID 1247), download [http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPod/SBML/osx/bundles/061-7299.20091217.Bghyt/x12470000_Recovery.ipsw x12470000_Recovery.ipsw]
 
# As before, rename it to zip and extract it.
 
# As before, rename it to zip and extract it.
# Go inside the folder Firmware/dfu, and copy the file to your desktop. It should be named FIRMWARE.x****.RELEASE.dfu where **** is the USB ID of your ipod at the moment.
+
# Go inside the folder '''Firmware''' -> '''dfu''', and copy the file to your desktop. It should be named '''FIRMWARE.x****.RELEASE.dfu''' where **** is the USB ID of your iPod at the moment.
 
# Type this command:
 
# Type this command:
 
  python ipoddfu.py FIRMWARE.x????.RELEASE.dfu
 
  python ipoddfu.py FIRMWARE.x????.RELEASE.dfu
Line 103: Line 113:
 
  ................................................................................
 
  ................................................................................
 
  ............... done
 
  ............... done
After 10-20 seconds, you should see an Apple logo on the screen, and after a couple more second a white screen with a stop sign and text Do not disconnect at the bottom. Windows might want to reformat it, say No if it does. Continue to the next step.
+
After 10-20 seconds, you should see an Apple logo on the screen, and after a couple more second a white screen with a stop sign and text '''Do not disconnect''' at the bottom. Windows might want to reformat it, say '''No''' if it does. Continue to the next step.
 
==Final step: Install Apple's firmware==
 
==Final step: Install Apple's firmware==
 
# You're almost there. Go to http://www.felixbruns.de/iPod/firmware/ and download the latest firmware for your iPod model.
 
# You're almost there. Go to http://www.felixbruns.de/iPod/firmware/ and download the latest firmware for your iPod model.
# As you might have guessed, you need to rename the ipsw to zip, and extract it.
+
# As you might have guessed, you need to rename the '''ipsw''' to '''zip''', and extract it.
# In that folder, you'll find a file named Firmware-XX-X.X.X. Copy it to the desktop.
+
# In that folder, you'll find a file named '''Firmware-XX-X.X.X''' (X's depending on the model and version). Copy it to the desktop.
# Download [http://files.freemyipod.org/misc/ipodscsi.exe ipodscsi.exe] to your desktop.
+
# Download [http://files.freemyiPod.org/misc/ipodscsi.exe ipodscsi.exe] to your desktop.
# Open Windows Explorer, and look for your iPod. It should be in the Removable drives section. Take a note of its drive letter (e.g. F:)
+
# Open '''Windows Explorer''', and look for your iPod. It should be in the Removable drives section. Take a note of its drive letter (e.g. '''F:''')
 
# Open the black window, and type:
 
# Open the black window, and type:
  ipodscsi F: ipod6g writefirmware -p -r Firmware-*
+
  ipodscsi F: iPod6g writefirmware -p -r Firmware-*
 
You should see:
 
You should see:
  iPodSCSI v. 0.1.0 r959 - Copyright 2011 by Michael Sparmann (TheSeven)
+
  ipodscsi v. 0.1.0 r959 - Copyright 2011 by Michael Sparmann (TheSeven)
 
  This is free software; see the source for copying conditions.  There is NO
 
  This is free software; see the source for copying conditions.  There is NO
 
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Line 140: Line 150:
 
  Rebooting device... done
 
  Rebooting device... done
  
Your ipod will reboot. You'll see a black screen with an Apple logo, and a progress bar at the bottom. Then it will again, show you another Apple logo for a while, and finally start Apple's firmware.
+
Your iPod will reboot. You'll see a black screen with an Apple logo, and a progress bar at the bottom. Then it will again, show you another Apple logo for a while, and finally start Apple's firmware.
  
It should be safe to format it at this point. Use FAT32 as filesystem. Windows isn't going to allow you format large devices with FAT32, so you might need to use a third-party tool. [http://www.ridgecrop.demon.co.uk/index.htm?guiformat.htm FAT32 Format] is a good choice.
+
It should be safe to format it at this point. Use '''FAT32''' as filesystem. Windows isn't going to allow you format large devices with '''FAT32''', so you might need to use a third-party tool. [http://www.ridgecrop.demon.co.uk/index.htm?guiformat.htm FAT32 Format] is a good choice.
  
 
Then use iTunes to manage your music/videos. Or [[EmCORE_Installation|install emCORE]].
 
Then use iTunes to manage your music/videos. Or [[EmCORE_Installation|install emCORE]].
  
Enjoy your unbricked ipod!
+
Enjoy your unbricked iPod!
  
 
=Related info=
 
=Related info=

Revision as of 00:56, 9 February 2015

Ok, so you have an iPod Classic (80, 120 or 160 GB), or a Nano (3G or 4G should work, can't speak for the newer models). You have done something bad to it, like changing the firmware or deleting something you shouldn't have deleted, and you want to bring it to life? Great, that's the article you're looking for!

First, you should try restoring it with iTunes. But it probably won't recognise it, unless you put it in DFU mode. Here's a video on how to achieve this:

https://www.youtube.com/watch?v=Y_bIDtBohnE

Then use iTunes' Restore option. It should actually ask you to do it, just accept it and it would be back to life in a minute or two.

But, .... it doesn't work! What should I do? It's BROKEN!

Calm down, and keep reading...

The standard disclaimer

THE SOFTWARE AND INSTRUCTIONS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR INSTRUCTIONS, OR THE USE OR OTHER DEALINGS IN THE SOFTWARE OR INSTRUCTIONS.

Continue reading only if your agree.

Prerequisites

  • An iPod (Classic - also known as iPod 6G/7G) (It works for Nanos, but the files are different!)
  • Computer with Windows (Linux tutorial coming soon, it's mostly the same except that you don't need to care about drivers, but need to build ipodscsi from source)
  • Patience

Files needed

  • Zadig
  • Python + pyusb + libusb
  • ipoddfu.py
  • libipoddfu.py
  • ipodscsi

Overview of the procedure

  1. You put the iPod into DFU mode
  2. You install a custom driver to that device, so ipoddfu can talk to it (exploit a bootrom vulnarability, to be exact)
  3. You install Python and pyusb
  4. You send the first stage of the restore firmware (called "DFU") to the iPod using ipoddfu
  5. The iPod reconnects with a different USB IDs
  6. You install a custom driver for the new USB device
  7. You send the second stage of the restore firmware (called "WTF") to the iPod using ipoddfu
  8. The iPod shows a monochrome disk mode screen
  9. You repartition the hard disk, upload the new firmware and reboot the iPod - all these three at once using ipodscsi
  10. Your iPod is working again. Yay!

You're ready? Ok, let's do it!

Steps to restore

There's a video of what you see on your computer during the whole procedure. At some point, I messed up the arguments of ipodscsi, so I tried again. Sorry about that. Link to the video:

https://www.youtube.com/watch?v=IEz0cCDBqnQ

Putting the iPod into DFU mode

  1. Get an USB-to-iPod cable.
  2. Connect it to your computer.
  3. Get your iPod.
  4. Lock the HOLD switch, then unlock it after a second.
  5. Connect the USB cable to the iPod.
  6. During the next two steps, disregard what happens on the iPod's screen, just do what we ask you to.
  7. Hold down MENU + SELECT (the center button), and count to 12.
  8. Release the buttons.
  9. You're in DFU mode.

Here's a video, to make it more clear: https://www.youtube.com/watch?v=Y_bIDtBohnE

Installing a custom DFU driver

  1. Download Zadig
  2. Open Zadig
  3. Click menu Options -> List all devices
  4. Select USB DFU Device (the first box of USB ID should be 05AC, the second one depends on the iPod model - 1223 for iPod Classic)
  5. From the options to the right of the green arrow, select libusb-win32
  6. Click the large button named Install driver or Replace driver or Reinstall driver (depending on what driver you have installed at the moment)
  7. Wait for Zadig to complete the installation.
  8. You're ready for the next step

Uploading the first restore stage (DFU)

  1. Press the Start menu button
  2. Type cmd and press Enter
  3. In the black window that opens, type cd Desktop and press Enter (in case your Windows installation is localized, type the name of your desktop folder in your language instead)
  4. Download this file to your Desktop: ipoddfu.py (Right-click, then choose Save link as...)
  5. And this one, too: libipoddfu.py, make sure you also put it there
  6. Another one, this time from Apple's servers: x12230000_Recovery.ipsw (I hope they won't delete it at some point, because we can't legally host it on our server)
  7. Go to your desktop, and rename the ipsw file to zip
  8. Use your favourite tool to extract the zip, WinZip, WinRAR and 7-zip will do it well, even Windows' integrated ZIP extractor will do.
  9. Open the extracted folder, and go to Firmware -> dfu. There should be a file named WTF.x1223.RELEASE.dfu there. Copy it to the desktop.
  10. Back in the black window, type: (or copy/paste)
python ipoddfu.py WTF.x????.RELEASE.dfu

and press Enter.

You should see the following output:

Connected to S5L8702 Bootrom DFU mode, USB version 1
Upload: ................... done

If you see something different, stop here. Otherwise, go ahead.

Installing a custom WTF driver

  1. It's the same as the previous driver install, this time the device is named iPod Recovery and the second ID is 1241 for Classic 1G, 1245 for Classic 2G or 1247 for Classic 3G
  2. Complete the installation, and move to the next step

Uploading the second restore stage (WTF)

  1. "What the f*ck"? No, probably means Writing The Firmware or Waiting for The Firmware - we never found out. Who cares, anyway.
  2. Download one of the following files, depending on your iPod model. You can tell it from the USB ID in the previous step.
    1. For Classic 1G (USB ID 1241), download x12410000_Recovery.ipsw
    2. For Classic 2G (USB ID 1245), download x12450000_Recovery.ipsw
    3. For Classic 3G (USB ID 1247), download x12470000_Recovery.ipsw
  3. As before, rename it to zip and extract it.
  4. Go inside the folder Firmware -> dfu, and copy the file to your desktop. It should be named FIRMWARE.x****.RELEASE.dfu where **** is the USB ID of your iPod at the moment.
  5. Type this command:
python ipoddfu.py FIRMWARE.x????.RELEASE.dfu

and press Enter.

You should see the following output:

Connected to iPod Classic 2G WTF mode, USB version 1
Upload: ........................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
............... done

After 10-20 seconds, you should see an Apple logo on the screen, and after a couple more second a white screen with a stop sign and text Do not disconnect at the bottom. Windows might want to reformat it, say No if it does. Continue to the next step.

Final step: Install Apple's firmware

  1. You're almost there. Go to http://www.felixbruns.de/iPod/firmware/ and download the latest firmware for your iPod model.
  2. As you might have guessed, you need to rename the ipsw to zip, and extract it.
  3. In that folder, you'll find a file named Firmware-XX-X.X.X (X's depending on the model and version). Copy it to the desktop.
  4. Download ipodscsi.exe to your desktop.
  5. Open Windows Explorer, and look for your iPod. It should be in the Removable drives section. Take a note of its drive letter (e.g. F:)
  6. Open the black window, and type:
ipodscsi F: iPod6g writefirmware -p -r Firmware-*

You should see:

ipodscsi v. 0.1.0 r959 - Copyright 2011 by Michael Sparmann (TheSeven)
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Repartitioning... done
Initiating firmware transfer... done
Writing firmware................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
...... done
Rebooting device... done

Your iPod will reboot. You'll see a black screen with an Apple logo, and a progress bar at the bottom. Then it will again, show you another Apple logo for a while, and finally start Apple's firmware.

It should be safe to format it at this point. Use FAT32 as filesystem. Windows isn't going to allow you format large devices with FAT32, so you might need to use a third-party tool. FAT32 Format is a good choice.

Then use iTunes to manage your music/videos. Or install emCORE.

Enjoy your unbricked iPod!

Related info