XboxHacker BBS
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
June 19, 2013, 06:32:06 AM


Login with username, password and session length


Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 »
  Print  
Author Topic: restore hdd game install after ban with nand backup?  (Read 121741 times)
warpjavier
Master Hacker
****
Posts: 108


View Profile
« Reply #100 on: November 23, 2009, 12:07:30 AM »

here's how to properly mimic the old block on the new position:

Once you found out the position for both blocks do this:


nandpro lpt: -R16 oldandgood_secdata.bin XXX 1    (where XXX is the block the file is at... 1CF for last poster)
nandpro lpt: -R16 newandbad_secdata.bin YYY 1    (where YYY is where the new secdata is at... the block you see when you open the nand on the tools)

Resulting files must be 16384 bytes long. Open them on the hexaeditor and check if they contain *only* one kilobyte (1024 decimal or 400h addresses) and the rest should be all zeros.

To replace new with old:

nandpro lpt: -W16 oldandgood_secdata.bin XXX 1   (Puts contents of old block on new position. Nothing else needs to be changed)

Check for XCODE change with XVAL 2.0

Hi,
Wouldn't it be like this?
nandpro lpt: -W16 oldandgood_secdata.bin YYY 1

As you have to replace the bad secdata.bin with the good one?
Logged

Internet Explorer is only useful to download Firefox.
l_oliveira
Xbox Hacker
*****
Posts: 1342


View Profile
« Reply #101 on: November 23, 2009, 12:39:39 AM »

Hi,
Wouldn't it be like this?
nandpro lpt: -W16 oldandgood_secdata.bin YYY 1

As you have to replace the bad secdata.bin with the good one?


Yes, that's correct... Now I'll go sleep as I am too tired to think properly ... lol
Logged


It's a Rough World
sandungas
Master Hacker
****
Posts: 212



View Profile
« Reply #102 on: November 23, 2009, 04:19:06 AM »

what's the offset of the timestamp ? it's not a timestamp starting on 1/1/70 - something in the 0xF80000 range from my calculations ...

The timestamp in the filetable entry is marked in blue in this picture
http://img20.imageshack.us/img20/4887/portapapeles01w.png
The timestamp in the secdata.bin "file" (decrypted with bincrypt 2.0) is in 0x20 lenght 0x8

The entry in the filesystem table is pointing to the real file, both has a timestamp, and this timestamps must match
The "problem" is that is not easy to convert this timestamps between the 2 different formats used
Logged
Redline99
Global Moderator
Xbox Hacker
*****
Posts: 774


View Profile
« Reply #103 on: November 23, 2009, 06:49:46 PM »

The filesystem uses a 4 byte "DOSTIME" 2 bytes date 2 bytes time. The timestamps in the files such as in secdata uses 8 byte  "FILETIME" structure so you need to convert.
Logged

Where's Waldo
warpjavier
Master Hacker
****
Posts: 108


View Profile
« Reply #104 on: November 23, 2009, 07:22:27 PM »

I've done it in a Jasper 16Mb nand and didn't work.
I had to fix the secdata.bin sector by hand to match the new nand format in the jaspers and also recalculate the ecc for the new format, but still didn't work.
Any help will be appreciated it.
Logged

Internet Explorer is only useful to download Firefox.
corpo
Member
**
Posts: 22


View Profile
« Reply #105 on: November 23, 2009, 08:10:25 PM »

Guys, it seems we've missed some commands of nandpro Wink

Quote
-e# (HexStartBlock HexBlockCount) Erase
+W# Write while ADDING ECC from file without ECC
+w# Write while FIXING ECC from RAW (with ECC)
There's all we need to either erase the fsroot or rewrite the old secdata with corrected ecc Wink
Haven't tried this on my box, to busy playing nfs shift from hdd ... Cheesy
Logged
ffriozi
Newbie
*
Posts: 2


View Profile
« Reply #106 on: November 23, 2009, 10:41:23 PM »

can anyone help me? i got the cable to read the nand and etc... and i should do now?

I have JASPER 512mb!!! what i need write to copy nand to my pc? and how to fix it? remember i have Jasper 512mb
Please help. Thanks in advanced.
Logged
sandungas
Master Hacker
****
Posts: 212



View Profile
« Reply #107 on: November 24, 2009, 12:59:38 AM »

can anyone help me? i got the cable to read the nand and etc... and i should do now?

I have JASPER 512mb!!! what i need write to copy nand to my pc? and how to fix it? remember i have Jasper 512mb
Please help. Thanks in advanced.

If you dont know your cpu-key, you need to look in your nand dump with a hex editor, and look for: secdata.bin (this are in the filesystem table, like an index)
Take note of the positions and timestamps of every entry (the bigger timestamp one is your actual used secdata)
Multiply the position of the file * block size of your nand = here begins your file (the size of the file is always 1 block)
You need to erase this block
This forces the console to load an old copy of secdata.bin

If you know your cpu-key you can play with the timestamps
This means that you can take an old secdata.bin and copy it in the position of the last one (overwriting it)
To make this, is needed to match the timestamps of the filesytem table & your new file
*And the ldv info inside the secdata.bin
To modify the file, you need your cpu-key & bincrypt http://www.xboxhacker.net/index.php?topic=12857.0
And to translate timestamps in different formats you need this tool http://www.xboxhacker.net/index.php?topic=12778.msg87552#msg87552



*For more info, read this thread completly, and this one http://www.xboxhacker.net/index.php?topic=12778.0
*I cant explain this better, sorry, my english sucks a bit, and i cant make a tutorial or whatever
« Last Edit: November 24, 2009, 01:09:51 AM by sandungas » Logged
warpjavier
Master Hacker
****
Posts: 108


View Profile
« Reply #108 on: November 24, 2009, 05:45:02 AM »

If you dont know your cpu-key, you need to look in your nand dump with a hex editor, and look for: secdata.bin (this are in the filesystem table, like an index)
Take note of the positions and timestamps of every entry (the bigger timestamp one is your actual used secdata)
Multiply the position of the file * block size of your nand = here begins your file (the size of the file is always 1 block)
You need to erase this block
This forces the console to load an old copy of secdata.bin

I tried that in my jasper, and does not work. I get FFFFFFFFFFFFFFFF Secdata is invalid in Xval.
I tried everything with no luck.
Did anybody have this working in a Jasper?

Thanks
Logged

Internet Explorer is only useful to download Firefox.
sandungas
Master Hacker
****
Posts: 212



View Profile
« Reply #109 on: November 24, 2009, 06:19:23 AM »

Are you working with nandpro to corrupt the block or in a hex editor?
Im not sure how nandpro works with big blocks nands

You can extract the files with the hex editor, first look at the positions in the "index" and make this calculation (in a hex calculator):
position * nand block size = begining of the file
The size of the file is 1 block

In a 16mb nand 1 block is 4200, but in jaspers im not sure, try with this size
maybe you need to calculate using 0x10800 instead of 0x4200 for jasper?  Huh

And take a look at the extracted files in hex... it seems random data but the sizes of data & zeroes are fixed
Resulting files must be 16384 bytes long. Open them on the hexaeditor and check if they contain *only* one kilobyte (1024 decimal or 400h addresses) and the rest should be all zeros.
All valid secdatas must seems like this
If you have your cpu-key, you can decript them with bincrypt, and you can see the timestamp of the file, and a ldv counter





Btw:
The last secdata (the newer, or the actual one used) is not selected by the console using the timestamps
Because timestamps can be "faked" if you change the settings of the console (date & time) before the secdata is created
I have a nand dump here with random timestamps, and the secdata used when booting the console is not the one with the bigger timestamp

The best way to know which one is your last secdata is to open the dump in "360 flash tool" or "bincrypt"
« Last Edit: November 24, 2009, 06:36:11 AM by sandungas » Logged
corpo
Member
**
Posts: 22


View Profile
« Reply #110 on: November 24, 2009, 06:21:22 AM »

If you dont know your cpu-key, you need to look in your nand dump with a hex editor, and look for: secdata.bin (this are in the filesystem table, like an index)
Take note of the positions and timestamps of every entry (the bigger timestamp one is your actual used secdata)
Multiply the position of the file * block size of your nand = here begins your file (the size of the file is always 1 block)
You need to erase this block
This forces the console to load an old copy of secdata.bin

I tried that in my jasper, and does not work. I get FFFFFFFFFFFFFFFF Secdata is invalid in Xval.
I tried everything with no luck.
Did anybody have this working in a Jasper?

Thanks
This is not the secdata's block that you have to erase, it's the fsroot block (which should be the next block) in which you find the reference to the latest secdata.

It's the only way to do it, as secdata.bin AND crl.bin have to match (internal timestamp of secdata.bin has to match the one stored in crl.bin). So without cpu key, you have to erase the last fsroot to force the system to revert to the previous one, with matching crl.bin & not banned secdata.bin.
Logged
Pacote-san
Master Hacker
****
Posts: 410


View Profile
« Reply #111 on: November 24, 2009, 11:02:05 AM »

Ok, so here is what i did.... i dont have a drive right now (sold to a friend but will install a hitachi in a few days, just need my new optical unit to arrive from mail) so i cant confirm that i got the hdd install feature back but bear with me:

This is from my banned 8599 xbox (16mb xenon)

- Dumped my nand 2 times and checked with fc.exe

- Opened my nand.bin file with flashtool and secdata.bin appears as block 0363

- Opened the nand.bin file with Hex Workshop and searched for "secdata.bin"

- Found the secdata.bin filename in eleven places, used the one that is on the 03 63 block

- Used hex calculator to divide the address of this file / 04200 so 00DFD3D0 / 0420 = 364.xxxxxx

- Used Nandpro to read block 0x0364 and opened with Hex Workshop. Started with 1F FB, repeats for a bit, have only one secdata.bin string, lenght 4200...

- Filled the whole thing with zeros, saved as newsecdata.bin and writed it back to 0x0364

The console booted fine but as i have no drive i dont know any other way to test it if this worked

I did any step wrong?

Thanks
« Last Edit: November 24, 2009, 11:06:33 AM by Pacote-san » Logged
corpo
Member
**
Posts: 22


View Profile
« Reply #112 on: November 24, 2009, 12:12:47 PM »

Nothing wrong, but a nandpro lpt: -e16 0x364 would have made things faster Wink
Use Xval to know about banned or not
« Last Edit: November 24, 2009, 12:25:25 PM by corpo » Logged
Pacote-san
Master Hacker
****
Posts: 410


View Profile
« Reply #113 on: November 24, 2009, 12:24:54 PM »

Nothing wrong, but a nandpro lpt: -e16 0x364 would have make things faster Wink
Use Xval to know about banned or not

hmm i was using a tutorial from X-S, i didnt know that just erasing the block would be the same

Thanks Cheesy
Logged
corpo
Member
**
Posts: 22


View Profile
« Reply #114 on: November 24, 2009, 12:26:24 PM »

hmm i was using a tutorial from X-S, i didnt know that just erasing the block would be the same

Thanks Cheesy
I've discovered this command yesterday, sometimes it's usefull to read the nfo Wink
Logged
joeyddr
Master Hacker
****
Posts: 134


View Profile
« Reply #115 on: November 24, 2009, 12:53:25 PM »

Nothing wrong, but a nandpro lpt: -e16 0x364 would have made things faster Wink
Use Xval to know about banned or not

so flashtool to find the secdata.bin block then -e16 0xwhateverthatblockis...
Logged
gupek
Master Hacker
****
Posts: 154



View Profile
« Reply #116 on: November 24, 2009, 12:57:00 PM »

is fstool.exe working in vista? becasue for me not... maby i have missed some libraries?
Logged
Pacote-san
Master Hacker
****
Posts: 410


View Profile
« Reply #117 on: November 24, 2009, 01:00:27 PM »

is fstool.exe working in vista? becasue for me not... maby i have missed some libraries?

I tested fstool and the nand.bin modified by it, didnt work

No one ever confirmed that it would work, the author himself said that he needed someone to test it


Use Xval to know about banned or not

Oh and by the way i testes XVAL and i got

0000000000000400
Console banned

But i can try to play games from HDD but it asks for the disc on the drive (as i have no drive....)
I thing a hdd cripped console wouldnt let you even select this option am i right?
Logged
corpo
Member
**
Posts: 22


View Profile
« Reply #118 on: November 24, 2009, 01:14:10 PM »

Nothing wrong, but a nandpro lpt: -e16 0x364 would have made things faster Wink
Use Xval to know about banned or not

so flashtool to find the secdata.bin block then -e16 0xwhateverthatblockis...
nearly : take to block next to secdata, this is the one needed to erase
Logged
corpo
Member
**
Posts: 22


View Profile
« Reply #119 on: November 24, 2009, 01:15:04 PM »

Oh and by the way i testes XVAL and i got

0000000000000400
Console banned

But i can try to play games from HDD but it asks for the disc on the drive (as i have no drive....)
I thing a hdd cripped console wouldnt let you even select this option am i right?
if you got 0x0400 then hdd install are disabled ...
Banned console allow you to choose but then refuses to launch (same as if the game was installed from another xbox)
Logged
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 »
  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