netkas.org

Unlocking 64-bit efi Macbooks for 64-bit kernel.

Amit Singh recently made a post about patching boot.efi for 64-bit support on macbooks(with 64-bit efi).

Here is simplified version of his post:

To run 64-bit kernel on any mac with 64-bit efi you need patched boot.efi file

You can find file named boot64.efi here

It enables 64-bit kernel support for some macmini/macbook/imac/macbookair models, which has 64-bit efi bootrom.

Download file to desktop, open terminal.app and run these commands

cd ~/Desktop

sudo cp boot64.efi /System/Library/CoreServices/

cd /System/Library/CoreServices/

sudo chown root:wheel boot64.efi

sudo chflags uchg boot64.efi

sudo bless −−folder /System/Library/CoreServices/ \
−−file /System/Library/CoreServices/boot64.efi

Commands starting with sudo will ask you for your password.

Next step – add arch=x86_64 to file /Library/Preferences/SystemConfiguration/com.apple.Boot.plist to Kernels Flags section

For example:

<key>Kernel Flags</key>
<string>arch=x86_64</string>

Now reboot, your mac should boot 64-bit kernel, but some models missing 64-bit intel video drivers, for example macbook4,1 with gmax3100, so only internal display will work, without qe/ci/opengl.

if something goes wrong, boot leopard/snowleopard dvd (or another installed osx system) and run this command in terminal

sudo bless –folder /Volumes/YOUVOLUMENAME/System/Library/CoreServices \
–file /Volumes/YOUVOLUMENAME/System/Library/CoreServices/boot.efi

p.s. if you have 32-bit efi, this commands will make no effect for you at all.

Comments

  1. N****tm
    September 7th, 2009 | 9:08 pm

    at my macbook 5.1 it does not functure
    the last commant
    sudo bless –folder /System/Library/CoreServices \
    –file /System/Library/CoreServices/boot64.efi

    sad: No volume specified

    with
    sudo bless –folder /Volumes/”Macintosh HD”/System/Library/CoreServices \
    –file /Volumes/”Macintosh HD”/System/Library/CoreServices/boot64.efi
    i get the same error

    ///its damn wordpress replacing two – with one -
    ///now fixed

  2. sat
    September 7th, 2009 | 9:45 pm

    Doesn’t work on a macbookpro3,1.

    System boots, still in 32 bit mode.

  3. N****tm
    September 8th, 2009 | 5:04 am

    Now it works at me

  4. Dreamwatcher
    September 8th, 2009 | 9:48 am

    also, do’nt work on macmini3,1.

    i use boot64.efi, configuer it. please any idea.

    bash-3.2# system_profiler SPHardwareDataType -detailLevel mini
    Hardware:

    Hardware Overview:

    Model Name: Mac mini
    Model Identifier: Macmini3,1
    Processor Name: Intel Core 2 Duo
    Processor Speed: 2 GHz
    Number Of Processors: 1
    Total Number Of Cores: 2
    L2 Cache: 3 MB
    Memory: 4 GB
    Bus Speed: 1.07 GHz
    Boot ROM Version: MM31.0081.B06
    SMC Version (system): 1.35f0

    bash-3.2# ioreg -l -p IODeviceTree | grep firmware-abi
    | | “firmware-abi” =

    bash-3.2# md5 /System/Library/CoreServices/boot64.efi
    MD5 (boot64.efi) = 4ee38305a9c044d8d32a65ee315a8481

    bash-3.2# bless -info
    finderinfo[0]: 134 => Blessed System Folder is /System/Library/CoreServices
    finderinfo[1]: 212663 => Blessed System File is /System/Library/CoreServices/boot64.efi
    finderinfo[2]: 0 => Open-folder linked list empty
    finderinfo[3]: 0 => No OS 9 + X blessed 9 folder
    finderinfo[4]: 0 => Unused field unset
    finderinfo[5]: 134 => OS X blessed folder is /System/Library/CoreServices
    64-bit VSDB volume id: 0x2A664FAD100417CA

    bash-3.2# nvram boot-args
    boot-args arch=x86_64

    bash-3.2# cat /Library/Preferences/SystemConfiguration/com.apple.Boot.plist

    Kernel
    mach_kernel
    Kernel Flags
    arch=x86_64

  5. Dreamwatcher
    September 8th, 2009 | 9:51 am

    also, do’nt work on macmini3,1.

    i use boot64.efi, configuer it. please any idea.

    bash-3.2# system_profiler SPHardwareDataType -detailLevel mini
    Hardware:

    Hardware Overview:

    Model Name: Mac mini
    Model Identifier: Macmini3,1
    Processor Name: Intel Core 2 Duo
    Processor Speed: 2 GHz
    Number Of Processors: 1
    Total Number Of Cores: 2
    L2 Cache: 3 MB
    Memory: 4 GB
    Bus Speed: 1.07 GHz
    Boot ROM Version: MM31.0081.B06
    SMC Version (system): 1.35f0

    bash-3.2# ioreg -l -p IODeviceTree | grep firmware-abi
    | | “firmware-abi” =

    bash-3.2# md5 /System/Library/CoreServices/boot64.efi
    MD5 (boot64.efi) = 4ee38305a9c044d8d32a65ee315a8481

    bash-3.2# bless -info
    finderinfo[0]: 134 => Blessed System Folder is /System/Library/CoreServices
    finderinfo[1]: 212663 => Blessed System File is /System/Library/CoreServices/boot64.efi
    finderinfo[2]: 0 => Open-folder linked list empty
    finderinfo[3]: 0 => No OS 9 + X blessed 9 folder
    finderinfo[4]: 0 => Unused field unset
    finderinfo[5]: 134 => OS X blessed folder is /System/Library/CoreServices
    64-bit VSDB volume id: 0x2A664FAD100417CA

    bash-3.2# nvram boot-args
    boot-args arch=x86_64

    bash-3.2# cat /Library/Preferences/SystemConfiguration/com.apple.Boot.plist

    Kernel
    mach_kernel
    Kernel Flags
    arch=x86_64

  6. September 8th, 2009 | 10:49 am

    It works on my MacBook5,2

    But i had to add a / after /System/Library/CoreServices so it was saying /System/Library/CoreServices/ else it was giving me the No volume specified error.

  7. September 8th, 2009 | 11:07 am

    Doesn?t work on a macbookpro2,2.

    System boots, still in 32 bit mode.

  8. September 8th, 2009 | 11:08 am

    Doesn’t work on a macbookpro2,2.

    System boots, still in 32 bit mode.

  9. dream
    September 8th, 2009 | 11:41 am

    bash-3.2# bless –folder /System/Library/CoreServices –file /System/Library/CoreServices/boot64.efi
    bash-3.2# bless -info
    finderinfo[0]: 134 => Blessed System Folder is /System/Library/CoreServices
    finderinfo[1]: 212663 => Blessed System File is /System/Library/CoreServices/boot64.efi
    finderinfo[2]: 0 => Open-folder linked list empty
    finderinfo[3]: 0 => No OS 9 + X blessed 9 folder
    finderinfo[4]: 0 => Unused field unset
    finderinfo[5]: 134 => OS X blessed folder is /System/Library/CoreServices
    64-bit VSDB volume id: 0x2A664FAD100417CA

  10. dream
    September 8th, 2009 | 11:42 am

    also, dosen’nt wok on macmini3,1

    ///was tested on macbook4,1/macbook5,1 – worked fine

  11. paulzurrr
    September 8th, 2009 | 1:14 pm

    Not workin for me?

    paulzurrrs-macbook:/ paulzurrr$ sudo bless ??folder /System/Library/CoreServices \ ??file /System/Library/CoreServices/boot64.efi
    No volume specified

    ///dont copypaste, type it urself, its not ??, its double -, wordpress hs some troubles displaying double -

  12. paulzurrr
    September 8th, 2009 | 1:15 pm

    It do have the double –, but wordpress shows it now as ‘??’

  13. Pimpa
    September 8th, 2009 | 3:39 pm

    It didn’t work for me too. System boots, still in 32 bit mode. macbookair (1st gen)

  14. September 8th, 2009 | 4:04 pm

    what do i have to type in exactly to get rid of the “no volume…”-error??

  15. jedivulcan
    September 8th, 2009 | 4:10 pm

    It doesn’t work for me either… macbookpro 3,1

  16. tzel2
    September 8th, 2009 | 4:40 pm

    It doesn’t work for me either… macbookpro 3,1

    bless -infofinderinfo[0]: 1756895 => Blessed System Folder is /System/Library/CoreServices
    finderinfo[1]: 2332532 => Blessed System File is /System/Library/CoreServices/boot64.efi
    finderinfo[2]: 0 => Open-folder linked list empty
    finderinfo[3]: 0 => No OS 9 + X blessed 9 folder
    finderinfo[4]: 0 => Unused field unset
    finderinfo[5]: 1756895 => OS X blessed folder is /System/Library/CoreServices
    64-bit VSDB volume id: 0x36D33C8C84E6B7DC

  17. Bicster
    September 8th, 2009 | 6:02 pm

    Doesn’t work on my Macmini3,1 either. This model seems to be ignored by everyone.

  18. rattis
    September 8th, 2009 | 6:06 pm

    thanx a lot!!! my macbook5,1 now works in x86_64 mode!

  19. Headrush69
    September 8th, 2009 | 6:42 pm

    No go on an iMac 7,1 even though:

    @ioreg -l -p IODeviceTree | grep firmware-abi

    results in

    | | “firmware-abi” =

  20. hokarin86
    September 9th, 2009 | 9:19 am

    hi, netkas! did you test it? it dosen’t wok on macmini3,1.

    change value 0×00 to 0×80 of boot.efi address 0x266db , Kenerl is LP64 on macmini3,1.

    old
    00266d0 30 47 01 00 00 00 00 00 00 00 00 00 00 00 00 00

    new
    00266d0 30 47 01 00 00 00 00 00 00 00 00 80 00 00 00 00

    bash-3.2# uname -a
    Darwin Mac-mini.local 10.0.0 Darwin Kernel Version 10.0.0: Fri Jul 31 22:46:25 PDT 2009; root:xnu-1456.1.25~1/RELEASE_X86_64 x86_64

  21. Jake
    September 9th, 2009 | 9:25 am

    There’s a bit of a glitch using this on the Late ’08 Unibody Macbooks (5,1). After performing the hack and rebooting, the kernel WILL be set to 64-bit kernel mode. However, upon restarting AGAIN, the operating system will revert back to 32-bit.

    Even though you blessed the new “boot64.efi”, the old “boot.efi” will be re-blessed upon restarting. The only way I found to get around this was to back-up the old boot.efi and rename “boot64.efi” to “boot.efi”. Here’s some Terminal commands that will do this for you:

    cd /System/Library/CoreServices/

    cp boot.efi ~/Desktop

    sudo mv boot64.efi boot.efi

    Then just right click on the boot.efi on your desktop, click “Get Info” and uncheck the “Locked” checkbox.

    Hope this helps.

  22. hokarin86
    September 9th, 2009 | 4:46 pm

    anyone retry it!

    1. copy /System/Library/CoreServices/boot.efi to /System/Library/CoreServices/boot64.efi , unlock it.

    # cp /System/Library/CoreServices/boot.efi /System/Library/CoreServices/boot64.efi
    # chflags nouchg boot64.efi

    2. use hexeditor , change value below.

    Model (with 64-bit EFI) Byte Position in boot64.efi Old Value New Value
    Mac mini(Eary 2009) 0x266DB 0×00 0×80
    MacBook Air(Late 2008) 0x266FB 0×00 0×80
    iMac(early 2008) 0x2671B 0×08 0×80

    3. after bless new bootloader.

    # bless –folder /System/Library/CoreServices –file /System/Library/CoreServices/boot64.efi

    4. change boot-args, reboot!

    # nvram boot-args=”arch=x86_64″
    or
    edit /Library/Preferences/SystemConfiguration/com.apple.Boot.plist add arch=x86_64

    # reboot

  23. September 9th, 2009 | 4:48 pm

    Thanks for the guide
    All working here on my MacBook 5.1 http://tinyurl.com/n7cdhf

  24. Piranha
    September 9th, 2009 | 5:15 pm

    What’s the reason to do this ? The 32-bit kernel will run full 64-bit applications no problem. Plus I don’t think the 32bit kernel has the 4G memory limit either …

  25. angeld,
    September 9th, 2009 | 7:47 pm

    Works on iMac7,1.

    byte position: 0×266DB
    new value: 0×04
    old value: 0×08

  26. Bert
    September 9th, 2009 | 8:09 pm

    @hokarin86

    Nice work! Thx

    Btw, could you also find a way to patch boot.efi for MacBook Pro 3,1, which also have a 64bits EFI but can’t boot on K64 with original boot.efi?

  27. angeld,
    September 9th, 2009 | 8:42 pm

    GeekBench iMac7,1

    x86_64
    Integer (Score: 3269)
    Floating Point (Score: 5840)
    Memory (Score: 2533)
    Stream (Score: 2042)

    i386
    Integer (Score: 3257)
    Floating Point (Score: 5838)
    Memory (Score: 2553)
    Stream (Score: 2042)

  28. Geoffrey
    September 9th, 2009 | 10:45 pm

    Jake suggested
    “Even though you blessed the new “boot64.efi”, the old “boot.efi” will be re-blessed upon restarting. The only way I found to get around this was to back-up the old boot.efi and rename “boot64.efi” to “boot.efi”. Here’s some Terminal commands that will do this for you:

    cd /System/Library/CoreServices/

    cp boot.efi ~/Desktop

    sudo mv boot64.efi boot.efi

    Then just right click on the boot.efi on your desktop, click “Get Info” and uncheck the “Locked” checkbox.

    Hope this helps.”

    I haven’t been able to boot into 64-bit kernel mode with my late ’08 unibody macbook 2.4 GHz and wanted to follow his lead, but when I try to replace boot.efi with boot64.efi according to the terminal commands given above I receive an error that this isn’t permitted. Both of these files are locked and I only have read priveleges. Can anyone tell me how to unlock them?

  29. Mytone
    September 10th, 2009 | 6:28 am

    Why is it that when I input:

    sudo bless ??folder /System/Library/CoreServices/ \
    ??file /System/Library/CoreServices/boot64.efi

    I receive a “No Volume specified” error message.

    I have a MB5,1 with 64bit processor and EFI.

    Any assistance is appreciated.

  30. Spartango
    September 10th, 2009 | 7:43 am

    Back in the 10.6 preview builds, we used to just Lipo remove the 32 bit kernel, and the system had no choice but to select the 64bit kernel(it didn’t like the PPC one of course)

  31. heretic
    September 10th, 2009 | 11:38 am

    Macbook 5.1 all ok …. check the string for heretic$ sudo bless –folder /System/Library/CoreServices/ –file /System/Library/CoreServices/boot64.efi

    bless -info check if boot64.efi is blessed .. =)

  32. Geoffrey
    September 10th, 2009 | 12:10 pm

    I finally got it to work on my UniBody MacBook 13″ 2.4 GHz 5,1!!! This is totally awesome.

    OK, Jake gave us the tip that with these models the system reverts to the default boot.efi file upon restarting. So I downloaded the boot64.efi file and placed it on the desktop, and then followed the instructions down to the following line:

    sudo chown root:wheel boot64.efi

    Then I unlocked the boot.efi file and replaced it with the boot64.efi (Of course, my system will now always boot in 64.bit kernel mode, but I would like to see if I can upgrade my RAM to 8 GB and have read the chances are better in this mode).

    sudo chflags nouchg boot.efi

    sudo mv boot64.efi boot.efi

    Then I locked the new boot.efi file

    sudo chflags uchg boot.efi

    Finally, I made the modification to the com.appleBoot.plist file (Make sure you right click the folder “SystemConfiguration”, select Get Info and then unlock the folder to allow read/write administrator access) and added the arch=x86_64 string.

    Anyone with this late ’08 model should be able to unlock the 64-bit kernel restriction with this modification.

    Thanks again to all those who contributed to this blog!

    Geoffrey

  33. mytone
    September 11th, 2009 | 2:47 am

    I have a Macbook 5,1. Everything was going well until I entered:

    sudo bless −−folder /System/Library/CoreServices/ \−−file /System/Library/CoreServices/boot64.efi

    It returned “No volume specified”

    What happened?

    Any Help is appreciated.

  34. September 11th, 2009 | 3:35 am

    [...] to 64bit Kernel on Late-2008 MacBooks Jake pointed me to this excellent guide to permanently enabling 64bit kernel booting on the Late-2008 MacBooks and other officially [...]

  35. blu3mt4rix
    September 11th, 2009 | 4:23 am

    1st. download the boot64.efi they have on their website.
    2nd. Paste the boot64.efi file into /System/Library/CoreServices/
    3rd. Open Terminal > Type Following Commands
    #cd /System/Library/CoreServices/ {Enter}
    #sudo chflags nouchg boot.efi {Enter}
    #sudo mv boot64.efi boot.efi {Enter} (say yes (Y) if asked)
    #nvram boot-args=”arch=x86_64″ {Enter}
    4th. Restart computer

    This did for me but it does take a little bit longer to boot then it normally would but i believe this is noted in the comments

  36. Tannen
    September 11th, 2009 | 4:24 am

    Do you have the hex value for macbook pro 3.1 ? It’s still does not work

  37. arthuar
    September 12th, 2009 | 7:04 am

    Sorry for dumb question.
    Any real improvements on macbook with 4 GB ram ?
    Thanks indeed.

  38. fox
    September 12th, 2009 | 10:28 pm

    works like a charm, thanks

  39. Squirrel
    September 13th, 2009 | 3:43 am

    MacBook 3,1 Works.

    Didn’t work the first try, but did the second bless. Refit reblesser of course steps on things after a reboot.

  40. eles
    September 14th, 2009 | 1:06 pm

    yeahhhh is working!!!! thanksssssssssss!! from spain!

  41. sagitt
    September 14th, 2009 | 9:07 pm

    not work for me… macbook 3,1.

  42. Tan
    September 15th, 2009 | 4:45 am

    Squirrel, how u do it?
    I also using Macbook 3,1
    but no luck..

  43. jrangles
    September 15th, 2009 | 9:14 pm

    Doesn’t work on a Imac 7.1

    System boots, still in 32 bit mode.

    Angeld… please
    What is your boot64.efi modified for Imac7.1

  44. Squirrel
    September 16th, 2009 | 1:08 am

    Tan,

    I pretty much followed the instructions… although after first boot it was 32 bit, on the second bless, and reboot, it came up 64bit. Could tell right away it was going to come up 64bit, it took 4 times longer to boot.

    I edited the com.apple.Boot.plist by enabling the root account (Using Directory Services) and just editing the plist with the developer tools plist editor. My plist was in binary format, which is odd because prior to installing 10.6.1, it was in plaintext format… editable with pico.

    For the bless statement above, those not familiar with the shell, the \ is simply a way to break the line for ease of reading/posting.

    This is the same: (one long line)

    sudo bless −−folder /System/Library/CoreServices/ −−file /System/Library/CoreServices/boot64.efi

    Ohh… one other thing I did, but can’t imagine that it had anything to do with it. I did a sudo bless –info just to make sure it had blessed the correct file before rebooting.

  45. September 17th, 2009 | 12:13 pm

    [...] gracias a esta guía, he activado podido arrancar mi MacBook con el Kernel en 64 bits que trae Snow [...]

  46. Guru
    September 17th, 2009 | 9:40 pm

    Any news on modifying boot.efi of early 2007 intel mac pros – 2,1 – 32bit efi?

  47. Tan
    September 18th, 2009 | 12:15 am

    Hi Squirrel,

    I followed the instructions as below (all under root account):
    cd ~/Desktop
    sudo cp boot64.efi /System/Library/CoreServices/
    cd /System/Library/CoreServices/
    sudo chown root:wheel boot64.efi
    sudo chflags uchg boot64.efi
    sudo bless −−folder /System/Library/CoreServices/
 −−file /System/Library/CoreServices/boot64.efi

    Editing the plist with the developer tools plist editor.

    However, I still cannot get 64 bit mode.
    It although boot with 64 kernel boot mode but it not success (I check through a software called 32- or 64-bit Kernel Startup Mode Selector.

    Below is my bless info:
    finderinfo[0]: 19872110 => Blessed System Folder is /System/Library/CoreServices
    finderinfo[1]: 20344469 => Blessed System File is /System/Library/CoreServices/boot64.efi
    finderinfo[2]: 0 => Open-folder linked list empty
    finderinfo[3]: 0 => No OS 9 + X blessed 9 folder
    finderinfo[4]: 0 => Unused field unset
    finderinfo[5]: 19872110 => OS X blessed folder is /System/Library/CoreServices
    64-bit VSDB volume id: 0xB372BE8474C5CBEB

    Can you please guide me all the steps you did?
    Especial what is means by “second bless, and reboot” ?
    Is that means i need run sudo bless in terminal again?
    I did it. But no luck..

    Thanks

  48. C. Hodges
    September 18th, 2009 | 7:24 am

    Can anyone tell me more about the changes in boot64.efi… a diff of the hex dumps from my original boot.efi and the boot64.efi reveals only four specific bytes of difference: three 0×00′s become 0×04′s, and a single 0×08 becomes 0x0c.

    What is the origin of these changes? How in the world was this figured out? I would love to know more!

    //follow the link to original to find out

  49. September 18th, 2009 | 1:05 pm

    @ squirrel and tan… i have a macbook pro 3.1 and it wouldn’t work no matter how often i bless or repeat the whole process…
    did you have any luck already tan?
    and are u sure it is a macbook pro 3.1 you’re running on squirrel? maybe also what version of SL are you running?

  50. September 18th, 2009 | 1:07 pm

    ah yeah just saw it.. macbook 3.1 (isn’t the pro one right?)

  51. Kedeb Malsi
    September 20th, 2009 | 2:53 pm

    “Now reboot, your mac should boot 64-bit kernel, but some models missing 64-bit intel video drivers, for example macbook4,1 with gmax3100, so only internal display will work, without qe/ci/opengl.”

    I have this kind of macbook. I’ve done everything according to the instructions here and managed not to brick the macbook. But still can’t get to 64-bit kernel. I don’t quite understand the remark above. What does “so only internal display will work, without qe/ci/opengl”?

    Is there something else I must do? Like update a driver or something?

    tks
    km

    ///remark means – only display of you laptop will work, no external display, and without acceleration

  52. robotank
    September 20th, 2009 | 9:55 pm

    I also have a MacBook Pro 3,1 and can’t get this method to work. Obviously this trick won’t work unless someone figures out which strings to change in the boot.efi file for this model of MBP. Anyone who figures this out and posts it here will earn my undying respect and gratitude :)

  53. C. Hodges
    September 20th, 2009 | 11:06 pm

    Unfortunately, Amit Singh says nothing about how this was figured out, or anything about the underlying logic (other than cryptically hinting that these values change the model identifiers).

    It seems the boot.efi file supplied here has all the model identifiers replaced. But I’m still a little unsatisfied because I don’t understand exactly what is being altered (or what downstream executions are altered).

    I assume that Amit may be the only person who knows exactly how these single byte changes work…?

  54. Kedeb Malsi
    September 21st, 2009 | 4:23 am

    Thanks for the info. I still can’t get it to boot into 64-bit kernel. It says that it was tested on Macbook 4,1 and worked but it doesn’t work on mine. Any suggestions where I might have gone wrong?

  55. GEORGE
    September 28th, 2009 | 7:12 pm

    This works on early 2008 macbook :) (With the Intel GMA X3100) BUT… This makes the screen and graphics go funny, is there anyway to fix this?

  56. zep
    October 12th, 2009 | 1:51 am

    Whoever Amit Singh is, thanks a lot. It worked fine on my Macbook 5,2 (Core 2 Duo + EFI64). Boot time seems longer, and

    Yet, I have a question: can anyone come forward and explain why the hell this was not easily enabled from the start? I was/am getting the feeling that I was cheated by Apple…

    ///You was

  57. aleksandra
    October 12th, 2009 | 5:58 pm

    Thanks! It works on MacBook Air (Late 2008) :) .

  58. October 14th, 2009 | 4:54 pm

    MacBook4,1 6GB still does not work in 64 bit (((

    64-bit Kernel and Extensions: No

    Looks like we need 10.6.2 update
    where to get it?
    Pleaseeeeeee

  59. Daskapital
    October 15th, 2009 | 10:13 pm

    Last login: Thu Oct 15 15:07:44 on console
    yan-jimdemacbook:~ yanjim$ cd ~/Desktop
    yan-jimdemacbook:Desktop yanjim$
    yan-jimdemacbook:Desktop yanjim$ sudo cp boot64.efi /System/Library/CoreServices/
    Password:
    cp: /System/Library/CoreServices/boot64.efi: Operation not permitted

    it seems system doesn’t permit this, so what shell i do?

  60. October 18th, 2009 | 1:28 pm

    For MacBook Pro 3,1 users!

    Good news:
    I hacked boot.efi and machine boots with 64bit kernel :)

    Bad news:
    Airport is not recognized because there is no 64bit version of IO80211Family.kext :(

    Solution for 64bit kernel until Apple provides us with a 64bit kext:
    Use Ethernet cable.

    I read all the comments so far but I was sure I could make MacBook Pro 3,1 to boot with 64bit kernel. So I decided to hack it myself.

    Based on the original post from Amit Singh, I figured out how the patching works and found the pattern (it’s quite easy actually). So basically if you understand the pattern, you can hack any of the 64bit able machines.

    For example, for the MacBook (not the Pro) it is located at 0x266E8.
    For the MacBook Pro in our case it is located at 0×26708.

    You just need a hex editor (Resorcerer etc.) to patch it boot.efi.

    What you need to change for MacBook Pro 3,1 is this:

    Original -> 0×26708: 4B 47 01 00 00 00 00 00 04 00 00 00 00 00 00 00
    After -> 0×26708: 4B 47 01 00 00 00 00 00 03 00 00 00 00 00 00 00

    Now execute all the Terminal commands and blessings as described in several posts of this page.

    Restart.

    Enjoy :)

  61. tzel2
    October 19th, 2009 | 3:56 pm

    Hi rex_4539,
    Tried to modify
    Original -> 0×26708: 4B 47 01 00 00 00 00 00 04 00 00 00 00 00 00 00
    After -> 0×26708: 4B 47 01 00 00 00 00 00 03 00 00 00 00 00 00 00
    but after restart I still get to boot in 32 bit.

    MBP 3.1
    bless -info
    finderinfo[0]: 1756895 => Blessed System Folder is /System/Library/CoreServices
    finderinfo[1]: 3283102 => Blessed System File is /System/Library/CoreServices/boot64.efi
    finderinfo[2]: 0 => Open-folder linked list empty
    finderinfo[3]: 0 => No OS 9 + X blessed 9 folder
    finderinfo[4]: 0 => Unused field unset
    finderinfo[5]: 1756895 => OS X blessed folder is /System/Library/CoreServices
    64-bit VSDB volume id: 0x36D33C8C84E6B7DC

  62. tzel2
    October 19th, 2009 | 5:56 pm

    Nevermind, it works,
    Thank you!

  63. Kve
    October 20th, 2009 | 12:28 pm

    Last login: Tue Oct 20 13:17:50 on ttys000
    MacBook:~ kve$ sudo bless −−folder /System/Library/CoreServices/ \−−file /System/Library/CoreServices/boot64.efi
    No volume specified
    MacBook:~ kve$ sudo bless –folder /Volumes/”Macintosh HD”/System/Library/CoreServices \ –file /Volumes/”Macintosh HD”/System/Library/CoreServices/boot64.efi
    MacBook:~ kve$ bless –info
    finderinfo[0]: 210226 => Blessed System Folder is /System/Library/CoreServices
    finderinfo[1]: 445018 => Blessed System File is /System/Library/CoreServices/boot.efi
    finderinfo[2]: 0 => Open-folder linked list empty
    finderinfo[3]: 0 => No OS 9 + X blessed 9 folder
    finderinfo[4]: 0 => Unused field unset
    finderinfo[5]: 210226 => OS X blessed folder is /System/Library/CoreServices
    64-bit VSDB volume id: 0x6BECA144369CE663
    MacBook:~ kve$

    Not work :( (MacBook5,1)

  64. Tom
    October 25th, 2009 | 9:51 pm

    Hello, I have a question about the hack. What exactly does it do? Does it only unlock the possibility to boot into 64 bit mode (e.g. using key 6 and 4 when booting)? Or does it force the kernel to boot into 64 bits mode (without possibility of configuration)?

    ////it only unlock the possibility to boot into 64 bit mode

  65. manny
    October 26th, 2009 | 10:38 pm

    isnt it possible to use 64bit IO80211Family.kext from another computer on the mbp 3,1?

  66. October 28th, 2009 | 12:28 pm

    @manny.:
    Here is IO80211Family.kext with corrected ID for 32-64-bit snow leo: http://dl.getdropbox.com/u/2174851/IO80211Family.kext.zip
    And here is patched boot64.efi for MBP 3.1:
    http://dl.getdropbox.com/u/2174851/boot.efi

    My MBP 3.1, 17″ MA897 working fine with true 64-bit kernel!
    Thanks!

  67. October 28th, 2009 | 6:49 pm

    [...] En esta web explican perfectamente como hacerlo, a mí me ha ido de lujo. [...]

  68. October 28th, 2009 | 7:00 pm

    Спасибо Неткас, все гуд :)
    Версия системы: Mac OS X 10.6.2 (10C531)
    Версия Kernel: Darwin 10.2.0
    Загрузочный том: MacintoshHD
    Режим загрузки: Нормальный
    Имя компьютера: MacBook Mihalich
    Имя пользователя: Mihalich (mihalich)
    Защитить Виртуальную память: Подключено
    64-битное ядро и расширения: Да
    Время после загрузки: 2 мин.

  69. Tom
    October 29th, 2009 | 10:13 am

    @manny, crazyASD

    Thanks for the boot efi!! I finally successfully booted my MBP3,1 using the file!!

    I couldn’t get Airport to work, though… even after dumping the IO80211Family.kext under /System/Library/Extensions/ folder and chown -R root:wheel. So I’m back to 32bit :( Is there anything else I need to do?

    Also, it seems like both the 3.0 and 3.1 versions of IO80211Family.kext come with 64bit binaries. What are the difference between those two versions? (And are they really Airport Atheros drivers?)

  70. crazyASD
    October 29th, 2009 | 11:08 pm

    @Tom, Check your Airport card ID, i think your ID is different with my.
    A best way to install kext, using Kext helper (just google it).

  71. October 30th, 2009 | 3:15 am

    [...] resources from here. Author: Jeremy Categories: 普通 General Tags: 64-bit, hack, Mac OS X, Macbook Comments [...]

  72. Tom
    October 30th, 2009 | 6:47 am

    Actually, today I got IO80211Family.kext to load in 64bit as well, so everything is good!! I’m not sure what made it load, but I was copying things around in the Extensions folder… Perhaps I needed to touch /System/Library/Extensions. Thanks again for the files :)

    (Also, looks like it’s Plugins/AirPortAtheros.kext that only had the 32 bit version.. the new IO80211Family.kext seems to have the 64bit version of this file as well, which I guess is why it works…)

  73. manny
    October 30th, 2009 | 7:40 pm

    thanks crazyASD! everything works fine on my MBP 3,1! :]

  74. Tan
    October 31st, 2009 | 6:35 am

    Any 1 who can teach me how to hack macbook 3,1?
    My mb has the 64 bit kernel.

  75. Law
    October 31st, 2009 | 1:03 pm

    I got it working on iMac7,1
    modify boot64.efi on position 0×26718
    old value: 0x0C
    new value: 0×07

    After that follow procedure mentioned above

  76. Tomas P.
    November 4th, 2009 | 10:33 pm

    It doesn’t work on MacBook3.1 (I have MacBook3,1, late 2007). I’ve downloaded the linked file, followed the steps, but still in 32bit mode. Everything was set as described in the article, I also tried to hold 6 and 4 keys when booting, but no success. Does anybody has some clue?

    BTW, when editting the file boot.efi, do you use little endian (I think, it’s used by Intel) or big endian?

  77. LeonardoPRC
    November 8th, 2009 | 4:22 pm

    In iMac:

    Hardware Overview:

    Model Name: iMac
    Model Identifier: iMac6,1
    Processor Name: Intel Core 2 Duo
    Processor Speed: 2.16 GHz
    Number Of Processors: 1
    Total Number Of Cores: 2
    L2 Cache: 4 MB
    Memory: 2 GB
    Bus Speed: 667 MHz
    Boot ROM Version: IM61.0093.B07
    SMC Version (system): 1.10f3

    # ioreg -l -p IODeviceTree | grep firmware-abi
    | | “firmware-abi” =

    I tried both hexs:

    “iMac(early 2008) 0×2671B 0×08 0×80″
    “iMac 0×26718 0×08 0x0c”

    However neither of them worked.

    - With firmware 32 bit I will get to run the kernel in 64 bit??

  78. LeonardoPRC
    November 8th, 2009 | 4:24 pm

    My firmware

    | | “firmware-abi” = “EFI32″

  79. manny
    November 10th, 2009 | 1:54 am

    so it seems that 10.6.2 breaks wireless and ethernet with on a MBP 3,1. all i get on ethernet is a self assigned ip.

    so MBP 3,1 users:

    just reinstall the kext provided by crazyASD and use kext helper! everything should work fine with the reinstall

  80. squished squirrel
    November 10th, 2009 | 4:11 pm

    AHHHH crap. In my posts from long ago, I mentioned having it working on a Macbook3,1. No no no…. that was supposed to say Macbook5,1. Damn. Sorry!

    Of course since 10.6.2, I haven’t gotten it to work again.

  81. SkyZ
    November 11th, 2009 | 7:35 am

    crazyASD’s boot.efi does work on 15″ MacBookPro3.1, but CPU temperature rise up to 99C after machine startup for 15min…… So I guess I’ll step back to 32 bit kernel until a better solution comes up…….

  82. November 11th, 2009 | 11:39 pm

    does anybody know if this works on 10.6.2 and if we have to redo the process on subsequent SL updates?

  83. squished squirrel
    November 12th, 2009 | 3:47 am

    OK, got 64bit booting back on Macbook5,1. Something is overwriting the boot.efi file. I had renamed boot64.efi to boot.efi (after upgrading to 10.6.2) and it got replaced. Odd.

  84. November 12th, 2009 | 5:27 am

    I just tried this on my macbook5,1 running snow leopard 10.6.2 and it works fine.

    Below is what I did:

    added arch=x86_64 to the following file:

    $ nano /Library/Preferences/SystemConfiguration/com.apple.Boot.plist

    Kernel
    mach_kernel
    Kernel Flags
    arch=x86_64

    $ sudo cp boot-k64.efi /System/Library/CoreServices/
    $ cd /System/Library/CoreServices/
    $ sudo chown root:wheel boot-k64.efi
    $ sudo chflags uchg boot-k64.efi
    $ sudo bless –folder /System/Library/CoreServices –file /System/Library/CoreServices/boot-k64.efi

  85. bc
    November 13th, 2009 | 2:21 pm

    I can confirm that renaming boot64.efi to boot.efi and replacing the original boot.efi + modifying the com.apple.Boot.plist works on a macbook 4,1 Mac OS 10.6.2 (the blessing method didn’t work for me).

    It is also possible to boot the machine in 32bit mode without having to restore the original boot.efi. Suffices to use the System Mode Configurator, MacPilot or any other utility that switches boot modes between 32bit and 64bit.

    Everything is not peachy though. In 64bit mode the laptop never recovers from quick/safe/deep sleep. Is there a way to fix this?

  86. November 13th, 2009 | 9:05 pm

    Not not not working with my macbook 4,1 6GB memory))) not working)))) macbookpro 3,1 is not working also((((((

    help me

    I can test it both macbooks

  87. November 17th, 2009 | 7:31 am

    [...] the x86_64 kernel on the Macbook Air via any process. It looks like it is. References here and here show it is possible to force boot the x86_64 kernel if you have a 64bit EFI firmware. Theory is [...]

  88. November 20th, 2009 | 1:26 am

    [...] جهازك Macbook 5.1 لأن عندي نفس المشكله. بس لقيت هذا الحل في هالرابط ، بس ماعرفت واشلون اطبقه اتمنى من صاحب الموضوع [...]

  89. LinComment
    November 22nd, 2009 | 2:52 am

    Does anyone have the correct offset for a Macbook Air 2,1?

    I’ve tried those listed in this thread with no luck.

  90. November 22nd, 2009 | 4:53 pm

    Macbook 4,1 Snow Leopard 10.6.2 in 64bit mode and works great)))))) Finally))))
    SO GREAT)))))) Thanks
    1) get the boot64.efi
    2) rename it to boot.efi
    3) go Terminal
    4) go /System/Library/CoreServices/boot.efi and Unlock it with Get Info or bless -info
    5) Drop new boot.efi(boot64.efi) here and replace it))))

    Vualla)))))) restart and your lovely macbook is in 64bit mode)))) that is lovely
    Mine is modbook)))
    Now let’s try to find drivers for mini pci-e WIMAX/WIFI CARD – intel 5350)))))
    And our macbooks gonna be Wimax Macbooks)))))

  91. jakudlaty[-at-]gmail.com
    November 24th, 2009 | 12:51 am

    on macosx 10.6.2
    What you need to change for MacBook Pro 3,1 is this:

    0. SUDO
    1. backup your extensions, /mach_kernel and boot.efi
    2. edit boot efi
    Original -> 0×26708: 4B 47 01 00 00 00 00 00 04
    After -> 0×26708: 4B 47 01 00 00 00 00 00 03
    3. use lipo to remove i386 arch from /mach_kernel
    lipo /mach_kernel -remove i386 -output /mach_kernel64
    cp /mach_kernel64 /mach_kernel
    4. delete /System/Library/Extensions/IO80211Family.kext/Contents/Plugins/AirportAtheros.kext
    5. edit file /System/Library/Extensions/IO80211Family.kext/Contents/PlugIns/AirPortAtheros21.kext/Contents/Info.plist
    update your IONameMatch to this
    IONameMatch

    pci168c,2a
    pci106b,0086
    pci168c,1c
    pci168c,87
    pci168c,23
    pci168c,24

    6. repair disk permissions
    7. reboot

    And you should have working 10.6.2 64 bit on MBP 3.1
    with working AtherosWifi

  92. bc
    November 24th, 2009 | 2:50 pm

    I was able to boot the 64-bit kernel a white macbook 4,1, X3100 graphics, mac os 10.6.2. I used the instructions involving the renaming of boot64.efi to boot.efi posted on this thread. Everything works perfectly, except I cannot adjust the display brightness and the laptop never recovers from sleep. Does anyone else have this problem? Is there is a solution?

  93. November 24th, 2009 | 8:36 pm

    Macbook 4,1 x3100 works in 64 bit !!! Awesome! The only thing that is not working is SLEEP. Who knows how to correct it?

  94. December 5th, 2009 | 2:21 pm

    The same issue here “cannot adjust display brightness and the laptop never recovers from sleep”
    i ve been testing 64 bit since 24 nov and I never want to be back 32 bit)

  95. theloniousmonk045
    December 9th, 2009 | 12:14 am

    After following the original instructions with crazyASD’s patched bootefi, I *thought* I had my Macbook Pro 3,1 booting with a 64-bit kernel. However, going to the System Software Overview within System Profiler reveals that I am not using 64-bit kernel and extensions. To convolute the issue further, I tried loading up K64Enabler (an app to switch between 32-bit and 64-bit kernel on supported Macs) and instead of offering me the option to enable the 64-bit kernel (as it would when running a 32-bit kernel), it offered me the option to Disable the 64-bit kernel (as though I were running with a 64-bit kernel).

    Anyone have any thoughts? Am I 64-bit or 32?

  96. December 10th, 2009 | 12:38 am

    System Software Overview:

    System Version: Mac OS X 10.6.2 (10C540)
    Kernel Version: Darwin 10.2.0
    Boot Volume: Macintosh HD
    Boot Mode: Normal
    Computer Name: Soap-Book
    User Name: Petr (Petr)
    Secure Virtual Memory: Enabled
    64-bit Kernel and Extensions: Yes !!! !!! !!! !!! !!! check here)) about this mac
    Time since boot: 24 minutes

  97. nomac
    December 10th, 2009 | 5:48 am

    Unfortunately I have to say no mac upgrade for me. macbookpro 3,1 not on working 64 bit. My experience with my new macbook pro 3,1 started of with mb replacement after 6 moths flowed by a screen replacement. We have 64 bit capable hardware but Apple decided we are not allowed to use the hardware to its full potential. Yes we don’t need 64 bit now, but if the next release only support 64 bit – Apple force you to upgrade, but with my mac experience …………………………

  98. theloniousmonk045
    December 11th, 2009 | 9:17 pm

    Petr–Yeah, System Software Overview says No for me and my MacBook Pro 3,1. I was wondering if there were other alternatives to test the kernel and if I could potentially be receiving a “false negative,” but alas the procedure seems not to work for me.

    Thanks!

  99. December 17th, 2009 | 1:27 am

    theloniousmonk045! it works Use hex editor and change 4to3 in the line) It works
    My Modbook4,1 in 64 bit and macbookpro3,1 in 64 bit)

  100. Artem
    December 19th, 2009 | 2:44 pm

    jakudlaty[-at-]gmail.com, crazyASD!!
    Thank you very much!!!! Now it works on my MacBook Pro 3.1 !!! YAHOOO!!!!

  101. CCasro
    December 30th, 2009 | 12:41 am

    I booted a Macbook3,1 (late 2007) GMA X3100 into 64bit kernel.
    I found on the web (can’t remember how or where) that the bits changed in boot.efi actualy change the major version of the machine so on the macbook line (0x266e8) changing 0×0 to 0×4, changes do not allow macbook to allow macbook4,x.
    I changed 0×0 to 0×1 (allow macbook1,x) and following the rest of the posted instructions the machine now boots to 64bit kernel (all my extensions where 64bit)
    32 bit applications run with no problems

  102. Andras Hatvani
    January 16th, 2010 | 4:00 am

    For an iMac7,1 I combine comments #25 and #75 as the super user (sudo -s) i.e.:
    - open the provided boot.efi with 0xED (http://www.suavetech.com/0xed/0xed.html)
    - set 0×266DB to 0×04
    - set 0×26718 to 0×07
    - overwrite (no blessing necessary) boot.efi
    - chown root:wheel boot64.efi
    - chflags uchg boot64.efi
    - reboot.

  103. January 16th, 2010 | 8:55 pm

    Just works!!!! MBP 3.1 17in wide screen 4GB 7200rpm

    I mixed the instructions of jakudlaty[-at-]gmail.com, but downloaded the prefixed boot.efi, so I save the hex editor step, installed the atheros kext, repair the permissions and that’s it, working by now.
    Apparently every thing is working, wireless, core temperature below 60 degrees, will run more test and overload the systems to verify the behavior, I will also tweak my system with secrets, so it has to be a super fast twaked computer.

  104. January 19th, 2010 | 9:36 pm

    64 bit is working great but what about the SLEEP issue in macbooks?

  105. Ivy
    January 28th, 2010 | 4:20 pm

    Thank You, to Netkas, Amit, and hokarin86.

    I now have my mac mini running the 64 bit Kernel.

    I’ve not used a hexeditor for many many years, and last time was changing some firmware for some SGI kit.

    For those who were asking what they were doing, well in the boot efi, there will be parts of the code with each machine. For example the offset for the macmini3.1 was 0×266db (Thats 157403 bytes into the file) Now from what I can surmise 0×00 means 32 bit kernel, while 0×80 gives us 64. Now I don’t think this is the same for each model. For example the change for the macbook is to 0×04.

    All interesting to me, it’s been quite a while since I’ve hacked with this stuff.

    It would be quite neat to find all of the offsets for the different models (I believe the mac mini that Amit posted is not quite right.)

    Anyway enough rambling from this old hacker girl

    ~Ivy

  106. Kim
    February 5th, 2010 | 7:50 pm

    Works fine in my Macbook White Unibody (MC207BZ/A)!

    Thanks from Brazil! :)

  107. l377r1ch
    February 22nd, 2010 | 3:58 pm

    Hey guys,
    great you found a way to make the macbook pro 3.1 working. I also tried it but wasn’t able to make it work because of my lack of knowledge bout hex editors.
    can anyone please give me a more in depth (for hex n00bz)info of how to do it?

  108. March 4th, 2010 | 9:03 pm

    How to fix your Mac if you break it by following these instructions:
    1. Insert the Mac Install Disk and reboot, hold the C key as it boots to boot from the Installation Disk
    2. Open the Utilities menu and open Temrinal
    3. Type “ls /Volumes”
    4. Type “cd /Volumes/Machintosh\ HD” (or other as listed by the above command)
    5. Type “rm System/Library/CoreServices/boot64.efi” (TYPE CAREFULLY!)
    6. Type “reboot”, and hold F12 pressed as it boots to eject the Installation Disk

    The system will fallback to the unmodified/untampered boot.efi and give up on booting into 64-bit mode. Just be careful not to “r[e]m[ove] boot.efi” !!

  109. jdiggidy
    March 5th, 2010 | 5:53 am

    So – according to CCasro, can a Macbook 2,1 boot into 64 bit mode by modifying 0x266e8 to 0×1 ?
    And – if anyone has solved the screen issues on a 4,1 running 64 bit mode, I’d greatly appreciate it!

  110. Rioux
    March 25th, 2010 | 5:33 am

    Ok Is it me or the first link for the patch is not working anymore? (boot64.efi) Do i need to make an acount on rapid share then i can search for it ?

  111. March 30th, 2010 | 12:09 am

    That is what System profile shows my macbook 4,1 64 bit

    fantastic

    I love 10.6.3 update ……

    Type: GPU
    Bus: Built-In
    VRAM (Total): 64 MB of Shared System Memory
    Vendor: Intel (0×8086)
    Device ID: 0x2a02
    Revision ID: 0×0003
    Kernel Extension Info: No Kext Loaded

  112. March 30th, 2010 | 1:09 pm

    how to fix it? x3100 kext in 64 bit?

  113. CCasro
    March 31st, 2010 | 1:07 pm

    jdiggidy – It would boot if the macbook 2,0 has a 64bit processor and 64 bit firmware

    Petr – 10.6.3 removes 64bit X3100 kexts so you don’t get accelerated video. only basic video(does it sleep?)

  114. March 31st, 2010 | 7:34 pm

    yes it sleeps and wakes up easily, so do u know how to get back to 64bit X3100 kexts?

  115. March 31st, 2010 | 9:41 pm

    Okay! let’s have our 64 bit kext for x3100 in macbook….I have it back thanks amit and netkas!

    1) copy 5 files x3100 kext from 10.6.2 update with Pacifist
    2) get booted from usb or any other disk
    3) replace those 5 files in /System/Library/Extensions and vuala!

    Its 64 bit back to macbook with video

  116. James
    April 6th, 2010 | 12:30 am

    the link for boot64.efi is down, can someone send it to me?
    jamesgjy@gmail.com
    thank you!!

  117. jiddo
    April 14th, 2010 | 12:14 am

    It seems that the EFI-File is down. Could someone please reup this file? THX!

    Greetz,
    jiddo!

  118. Milan Jansen
    April 22nd, 2010 | 4:36 pm

    Hi guys,

    Do you have any idea what the offset for the mac mini is in the new efi version (MM31.00AD.B00) fot the late 2009 model?

  119. April 23rd, 2010 | 4:47 pm

    [...] Thanks to netkas (special thanks to the comment of hokarin86): http://netkas.org/?p=189 [...]

  120. May 17th, 2010 | 4:36 pm

    I have a Macbook 6,1 with 8GB of RAM. In /Library/Preferences/SystemConfiguration/com.apple.Boot.plist it lists arch as x86_64 and also uses the 64 Bit EFI. It does not however run/boot in 64 Bit but can load 64 Bit programs. I tried the above fix and was unable to boot again. Recovery from the installation medium did not work either. Can someone just create a simple program that accomplishes this task? One that patches based on the model? Also, finding the EFI file was a chore and may have been the root of my issue since the source was unreliable.

  121. eren
    May 21st, 2010 | 7:46 am

    Thanks hokarin86 for the information about decimal numbers for mac book air.

    I have 2nd gen Macbook air. It has a 64bit kernel now and works fine!

  122. May 26th, 2010 | 9:49 am

    [...] não me convence. Queria o AutoCAD a correr. Volto à net, pesquiso mais um bocado e encontro um guia que dá a ideia de fazer o download do EFI 64-bits “por fora” e depois mostra uns [...]

  123. Rob
    June 8th, 2010 | 6:37 pm

    Hi, I’m a “noob” so please don’t flame me too bad. However, I have a MacBook Pro 17, (Model Identifier: MacBookPro2,1) Intel Core 2 Duo, Model #: A1212

    I was wondering – if I upgrade the hard drive, to say, a 1 TB drive, and install Mac OS Snow Leopard (and partition to install Win 7 64-bit), can I install more RAM, or am I limited to the 3 GB RAM limit?

    I was told that there is an inherent “limit” in the chipset which keeps the machine from accessing any more than 3 GB of RAM.

    Is this true, or will the instructions you list here get past that?

    Thanks,
    Rob

  124. joejoe
    June 12th, 2010 | 3:02 am

    I have a macbook black form mid 2007, the and it has a 32efi I need to run an app on 64 I already installed the snowleopard but still doesn’t works.
    the processor is an intel core 2 duo and it’s suppose to work at 64 bit mode, what can I do to update the efi so that I can change it to 64 bit??

  125. BigBadBenny
    June 15th, 2010 | 2:22 pm

    Link to the boot64.efi file. (312KB)

    red91.com/2009/10/23/enabling-snow-leopard-64-bit-kernel

    Let us know if it works!

  126. BigBADBenny
    June 15th, 2010 | 2:25 pm

    red91.com/2009/10/23/enabling-snow-leopard-64-bit-kernel

    link to 64bit.efi file (312KB)

  127. adam
    June 15th, 2010 | 7:41 pm

    petr,
    im on a macbook4,1 with 10.6.3 but i installed the 5 gmax3100 files from 10.6.2 update into my extensions folder. now my brightness keys respond, but stay between 2 “clicks” and i cant adjust any farther up or down. also, it still doesnt turn off the display when it sleeps. when i was in default 10.6.3 update with 10.6.3 kexts, i got no love whatsoever from the brightness keys, and it didnt shut off display when sleeping.
    just a note: i copied them to the extensions folder while i was booted from my 10.6.3 disk.. is that the problem? i still shutdown and restarted. thanks if you can help me!

  128. June 18th, 2010 | 9:43 pm

    ——————————————————-
    on macosx 10.6.2
    What you need to change for MacBook Pro 3,1 is this:

    0. SUDO
    1. backup your extensions, /mach_kernel and boot.efi
    2. edit boot efi
    Original -> 0×26708: 4B 47 01 00 00 00 00 00 04
    After -> 0×26708: 4B 47 01 00 00 00 00 00 03
    3. use lipo to remove i386 arch from /mach_kernel
    lipo /mach_kernel -remove i386 -output /mach_kernel64
    cp /mach_kernel64 /mach_kernel
    4. delete /System/Library/Extensions/IO80211Family.kext/Contents/Plugins/AirportAtheros.kext
    5. edit file /System/Library/Extensions/IO80211Family.kext/Contents/PlugIns/AirPortAtheros21.kext/Contents/Info.plist
    update your IONameMatch to this
    IONameMatch

    pci168c,2a
    pci106b,0086
    pci168c,1c
    pci168c,87
    pci168c,23
    pci168c,24

    6. repair disk permissions
    7. reboot

    And you should have working 10.6.2 64 bit on MBP 3.1
    with working AtherosWifi
    ————————————————
    Just installed 10.6.4 and AtherosWifi is not working any more.
    10.6.4 replaces the IO80211…. and redoing the hack does not help!
    Suggestions anyone?!

  129. June 18th, 2010 | 11:28 pm

    do the hack and the following
    sudo -s
    chown -R root:wheel /System/Library/Extensions/IO80211Family.kext/Contents/PlugIns/AirPortAtheros21.kext
    chmod -R 755 /System/Library/Extensions/IO80211Family.kext/Contents/PlugIns/AirPortAtheros21.kext
    touch /System/Library/Extensions
    run disk permission

    macbook pro 3.1 works fully again :-)

  130. July 7th, 2010 | 6:00 pm

    to adam
    Hi Adam
    I use modbook(macbook4,1 with 6GB ram) so I really need no love from the brightness keys, and at the same time I have no sleep enabler so I always shut my mac down and then turn on again( I have ssd so it takes 8 sec)
    People at different forums speak about new driver for macbook so mmmmm probably we should wait…… I like and use 64 bit nevertheless))))))

  131. Veeg
    August 12th, 2010 | 8:39 am

    How to enable 64 bit on MacBook Air (2nd gen; C2D 1,86/2GB/128GB/GF9400M)?

  132. Rich Sefcik
    August 20th, 2010 | 3:12 am

    A big thanks. It worked on my MacBook Pro 3,1. Yes Airport was “not installed” and I followed the last 2 entries and the SOG works. I’m just brave because I’m stupid. Thanks for a fix and an education. All sources report 64-bit.

  133. Ian Wurster
    September 5th, 2010 | 4:14 am

    I have a Macbook Pro 3,1, and I followed jakudiaty’s instructions. It worked on the first boot, showing up as 64 bit enabled in System Profile, but with a reboot, it refused to boot, and I had to restore the mach_kernel backup to get it to work. Maybe because I’m using 10.6.4? Has anyone else had this problem?

  134. Pericles
    September 16th, 2010 | 7:55 pm

    Can anyone simplify the process for me? I have a 2010 MB Air. My Air has a 64 bit efi and I was able to change the file to read Kernel Flags
    arch=x86_64

    but it still does not boot into 64.
    Now I have to change a serial number somewhere?

    Please be so kind as to help. I am not a hacker programer type but given accurate instructions I know I can accomplish the task.

    thanks!

  135. ..zzZZ
    September 18th, 2010 | 5:22 pm

    who can upload boot64.efi file. again please!)

  136. November 4th, 2010 | 10:41 pm

    would love to know how to determine the offset for the varying macs, and specifically the offset for the new macbook air 2010 13″ model.

    any help appreciated.

  137. macbook5.1
    November 11th, 2010 | 10:10 pm

    Netkas or fellow members , could anyone please share the boot64.efi again ? the link is dead.. :(

  138. fotis
    November 12th, 2010 | 1:48 pm

    10.6.5 breaks 64-bit on macbookpro 3,1.
    Any suggestions?

  139. Rich Sefcik
    November 14th, 2010 | 6:18 am

    In August, I reported how I was 64k flying thanks to this article. 2 days ago I updated to 10.6.5 on my MBP 3,1, and I’m back to 32k, according to “About This Mac”. (I use “32-or 64-bit Kernel Startup” to try, but it only does the partial job. I did what I did before, even got to the “Airport Card Not Installed” message, but no 64k. Any others with this issue or is it just me. If it is a global phenomenon, what’s the fix?

  140. Hanno
    November 15th, 2010 | 3:34 am

    Snow Leopard 10.6.5 has a new boot.efi :(

    Anyone have the byte offsets/values to modify to allow 64-bit on MacbookPro 3,1 and MacMini 3,1 ??

  141. tundrah
    November 15th, 2010 | 10:59 pm

    10.6.5 has an updated boot.efi. After some trial & error I got 64 bit to work again with MacBook5,1 (with the 10.6.5 boot.efi version):

    macbook:~ tundrah$ uname -a
    Darwin macbook.local 10.5.0 Darwin Kernel Version 10.5.0: Fri Nov 5 23:19:13 PDT 2010; root:xnu-1504.9.17~1/RELEASE_X86_64 x86_64

    macbook:~ tundrah$ diff boot32.hex boot64.hex | more
    9748,9753c9748,9753
    < 0028700 60 42 02 00 00 00 00 00 00 00 00 00 00 00 00 00
    < 0028710 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    < *
    < 0028730 68 42 02 00 00 00 00 00 00 00 00 00 00 00 00 00
    < 0028740 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0028700 60 42 02 00 00 00 00 00 04 00 00 00 01 00 00 00
    > 0028710 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    > 0028720 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    > 0028730 68 42 02 00 00 00 00 00 04 00 00 00 01 00 00 00
    > 0028740 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    > 0028750 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

    I’ve changed 3 values above (per model), one value from 00 -> 04, one value from 00 -> 01 and another from 00 -> 02.
    Obviously the above diff patches two different models, but I’m too lazy to check now which one is actually Macbook.

    Actually 64 bit kernel also works without the 00 -> 04 change. But if you check full hex dump of the original boot.efi,
    the difference between the first model starting with “58 42 02″ and the two models patched above is exactly
    those values. I suspect the first one is some older macbook pro, and without actually knowing exactly what those values
    mean I guess it’s safer to change them all.

  142. Jamonda
    November 16th, 2010 | 10:22 pm

    Does anybody know how to enable 64bit in a macbook 5,1 (macbook aluminum unibody) with SL 10.6.5?

  143. November 17th, 2010 | 3:11 pm

    So now someone needs to update this for 10.6.5, since that came with an updated boot.efi and the offsets for the various models are now different…

  144. November 18th, 2010 | 1:16 pm

    Boot 64bit efi for macbook 5,1 version 10.6.5:

    http://hotfile.com/dl/83351839/6c9727a/boot_64_1065.efi.html

  145. Big Bad Benny
    November 20th, 2010 | 12:44 am

    What is currently the SL software update path for MacBook Pro 3,1 with 64bit hack.
    I’m currently at 10.6.2 with k64 enabled, what are my options?
    Is trying tundrah’s 5,1 method worth a try? Suggestions welcome!

  146. Bob Hoskins
    November 25th, 2010 | 10:11 am

    Nick: Or you can read the comment from “tundrah” and do it yourself. Takes about two second you lazy git.

  147. Maxim
    November 25th, 2010 | 1:34 pm

    Tundrah PLEASE put on web the boot64.efi file for macbook5,1.

  148. chrome
    November 28th, 2010 | 3:01 pm

    offs old new offs old new offs old new

    28708 0 4 2870C 0 1 28710 0 2
    28738 0 4 2873C 0 1 28740 0 2
    28768 4 3
    28798 8 c

  149. Gonzalo Herrera
    November 29th, 2010 | 3:06 am

    Yess please can you update de instruccions for aluminium unibody macbook 5.1 in snow leopard 10.6.5 because is different, or update the patch file??? tundrah can you upload de efi64 for this model?? thanks

  150. Brent
    November 30th, 2010 | 2:02 am

    Thank you tundrah. Works fine on a MacBook 5,1

  151. maty
    December 8th, 2010 | 3:30 am

    1. download boot.efi to desktop (modified using tundrah’s method above; works on my 5,1 macbook but no promises)
    http://www.mediafire.com/?93s0sr9e3uyatu4
    2. open terminal and type commands
    cd /System/Library/CoreServices
    sudo chflags nouchg boot.efi
    mv boot.efi boot.efiBACKUP
    cd ~/Desktop
    sudo mv boot.efi /System/Library/CoreServices
    sudo chflags uchg boot.efi
    “sudo bless –folder /System/Library/CoreServices/ –file /System/Library/CoreServices/boot.efi” (one command; remove quotes)
    sudo bless -info (double check that coreservices is the blessed folder and boot.efi is the blessed file)

    3. add arch=x86_64 to file /Library/Preferences/SystemConfiguration/com.apple.Boot.plist to Kernels Flags section
    For example:
    Kernel Flags
    arch=x86_64

    4. reboot your computer, this will take a while the first time

  152. Nikola
    December 12th, 2010 | 5:34 pm

    I also need boot64.efi for MacBook Pro 3.1. Anyone?

  153. Gonzalo Herrera
    December 13th, 2010 | 4:55 am

    its not work for me can anybody upload de efi64.efi macbook 5.1 for 10.6.5?? please??

  154. nix
    December 13th, 2010 | 9:58 am

    what about byte offset & value for macmini 3,1?

    macmini 3,1 worked with LP64 kernel on 10.6.4 but above values do not work in macmini 3,1 boot.efi on 10.6.5.

    however, reporting that above works for macbook pro 3,1 (specifically 0×28768 from 0×04 -> 0×03).

    thanks.

  155. Preachs
    December 15th, 2010 | 8:58 pm

    I need to know which offsets to tweak for a mac mini server late 2009. Does anyone know which tweak to make? Can’t bring down this server because of a mistake!

  156. kevin karnau
    December 16th, 2010 | 4:55 am

    Could someone repost a link to the 64bit boot.efi for 10.6.5? The link that is above doesnt work anymore.

    Thanks in advance
    -kev

  157. Luis Falcao
    December 16th, 2010 | 7:40 pm

    I made an hexdump of boot.efi, but I don`t know how to restore to boot.efi.

    Is there any efi64 for MacBook6,1 with 10.6.5?

    thanks in advanced.

  158. Luis Falcao
    December 16th, 2010 | 8:15 pm

    Forget my newbie question… rs

    I already be able to boot MacBook6,1 with 64 bits kernel. I just use Hex Friend to edit boot.efi and follow the procedures describe here.

    Thanks for excellent post.

  159. Nikola
    December 19th, 2010 | 2:49 pm

    Can anyone upload boot64.efi for Macbook Pro 3.1 Snow Leopard 10.6.5?

    Thanks,

  160. December 20th, 2010 | 3:08 am

    Using Tundrah and Chrome’s instructions/information, I was able to modify boot.efi and boot my Macbook Pro 3,1 (Mid 2007) into 64-bit mode. If you know a bit about Unix/OS X and hex editors, this is somewhat straightforward. Also used the information at http://www.dribin.org/dave/blog/archives/2006/05/31/boot_image_intel/ as a reference.

  161. Shcaerp
    December 21st, 2010 | 6:27 pm

    Hey Chrome,

    Could you clarify those settings a little more? I would appreciate it. Thank you.

  162. BigBADBenny
    December 22nd, 2010 | 8:59 am

    Anyone had any luck with MPB17 3,1 to 10.5.6?
    I’ll have a go using chromes post :-)

  163. Shcaerp
    December 23rd, 2010 | 7:26 pm

    Hey Chrome,

    Could you clarify your settings please? Need a little help, Thanks

  164. Shcaerp
    December 23rd, 2010 | 10:11 pm

    Why are all my posts waiting moderation??????????????????

  165. Shcaerp
    December 24th, 2010 | 6:39 pm

    I tried all of Chrome’s tweaks and my mac mini server won’t boot in 64 bit kernel. I’m sure it’s a single bit change. Does anyone know what the change is for 10.6.5? I had already upgraded before i found this discussion.

  166. BigBADBenny
    December 26th, 2010 | 4:06 am

    Success on MBP17 3,1 with 10.6.5 ! Thanks chrome!
    No need to do any part of the airport hack, either.
    Due to my os being on a Wintec EC SSD, the MBP failed second boot. I used Applejack in AUTO mode after reapplying the hack to fix everything and now it’s OK.

    Editing the boot.efi: 28798(offset) 8(old value) c(new value)
    “C” at this offset had to be entered under 16bit unsigned row, becomes “12″ in 8 bit unsigned row.

    Here’s the method I used for MBP3,1 10.6.5, thanks to all quoted sources:

    COPY BOOT EFI
    cp /System/Library/CoreServices/boot.efi ~/boot64.efi

    EDIT EFI IN HEXEDIT (use chrome’s values)

    sudo cp boot64.efi /System/Library/CoreServices/
    cd /System/Library/CoreServices/
    sudo chown root:wheel boot64.efi
    sudo chflags uchg boot64.efi
    sudo bless –folder /System/Library/CoreServices \
    –file /System/Library/CoreServices/boot64.efi

    use lipo to remove i386 arch from /mach_kernel
    lipo /mach_kernel -remove i386 -output /mach_kernel64
    cp /mach_kernel64 /mach_kernel

    repair disk permissions
    install Applejack
    reboot in single user mode, enter: applejack AUTO
    crossfingers and restart! Thanks again everyone!

  167. BigBADBenny
    December 26th, 2010 | 4:16 am

    Oh yeah:
    start the hack with sudo -s

  168. BigBADBenny
    December 29th, 2010 | 7:39 am

    Still working great – but Carbon Copy Cloner backups aren’t bootable. Any advice?

  169. madmac
    December 29th, 2010 | 11:10 am

    Macmini1,1 … please. happy 2011

  170. Shcaerp
    December 29th, 2010 | 8:31 pm

    Hey BigBADBenny

    Since you seem to be the only one responding – do you know which offset in the boot.efi file is for the Mac Mini Server (late 2009 Macmini3,1)? The changes in 10.6.5 is causing confusion. I tried all of Chrome’s settings however I may not have entered them on the right row – especially the ones where the old setting was 0.

  171. BigBADBenny
    January 5th, 2011 | 2:48 pm

    Shcaerp: I dont have a mini, yet…
    My advice is to install the 10.6.5 update, and do the hex edit in 0xED (I’m using 1.0.7 (57) © SuaveTech)
    In the 0xED menu, go to Edit > Write Mode and select ‘overwrite’.
    Then to edit, just put the offset e.g. 28798 into the ‘go to offset’ field at top right of the 0xED gui – the first of a pair of characters will be highlighted (e.g., 0C) in the big table of characters :-)
    When you select both characters at the required offset you can change them either there, or in the Type/Value fields at the lower part of the window (where you have more intriguing options – see my prev post re value 0C) . At least I could email you the .efi file – bigbadbenny67 at gmail.

    I’m enjoying the 64 bitness – subjectively the MBP is a little more creamy in certain ways :-)
    I’m getting around the broken clones issue simply by reverting them to 32bitness with the 10.6.5 updater, It’s a small matter to restore the hack if req’d.

  172. DanSilov
    January 6th, 2011 | 12:18 pm

    Can anyone provide a working patch for MacBook Air 13.3″ 2010? I’ve tried all the latest suggested patches with absolutely no luck. Also, since EFI for MBAs has been updated to 2.0 recently, new EFI (with different offsets) should be used now, and there is no information for this yet.

  173. BigBADBenny
    January 7th, 2011 | 5:14 am

    Success on MBP17 3,1 with 10.6.6 ! Thanks chrome!

    Just reapply the edit etc. after the update…

  174. January 10th, 2011 | 6:37 pm

    boot64.efi for Macbook 5,1 (10.6.6)

    http://ota.smallbee.vn/boot64.efi

  175. January 10th, 2011 | 7:15 pm

    Success on MacBook5,1(Aluminum)!
    Thanks!

  176. umax
    January 19th, 2011 | 4:22 pm

    @#BigBADBenny

    Can you please let me know what did you reapply in oreder to get 64bit on your mbp? I was having it running on 10.6.5, but accidentiley updated it to 10.6.6. When checking boot64.efi, the file is still the same as with 10.6.5 and cant figure it out what should I do?

    On 10.6.5 I have followed tundrah post and edit the efi file in hexedit. Please let me know

  177. umax
    January 20th, 2011 | 1:32 pm

    Got it working after all, just follow tundrah post for edits on boot file, then run netkas commands in terminal

  178. minimac
    January 26th, 2011 | 2:46 am

    macmini3,1
    10.6.0 change 0x266DB from 00 to 80
    10.6.6 change 0x286DB from 00 to 80
    both tested

  179. Luka
    January 26th, 2011 | 8:48 am

    I have tried it with macbook3.1, it has EFI64, but i can’t figure out which values to change in the new 10.6.5 boot.efi. The changes some of you did for your Pros don’t seem to work.

  180. February 3rd, 2011 | 10:58 pm

    The patched boot64.efi link DOES NOT WORK!!!

  181. globus
    February 15th, 2011 | 3:26 pm

    BigBADBenny! I’ve the same configuration but I never before try this solution. Could you post complete How To?
    MBP 3.1 10.6.6

    Could be nice
    Thx

  182. DanSilov
    February 26th, 2011 | 12:35 am

    Finally found the patch for MacBook Air 2010. Works with EFI 2.0 as well:

    28738:00->02
    2873C:00->02
    28740:00->02

  183. Shcaerp
    February 26th, 2011 | 3:52 am

    Could someone please find the patch for Mac Mini Server 2009.

    Thanks

  184. BigBADBenny
    February 27th, 2011 | 5:50 am

    @ DanSilov: how did you track down the patch for MacBook Air 2010?

  185. RadAsPlaid
    March 3rd, 2011 | 4:43 pm

    So I spent all morning reversing the new 10.6.5 boot.efi, and I was able to get my Mac Mini 3,1 booting 64bit again. I’ve also got some relevant information regarding offsets (although I haven’t figured out any of the other model numbers just yet).

    The models->64 bit enable table starts at 0x286d0 in the new boot.efi. The model “signature” is a pattern of 3 bytes: MODELNO + 42 02. Model entries are 12 Words (4bytes) wide including the signature. The byte which determines if the system can boot 64bit is the first byte in the second word of the entry.

    The model table for the new boot.efi is +0×2000 offset from the original boot.efi (the original’s boot table starts at 0x266D0). Models entries in the old version are only 4 words wide. The model number is plus +28h from the old entry, and the “signature” bytes are + now 0×42 0×02

    Ex: old boot.efi (Mac Mini 3,1 identifier):
    0x266D0: 30 47 01
    New boot.efi Mac Mini 3,1 identifier:
    0x286D0: 58 42 02

    Example (unaltered) for the Mac Mini 3,1

    0x286D0: 58 42 02 00 | 00 00 00 00 | 04 00 00 00 | 01 00 00 00 (8 more words of 0s until next model omitted)

    To enable 64bit booting for a model, simply add 4 to the enabler byte: the Mac Mini 3,1 altered to boot 64 bit:

    0x286D0: 58 42 02 00 | 00 00 00 00 | 08 00 00 00 | 01 00 00 00 (8 more words of 0s until next model omitted).

    So basically, it would probably be safe to look for the signature:
    | XX 04 02 00 | 00 00 00 00 | YY 00 00 00
    where XX is a model number, and change the value in YY to +4 until you find one that enables 64bit mode for your model.

  186. Big Bad Benny
    March 7th, 2011 | 4:53 am

    @ RadAsPlaid:
    “To enable 64bit booting for a model”
    Do you have the option to boot either 32 or 64 using boot args… or are you natively booting into 64?

  187. Big Bad Benny
    March 7th, 2011 | 4:59 am

    Readers: Just for the heck of it, I’m trying to get my MacBook Pro 17″ 3,1 to use 8GB of DDR2 ram, it is recognized but, as reported elsewhere, just doesnt work.
    I have tried the .efi firmware update that enables 8Gb in the MBP 5,1 but the update is possible on the 3,1.

    Anyone have any tips in that regard?

  188. RadAsPlaid
    March 8th, 2011 | 12:07 am

    @Benny: I use NVRAM or com.apple.Boot.plist to select the arch (I believe 32bit is still default in Snow Leopard for most machines). The arch=x86_64 arg won’t do anything if the efi has your model flagged as 32-bit only. The mod I posted above flags the model as x86_64 capable, so you need to use both that and a boot arg.

  189. Big Bad Benny
    March 8th, 2011 | 4:33 am

    Cheers, so (similar to mine) you no longer have the option to start in 32-bit (without changing things in terminal again)?

    Whilst I had success through patience and persistence, not everyone is so lucky – would it be possible to wrap up the .efi edit process etc. for various models in an app?

  190. March 9th, 2011 | 8:33 pm

    I’ve patched my 10.6.6 rom >> here it is, tested and approved ;) -> http://www.2shared.com/file/aRc5dwSG/bootnew64.html
    Enjoy!

  191. Big Bad Benny
    March 10th, 2011 | 4:40 am

    I found the trick for making clones bootable is to add the full path to the relevant files on the clone, you can do this in text edit then run it in terminal.

    I have found that repairing the boot disk using Disk Utility will ‘break’ it’s bootability, you’ll need to boot from your working clone or install disk and run the terminal commands again. So I now have several versions of the commands, the original, make clone bootable and repair original from the clone!

    I do all of my periodic maintainance and disk repair using Applejack, which doesn’t have any issues with the multiple enhancements on my MacBook Pro.

  192. Shcaerp
    March 10th, 2011 | 5:18 pm

    RadAsPlaid

    I appreciate your hard work and it was laid out very well, however I am not able to make it work on my Late 2009 Mac Mini Server. I would think this machine is the same as yours but after i set the bit using 0xED and saved it, set the boot args, and restarted the machine, I am still get 32 bit kernel.

    Is there more to the story? Something I may be missing? If you are using 10.6.6 could you share your boot.efi file? Any help would be appreciated.

  193. Shcaerp
    March 10th, 2011 | 5:21 pm

    PixPix

    Which machines did you patch it for?

  194. Shcaerp
    March 10th, 2011 | 9:50 pm

    OK why are my comments still awaiting moderation??????

  195. Shcaerp
    March 10th, 2011 | 9:51 pm

    Let’s try this again…………..

    RadAsPlaid

    I appreciate your hard work and it was laid out very well, however I am not able to make it work on my Late 2009 Mac Mini Server. I would think this machine is the same as yours but after i set the bit using 0xED and saved it, set the boot args, and restarted the machine, I am still get 32 bit kernel.

    Is there more to the story? Something I may be missing? If you are using 10.6.6 could you share your boot.efi file? Any help would be appreciated.

  196. Big Bad Benny
    March 11th, 2011 | 1:49 am

    Shcaerp: what particular approach are you using? Replacing the boot.efi or adding boot64.efi? (to Core Services)

    You didn’t mention that you set ownership and blessed it and or lipo-ed the mach kernel.

    Are you rebooting into single user mode and entering “applejack AUTO restart” (obviously install applejack first)

    Thats handy because you’ll know straight away if the mods working or not, also “LP64″ comes up in the single user boot sequence.

  197. Shcaerp
    March 11th, 2011 | 2:09 am

    Hello Big Bad Benny

    I made a copy of the boot.efi – so I had a original to fall back on – and opened the existing boot.efi in the CoreServices with 0xED and made the change and saved it. I then set the boot args for arch=x86_64, repaired permissions and restarted the machine.
    Perhaps I will use the Applejack suggestion however the lipo-ing the mach kernel hasn’t been mentioned anywhere else and the last time I did that it locked up my server. So much so that I had to reformat the drive and totally reload the server software – made some folks really angry with me cause it lost some of their mail.

  198. Big Bad Benny
    March 11th, 2011 | 5:27 am

    I remember!
    OK – you need to do your experimentation on a bootable clone…
    A fresh install, to 10.6.6, no user data.
    I’ve got clones working – they just need ownership set and blessing, after all.

  199. Big Bad Benny
    March 11th, 2011 | 6:10 am

    Guide with more notes: if using supplied .efi file go to 4:

    1: sudo -s (enter password)
    2: TO COPY BOOT EFI
    cp /System/Library/CoreServices/boot.efi ~/boot64.efi

    3: EDIT EFI IN HEXEDIT (use the right values for your mac)
    or if using supplied boot.efi place it in your home folder

    4: (find the boot.efi file in Core Sevices folder, you can watch the locked boot64.efi appear next to it as you do these steps)

    sudo cp boot64.efi /System/Library/CoreServices/
    cd /System/Library/CoreServices/
    sudo chown root:wheel boot64.efi
    sudo chflags uchg boot64.efi
    sudo bless –folder /System/Library/CoreServices \
    –file /System/Library/CoreServices/boot64.efi

    5:(use lipo to remove i386 arch from /mach_kernel)
    lipo /mach_kernel -remove i386 -output /mach_kernel64
    cp /mach_kernel64 /mach_kernel

    install Applejack
    reboot in single user mode, enter: applejack AUTO restart
    It may take a while to complete and reboot!

    If you have success, make a clone, make it bootable by modifying the commands to that they point to the relevant files on the clone e.g.:
    cd /Volumes/ECSSDBackup/System/Library/CoreServices/

    From memory, run the commands from the cd step on, as the clone already has the required files in place – you just have to set ownership and bless to fix the bootability.

    It’s worth googling “boot64.efi” – there are TON of guides out there and differing approaches, including the option to goback to 32 e.g.:

    http://d.hatena.ne.jp/cantucci/20100728
    http://mac-experiences.blogspot.com/2009/12/snow-leopard-64-bit-on-unsupported.html
    http://web.me.com/dep/linux/Blog/%D0%97%D0%B0%D0%BF%D0%B8%D1%81%D0%B8/2009/10/14_x64.html

    Anyone up for trying to enable 8GB RAM in MacBook 3,1? :-)

  200. Big Bad Benny
    March 11th, 2011 | 6:31 am

    Apologies for all the comments but I just found the guide that (in addition to netkas.org) was helpful for my understanding of the process:

    http://tinyurl.com/47oe5j3

  201. March 11th, 2011 | 6:32 am

    thx pixpix working kernel @64 bits on macbook 5,1. waiting for tomorrow to get a 8gb ram kit.
    NOTE: pixpix patched boot.efi (info for offsets visit hibari.2ch.net/test/read.cgi/mac/1272800080/293), change own ,change flags, bless it, and changue boot plist file arch=x86_64. then restart and push 64.

    enjoy +4gb on macbook :)

  202. Shcaerp
    March 11th, 2011 | 8:56 pm

    Big Bad Benny

    I’m with you until the lipo. I haven’t seen that in any other approaches to this issue and wonder if it is absolutely necessary. It corrupted my mach_kernel last time and I had to totally reload the OS – which was extremely time consuming. I had to take a 1/2 day off work to finish since it was a mission critical server. I understand that we are talking clones now but where is the evidence that putzing with the mach_kernel is necessary? Just asking

  203. March 14th, 2011 | 11:15 pm

    pointadnb

    Do you have 8GB RAM in your macbook 5,1 now?
    Only in 64 bit or in 32 as well?

    Have you tried to install and test Lion?

  204. TheEngineer
    March 21st, 2011 | 2:24 pm

    Hi, my system has:

    System Version: 10.6.6 (10J567)
    Kernel Version: Darwin 10.6.0

    Mac mini Model: Early 2009
    Model Identifier: Macmini3,1
    Processor Name: Intel Core 2 Duo

    Boot Rom Version: MM31.0081.B06
    SMC Version: 1.35f0

    EFI is 64-bit and version 1.2
    shasum boot.efi: 76430c7022bf7b3d68a9094d22589673c30323f2
    boot.efi file size: 332,464 bytes

    I tried RadAsPlaid’s method in comment 171 (with the
    kernel flags), but had no luck as it still shows “64-bit Kernel and Extensions: No”.

    I also attempted to lipo the ‘mach_kernel’ ( file size: 18,693,813 bytes and creation date: 04 Jan 2011 06:22:24 ) but it wouldn’t boot at all – just kept on cycling through 3 images (Apple Logo, Folder Up and No Entry).

    Has anyone with the same sized ‘mach_kernel’ and ‘boot.efi’ files managed to get their Mm to boot up into 64-bit Kernel Mode, and if so how did they patch the boot.efi file ?

    Thanks.

  205. pointadnb
    March 24th, 2011 | 2:06 pm

    yes my friend i have 8gb now i test with 64 bits kernel and all perfect.. but i use some plugs in apple logic pro that not compatible @ 64 bits and for now iam working @32 kernel version but i can run 64 hacking boot.efi and pushing 6 and 4 keys. enjoy.

    I dont try Lion yet because i have to work all day with my computer and it is lost time.. but when lion stabilizes the final version i test sure, then i finish the current university course :P

    NOTE:
    Before the process works i read some post that causes to me a kernel panic. is logic because if you remove 32 bit part from mach_kernel and the SO always try to run from 32 bits kernel then the system crash . I also break the kernel_mach file and then the system.. it is an stupid idea to remove 32 bits part from kernel it is not necesary and if i dont be thinking human i will have to reinstall. it toke me afraid but i copy kernel_mach from leopard install disk (from another macbook you can copy kernel_mach to an USB and then run your “crashed macbook” from system install cd and same operation i describe after.. also works). only run from intall cd and run terminal utility inside the disk. go to root install cd (/volumes/name of drive, list the folder with ls -l…) and copy the file to your /volumes/Macintosh HD root folder. the terminal command is cp .. i hope it helps some people and dont have to reinstall entire SO.

  206. pointadnb
    March 24th, 2011 | 2:31 pm

    i forget to say this clear. if you run in 32 bit mode physic main memory limit is 8GB. Sure you would have 2x4GB modules. but the SO has a 4GB adress limit because the kernel 32 bit mode limits it. if you run in 64 bit mode you have a physic limit of 8GB maximum main memory adress in my case and the kernels has a virtual limit of 16 EB (exabytes) = 16*(10^18) bytes the order of quintillion of bytes in uk, u.s.a, etc. in spain is a trillion and a billion is 10 ^ 12, a million 10 ^ 6.. in computers best say 16 EiB (exbibyte)= 2 ^ 64 bytes we work with binary system not decimal.. but in real world we say 16 EB and we refer to 2 ^ 64 bytes not 10 ^ 18. ok i hope all clear

  207. pointadnb
    March 24th, 2011 | 3:51 pm

    i already test the method with Snow Leopard 10.6.7 all works perfectly. boot.efi same offsets, same estructure, same operation to unlock. good luck!

  208. Gonzalo Herrera
    March 31st, 2011 | 2:09 am

    anybody can send me the boot.efi modified with 64 bits unlock on macbook unibody 5,1 or put this file on the web. osx 10.6.7

  209. Yamill
    April 1st, 2011 | 2:18 am

    Hi guys,

    Does anyone know where to get the latest hex edit for 10.6.7 MacMini3,1?

    Thanks

  210. Yamill
    April 1st, 2011 | 2:33 am

    @ RadAsPlaid

    Have you found the mod for a 10.6.7 Mac mini?

    Thanks

  211. Big Bad Benny
    April 2nd, 2011 | 10:52 am

    The tip to use lipo to remove i386 arch from the mach kernel, I’ve quoted from jakudlaty and Gerrel may have been suggested by Spartango: netkas.org/?p=189#comment-38049
    It would disallow 32bit boot, so yes, it’s not advisable as it would render the Mac even more unbootable in the event of issues with edited boot.efi and the ownership and blessing thereof.

    From this guide: d.hatena.ne.jp/cantucci/20100728 I noticed a terminal command that might be useful to check the edits before rebooting:
    $ Bless -info

    Thanks pointadnb – I’m going to try to fix my mach kernel using your tip, and re-enable the 32 bit boot option on my MPB3,1 the more difficult way. Easy method (if no bootable clone) is to FW target boot the broken mac from a working one, and apply a previously downloaded SL combo update, which should get it going in 32bit mode.

    Mac mini early 2009 owners might want to take a peek here: blog.leanopen.com/tag/boot64-efi

  212. pointadnb
    April 12th, 2011 | 10:22 pm

    u’re welcome Big Bad Benny!

  213. pointadnb
    April 12th, 2011 | 10:28 pm

    @ Petr

    Lion sucessfully tested on macbook 5,1 with 8gb ram. All works perfect. kernel_task @ 64bit.

  214. April 22nd, 2011 | 10:33 pm

    @ pointadnb

    Lovely! and what score you get in geekbench? you have ssd or hdd?

  215. Alberto
    April 28th, 2011 | 1:24 pm

    After some research finally done!! with my macbookpro 3.1 (late 2007). Just used the efi from crazyASD and followed the process here :http://vitamin-max.com/word/?p=748, (almost the same as what is described up), and booted softle in 64bits kernel. Now I’m going to deal with the airport issue.

    Thanks u a lot guys!! from Spain

  216. ripratm
    May 4th, 2011 | 12:24 pm

    Has anybody got this working after that latest update?
    uname -a
    Darwin itanium.local 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29 15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386

    Looks like my boot.efi has been updated. checksum has changed.
    [user@itanium:]# shasum boot.efi
    76430c7022bf7b3d68a9094d22589673c30323f2 boot.efi

    Thus the bit info has changed.

  217. ripratm
    May 4th, 2011 | 5:07 pm

    Has anyone got this working with the latest efi update?

    System Info:
    System Version: Mac OS X 10.6.7 (10J869)
    Kernel Version: Darwin 10.7.0
    Model Name: MacBook
    Model Identifier: MacBook5,1

    However my boot.efi has a different hash:
    76430c7022bf7b3d68a9094d22589673c30323f2 /System/Library/CoreServices/boot.efi

    The string reported earlier doesn’t exist in this particular version.

  218. moo
    May 5th, 2011 | 11:25 pm

    Hi,

    First of all many thanks to everybody for this.

    I have a 13″ Unibody MacBook (MacBook5,1) with 8Gb of RAM, OSX 10.6.7 and last boot.efi with this hash (76430c7022bf7b3d68a9094d22589673c30323f2) too.

    Previous modifications seems to don’t work anymore. According to this post (http://nowa.cc/archive/index.php/t-325183.html) the model table seems to begin at 0×286D0 with Mac Mini and after each +0×2000 another model (MacBook, …) but changing known value at the beginning of the third word do nothing.

    As suggested I’m trying to “change the value in YY to +4 until” it maybe work.

    Kind Regards
    Moo

  219. Gavalera
    May 14th, 2011 | 11:19 am

    I have a 13″ Unibody White Macbook (Macbook 7,1), OS 10.6.7, 8GB RAM, boot.efi MD5 11077c2d8a6fad6d6081f22c896816ef

    I downloaded it from http://www.megaupload.com/?d=D812BKL8

    Confirmed that the 64-bit kernel loads successfully. Verbose mode shows “Kernel is LP64″ and running uname -v in terminal shows:
    Darwin Kernel Version 10.7.0: Sat Jan 29 15:16:10 PST 2011; root:xnu-1504.9.37~1/RELEASE_X86_64

    Woohoo! :)

  220. kirya
    May 18th, 2011 | 8:48 am

    Hello.
    Does anyone have any boot.efi file for the MacBook Air 13′ late 2010 and 10.6.7?
    Or correct offsets?
    If not, can someone might drop a hint, how to calculate it?
    Thank you.

  221. June 1st, 2011 | 5:54 am

    Thanks for this. I just bought an used Macbook off a friend for a good price and remembering reading this was possible although it wasn’t from here. You came up anyways while searching and it appears to work.

  222. June 1st, 2011 | 2:55 pm

    Great Info, need some translation thought, but good enough to translate ! Thanks a lot !

  223. June 8th, 2011 | 1:22 pm

    @Petr

    1st sorry for da long time..

    I only run it dont test my hdd because i test with lion developer preview 2. ill do it when it cames on july. I have an hybrid drive Momentus XT 500gbHDD+4gbSDD

  224. team
    June 16th, 2011 | 8:19 pm

    Thanks a lot!!!
    It work fine on MacBook 2008 late
    I purchased 2x4Gb Samsung memory PC3-10600 (DDR3 1333 MHz)
    and it work on 1333 MHz

  225. MBA
    June 18th, 2011 | 6:25 am

    Apple did post a command line solution to this as long as your machine has a 64-bit EFI.

    >open terminal.app and run this command:
    sudo systemsetup -setkernelbootarchitecture x86_64
    >System will ask you for your password. Enter it and hit RETURN.
    >Restart your machine.

  226. June 18th, 2011 | 12:18 pm

    @team
    8GB work only in 64 bit mode? and or what happens when you logged in as 32 bit mode?

  227. June 18th, 2011 | 12:20 pm

    @team
    Your macbook is MacBook4,1?

  228. team
    June 22nd, 2011 | 6:54 pm

    @Petr
    macbook 5.1
    when i startup in 32-bit mode, i see all memory (8Gb)
    but some problem
    when i boot in 64-bit mode on macpro kernel.log write
    “mbinit: done (96 MB memory set for mbuf pool)”
    but macbook kernel.log write
    “mbinit: done (64 MB memory set for mbuf pool)”
    difference in 32Mb
    i don’t know what in means

  229. June 28th, 2011 | 8:54 pm

    Lets Get x64 For 10.6.8 too

    i will Continue On A Previous Message And Give Examples Too

    The models->64 bit enable table starts at 0×286d0 in the new boot.efi. The model “signature” is a pattern of 3 bytes: MODELNO + 42 02. Model entries are 12 Words (4bytes) wide including the signature. The byte which determines if the system can boot 64bit is the first byte in the second word of the entry.
    The model table for the new boot.efi is +0×2000 offset from the original boot.efi (the original’s boot table starts at 0×266D0). Models entries in the old version are only 4 words wide. The model number is plus +28h from the old entry, and the “signature” bytes are + now 0×42 0×02
    Ex: old boot.efi (Mac Mini 3,1 identifier):
0×266D0: 30 47 01
New boot.efi Mac Mini 3,1 identifier:
0×286D0: 58 42 02
    Example (unaltered) for the Mac Mini 3,1 10.6.5 (new system)
    0×286D0: 58 42 02 00 | 00 00 00 00 | 04 00 00 00 | 01 00 00 00 (8 more words of 0s until next model omitted)
    To enable 64bit booting for a model, simply add 4 to the enabler byte: the Mac Mini 3,1 altered to boot 64 bit:
    0×286D0: 58 42 02 00 | 00 00 00 00 | 08 00 00 00 | 01 00 00 00 (8 more words of 0s until next model omitted).
    Example for MacBook 4.1 on 10.6.8
    0×28700: 60 42 02 00 | 00 00 00 00 | 00 00 00 00 | 00 00 00 00 |00 00 00 00 |00 00 00 00 | 01 00 00 00 | 00 00 00 00 | 00 00 00 00 | 00 00 00 00
    To enable 64bit booting for a model, Without The Need Of Pressing 6 And 4 in every start
    0×28700: 60 42 02 00 | 00 00 00 00 | 04 00 00 00 | 02 00 00 00 |02 00 00 00 |00 00 00 00 | 00 00 00 00 | 00 00 00 00 | 00 00 00 00 | 00 00 00 00
    To enable 64bit booting for a model, But You Have To Press 6 And 4 in every start
    0×28700: 60 42 02 00 | 00 00 00 00 | 04 00 00 00 | 01 00 00 00 |02 00 00 00 |00 00 00 00 | 00 00 00 00 | 00 00 00 00 | 00 00 00 00 | 00 00 00 00
    Example for Macbook 4.1 on 10.6.3 (old system)
    0x266E0: 38 47 01 00 | 00 00 00 00 | 00 00 00 00 | 00 00 00 00
    To enable 64bit booting for a model, But You Have To Press 6 And 4 in every start
    0x266E0: 38 47 01 00 | 00 00 00 00 | 04 00 00 00 | 00 00 00 00
    To enable 64bit booting for a model, Without The Need Of Pressing 6 And 4 in every start
    0x266E0: 38 47 01 00 | 00 00 00 00 | 04 00 00 00 | 0X 00 00 00 (x =1 or 2 try each i Recommended 2)
    Example for MacbookPro 4.1 on 10.6.3 (old system)
    0×26700: 4B 47 01 00 | 00 00 00 00 | 04 00 00 00 | 00 00 00 00 (MacBookPro Is Already Enable 64 by Pressing 6 And 4)
    To enable 64bit booting for a model, Without The Need Of Pressing 6 And 4 in every start
    0×26700: 4B 47 01 00 | 00 00 00 00 | 04 00 00 00 | 0X 00 00 00 (x =1 or 2 try each i Recommended 2)

    So basically, it would probably be Good To Change It For All Models.
| XX 47 01 00 | 00 00 00 00 | YY 00 00 00 | ZZ 00 00 00 (old Kernels Before 10.6.5)
    or
    | XX 42 02 00 | 00 00 00 00 | YY 00 00 00 | ZZ 00 00 00 | 02 00 00 00 | 000000……..etc. (New Kernels After 10.6.5)
    where XX is a model number, change the value in YY to +4 until you find one that enables 64bit mode for your model, And ZZ = 00 , 01 , or 02 to force 64bit at start or use manual mode (press 6+4 At start)
    The Models Have Changed From Before 10.6.5 And After so we change All models to 64 bit
    ————————————————————-
    How To Do It
    you need to open boot.efi and edit all mdels to 64 bit By Change Into 04 or 08 or 0C
    And Save It Into 64x.efi
    now you make a Backup copy of the Original boot.efi file Into 32x.efi
    Take Both Files 64x.efi And 32x.efi And Copy Them Into /System/Library/CoreServices/
    Then Also Copy Them Into /usr/standalone/i386/
    Then Put The Original OSX CD And Restart With It
    Go To Terminal And Write This:
    cd /Volumes/(Your Mac Partition)/System/Library/CoreServices
    rm -rf boot.efi
    cp 64x.efi boot.efi
    cd /usr/standalone/i386
    rm -rf boot.efi
    cp 64x.efi boot.efi
    restart now
    ————————————————————–
    Incase Of Failier or to go back to 32bit mode
    Put The Original OSX CD And Restart With It
    Go To Terminal And Write This:
    cd /Volumes/(Your Mac Partition)/System/Library/CoreServices
    rm -rf boot.efi
    cp 32x.efi boot.efi
    cd /usr/standalone/i386
    rm -rf boot.efi
    cp 32x.efi boot.efi
    restart now
    ————————————————————

  230. matej
    July 3rd, 2011 | 8:45 pm

    My MacBook Pro 3.1 has
    0×286D0: 58 42 02 00 | 00 00 00 00 | 05 00 00 00 | 02 00 00 00
    in default boot.efi
    I try change to
    0×286D0: 58 42 02 00 | 00 00 00 00 | 09 00 00 00 | 02 00 00 00
    but no success. Can you help me?

  231. July 9th, 2011 | 10:32 am

    [...] [...]

  232. hui
    July 16th, 2011 | 12:52 pm

    I’ve been trying to find the correct model number for macbook 5,1 (late 2008 unibody) on 10.6.8 with no luck.

    Any tips how to find the correct row to edit?

  233. skibum
    July 16th, 2011 | 1:02 pm

    Hi -

    I haved a 2009 Mac Mini that is running 10.6.7.

    I used the “boot64.efi” hack for running in 64 bit mode but when I went to 10.6.7 it no longer works…

    Is it possible to have a 2009 Mac Mini always boot in 64 bit mode with 10.6.7?

    If yes, can someone explain how to do it in an EASY step by step explanation?

    Thanks –

    Skibum

  234. BigBadBenny
    July 18th, 2011 | 1:59 pm

    Success with 10.6.8 on MBP 3,1, Thanks all!
    Here’s a quick recap/guide.

    Before you start – make a bootable clone, preferably to an external disk – my first few attempts (just to upgrade to 10.6.8) failed! So make a bootable clone and keep it until you get 10.6.8 stable and rebooting on it’s own. Better still, take the opportunity to separate your system and apps from your users data or home folder (less data to clone).
    Indeed, use the clone to experiment with the efi edit, especially if you’re learning the ropes.

    1: sudo -s (enter password)
    2: TO COPY BOOT EFI
    cp /System/Library/CoreServices/boot.efi ~/boot64.efi

    3: EDIT EFI IN HEXEDIT
    I still used chrome’s values from post 148, bar the last value which didn’t need to be changed… (netkas.org/?p=189#comment-122090)
    Just to be clear:
    offs old new
    28708 0 4
    Meaning:
    offs(offset) (old)existing value (new) change value to
    You CAN do it! (in hexedit)

    So in Hexedit – I use 0xed (www.suavetech.com/0xed/0xed.html) enter the required offset in the “go to offset” search box top right of the window, the required value will be highlighted in the main window, you can change the value either in the main window or in the type/value window below.

    (or if using supplied boot.efi – place it in your home folder)

    4: (find the boot.efi file in Core Sevices folder, you can watch the locked boot64.efi appear next to it as you do these steps)

    sudo cp boot64.efi /System/Library/CoreServices/
    cd /System/Library/CoreServices/
    sudo chown root:wheel boot64.efi
    sudo chflags uchg boot64.efi
    sudo bless –folder /System/Library/CoreServices \
    –file /System/Library/CoreServices/boot64.efi

    5: install Applejack (applejack.sourceforge.net)
    reboot in single user mode, enter: “applejack AUTO restart”
    It may take a while to complete and reboot!

    If you have success, make yet another clone, make it bootable by modifying ALL the commands to that they point to the relevant partition/volume on your system e.g.:
    cd /Volumes/64Clone/System/Library/CoreServices/
    sudo chown root:wheel boot64.efi
    sudo chflags uchg boot64.efi
    sudo bless –folder /Volumes/64Clone/System/Library/CoreServices \
    –file /Volumes/64Clone/System/Library/CoreServices/boot64.efi
    Very simple to do this in Textedit using find/replace, for your config. (best to not have any spaces in the clone’s Volume name, for simplicity)
    You just have to set ownership and bless to fix the clone’s bootability.

    I’ve “upgraded” MBP3,1 a C2D non-unibody Macbook, and an iMac 5,1 using this method.

  235. BigBadBenny
    July 19th, 2011 | 1:14 am

    Of course, if attempting the k64 upgrade from a cloned system, remember to set the clone as the default Startup Disk in System Preferences before you begin the upgrade process, so you can enter single user mode (to run Applejack) on restart.

    If you’re on an iMac, an app such as Xupport for Mac OS X (applicorn.com) can be used to set startup mode to Single User. (Xupport>Settings>Startup>Startup mode:)

  236. July 21st, 2011 | 7:57 am

    hello!
    Have you and how have booted Lion 10.7 in 64 bit? Different boot.efi……
    Modbook 4,1 6GB Ram SSD
    Petr

  237. swegen
    July 21st, 2011 | 8:01 pm

    I put together easy-to-use [I]boot.efi[/I] x64 patches for all models that do not support native booting into 64-bit kernel.

    Just run patch, enter admin password (required to modify a system file), reboot and you should boot into 64-bit kernel.
    Restore to original boot.efi also included.

    http://dl.dropbox.com/u/35856129/x64patch-10.6.8.tar.bz2
    http://dl.dropbox.com/u/35856129/x64patch-10.7.tar.bz2

    I have tested the patches with [I]MacBook3,1[/I] & [I]MacBookAir3,2[/I], but it should work with all models that need it.

  238. MRomaN
    July 22nd, 2011 | 4:33 pm

    @swegen
    thanks, work fine on my macbook5,1
    btw, leo runs 64bit kernel by default

  239. swegen
    July 22nd, 2011 | 7:08 pm

    @MRomaN
    At least on MacBook3,1 Lion still defaults to 32-bit kernel only.
    Maybe so with other older machines too.

  240. Moo
    July 23rd, 2011 | 1:57 am

    @swegen
    Many thanks works very well with with snow leo and macbook 5,1

    @MRomaN
    what do you mean by “btw, leo runs 64bit kernel by default” ?
    snow leo ? lion ?

  241. MRomaN
    July 23rd, 2011 | 3:16 pm

    @Moo
    I’m sorry, of course lion

  242. July 26th, 2011 | 6:50 pm

    mmmmmm Lion does not load in 64 bit ( Macbook4,1

  243. swegen
    July 27th, 2011 | 7:51 pm
  244. Luka
    July 28th, 2011 | 8:54 am

    Swegen, your patch works on macbook 3,1,and 7,1, but there is still the matter of providing the 64 bit kext on 3,1 for X3100 from the 10.6.2 update.

  245. swegen
    July 29th, 2011 | 7:40 pm

    @Luka
    Here are the Intel GMA X3100 64-bit kexts to use with 64-bit kernel
    and a install script for:
    MacBook3,1
    MacBook4,1
    MacBook4,2
    MacBookAir1,1

    http://dl.dropbox.com/u/35856129/AppleIntelGMAX3100-x64.tar.bz2

  246. August 2nd, 2011 | 9:07 pm

    @swegen
    mmmm no( the patch does not work on macbook 4,1( can not load Lion in 64 bit
    some other bits should be changed

  247. Luka
    August 5th, 2011 | 8:46 am

    It works nice if you don’t need to adjust brightness. However, that doesn’t work if you use those drivers.

  248. swegen
    August 7th, 2011 | 7:28 pm

    @Petr
    Thanks for reporting problem with MacBook4,1.
    Does it boot into 64-bit if you apply the patch and then keep the keys 6 and 4 pressed when you boot?

    @Luka
    Okay, I look into the backlight issue.

  249. August 8th, 2011 | 10:25 pm

    @swegen
    Hello! Yeap in MacBook4,1 Lion it doesn’t boot in 64bit ( Keys 6&4 do not help)

  250. BigBADBenny
    August 21st, 2011 | 12:37 pm

    Thanks swegen!
    Works with MacBook Pro 3,1
    Brilliant and much easier to apply :-)

  251. T
    September 4th, 2011 | 2:47 am

    Installed both the x64 patch and x3100 x64 patch for macbook 4,1 on Lion and it does show 64 enabled, however I too cannot change the brightness of my screen now. The keys works, but the illumination does not change. Thank you for your work swegen.

  252. T
    September 4th, 2011 | 9:08 pm

    actually ALL of the power settings are not working. Closing the lid never spins down the hard drive or anything, and so the battery just drains until the computer shuts off. I checked terminal and all the pmsettings are the same as before. Is there a pmsettings series that needs to be 64bit as well?

  253. martin
    September 9th, 2011 | 1:50 pm

    Hi, great that a patch finally works so easily for my 3,1, just want to check if the Intel GMA X3100 64-bit kexts files are still needed? Also wondering if the 3,1 running in 64bit with it’s 800mhz bus speed will accept 4gb 800mhz memory? so it can be boosted to 8gb

  254. swegen
    September 21st, 2011 | 9:32 am

    I tested the 64-bit kernel with Snow Leopard 10.6.2 with MacBook3,1. Even when using all those 64-bit kexts there were problems.

    Results: Brightness keys respond, but brightness won’t change. When closing the lid it goes to sleep. But when coming back from sleep the display stays off so it need a reboot.

    Seems that Apple didn’t finish the 64-bit kexts for older models and really had a reason to remove them from newer OS X versions. So the 64-bit usage is crippled for at least those models that use the Intel GMA X3100.

  255. September 22nd, 2011 | 3:07 am

    [...] [...]

  256. danny
    November 3rd, 2011 | 11:24 am

    Yep, patch doesn’t work on MacBook4,1

  257. danny
    November 3rd, 2011 | 12:04 pm

    Here’s some information on x3100 brightness btw http://www.projectosx.com/forum/index.php?showtopic=763

  258. November 28th, 2011 | 12:35 pm

    Yep, Good Results..

  259. Dray
    December 19th, 2011 | 12:03 pm

    Hi all, I have a Macbook 2.1
    Model Name: MacBook
    Model identifier: MacBook2, a
    The name of the processor: Intel Core 2 Duo
    Processor Speed: 2.16 GHz
    Number of CPUs: 1
    Total Number Of Cores: 2
    Cache Level 2: 4 MB
    Memory: 4 GB
    Bus Speed: 667 MHz
    Version of Boot ROM: MB21.00A5.B07
    Revision SMC (system): 1.17f0

    and efi boot only 32-bit, i try to use this loader
    http://www.macupdate.com/app/mac/32252/32–or-64-bit-kernel-startup-mode-selector
    but it dosent work, can i do something to load my mac in 64 bit kernl mod?

  260. February 13th, 2012 | 11:27 pm

    Here is new boot.efi patch for OS X 10.7.3.

    http://dl.dropbox.com/u/35856129/x64patch-10.7.3.tbz

    Not tested though (I currently only have the new Air), but it should work with all models that need it.

  261. microzix
    February 20th, 2012 | 4:12 pm

    swegen:
    You are awesome. I got my osx lion run in 10.7.3 on macbook3,1. Thank you very much!! Can you tell me how can I do it myself? Or are you gonna release one for mountain lion?

    Btw the kexts for x3100 are not working for me. Restarted my mb and all I got is the booting screen (grey wallpaper, apple logo) with spinning wheel. And sometimes my mousepointer appears but dissappear some seconds later.

  262. cktse
    February 21st, 2012 | 4:39 am

    @swegen – thanks so much for your patch scripts. It worked perfectly on my 2009 Mini (macmini3,1) on OSX 10.6.8.

  263. cab_007
    February 27th, 2012 | 4:02 am

    I just tried swegen’s latest boot.efi patcher and can verify that it worked for my MB 4,1 early 2008 6GB ram. Sleep and display brightness not functional, but everything else seemed good (incl. built-in wifi). It did feel slightly quicker than in 32bit, but the fact of no sleep and brightness controls, I’ve reverted back. I sure hope they decide to not defunct the older 64bit capable models with 10.8 release coming out.

  264. tHeKiLLeR17
    June 14th, 2012 | 6:14 pm

    @swegen
    Please update your script for 10.7.4, I need it for my iMac 5,1.
    Thank you very much!

  265. Jeff Bloomfield
    May 31st, 2014 | 4:23 am

    @swegen’s boot.efi patch and his updated graphics drivers work perfectly on my MBP 3,1

Leave a reply