EFI ICLOUD BYPASS DONE RIGHT

This is a series created to help anyone interested in learning how to remove an EFI lock from any MacBook (Air, Pro, etc.). My goal is to make this as thorough and easy to understand as possible by giving you all the tools you'll need to get the job Done Right. These videos have been procured from an OS X point-of-view. If you prefer to use Linux or Windows then use the links for your given OS that I have provided as well.

EFI REMOVAL PART 1 OF 3: HEADLESS RASPBIAN INSTALLATION

DOWNLOADS

Download everything from the following links before continuing...

PREREQUISITES
  • Raspberry Pi (any model will work)
  • MicroSD Card (at least 16gb but no more than 64gb, for a list of known working models visit http://elinux.org/RPi_SD_cards)
  • MicroSD Card to SD Card Adapter OR MicroSD Card to USB Adapter
  • 2A USB Charger or Cable & Charger (less amperage will work but may cause problems later)
  • CAT5 (Ethernet) Cable
  • Access to YOUR home router
STEP-BY-STEP INSTRUCTION
  1. Format your SD Card using SD FORMATTER. If you are unsure about specifically which device your SD Card is labelled as then you can either: A) Open up Disk Utility and check the left panel for a list of all currently connected devices B) Click the apple logo in the top left corner, hold down the "Option(Alt)" key to make the menu items change, click on System Information, and use the left panel found there to locate your device. When using SD FORMATTER make sure to check the box for Quick Format (unless you'd prefer Overwrite Format, just plan on sitting there for a while). Also make sure to click the Option menu and choose "Yes" to Logical Address Adjustment - this will ensure functionality after the format. Name the device anything you wish, I choose Raspbian for convenience.
  2. Open HASHER and use it to select RASPBIAN.ZIP. Click the box on the bottom right and choose SHA-1 instead of MD5. Click "Hash" to start the calculation and in the mean time head over to https://www.raspberrypi.org/downloads/raspbian/ and copy the SHA-1 string into a notepad for reference. The SHA-1 can be found directly underneath the Raspbian Jessie download link, see below example...

    How to remove EFI Password - Raspbian.zip SHA-1

    ...HASHER will likely have finished and you can now verify if your RASPBIAN.ZIP SHA-1 matches the one we just found from their main site. If your hashes do NOT match then delete your RASPBIAN.ZIP, download a fresh copy using my link, rinse and repeat until you DO get exact matches.

  3. Open ENTROPY then instead of clicking anything from the window that pops up, choose File from the top of your screen and select Open. Navigate to wherever you have RASPBIAN.ZIP and click to open it. You should see a new window emerge that has a Raspbian.img inside, click the Extract button and proceed after it has finished.
  4. Open DD-UTILITY and choose the option to "Restore" an image. This will prompt you to choose an image, which you'll follow by selecting the Raspbian.img we extracted in the previous step. Make sure to select your SD Card and not some other device you may potentially have hooked up to your Mac at the time. Again, refer to Step 1 on ways to double check. After DD-UTILITY has finished eject your SD Card and insert it into your Raspberry Pi.
  5. Go to your router and hook up the Ethernet Cable between it and your Pi. ONLY after you have both the Ethernet Cable hooked between router and Pi, as well as having your SD Card inserted into the Pi, will you then hook up at least a 2 Amp power supply to the Pi. This will cause your Pi to boot, and install/configure Raspbian. *NOTE* Remember since this is a "headless" installation you won't have any cues to know if it's working properly besides the 2 lights that display on your Pi. The RED light will not flicker, it's there to show you the Pi has power. The GREEN light, however, SHOULD flicker with an inconsistent pattern. If your GREEN light remains on and does NOT flicker then unfortunately something went wrong in your process, you'll have to try again :( if the problem persists start a new thread in the forums or ask me or any of the other great members of this forum and we'll point you in the right direction :)
  6. Give your Raspberry Pi about 10-15 minutes for it to boot up and install itself. During this time go back to your Mac and connect to the same Wi-Fi that your Raspberry Pi is hooked up to via the Ethernet cable. Once both your Raspberry Pi AND your Mac computer are hooked up to the same network, open up the Terminal and type the following:

    arp -na | grep -i b8:27:eb

    You will be able to tell if everything has worked thus far by looking at the output of this command. ARP (Address Resolution Protocol) is a command most commonly used to search for devices connected to your current network. It has a LOT of pretty fun capabilities so definitely look into it at some point, you may learn some interesting things ;) but for now we're using it to search your current network for anything containing b8:27:eb. By default, all Raspberry Pi's have a Mac Address that begins with b8:27:eb, and since your Pi is freshly set up your Pi will follow this form as well. Below is a picture of what this command will return...

    How to remove EFI Password - ARP Example

  7. Once you have your Raspberry Pi's IP Address you're going to log into it via SSH. By default the Raspbian Jessie image that you copied to your SD card will already have SSH enabled, so no further configuration will be needed! Open your Terminal and type the following:

    ssh

    It will ask you for a password, the default password on all Raspberry Pi's is (without quotes): "raspberry".

If everything went smoothly then the end result should be a user prompt that shows "pi@raspberry: ~ $:" on your screen! (See below picture for example)

How to remove EFI Password - Raspberry Pi SSH Login Prompt

Comments   
4x4muddin89
+1 #10 4x4muddin89 2018-05-01 11:39
Quoting 0E800:
Quoting 4x4muddin89:
during update and upgrade i received a pipe broken error and i tried to redo it and got "Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?" Do i wipe the micro sd and start from scratch and how do i wipe the pi itself or will wiping the sd wipe the pi as well?

Just reboot and run apt update again. No need to wipe.


upon further research i just ran a line to quit all current processes and tried just the update, and both upgrades separately. Thank you tho, did you mean reboot the pi from the command line right?
Quote
0E800
0 #9 0E800 2018-05-01 11:26
Quoting 4x4muddin89:
during update and upgrade i received a pipe broken error and i tried to redo it and got "Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?" Do i wipe the micro sd and start from scratch and how do i wipe the pi itself or will wiping the sd wipe the pi as well?

Just reboot and run apt update again. No need to wipe.
Quote
4x4muddin89
0 #8 4x4muddin89 2018-05-01 11:07
during update and upgrade i received a pipe broken error and i tried to redo it and got "Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?" Do i wipe the micro sd and start from scratch and how do i wipe the pi itself or will wiping the sd wipe the pi as well?
Quote
0E800
0 #7 0E800 2018-03-01 12:05
Quoting jeimuzujohnson:
I've been attempting to do this procedure on a macbook pro (early 2011) model with chip MX25L6406E. I'm using a Pi 3 and have followed the tutorials exactly. The issue is that when i try to read the chip it only finds "unknown SPI chip (RDID). It ends with an error saying "Read is not working on this chip. Aborting."


When using Flashrom, you need to include/append:
Code:,spispeed=8000

Incorrect:
Code:
sudo flashrom -V -p linux_spi:dev=/dev/spidev0.0


Correct:
Code:
sudo flashrom -V -p linux_spi:dev=/dev/spidev0.0,spispeed=8000
Quote
0E800
-1 #6 0E800 2018-03-01 12:00
Most of the initial Raspberry Pi setup can be easily accomplished by using PiBakery:
www.pibakery.org/

Here is the recipe:
Quote
jeimuzujohnson
-1 #5 jeimuzujohnson 2018-01-24 13:54
I've been attempting to do this procedure on a macbook pro (early 2011) model with chip MX25L6406E. I'm using a Pi 3 and have followed the tutorials exactly. The issue is that when i try to read the chip it only finds "unknown SPI chip (RDID). It ends with an error saying "Read is not working on this chip. Aborting." I know I have the right chip in my command because if I disconnect certain wires from the clip, it can't find the chip at all. I've also tried every power option from having no power to the MB to having magsafe and battery plugged in. I've tried all the combos. I've also tried two different clips and at last two different sets of wires. I still get the error. Is there anyone that knows if there is something I'm missing to be able to read and flash this chip on this MB pro? Thanks!
Quote
negon
0 #4 negon 2016-12-28 21:28
Quoting ceojoe09:
So I just attempted this procedure with a MBA,
It seems to have removed the EFI Lock the asks for a password of any length,
but now there is the 4 pin password window.

What could I have done wrong?


I can't say for sure, but my first guess is you didn't immediately clear the PRAM, or the hard drive icloud locked it again.

When you remove the EFI password using this procedure, the next time you boot the machine you need to hold down the following keys at the same time: CMD, OPT, P, R

Hold those keys until it reboots and chimes 3 times.

Now, if the hard drive still has the original Mac OS X installation, you may have to boot to outside media (external hard drive with Mac OS X, etc) and wipe the internal drive to reinstall Mac OS X. Otherwise, the OS may be re-locking the EFI from the icloud service.
Quote
ceojoe09
0 #3 ceojoe09 2016-12-28 14:25
So I just attempted this procedure with a MBA,
It seems to have removed the EFI Lock the asks for a password of any length,
but now there is the 4 pin password window.

What could I have done wrong?
Quote
negon
0 #2 negon 2016-12-21 15:36
I've been trying to do this, but I keep running into the same issue trying to install flashrom. Any ideas?

ghostlyhaks.com/.../...
Quote
therealjayvi
0 #1 therealjayvi 2016-10-31 01:23
@Asterix

Yes, and no. No this will not work because the raspberry pi is being used for it's GPIO pins and that flashrom can interact with them. Yes this would work if you virtualized a raspberry pi then you would have nothing to connect the clips or adapters to that your computer would be able to read unless you use some of the USB SPI/ISP flashers available on the market.

Interesting thought, though it may take some fiddling to get it to work right. Let me know if you find a method!
Quote

Who's Online

We have 258 guests and no members online

N00BZ

  • PJCCoin
  • Bihelbibi
  • Ahmetac
  • kraven
  • darkanglez

Cookies