Saturday, March 31, 2012

Installing Mac OS X Lion 10.7.3 On EP121 Tablet




The purpose of this tutorial is to show you how to install Mac OS X Lion 10.7.3 on an EP121 tablet! I accomplished this by having a Mac computer as well as a legit copy of Lion from the Mac App Store. I'm sure there are other ways you can get around this tutorial without a Mac or copy of Lion that's from the App store, but for the purposes of this tutorial I'm going by this method. Hopefully this tutorial will open the door for other EP121 owners to attempt/explore ways of fixing the currently problems that haven't been addressed/fixed with the EP121 on OS X. If you find any fixes or have any suggestions please feel free to post them in the comment section at the bottom of this article.



Current State


Working

  • Audio
  • Battery Indicator
  • Buttons: Power/Sleep
  • SD & MMC Card Reader
  • Touch UI
  • USB Ports
  • Webcam
  • Wi-FI

Not Working

  • Bluetooth
  • Buttons: Home, Keyboard, Orientation, Volume)
  • Display Drivers (currently stuck at 1024x768x32, no QE/CI)
  • Microphone
  • Mini HDMI (untested, assuming it doesn't work)



Pre-requisites




Tutorial

Step #1 -- Show hidden files on your computer.

  • Open the Terminal application (Applications > Utilities > Terminal)
  • In the terminal window type the following:
    • defaults write com.apple.finder AppleShowAllFiles TRUE
    • killall Finder

Step #2 -- Extract "BaseSystem.dmg"

  • Open /Applications
  • Right-click on "Install Mac OS X Lion" and click "Show Package Contents"
  • In the new folder window that has opened navigate to: Contents > Shared Support
  • There will be a file named "InstallESD.dmg", mount this file by double-clicking it.
  • Now open up Mac's terminal application (Applications > Utilities > Terminal)
  • In the new folder window that has opened "BaseSystem.dmg" will reside.
  • Drag the file to your desktop and mount it by double-clicking it.

Step #3 -- Restoring "BaseSystem.dmg" to USB Drive

  • Open the Disk Utility application (Applications > Utilities > Disk Utility)
  • Select "Mac OS X Base System" on the left hand side of the window.
  • Next select the "Restore" tab.
  • Drag your USB Drive on the left hand side over to the Destination textbox. (Make sure the drive is formatted Mac OS Extended (Journaled) and the Master Boot Record)
  • Click "Restore"

Step #4 -- Preparing USB Drive

  • After the restore has completed navigate on the USB drive to /System/Library/Extensions
  • In this folder delete all kext files starting with AppleIntelHD
  • Also while in this folder copy "drivers/FakeSMC.kext" from the included archived into this folder.
  • Switch back over the Terminal application.

  • In the terminal type the following (remember to use your USB volume's location):
    • sudo chmod -R 755 /Volumes/USB_DRIVE/System/Library/Extensions/FakeSMC.kext
    • sudo chmod root:wheel /Volumes/USB_DRIVE/System/Library/Extensions/FakeSMC.kext
    • sudo touch /Volumes/USB_DRIVE/System/Library/Extensions
  • Now navigate back to the root of the USB drive and goto /System/Installation
  • There should be a shortcut file here named "Packages", delete it.
  • Now keep the USB finder window open, and open a new finder window.
    • Back on Step #2 we mounted the "InstallESD.dmg" file.
    • The name of this mount should be called "Mac OS X Install ESD"
    • In the new finder window navigate to this mount, and copy the "Packages" folder over to /System/Installation on the USB drive.
  • After "Packages" has finished copying navigate to back to the root of "Mac OS X Install ESD"
  • In this folder will be a file named "mach_kernel"
  • Drag/copy "mach_kernel" to the root of your USB drive.
  • Launch "apps/Chameleon RC5" from the archive included in this tutorial and install Chameleon to your USB drive.
  • After this has completed drag all files in the "apps/Chameleon RC5 r755" folder into the root of your USB drive. (Yes, overwrite any existing files)

Step #5 -- Boot Into Mac OS X Lion's Installation

  • Plug your USB drive into your EP121 tablet, and power your tablet on.
  • You should be prompted to select your startup volume.
  • Make sure "Mac OS X Base System" is selected, and hit enter.

    If you get stuck try the following parameters when booting: -v GraphicsEnabler=No

  • You should now be booting into the Mac OS X Lion installation screen.
  • At the top of the screen should be a "Utilities" menu, click it and launch "Disk Utility"
  • Format you drive to "Mac OS Extended (Journaled)" and set the options for the partition to be "GUID Partition Table".
  • The default partition named for Mac OS is "Macintosh HD", so let's assume that you're going to name it that.
  • After the process of formatting has completed quit/close out "Disk Utility"
  • You now be back at the Mac OS X Installation screen.
  • Following through the steps and let the installation Complete.

    If it appears that the installation has frozen, it hasn't. Simply flick the power button and the screen will update. It looks like the screen falls asleep and stops updating the UI.

Step #6 -- Post-installation, not quite done yet...

  • After the installation has completed your computer will automatically reboot and you will be prompted to select your startup volume again.
  • For the second time, choose "Mac OS X Base System", we want to get back to the installation process again.
  • When the installation loads up goto the "Utilities" menu and select "Terminal".
  • At the Terminal window we now need to copy FakeSMC.kext from our USB drive over to our hard drive.
  • In the terminal type the following (remember to use your USB volume's location):
    • cp -R /Volumes/USB_DRIVE/System/Library/Extensions/FakeSMC.kext
    • /Volumes/HARD_DRIVE/System/Library/Extensions/FakeSMC.kext
    • chmod -R 755 /Volumes/HARD_DRIVE/System/Library/Extensions/FakeSMC.kext
    • chmod root:wheel /Volumes/HARD_DRIVE/System/Library/Extensions/FakeSMC.kext
    • touch /Volumes/HARD_DRIVE/System/Library/Extensions
After this is completed you can now reboot your computer again.

Step #7 -- Booting Mac OS X Lion for the first time!

  • When your computer boots up you will be prompted to select your startup volume again.
  • Your hard drive should show up in this list (you can use your keyboard or volume buttons on the tablet to navigate).
  • Select your hard drive and hit enter.

    If you get stuck at the Apple boot screen try these parameters: -v GraphicsEnabler=No

  • Mac OS X should prompt you to setup your computer, go ahead and finish the setup.
  • After you've completed the setup launch "apps/Kext Helper b7" and add "IO80211Family.kext" enter your password then click "EASY INSTALL". After installing reboot.
  • After booting back into your desktop launch "apps/MultiBeast 4.3.1" and checkoff "Bootloaders" and complete the installation.
  • Open "apps/Kext Helper b7" and add "VoodooHDA.kext", "VoodooBattery.kext" and "AppleACPIPlatform.kext", enter your password and click "EASY INSTALL".
  • Next launch "VoodooHDA.prefPane". (You will see a couple of errors, simply dismiss them.)
  • Next launch "VoodooHDA SSE2 Enabler" and dismiss the message it leaves.
  • Next launch "VoodooLoader Installer" and enter your password.
  • Delete /System/Library/Extensions/AppleHDA.kext
  • You can now remove your USB drive and reboot!

As stated before this tutorial is a work in progress. There are still things that need to be fixed and worked on this get this tablet fully working and compatible with Mac OS X. Hopefully this tutorial will open the doors to other users attempting to fix the current issues that need to be addresses. If you found this tutorial helpful please drop a comment, like this on facebook, +1 it on google, or tweet it on twitter to help spread the word.

Extended Credit

7 Comments:

Blogger guilhem Fouques said...

nice work.

March 4, 2013 at 1:08 PM  
Blogger h0p3L355_dr3@m3r said...

I keep getting a kernel panic while booting the installer from USB. after disconnecting all hardware from USB and disconnecting the power cord to make sure it wasn't that, I ran it with boot arguments -V GraphicsEnabler=No and eventually, I get this:
___________________________________________________
MAC Framework succesfully initialized
using 16384 buffer headers and 10240 cluster IO buffer headers
IOAPIC: Version 0x20 Vectors 64:87
panic(cpu 2 caller 0xffffff7f807b9a53): CPU 3 has no HPET assigned to it
Debugger called:
Backtrace (CPU 2), Frame : Return Address
0xffffff80757c3ef0 : 0xffffff8000220792
oxffffff80757c3f70 : 0xffffff7f897b9a53
0xffffff80757c3fb0 : 0xffffff8000820057
Kernel Extensions in backtrace:
com.apple.driver.AppleInteCPUPowerManagement (195.0)[70D39B65-894A-335D-A051-OC8B9VAFEA82]@0xffffff7f807b4000->0xffffff7f807ddfff

BSD process name corresponding to current thread: kernel_task

Mac OS Version:
Not yet set

Kernel version:
Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64
Kernel UUID: FF3BB088-60A4-349C-92EA-CA64C698CE5
System model name: iMac11,1 (Mac-F2268DAE)

System uptime in nanoseconds: 92287318066
______________________________________

Now, I'm no Mac user (trying to decide if I want to buy one), but it seems like the kernel isn't handling the CPU very well.

Any idea how to fix it?

Followed all the setup instructions word for word, never got any error messages. Help! :P

March 13, 2013 at 2:50 PM  
Blogger Alexander said...

Any plan to test Mountain Lion on EP121?

April 9, 2013 at 11:43 AM  
Blogger Sal said...

This same method worked for me with Mountain Lion.

June 5, 2013 at 11:39 PM  
Blogger Sal said...

Thanks.

June 5, 2013 at 11:40 PM  
Blogger Sal said...

It's the Power management.

Try installing NullCPUPowerManagement From MultiBeast.

Launch MultiBeast, when you get to the Installation Type step:

Drivers & Bootloaders > Kexts & Enablers > Miscellaneous > NullCPUPowerManagement

June 5, 2013 at 11:46 PM  
Blogger foto castillo said...

Asus Ep121 working @ Yosemite - hdmi out working....

Not Working:
Bluetooth
Buttons: Home, Keyboard, Orientation, Volume)
Display Drivers (currently stuck at 1024x768x32, no QE/CI)
Microphone

October 19, 2015 at 10:02 PM  

Post a Comment

Subscribe to Post Comments [Atom]

<< Home