XboxHacker BBS
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
June 19, 2013, 03:22:54 PM


Login with username, password and session length


Pages: 1
  Print  
Author Topic: How To Remap Bad Blocks For XBR On Large Block Nand?  (Read 3308 times)
crimpshrine
Master Hacker
****
Posts: 109


View Profile
« on: January 06, 2010, 11:16:03 AM »

I have done 2 or 3 large block Jaspers without issue.

I ran into an issue today where I have a 512 Jasper that has a bad block at B0 which is near the beginning.

Not near enough the beginning so that it effected me flashing xell to dump the entire nand, but near enough that I think it is effecting XBR when that is written back to the Nand.

When I write XBR to this specific Nand, Nandpro during writing says: Error: 202 Programming block B0.

That is the ONLY block it has an issue with during programing. This is the only Nand I have experienced an error during writing of XBR.

I assume that whatever the location of B0 is, if nandpro is not accounting for this bad write and updating the data on the Nand to reflect relocating whatever would be at B0, is why I CAN'T get XBR to come up on this unit.

What happens when Nandpro can't write block B0? Does it move on and whatever data should have been written to B0 is then just skipped?

How does one address a bad block on the large block jaspers?

No tool I have found does anything with the large block dumps.

Can someone tell me how to do this by hand?

Any assistance or a pointer to something that would help would be great.

Thanks
Logged
Arakon
Administrator
Xbox Hacker
*****
Posts: 6925


View Profile
« Reply #1 on: January 06, 2010, 11:29:05 AM »

Read Block B0 from the XBR image with nandpro to a file. Then write the file to whatever the last block of the full nand is.
Logged

I do NOT give support by email, PM, ICQ or whatever. Anyone annoying me that way will have his balls removed. With a rusty butterknife. Slowly. And I'll enjoy doing it.
crimpshrine
Master Hacker
****
Posts: 109


View Profile
« Reply #2 on: January 06, 2010, 11:40:03 AM »

Read Block B0 from the XBR image with nandpro to a file. Then write the file to whatever the last block of the full nand is.

Thanks for the quick response!

I assume the Nand knows it has a bad block B0, and the data that was in block B0 is currently residing at the last block of the Nand. (in my dump, and on the Nand itself)

So all bad blocks reside in reverse order at the end of the Nand?

Now I need to get the B0 data from XBR into that last block of the Nand.

So can someone please explain with nandpro the syntax on how I do this?

I can follow other nandpro syntax but I am not sure if it is only applicable to small block nands. (I have a 512Meg nand)

Thanks again

Edit:

Actually can someone confirm if this is right?

I don't know what xxxx should be..

nandPro xbr.bin: -r512 bad1.bin b0 1
nandpro lpt: -w512 bad1.bin xxxx 1

Would xxxx be 7FFF?



« Last Edit: January 06, 2010, 12:25:43 PM by crimpshrine » Logged
Arakon
Administrator
Xbox Hacker
*****
Posts: 6925


View Profile
« Reply #3 on: January 06, 2010, 12:29:03 PM »

The order doesn't even matter, the nand filesystem simply checks all the reserved blocks at the end for the missing one.
If the full nand is 7FFF long, then yes, 7FFF.
Logged

I do NOT give support by email, PM, ICQ or whatever. Anyone annoying me that way will have his balls removed. With a rusty butterknife. Slowly. And I'll enjoy doing it.
crimpshrine
Master Hacker
****
Posts: 109


View Profile
« Reply #4 on: January 06, 2010, 12:33:54 PM »

Thanks for the help.
Logged
nitroxeno
Newbie
*
Posts: 8


View Profile
« Reply #5 on: January 06, 2010, 08:06:24 PM »

I have the same issue on my 256mb Jasper but need to move multiple blocks. Would anyone be able to help me with the commands to move the following blocks?

Error: 202 Programming block B0
Error: 202 Programming block 4F0
Error: 202 Programming block 500
Error: 202 Programming block 510
Error: 202 Programming block 5D0
Error: 202 Programming block 8C8
Logged
Arakon
Administrator
Xbox Hacker
*****
Posts: 6925


View Profile
« Reply #6 on: January 06, 2010, 08:25:14 PM »

same as above, except you go backwards on the highest address.. (I think it's 3FFF for 256 MB).. 3FFF for one, 3FFE for the next, 3FFD.. etc.
Logged

I do NOT give support by email, PM, ICQ or whatever. Anyone annoying me that way will have his balls removed. With a rusty butterknife. Slowly. And I'll enjoy doing it.
nitroxeno
Newbie
*
Posts: 8


View Profile
« Reply #7 on: January 06, 2010, 08:42:14 PM »

Thanks for the quick response. So just to be sure this should do the trick right?

Code:
nandPro xbr.bin: -r256 bad1.bin b0 1
nandPro xbr.bin: -r256 bad2.bin 4F0 1
nandPro xbr.bin: -r256 bad3.bin 500 1
nandPro xbr.bin: -r256 bad4.bin 510 1
nandPro xbr.bin: -r256 bad5.bin 5D0 1
nandPro xbr.bin: -r256 bad6.bin 8C8 1

nandpro lpt: -w256 bad6.bin 3FFF 1
nandpro lpt: -w256 bad5.bin 3FFE 1
nandpro lpt: -w256 bad4.bin 3FFD 1
nandpro lpt: -w256 bad3.bin 3FFC 1
nandpro lpt: -w256 bad2.bin 3FFB 1
nandpro lpt: -w256 bad1.bin 3FFA 1
Logged
Arakon
Administrator
Xbox Hacker
*****
Posts: 6925


View Profile
« Reply #8 on: January 07, 2010, 04:42:49 AM »

yep.
Logged

I do NOT give support by email, PM, ICQ or whatever. Anyone annoying me that way will have his balls removed. With a rusty butterknife. Slowly. And I'll enjoy doing it.
Diddy
Newbie
*
Posts: 4


View Profile
« Reply #9 on: January 11, 2010, 05:24:49 PM »

Can i ask a little question here. I have now got 3 identical dumps for my 256mb jasper. I have the following "Bad Blocks" (These are all full 256mb dumps)
0A58 Error: 250 reading block A58
0A59 Error: 210 reading block A59
0A5A Error: 210 reading block A5A
0A5B Error: 210 reading block A5B
0A5C Error: 210 reading block A5C
0A5D Error: 210 reading block A5D
0A5E Error: 210 reading block A5E
0A5F Error: 210 reading block A5F


now I want to remap these before i carry on (Just so I have a totally "safe" backup. I have looked above and came up with the following.
nandPro xbr.bin: -r256 bad1.bin A58 1
nandPro xbr.bin: -r256 bad2.bin A59 1
nandPro xbr.bin: -r256 bad3.bin A5A 1
nandPro xbr.bin: -r256 bad4.bin A5B 1
nandPro xbr.bin: -r256 bad5.bin A5C 1
nandPro xbr.bin: -r256 bad6.bin A5D 1
nandPro xbr.bin: -r256 bad7.bin A5E 1
nandPro xbr.bin: -r256 bad8.bin A5F 1

nandpro lpt: -w256 bad8.bin 3FFF 1
nandpro lpt: -w256 bad7.bin 3FFE 1
nandpro lpt: -w256 bad6.bin 3FFD 1
nandpro lpt: -w256 bad5.bin 3FFC 1
nandpro lpt: -w256 bad4.bin 3FFB 1
nandpro lpt: -w256 bad3.bin 3FFA 1
nandpro lpt: -w256 bad2.bin 3FF/ 1
nandpro lpt: -w256 bad1.bin 3FF/ 1

I am stuck at what to put in the last 2 lines. What do I replace "/" with please ? I am a newbie at all this and have tried my best to go it alone lol. Didn't want to distract you guys from your good work. Thanks in advance for any help.
Logged
twicko
Member
**
Posts: 35


View Profile
« Reply #10 on: January 11, 2010, 05:35:54 PM »

nandpro lpt: -w256 bad2.bin 3FF9 1
nandpro lpt: -w256 bad1.bin 3FF8 1
Logged
Diddy
Newbie
*
Posts: 4


View Profile
« Reply #11 on: January 11, 2010, 05:59:27 PM »

Thankyou very much.
Logged
Bydox
Member
**
Posts: 30


View Profile
« Reply #12 on: January 11, 2010, 09:25:04 PM »

This might not work.  Check the xbrflash thread.  It looks like the large nand (256/512MB) stores bad blocks at the end of the initial 64MB area - not at the end of the NAND as expected.
Logged
Pages: 1
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM