Did i read the wrong chip?


Rendering Error in layout Widget/Social: Call to a member function exists() on null. Please enable debug mode for more information.
More
7 years 7 months ago #4525 by lxx33
When I scan-n-patch my file i got the following message.
File size: 0x003fffff (4194304) bytes. Record format type 1 detected
Image for 4 Mbytes flash chip
SVS Area not detected.

Is this because I download the wrong file, or is something else wrong.
sudo flashrom -p linux_spi:dev=/dev/spidev0.0
flashrom v0.9.9-r1954 on Linux 4.4.13+ (armv6l)
flashrom is free software, get the source code at https://flashrom.org

Calibrating delay loop... delay loop is unreliable, trying to continue OK.
Found Macronix flash chip "MX25L3205(A)" (4096 kB, SPI) on linux_spi.
Found Macronix flash chip "MX25L3205D/MX25L3208D" (4096 kB, SPI) on linux_spi.
Found Macronix flash chip "MX25L3206E/MX25L3208E" (4096 kB, SPI) on linux_spi.
Found Macronix flash chip "MX25L3273E" (4096 kB, SPI) on linux_spi.
Multiple flash chip definitions match the detected chip(s): "MX25L3205(A)", "MX25L3205D/MX25L3208D", "MX25L3206E/MX25L3208E", "MX25L3273E"
Please specify which chip definition to use with the -c <chipname> option.

I selected the MX25L3206E/MX25L3208E chip

hope somebody can help me

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

More
7 years 7 months ago #4526 by CygnusX1
Replied by CygnusX1 on topic Did i read the wrong chip?

lxx33 wrote: When I scan-n-patch my file i got the following message.

File size: 0x003fffff (4194304) bytes. Record format type 1 detected
Image for 4 Mbytes flash chip
SVS Area not detected.

Is this because I download the wrong file, or is something else wrong.
sudo flashrom -p linux_spi:dev=/dev/spidev0.0
flashrom v0.9.9-r1954 on Linux 4.4.13+ (armv6l)
flashrom is free software, get the source code at https://flashrom.org

Calibrating delay loop... delay loop is unreliable, trying to continue OK.
Found Macronix flash chip "MX25L3205(A)" (4096 kB, SPI) on linux_spi.
Found Macronix flash chip "MX25L3205D/MX25L3208D" (4096 kB, SPI) on linux_spi.
Found Macronix flash chip "MX25L3206E/MX25L3208E" (4096 kB, SPI) on linux_spi.
Found Macronix flash chip "MX25L3273E" (4096 kB, SPI) on linux_spi.
Multiple flash chip definitions match the detected chip(s): "MX25L3205(A)", "MX25L3205D/MX25L3208D", "MX25L3206E/MX25L3208E", "MX25L3273E"
Please specify which chip definition to use with the -c <chipname> option.

I selected the MX25L3206E/MX25L3208E chip

hope somebody can help me


I always select the last chip on the list that it found.

If I helped you buy me a latte!
The following user(s) said Thank You: lxx33

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

More
7 years 7 months ago #4527 by lxx33
Replied by lxx33 on topic Did i read the wrong chip?
With the last chip selected I also don't get much far:
pples-MacBook-Air:imac apple$ ./scan-n-patch.pl imactest1.bin 
System byteorder: Little Endian
Mode: Only scanning = 0, Silent = 0
ROM: imactest1.bin
Intel BIOS signature found
Apple Specific Data block start found at:       0x002c2000  
Scanner should find first var within 2048 bytes of data... 
'PchInit' usually... or 'Setup'
	Variable at:  0x002c2058 RFT: 1, Sizes (Key: 12 Value: 172)
	GUID: abbafb4d9213de4fabb8c41cc5ad7d5d  at: 0x002c2068 (2891880)
	Key: Setup 	Value: 0000000000000000010000000000010001000001000001010201010301010001020000000000000101010101010101010100000000000000000000000000000000010100000001000001000000000000000000000000000000000001010a010101000300000000000001010101010000000101010101000000000000000000000001010101010000000303030303030303010101010101010100000000000000000000000000000000000000 
====                                                       
File size: 0x003fffff (4194304) bytes. Record format type 1 detected
Image for 4 Mbytes flash chip
SVS Area not detected.
Apples-MacBook-Air:imac apple$ 

Any tips :)

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

More
7 years 7 months ago #4528 by lxx33
Replied by lxx33 on topic Did i read the wrong chip?
Still puzzling and trying to get this all sort out. The funny thing is, that it is my own mac hahaha, I put a code in about a year ago and don't know it anymore. :( :( :( . Other macs I have done where all successful (off course with the help on this forum).

sudo flashrom -p linux_spi:dev=/dev/spidev0.0 detects 4 chips. I can't read the first because of the (A). I get an syntax error near unexpected token `('

All the other files I include here, but scan-n-patch won't work on any of them.

If there are some tips it would be most most most appreciated. :)

File Attachment:

File Name: Archive.zip
File Size:8,518 KB
Attachments:

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

More
7 years 7 months ago #4533 by CygnusX1
Replied by CygnusX1 on topic Did i read the wrong chip?
What programmer are you using?

If I helped you buy me a latte!
The following user(s) said Thank You: lxx33

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

More
7 years 7 months ago #4534 by lxx33
Replied by lxx33 on topic Did i read the wrong chip?
I use the raspberry pi model B with a SOIC clip. This Rpi I used about 10 times for different iMacs, all with success. I did do a new fresh install again because I used my sd card for something else in the meanwhile. I followed ghostlyhaks.com tutorial on youtube (
)
I scanned the eeprom multiple times and the md5sum are overtime exact the same.
I also attached the files (zip file) of 3 different chips.

The location of the chip was found also here. ghostlyhaks.com/component/kunena/apple-efi/625-location-efi-chip-a1312-27-inch-imac .

Do the files that I attached make any sense? I know I have been using a extreme long password (42 characters) before on a mac, but do not know anymore if I used it on this model or another. So cant tell for sure if this is a 42 character password or just a 5 or 7 character.

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

More
7 years 7 months ago - 7 years 7 months ago #4539 by therealjayvi
A couple suggestions for your problem...

If you are encountering issues with the "unexpected token" error then try "quoting" the chip model number. So instead of typing your command like:

sudo flashrom -r chip.bin -c MX25L3205(A) -p linux_spi:dev=/dev/spidev0.0

Try typing it like this:

sudo flashrom -r chip.bin -c "MX25L3205(A)" -p linux_spi:dev=/dev/spidev0.0

But I don't think the issue you're facing is related to the chip type being incorrect... In my experience I have typically always used the first possible chip type whenever I encounter an instance where there are multiple possibilities, and now reading Cygnus comment he always chooses the last possible chip type and I know he has success just as often. I was curious to see if there was any difference between specifying other chip types and I have went through and tried every possible chip type before on a single device and checked the hashes for each and they were all the same. I have even specified the EXACT chip type that was printed on the chip and tried to specify in my flashrom command and it wouldn't read it; the only way I could get flashrom to read it was to just run flashrom -p linux_spi:dev=/dev/spidev0.0 and use whatever options that flashrom THOUGHT the chip type was.

I have taken a look at all three of the files you have provided and each one of them is identical to the next. Also if you check the md5's for your files you would see that the hashes are all exactly identical as well (see pic I have attached), so specifying chip types (at least in the situations that we use flashrom for) does not change the dump in any way.





The link you have given (in the post with the attached video) no longer works, but I see in the URL that you are referencing an iMac with model number A1312. Here's a website that will help you in your Apple pursuit www.everymac.com use this as a tool for your arsenal. If you reference the model number A1312 on EveryMac then you will see that your iMac is a Core-2-Duo Late 2009 model. The EFI password on ANY Mac product from before 2011 can be easily removed by removing a RAM stick and resetting PRAM/NVRAM by powering on the device while holding Command+Option+R+P. In the case that you are using an iMac then you will need to connect an external keyboard to be able to complete this.

The reason the Scan-N-Patch script does not work for your model is the same reason why it will not work for all models prior to 2011: There is no $SVS area in the ROM dumps for any of these models. ;)
Attachments:
Last edit: 7 years 7 months ago by therealjayvi. Reason: attached pic for md5's
The following user(s) said Thank You: lxx33

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

More
7 years 7 months ago #4541 by lxx33
Replied by lxx33 on topic Did i read the wrong chip?
If you are in Amsterdam, I would definitely buy you a beer.

This worked. Indeed a late 2010 model I5 (A1312 EMC2390).
First with removing 2 memory modules on the right side, I still could not nvram.
Placing it back and removing the other 2, dit not start the iMac, but only a few beeps.

Then I removed one memory on the left side and both on the right side and it worked.

Tnx. I was fiddling with it for 2 days hahaha, reconnect the rpi wires dozen of times ect.ect.

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

More
7 years 7 months ago - 7 years 7 months ago #4542 by therealjayvi
Hey that's awesome!! I'm glad I was able to help! I just ran into a similar problem the other day so as soon as I took a look at your provided bin file I knew exactly what needed to happen :) I WISH I was in Amsterdam >.< never been to Europe though unfortunately :'( if you feel inclined to "Help me help you help us all" though click the link beneath any of my posts (totally not necessary, but would be greatly appreciated!!!) If you do choose to do so drop a good contact method for u in the notes and I'll respond with a direct line in case you ever need some help in the future I'll be able to respond much quicker!
Last edit: 7 years 7 months ago by therealjayvi. Reason: Typo

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

Who's Online

We have 393 guests and no members online

N00BZ

  • ljamal
  • ljamal74
  • mikeg2atest
  • ducchinhbui
  • anjarezt

Cookies