How to get BIN file from clean MacBook? (SOLVED)


Rendering Error in layout Widget/Social: Call to a member function exists() on null. Please enable debug mode for more information.
More
8 years 6 months ago - 8 years 6 months ago #1332 by bestfood
Hi, as I mention above how could I get BIN file from clean MacBook Pro retina late 2013 with EMC 2678. It could help me and someone else in the future.

Regards
Last edit: 8 years 6 months ago by bestfood.

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #1333 by thaGH05T
The EMC # is very important as well as the processor architecture.
The following user(s) said Thank You: bestfood

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #1334 by bestfood
Sorry for insufficient information
It is MacBook Pro retina late 2013
CPU 2.6 i5
Model A1502
EMC 2567

My question is any way to dump bin file from clean MacBook?
As far as I can see from this site is SPI programmer such as bus pirate. Or does anyone have that file?

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #1335 by rileystudent
I have a board i can pull a dump off you for if you want??
The following user(s) said Thank You: bestfood

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #1336 by bestfood
It could be greatly appreciated for your help.

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago - 8 years 6 months ago #1337 by token.paul
If it is clean macbook you can boot it. If you can boot the machine you can dump firmware by 'flashrom'

Little instruction:
1. Make sure that kernel loaded into kext-dev mode.

$ nvram -p
.... skipped...
boot-args kext-dev-mode=1
...
$

If 'boot-args kext-dev-mode=1' not seen, add it by command:

sudo nvram boot-args=kext-dev-mode=1

Check 'nvram' command output again and reboot the machine.

2. Take and unpack this archive ghostlyhaks.com/media/kunena/attachments/628/flashrom_10.10-r.zip into some folder.
You'll find kext driver and 'flashrom' executable inside. Set permissions to 'DirectHW.kext' driver by command:

sudo chown -R root:wheel ./DirectHW.kext
sudo chmod -R 755 ./DirectHW.kext


3. Load kext driver.

sudo kextload ./DirectHW.kext

You should not see any messages but you can check that driver loaded by 'tail /dev/log/system.log' command:

tail /var/log/system.log
Sep 23 17:58:36 ******** sudo[1603]: **** : TTY=ttys002 ; PWD=/Users/********/flashrom_10.10_recompiled ; USER=root ; COMMAND=/sbin/kextload ./DirectHW.kext
Sep 23 17:58:36 ******** com.apple.kextd[48]: kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext "/Users/*********/flashrom_10.10_recompiled/DirectHW.kext"
Sep 23 17:58:36 ******* kernel[0]: DirectHW: Driver v1.3 (compiled on Mar 2 2015) loaded. Visit www.coresystems.de/ for more information.


4. Get a dump
Check that you need to not specify '-c' option. Just run 'flashrom -p internal'. And read a firmware with: 'flashrom -p internal -r ./firmware_dump.bin'
Last edit: 8 years 6 months ago by token.paul. Reason: tag syntax, spelling
The following user(s) said Thank You: bestfood

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #1341 by rileystudent
Alright here is a dump for it. It was actually from a board that was locked but was cleaned and now works fine. If you have any problems let me know and ill get you another dump. drive.google.com/open?id=0B9-VGUptz7wLbS1TYzV3WG5IaWM
The following user(s) said Thank You: bestfood

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #1342 by bestfood
thank you rileystudent i save it all ready.
I have tried token.paul instructions but got an error about signature something.

thanks again

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #1343 by token.paul

I have tried token.paul instructions but got an error about signature something.

Seems that you don't loaded the system in kext-dev mode... Can you show an output?

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #1345 by bestfood

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #1349 by rileystudent
Did the dump work??

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #1350 by bestfood
Yes with token.paul adviced

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #1351 by rileystudent
Great Glad to help!!!

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #1353 by thaGH05T
Ok wait.... So token.paul did you get flashrom to work on Mac's internally now???

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #1356 by token.paul
Only for read. You can't write into protected regions but can dump from a chip.

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #1357 by bestfood
Can you please make sure that bin file from DirectHW.kext and flashrom can be dump on another mac in the same specs.

Thank you

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #1358 by token.paul
Not sure that clearly understand you question. If you mean that: is dumped firmware from one computer can be used on another same? Answer: Yes. But in this case donor machine will be 'cloned'. Flashed computer with that dump will have same serial number with donor machine as well as EFI password and customer's settings.

flashrom is just a tool. It reads chip with SPI programmer doesn't matter internal or external.

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #1359 by bestfood
Technically, I have to change serial number in bin file as well as clear password before dump to another chip. Am I right?

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #1360 by token.paul
Yes. If you have got a clean firmware dump you need change a serial only.
The following user(s) said Thank You: bestfood

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #1361 by bestfood
As far as I know EFI password located in $SVS blog.
How about serial number where are they located?

Thank you

Please Log in or Create an account to join the conversation.

Who's Online

We have 336 guests and no members online

N00BZ

  • ljamal
  • ljamal74
  • mikeg2atest
  • ducchinhbui
  • anjarezt

Cookies