1.  

How to do the JTAG Hack/Dump NAND/Xell

Discussion in 'Modding Tutorials' started by EclipseModz, Dec 12, 2009 with 2,351 replies and 1,428,378 views.

  1. EclipseModz

    EclipseModz Retired Retired

    Messages:
    7,692
    Likes Received:
    2,675
    Xbins will be needed to download programs for this TUT.
    Code (Text):
    http://rapidshare.com/files/283243738/xbins.exe
    Code (Text):
    http://www.megaupload.com/?d=ZZ6A54YA
    Thanks to halolordkiller3 you can now download this as a .PDF file.
    Download Here

    JTAG HACK


    Requirements:
    - Some wire.
    - Soldering Iron
    - Xbox 360 with kernel version 7371 or lower(Some 7371 and 7363 consoles may not work if they have the patched CB Console manufature date of 6-1-09 and later )
    - 2 Switching Diodes. I used 1N914 - 1N4148

    [​IMG]
    Since the diagram only shows how to tell the Generation this is how you tell what you have.
    Xenon - Non-HDMI
    Zephyr - HDMI
    Opus - Non-HDMI
    Falcon - HDMI
    Jasper - HDMI

    You will need to know your Xbox Motherboard Revision. These are the two diagrams to follow. Each one of these will need to be bridged with a piece of wire and 2 of them require a switching diode.

    The |< is where the diodes go. On the diode itself there is a thick black line. That black line is this side ---> |< of the diode. That will tell you which way to place the diode when installing the JTAG connections. Diode MUST be soldered directly to the board facing the correct way.

    Xenon Motherboard JTAG Connections
    [​IMG]

    Zephyr, Falcon, Opus, Jasper JTAG Connections
    [​IMG]


    How to Dump the Xbox 360 NAND

    Alright now that you have the JTAG connections out of the way its time to install the LPT cable.

    Requirements for Dumping the NAND Image
    You will need the following to dump your Xbox 360 NAND.
    - Computer with a LPT port(Printer port)
    - LPT cable with a DB25 Male end.
    - 5 100-Ohm resistors. I used 100-Ohm 1/2 Watt resistors
    - 1 Switching Diode. I used 1N914 - 1N4148
    - Solder Iron
    - Some patience
    - NandPro20b to dump the NAND
    - Total Commander to make sure your dumps are identical

    **If using a 64bit OS - Download this and Extract inpout32.dll from Win32 folder to nandpro folder. Rename inpout32.dll to DLPortIO.dll
    Code (Text):
    http://rapidshare.com/files/332755032/InpOutBinaries_1200.zip
    Now dumping your NAND is crucial to this. You want to have a good clean NAND image that can be flashed back to the console if need be. So lets get started.

    1. We need to set up the solder connections onto the motherboard. I used a printer cable and cut it midway and spliced it open. Then used a multimeter to figure out which cable goes to which pin. I then wrote the color/pin combination on a piece of paper. If you decide to do the same as me and not make your own cable I suggest writing down the color/pin combo so you don't have to use the multimeter again.

    This is what my printer cable looks like.
    [​IMG]
    As you can see I have all the resistors soldered to the ends of the cable and the one diode attached as well. All I have to do is solder it to the motherboard and I have my connection to the NAND reading and it can dump.

    Soldering the cable to the board.
    Now attaching the cable to the motherboard is easy as long as you know how to read the diagram which is pretty straight forward. Just follow the lines. This diagram also shows the JTAG connections. Just ignore that they are there since you already have the diagrams up top. *Diode MUST be soldered directly the the board, will not work in plug housing if you make your own cable!*

    NOTE: This will make it a lot easier for you that do not solder the resistors to the board and have made your own lpt cable. This will solve most of your "Could not detect flash controller" errors.

    1. Cut spare resistor stems off.
    2. Cut those stems in half.
    3. Wrap the end of your wire from the lpt cable around the stem and solder the stem and wire togehter.
    4. Now Solder that stem INSIDE the hole on the motherboard. Not on top but actually letting it sink inside the point.



    LPT Connections are the same for every single board. There is not difference. This picture names those motherboards because of the JTAG points that are in the picture. Disregard that. LPT connections are the same for ALL boards!

    [​IMG]

    Pin number 18 coming from the LPT cable is shown as ground. This wire should be soldered to either the ground next to where Pin 11 solders to or the ground under where Pin 16 solders to. This will ground it and prevent the 360 from shorting and turning off.

    Ok so now that you have the LPT cable soldered to the motherboard and have your cable connected to your PC. It is time to start dumping the NAND. In order to dump the NAND you will need Nandpro20b which can be downloaded on Xbins.
    Directory for Nandpro20b is
    Code (Text):
    /XBOX 360/development/kernel/nand tools/NandPro/
    Getting files together:
    1. Make a new folder and name it Nandpro20b then extract the content of the rar file into this folder.
    2. Place the Nandpro20b folder in the root directory of your hard drive.
    3. In the Nandpro20b folder there is a prgram called "port95nt.exe" run that to install the drivers. Then you are ready.
    NandPro should work with all 32bit OS's. It is said it works fine with Vista and 7 but may need admin rights and XP Compatibility on.
    Anyway lets get to reading your NAND.

    Plug the power cable into the back of the 360 and into the wall so it has its power source. But do not turn on the 360 as it is not required. All you need to do is plug in the power cable and continue.

    Dumping the NAND:
    1. Click Start
    2. Select run
    3. Type CMD
    4. Now in the command window you will need to type the command to read.
    For Xenon, Zephyr, Flacon, Opus and 16mb Jasper's(No internal memory)
    Code (Text):
    C:\Nandpro20b\nandpro.exe lpt: -r16 nand1.bin
    For Jasper's with 256mb Internal memory.
    Code (Text):
    C:\Nandpro20b\nandpro.exe lpt: -r256 nand1.bin
    For Jasper's with 512mb Internal memory.
    Code (Text):
    C:\Nandpro20b\nandpro.exe lpt: -r512 nand1.bin
    5. Click enter and it should start. If it says testing 4 times and fails you need to check your soldering.
    6. If done right it will start to read the NAND. It should read to block 3FF.
    7. Repeat step 4. You want to have at least 2 dump to compare to each other and make sure they are identical.

    *Note that it is possible that your NAND has bad blocks in it. Error(25x) and you keep getting this each time you dump the NAND don't worry. It is safe to continue because that is just how your NAND image is.

    How to check if your NAND dumps are identical.

    Download Total commander here.
    Code (Text):
    http://rapidshare.com/files/319941523/tcmd750a.exe
    1. Open Total Commander.
    2. Click File
    3. Compare by Content
    4. A new window will open. Open on nand dump for file one and open the second dump for file 2.
    5. Then click Compare.
    6. If it says file are identical you are set to continue. If it does not say that. I suggest you go back and dump 1 or 2 more times.

    If your two dumps are identical. Congratulations. You have successfully dumped your Xbox 360 NAND. Now you can continue.

    Checking the CB Version

    This is a very important step for 360's with the 7371 kernel. Some of these 360's have been patched already to stop the JTAG hack. This is the way to make 100% sure whether or not your 360 is still vulnerable.
    Code (Text):
    /XBOX 360/development/kernel/downgrading/
    Open your NAND image in Degraded1.1
    Your CB version will be displayed.
    [​IMG]
    Exploitable CB versions:
    1888, 1902, 1903, 1920,1921: exploitable xenon
    4558: exploitable Zephyr
    5761, 5766, 5770: exploitable falcon
    6712, 6723: exploitable jasper

    Non-Exploitable CB Versions (CD = 8453 for all of them)
    Xenon: 1922, 1923, 1940
    Zephyr: 4571, 4572, 4578, 4579
    Falcon/Opus: 5771
    Jasper: 6750

    NAND wont open in Degraded? Here is how to fix that.
    1) Make a copy of your NAND backup
    2) Open that copy in a hex editor
    3) At offset 0x0012 you will see 2004 - 2007 Microsoft Corporation
    4) Change that to 2004 - 2005 Microsoft Corporation
    5) Now you image will open in Degraded.

    For Big Block consoles. Degraded will not open your image.

    How to Install Xell

    Xell is used to grab your CPU Key for your console. Which is a good thing to have in case you need to open your KV. Install Xell is easy and takes little to now time. This is not needed to install XBR. XBR already has Xell integrated with it. This is for the people that just need their CPU key to decrypt their KV to get their DVD key. XBR 3 will start Xell if you start the 360 with the eject button.

    First you will need to download it from Xbins. Again here is the directory.
    Code (Text):
    /XBOX 360/development/free60/images/
    Download the image for your motherboard revision. Extract and place it in the nandpro folder. Make it easy on yourself and rename the Xell file to Xell

    With your LPT cable and everything still set up. You will be using nandpro again. So here we go again.

    1. Click start
    2. Click run
    3. Type CMD
    4. Type the command.
    Code (Text):
    C:Nandpro20bnandpro.exe lpt: -w16 Xell.bin
    Don't worry about the file size. It is meant to only write to the beginning of your NAND flash.
    5. Click enter and it should starting writing.
    6. Once it is done writing. Unplug the lpt cable from the PC and turn on the 360. It should boot into a blue screen. If it does then you did it right.

    Getting the CPU key.
    Have a camera ready to take a picture of the Fuse Set's that pop up briefly.
    Take a picture that includes fuse set 3,4,5,and 6. These contain your CPU key.
    [​IMG]

    Take either 3 and 5 or 4 and 6. This will make up your cpu key. 3=4 5=6 So for example. I will take 3 and 5.
    3= E42D681ED06A6D1C
    5= 1FFD8E48C56A2058

    So my CPU Key is - E42D681ED06A6D1C1FFD8E48C56A2058

    Adding either one of the two will make your CPU key.

    After getting your cpu key you can write your original nand image back to the board. Or go straight forward and install XBReboot or freeBOOT.

    How To Install XBReboot
    Will be added very soon!

    To flash your nand image back on, use this command
    For Xenon, Zephyr, Flacon, Opus and 16mb Jasper's(No internal memory)
    Code (Text):
    C:Nandpro20bnandpro.exe lpt: -w16 nand1.bin
    For Jasper's with 256mb Internal memory.
    Code (Text):
    C:Nandpro20bnandpro.exe lpt: -w256 nand1.bin
    For Jasper's with 512mb Internal memory.
    Code (Text):
    C:Nandpro20bnandpro.exe lpt: -w512 nand1.bin
    Typed by me, diagrams taken off Free60.

    This post has been promoted to an article
    Duck, NaS, lowpro and 298 others like this.
  2. decima7e

    decima7e Seasoned Member

    Messages:
    1,808
    Likes Received:
    953
    so do i need a jtagged box below summer 2009 just to read the nand (so i can test to see if my cable works)
    5 people like this.
  3. EclipseModz

    EclipseModz Retired Retired

    Messages:
    7,692
    Likes Received:
    2,675
    You can dump the NAND of any 360 regardless of what dashboard version it has.

    Also the JTAG connections are not needed to dump the NAND either. I just put the JTAG hack before reading the nand.
    11 people like this.
  4. decima7e

    decima7e Seasoned Member

    Messages:
    1,808
    Likes Received:
    953
    i actually have the same exact printer cable as you, so could you just tell me what color wires or whatever to put the resistors on?
    2 people like this.
  5. EclipseModz

    EclipseModz Retired Retired

    Messages:
    7,692
    Likes Received:
    2,675
    Mine are
    Pin 1 - Brown
    Pin 2 - Solid Red
    pin 11 - Purple/White
    Pin 14 - Grey Pink
    Pin 16 - Pink
    Pin 17 - Blue Black
    Pin 18 - Brown black
    Spyro, popkon51, codemaster and 9 others like this.
  6. dontmockme360

    dontmockme360 Enthusiast

    Messages:
    167
    Likes Received:
    58
  7. ddxcb

    ddxcb Contributor

    Messages:
    1,432
    Likes Received:
    189
    u know its eazier to make a bat file then run cmd with in the nandpro exe dir
  8. EclipseModz

    EclipseModz Retired Retired

    Messages:
    7,692
    Likes Received:
    2,675
    9 people like this.
  9. decima7e

    decima7e Seasoned Member

    Messages:
    1,808
    Likes Received:
    953
    ok I put resistors on the first 5 wires, and then realized that there is two more pins there than there are supposed to be. Which one(s) do I put a switching diode on? which ones do I put resistors on?

    edit: nvm, pin 11

    edit 2: what do I do with pin 18, it just says to "screwhole" or something, what does that mean?
    1 person likes this.
  10. EclipseModz

    EclipseModz Retired Retired

    Messages:
    7,692
    Likes Received:
    2,675
    Look on the diagram. Solder it to a ground from a board.

    I solder it to the ground hole below where pin 16 solders.
    4 people like this.
  11. BNK

    BNK Enthusiast

    Messages:
    163
    Likes Received:
    17
    So does that mean you can swap KV without actually doing the JTAG?
  12. EclipseModz

    EclipseModz Retired Retired

    Messages:
    7,692
    Likes Received:
    2,675
    If you have your CPU key yes.
    1 person likes this.
  13. Scar

    Scar Retired Retired

    Messages:
    5,262
    Likes Received:
    1,416
    No, as you need your CPU key to swap KV's and you cant get that without the JTAG hack and Xell.
    2 people like this.
  14. unknown v2

    unknown v2 VIP VIP

    Messages:
    3,224
    Likes Received:
    1,223
    You can't swap the KV on the newer 360's because of the signature on the KV.
    1 person likes this.
  15. decima7e

    decima7e Seasoned Member

    Messages:
    1,808
    Likes Received:
    953
    what if it says "could not detect a valid flash controller"
    1 person likes this.
  16. EclipseModz

    EclipseModz Retired Retired

    Messages:
    7,692
    Likes Received:
    2,675
    Check your soldering. Make sure you install it right.
  17. Scar

    Scar Retired Retired

    Messages:
    5,262
    Likes Received:
    1,416
    Also make sure you have the power cable plugged into your 360.
    2 people like this.
  18. EclipseModz

    EclipseModz Retired Retired

    Messages:
    7,692
    Likes Received:
    2,675
    Forgot to put that in there. Fixed.
    1 person likes this.
  19. Forgoten Dynasty

    Forgoten Dynasty Free Sosa #bangbang

    Messages:
    5,832
    Likes Received:
    2,385
    This is sick if only i had an exploitable xbox :(.
  20. jeffrey1790

    jeffrey1790 Enthusiast

    Messages:
    45
    Likes Received:
    1
    Is it possible to make a tutorial on how to build an XBReboot image?


    Are you using the belkin printer cable?