Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

FPT not found #9

Closed
simonepsp opened this issue Dec 9, 2016 · 6 comments
Closed

FPT not found #9

simonepsp opened this issue Dec 9, 2016 · 6 comments

Comments

@simonepsp
Copy link

simonepsp commented Dec 9, 2016

Hi,
I'm trying to deblob the intel ME image of my Thinkpad X230 but the script reports "FPT not found".
I checked with an hex editor and the issue seems related to the $FPT position. The script is looking for "$FPT"on 0x30 but on my Intel ME image it is located on 0x3010...

Fixing the seek to 0x3010 isn't enough 'cause even the FPTR partition is "wrongly" located and the script can't find it.
Thanks for your help

ME Backup rom
01


02

P.S. I'm sure that the dump is correct. I have already double-checked it. :)

@corna
Copy link
Owner

corna commented Dec 9, 2016 via email

@simonepsp
Copy link
Author

simonepsp commented Dec 9, 2016

Thanks for pointing that out :)
Unfortunately I still have a problem with the checksum correction:

Correcting checksum...
Traceback (most recent call last):
File "me_cleaner.py", line 84, in
(sum(checksum_bytes) - checksum_bytes[0x1b]) &
TypeError: unsupported operand type(s) for +: 'int' and 'str'

Any ideas? Thanks

@corna
Copy link
Owner

corna commented Dec 10, 2016 via email

@simonepsp
Copy link
Author

simonepsp commented Dec 10, 2016

same error. I think the issue regards "sum(checksum_bytes)". Probably because it can't sum() a string.

image

Correcting checksum...
Traceback (most recent call last):
File "me_cleaner.py", line 208, in
(sum(checksum_bytes) - unpack("<B", checksum_bytes[0x1b])[0]) &
TypeError: unsupported operand type(s) for +: 'int' and 'str'

@simonepsp
Copy link
Author

solved. The script must be run with python 3 to work.

@corna
Copy link
Owner

corna commented Dec 12, 2016

Yes, as stated in the shebang
I'll add a notice in the README
Please add a comment in #3 if it works on your thinkpad

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants