All times are UTC - 5 hours [ DST ]


Forum rules


Please do not post questions about data recovery cases here (use this forum instead). This forum is for topics on finding new ways to recover data. Accessing firmware, writing programs, reading bits off the platter, recovering data from dust...



Post new topic Reply to topic  [ 101 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject: Re: Head Map Parser
PostPosted: January 23rd, 2021, 17:50 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15461
Location: Australia
The footer is preceded by a character count. If the text string were always the same length, then we wouldn't need the character count, assuming that is indeed what it is. Therefore it stands to reason that the head count can be two decimal (?) digits, and the character count would become 7.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: January 23rd, 2021, 17:51 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15461
Location: Australia
fzabkar wrote:
It would appear that the first word is a character count, ie 6. AIUI, your code assumes that the maximum head number is 9 ("Head#9"). I'm wondering what would happen if there were a case where the head count were 10 or greater. Would the 10th head become "Head#A" or "Head#10"? In the latter case, would the word count become 0x0800 rather than 6?

That should be 0x0700, not 0x0800.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: January 23rd, 2021, 17:55 
Offline

Joined: September 17th, 2016, 16:06
Posts: 430
Location: India
fzabkar wrote:
The footer is preceded by a character count. If the text string were always the same length, then we wouldn't need the character count, assuming that is indeed what it is. Therefore it stands to reason that the head count can be two decimal (?) digits, and the character count would become 7.


pretty correct. No wonder. Seems pretty intuitive aswell.


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: January 23rd, 2021, 17:57 
Offline

Joined: September 17th, 2016, 16:06
Posts: 430
Location: India
All i need now is a map that has more than 9 heads....Let me see if I have such a drive which is donated to the firm.
I a sure there is 1 piece...but i need to locate it ...give me time till tomorrow


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: January 23rd, 2021, 18:09 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15461
Location: Australia
Can you not generate a MAP file from a resource dump? Do you actually need the physical drive. :-?

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: January 23rd, 2021, 18:11 
Offline

Joined: September 17th, 2016, 16:06
Posts: 430
Location: India
I think i would need a physical drive. I am not sure if a resource dump would allow me to create a head map without an actual drive. If it can, then i possibly do not know how. :D


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: January 23rd, 2021, 19:15 
Offline

Joined: September 17th, 2016, 16:06
Posts: 430
Location: India
wondering if 10 can be saved as 31 30?
thats where the character count would really make more sense?

also you are again right, unicode for 1 is 31.
2 is 32 and so on till 39.


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: January 24th, 2021, 13:21 
Offline

Joined: September 17th, 2016, 16:06
Posts: 430
Location: India
HI, I figured out the case for more than 10 heads aswell :)


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: January 24th, 2021, 14:09 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15461
Location: Australia
Can you show us a MAP file with more than 10 heads?

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: January 24th, 2021, 14:33 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15461
Location: Australia
Offsets 0x4 - 0x7 in the MAP file contain the number of serpentine segments (LBA chains).

For example, the Vinod.MAP file has 0x1C0 LBA chains.

Code:
Offset(h) 00       04       08       0C

00000000  FBFFFFFF C0010000 00000000 00000000

Each record has a size of 0x2A bytes, so the size of the MAP file is ...

    0x8 + (0x1C0 x 0x2A) = 0x4988

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: January 24th, 2021, 14:36 
Offline

Joined: September 17th, 2016, 16:06
Posts: 430
Location: India
US ? Its just we two talking here. :)

But I must say all you have said is correct.
I am reprogramming few sections of the code, so now it should accept more than 10 heads.

I need some more free time to figure how would the fwrite function call make it compatible enough for DDI.


I will pm you the map file instead....why post here, its just we two talking.


--


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: January 24th, 2021, 14:41 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15461
Location: Australia
Well, 47 people have downloaded your tool, so I think there is plenty of interest.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: January 24th, 2021, 14:41 
Offline

Joined: September 17th, 2016, 16:06
Posts: 430
Location: India
fzabkar wrote:
Offsets 0x4 - 0x7 in the MAP file contain the number of serpentine segments (LBA chains).

For example, the Vinod.MAP file has 0x1C0 LBA chains.

Code:
Offset(h) 00       04       08       0C

00000000  FBFFFFFF C0010000 00000000 00000000

Each record has a size of 0x2A bytes, so the size of the MAP file is ...

    0x8 + (0x1C0 x 0x2A) = 0x4988
--
0x8 + (0x1C0 x 0x2A) = 0x4988 thats correct. However I have written to count the same in an incremental way for every if condition true for the footer. (I mean the number of chains/zones), not the actual length of file. It didnt make sense to calculate length of file any way for this project for now atleast

the 2A length of record part may change for more than 10 heads.
--


Last edited by sin on January 24th, 2021, 14:54, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: January 24th, 2021, 14:42 
Offline

Joined: September 17th, 2016, 16:06
Posts: 430
Location: India
fzabkar wrote:
Well, 47 people have downloaded your tool, so I think there is plenty of interest.



thanks :D However I am shit scared to piss off ACE or DeepSpar with my actions. So I dont think so I would post any more material here.
If my licenses get void, i would die of hunger :)


Last edited by sin on January 24th, 2021, 14:45, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: January 24th, 2021, 14:43 
Offline

Joined: November 7th, 2020, 5:31
Posts: 1084
Location: The_UK
.
sin wrote:
US ? Its just we two talking here. :)
I will pm you the map file instead....why post here, its just we two talking.
--


You may be the only ones talking but there are lots of us listening :D :)

_________________
Data Recovery Services in the UK.
https://www.usbrecovery.co.uk/


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: January 24th, 2021, 14:44 
Offline

Joined: September 17th, 2016, 16:06
Posts: 430
Location: India
Lardman, <3 :)


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: January 24th, 2021, 14:54 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15461
Location: Australia
sin wrote:
However I am shit scared to piss off ACE or DeepSpar with my actions. So I dont think so I would post any more material here.
If my licenses get void, i would die of hunger :)

If anyone has annoyed the tool vendors, it would be me. But that hasn't stopped Ace from making an unsolicited offer of PC3000 + DE + SSD.

AISI, the tool vendors can only benefit from anything that makes their tools more useful. Secrecy is self defeating.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: January 24th, 2021, 15:04 
Offline

Joined: September 17th, 2016, 16:06
Posts: 430
Location: India
fzabkar wrote:
sin wrote:
However I am shit scared to piss off ACE or DeepSpar with my actions. So I dont think so I would post any more material here.
If my licenses get void, i would die of hunger :)

If anyone has annoyed the tool vendors, it would be me. But that hasn't stopped Ace from making an unsolicited offer of PC3000 + DE + SSD.

AISI, the tool vendors can only benefit from anything that makes their tools more useful. Secrecy is self defeating.


Well, if at all you can accept that offer and send the unit to me. <3 :P
heheh

Again, the offer is for you and not for me.
Again, The level of research that you do and the postmortem of various engineering/embedded utilities that you can do is unmatched.

For a peasant like me, ACE has the power to trun off my unit remotely and that would force me to use DFL or MRT...not that those tools are bad...but i have changed preferences due to nation wide interests and customs blocking most of Chinese products or over questioning the imports from China...

I am a DDI fanboy and really don't wish to spoil relations with them AT ALL. Also, that would affect Dr.Arora's(my fathers) relation with DeepSpar if they perceive my actions wrongly.

Though, I have taken some kind of a consent before posting here from both the companies, i just don't want to over step :D


--
PS: Imma pussy :P


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: January 24th, 2021, 15:08 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15461
Location: Australia
sin wrote:
fzabkar wrote:
sin wrote:
However I am shit scared to piss off ACE or DeepSpar with my actions. So I dont think so I would post any more material here.
If my licenses get void, i would die of hunger :)

If anyone has annoyed the tool vendors, it would be me. But that hasn't stopped Ace from making an unsolicited offer of PC3000 + DE + SSD.

AISI, the tool vendors can only benefit from anything that makes their tools more useful. Secrecy is self defeating.


Well, if at all you can accept that offer and send the unit to me.

It wasn't free, but it was a good price. If I were in the business, I would have taken it up.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: January 24th, 2021, 15:11 
Offline

Joined: September 17th, 2016, 16:06
Posts: 430
Location: India
I am sure...however it is difficult to be in this business in my area with multiple competitors undercutting the prices
customers paying not more than 100-150 USD for recovery and then meeting ends meet by paying the bills.

On top of it, pissing off a mfg would be a no no :P
:D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 101 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group