Can we flash ECC files?

XBOX NAND rad/write.
Post Reply
gypo
Junior Member
Posts: 14
Joined: Mon Jan 10, 2011 7:29 am

Can we flash ECC files?

Post by gypo »

Has anyone tried flashing an ECC to an xbox 360 yet?

Is this even necessary or do we patch the NAND in a similar way to the smc hack?
gypo
Junior Member
Posts: 14
Joined: Mon Jan 10, 2011 7:29 am

Post by gypo »

I've just created and flashed an ECC with the NT and it seemed to work fine.

I haven't booted the xbox yet as I've not programmed the CPLD, just finished wiring up a PJTAG cable to flash the CPLD with. I wont be doing any more until tomorrow, I will let you know if the xbox boots once I have attempted it.
liteon6x
Junior Member
Posts: 3
Joined: Sun Nov 23, 2008 7:29 pm

Post by liteon6x »

i just flashed 2 xbox with two different ecc files now none of them will boot

but usb jatg is erasing the whole nand
the nandpro software does the wrtiting different

Image

Uploaded with ImageShack.us


could some one tell me how to do this with usbjtag nt
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

You should do a cmpram after programming.
If you click the button then it is program the entire flash. If you only interested in certain area (boot) then you need to type in the flash area to only target.
Not like JTAG (MIPS) which sometime need target has good boot. In here you can still program it even the boot is erased.
liteon6x
Junior Member
Posts: 3
Joined: Sun Nov 23, 2008 7:29 pm

Post by liteon6x »

how hell do i do that
gypo
Junior Member
Posts: 14
Joined: Mon Jan 10, 2011 7:29 am

Post by gypo »

Finally got around to installing the cpld and it's glitching OK but not booting to xell.

I will play around with the NAND and let you know what changes I have to make to get it to boot, unless you beat me to it and already have the info to share?
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

liteon6x wrote:how hell do i do that
cmpram is the command to compare the data on the taget with your memory on PC. If it failed then your programmed failed and you should try to program one more time.

Also NAND is different than the NOR flash, some NAND have bad sectors and if you program a good back to such NAND chip with bad sectors in the range of your program area, the cmpram will fail but it will be hard to fix unless you have a full back up of your existing flash.

In the new embedded linux systems, more and more NAND chips are used, however typical programming to NAND devices is to use JTAG to program a boot (u-boot), then either use serial port, USB or use network to program the NAND which will skip the bad sectors and make the flash really bootable.
nahdude
Junior Member
Posts: 15
Joined: Fri Jan 08, 2010 9:27 pm

Post by nahdude »

gypo wrote:Finally got around to installing the cpld and it's glitching OK but not booting to xell.

I will play around with the NAND and let you know what changes I have to make to get it to boot, unless you beat me to it and already have the info to share?
From the CPLD thread you asked..

Did you manage to patch the NAND with the ECC file and flash it with the NT?

Are you referring to the ECC generated by the build.py script?
If so, I didn't patch the orginal nand dump with the ECC, I just flashed the 1,320KB ECC to the nand with the NT.

This allows xell to boot to get the cpukey. Then with the cpukey you can use ggbuild to create final image.
gypo
Junior Member
Posts: 14
Joined: Mon Jan 10, 2011 7:29 am

Post by gypo »

Cheers mate,

I had come to the conclusion that my cpld wasn't programmed correctly last night, this also points to the same thing.

Thanks for the help.
studio1b
Junior Member
Posts: 29
Joined: Sun Feb 28, 2010 11:56 pm

Post by studio1b »

can we get a update for the xbox360 area to program the ecc bank would be nice to have in there
or would could just use commands
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

studio1b wrote:can we get a update for the xbox360 area to program the ecc bank would be nice to have in there
or would could just use commands
Where ECC file is programmed to? NAND? Then it can be programmed with NT today.
studio1b
Junior Member
Posts: 29
Joined: Sun Feb 28, 2010 11:56 pm

Post by studio1b »

I understand now

1.) Take your Dumped nand
2.) run it threw JTAG TOOL make your ECC file
3.) LOAD USBJTAG NT set to xbox 360
4.) LOAD THE NEW ECC FILE U MADE
5.) WRITE
6.) BOOT XELL
7.) GET CPU KEY
8.) MAKE YOUR HACKED NAND IMAGE NOW
9.) FLASH YOUR HACKED IMAGE
gypo
Junior Member
Posts: 14
Joined: Mon Jan 10, 2011 7:29 am

Post by gypo »

That's how I'm doing it, not had any more problems since I did the first one using lots of guess work.

Now I just need to find an image showing me where to connect the usbjtagnt to a trinity!
rainfade
Junior Member
Posts: 10
Joined: Thu Sep 01, 2011 2:01 pm

Post by rainfade »

What I've been doing is

1) Dump whole nand with usbjtagnt
2) Use tool of choice (I use 360 multi builder) to make the ecc
3) Use nandpro to write the ecc to VIRTUAL nand (the full dump) and be sure to use ecc this creates a full nand image with the ecc changes
4) Flash this full dump modified with the .ecc file
5) Wire glitch board of choice
6) Boot to Xell, get keys.
7) Back in tool of choice with keys in hand(I use multi builder) make the full nand image for RGH
8) Move this nandflash.bin and the nandflash.bin (in the case of multi builder) and the xenon.elf to thumb drive.
9) Boot to xell, let xenon.elf flash the nandflash.bin
10) Reboot with power or controller into the dashboard of your newly RGH'd 360.
studio1b
Junior Member
Posts: 29
Joined: Sun Feb 28, 2010 11:56 pm

This is the golden egg

Post by studio1b »

studio1b wrote:i understand now
1.) take your dumped nand
2.) run it threw jtag tool make your ecc file
3.) load usbjtag nt set to xbox 360
4.) load the new ecc file u made
5.) write
6.) boot xell
7.) get cpu key
8.) make your hacked nand image now
9.) flash your hacked image
rainfade wrote:what i've been doing is
1) dump whole nand with usbjtagnt
2) use tool of choice (i use 360 multi builder) to make the ecc
3) use nandpro to write the ecc to virtual nand (the full dump) and be sure to use ecc this creates a full nand image with the ecc changes
4) flash this full dump modified with the .ecc file
5) wire glitch board of choice
6) boot to xell, get keys.
7) back in tool of choice with keys in hand(i use multi builder) make the full nand image for rgh
8) move this nandflash.bin and the nandflash.bin (in the case of multi builder) and the xenon.elf to thumb drive.
9) boot to xell, let xenon.elf flash the nandflash.bin
10) reboot with power or controller into the dashboard of your newly rgh'd 360.
^^^ thats the ticket :) this should be a sticky - cut this info and add it to a sticky please :) :) :)
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests