sqrdevl / PixelbookOSX

Pixelbook OS X

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installing Mac OS Mojave on the Google Pixelbook

We've managed to install GNU/Linux, Windows and now... Mac OS! It turns out Mojave works quite well on this hardware.

This is a work-in-progress guide.

Not all of the functionality is working. This will be updated frequently as fixes are identified. At the moment this guide is focused on Mac OS 10.14.6 Mojave as it has the best support for our hardware.

A note on Pixelbook hardware

For OS X purposes, what matters most in the specs for the Pixelbook is not so much about the i5-7Y57 or i7-7Y75 processor. The biggest difference for our purposes is the internal SSD. The 128GB and 256GB models have an EMMC SSD, and it is currently not working within OS X. The i7 with 512GB has an NVMe SSD, which is fully supported. So unless you have the 512GB hard drive, installing OS X to the internal drive is currently not possible. It does work on an external SSD, however. Other notable specs:

  • Intel wifi chip: 7265
  • keyboard - PS/2
  • touchpad: HID-over-I²C
  • Suspend: ACPI S3 sleep
  • Audio: Audio Codec: uses unsupported codecs MAX98927 as speakers and RT5514 as dmic on ssp0 and RT5663 as headset on ssp1... Not currently working, but also not impossible. As a cheap and easy workaround, a $10 USB sound adapter or bluetooth audio work perfectly well.

Current Status

Here's what's working at the moment:

Feature Status Notes
WiFi Working Working
Bluetooth Working Working
Suspend / Sleep Working Working
Touchpad Working (partially) Install Karabiner 12.10.0 and go to Devices to enable ID 6353
Graphics Accel. Working On Mojave only, not Catalina or Big Sur.
Sound Not Working Only works with bluetooth / USB sound adapter
Keyboard backlight Not Working
Touchscreen Working With VoodooI2C.kext and VoodooI2CHID.kext

Requirements

Before you start, you'll need to have the following things to complete the process:

  • A SuzyQable CCD Debugging cable, ~$15 USD + shipping
  • A USB-A to USB-C adapter
  • 1 USB flash drives with USB-C connectors or adapters, preferably ~10GB or larger
  • A willingness to accept that this is a potentially destructive process that may render your expensive Pixelbook inoperable or otherwise busted. See the disclaimer below.

Mandatory Disclaimer

The process described in this document could cause irreversible damage to your expensive laptop, and you should prepare yourself mentally and emotionally for that outcome before you begin. I accept absolutely no responsibility for the consequences of anyone choosing to follow or ignore any of the instructions in this document, and make no guarantees about the quality or effectiveness of the software in this repo.

Installation

Here are the steps to go from stock Pixelbook to a Mac OS 10.14.6 Mojave install using Opencore 0.6.6:

  1. Flash UEFI firmware. Read and follow yusefnapora's excellent guide on how to flash the UEFI firmware using MrChromebox's scripts. To do this, you will need to disable write protect with either the SuzyQable cable or by removing the battery.

  2. Download and set up your Mac OS X Mojave USB install media. gibMacOS is a great tool for downloading it.

    • Before you make the install USB, make sure it is formatted as Mac OS Extended (Journaled) with GUID Partition Map.
    • To create the installer on a Mac in Terminal: sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume and replace MyVolume with the name of your target drive.
  3. Download the EFI folder zip from the Releases section of this repo. Unzip it. You will need the entire contents, starting from the EFI folder itself.

  4. When the Mojave install media is ready, mount the EFI partition with the MountEFI utility and copy the contents of the latest EFI linked above into this partition.

    • Make sure to copy the entire contents of the EFI above, starting from the EFI folder itself. So inside the EFI partition it should start with EFI, followed by BOOT and OC folders, etc. For more information visit the OpenCore guide
  5. Now, boot from the Mojave installer. In Disk Utility, go to Show All Devices in the top left, and then select the entire drive to format it as APFS.

    • If you have the 512GB model, you can use the internal drive. For everyone else, an external SSD is the way to go.
    • After about 10 minutes or so, it will reboot. Go back into the boot menu and select your Mojave install media. In the opencore boot menu you should now see "Mac OS Install" as a menu item. Select that to continue the installation.
    • The second phase of the installation will continue for about 15-20 minutes.
    • At the end, it may fail with an error. Power down the Pixelbook.
  6. Before you can boot from the new Mojave installation (on your 512GB internal drive or external SSD), you will need to copy the EFI to your new Mojave drive using the same procedure from step 4.

  7. After install:

    • To fix sleep, you may want to follow these steps from the OC guide fix here
    • Sound currently works via bluetooth or a USB sound adapter.
    • Karabiner (linked above, must be version 12.10.0 can make the touchpad functional, but not great. It's also helpful for remapping the keyboard to match what the Pixelbook F1-F10 keys do.
  8. Required final step 1: This is important, as the EFI you downloaded does not include a serial number, which will prevent iMessage, Facetime and other Mac services from working.

    • Download GenSMBIOS
    • Mount your EFI on the Mojave build you have installed.
    • Run GenSMBIOS, follow the prompts in order.
    • Step 2 - The config.plist is located in EFI / OC / drag and drop the config.plist file into Terminal.
    • Step 3 - build type, ours is MacBook10,1
    • It will generate a serial number to be used on your machine. Yours must be different than the one used in the included EFI in order to set up iCloud / iMessage / Facetime / etc.
    • Final tip: our serial numbers on hackintosh builds should not pass validation on Apple's Check Coverage site. You will want to verify that before using your serial number.
  9. Required final step 2 Download ProperTree and mount your EFI partition. Open the config.plist file.

    • In ProperTree, change the "ROM" section in the PlatformInfo/Generic to the actual MAC address of your wifi card.
  10. In the EFI on this repo, USBInjectAll.kext is included. The purpose of this kext was to create mappings for any USB devices, however it is no longer maintained and should be replaced. For best results, you can:

    • A) Use the USBMap.kext included in this repo OR, even better,
    • B) Make your own especially if you have USB devices connected that are different than any standard USB C hub. Making your own USBMap.kext is really easy and is described in the OpenCore guide here
  11. Read the OpenCore guide on how to improve this hackintosh build and contribute here.

  12. Still being worked on:

    • Screen brightness

    • Keyboard brightness

    • Sound (The sound setup on this machine is quite complicated. Not impossible but help is needed...)

    • Upgrade to Catalina / Big Sur. This is problematic as we have never been able to get graphics acceleration working on either. Want to try it? Upgrade or perform a clean install. With the Mojave EFI it will freeze at boot. To get to the GUI, follow these steps:

    • Mount your EFI and edit your config.plist with ProperTree. Scroll down to Device Properties, PciRoot(0x0)/Pci(0x2,0x0)

    • Remove all child entries except AAPL,ig-platform-id

    • Change AAPL,ig-platform-id to 01001659.

    • It boots, but performance is sluggish as VRAM is limited to 8mb.

About

Pixelbook OS X