Lion on an ACER 5741g (w/ iAktos L1) [How to]

Sun, 20/11/2011 - 19:36 -- Remiguel

My Acer needed an OS upgrade for several reasons, so I gave a try to install Lion 10.7.2 with iCloud on it. My computer was already dualboot ready (see SL tutorial)

Here are my notes. As usual I try to describe more in detail, things we need to take care of.

ACER Aspire 5741G.

  • Bios vers: V1_06.
  • Core i5 CPU M 450 @ 2.40GHz.
  • Motherboard HM55.
  • Graphic ATI Mobility Radeon HD 5470.
  • Audio Realtek ALC272X.
  • HDMI Manhattan Audio.
  • Wireless BCM43225 802.11b/g/n. Replaced with a Wireless Dell 1510.
  • Ethernet NetLink BCM57780 Gigabit.
  • WebCam Namuga Co.,Ltd.
  • HD ATA Hitachi 320GB.
  • SD SanDisk Cruzer Micro.
  • RAM 4GB.

Lion steps I have followed (summary).

  • iAtkos L1.
  • Combo update 10.7.2.
  • Post installation.
    • Trackball.
    • Audio.
    • Speedstep with Chameleon RC5.
    • Graphic card
    • Ethernet
    • Battery

What works and what doesn't.

  • Keyboard with trackball and numeric pad (w/ Kext).
  • Graphic w/o QE but native resolution (works w/ Override).
  • Speedstep works (w/ Kext, Ssdt & Dsdt table).
  • Sound w/o HDMI (w/ Kext).
  • Wireless works as Airport like.
  • Webcam recognized within Photo Booth but doesn't work.
  • CD/DVD works (OOB).
  • Card reader works (OOB).
  • USB works (w/ Kext).
  • sleep works, but screen do not wake up (work around with sleep mode setting).
     


Installation.

On an external HD.

First at all, I have clone the iAtkos L1 on an hard disk partition. The installation is faster from USB stick or external HD than from a cd or dvd.

How to
From Disk Utility Click on Restore tab.

  • Drag the iAtkos image on source .
  • Drag your HD partition on destination.
  • Click on restore.

Now we need a bootlooder to make our externaHD stick bootable.
I have done it with "PC EFI 10.1" (because I know it works). 

  • Google for "PC EFI 10.1".
  • Download it.
  • Double click on the package.
  • Select HD partition as target disk with the change location button.
  • Click on install and wait end of the process.

Now the iAtkos L1 is ready for use on HD partition.

Dual Boot
Come from my last configuration (see tutorial SL)

I have chosen to keep windows 7 and the ability to restore windows from the first partition.
I needed only to reduced the size of the windows partition and create a new one for OSX.

How to.
I use a GParted live cd. It is free and it is a fantastic partitions non-destructive resizer.

  • Download a GParted or Ubuntu live CD (google it).
  • Burn the image on a CD.
  • Boot your Pc from the fresh burned CD.
  • Resize/reduce the windows partitions.
  • Create a new partition.
  • Format only the new partition in HFS+ format.
  • Exit from GParted.
  • Eject CD.

OSX Installation from iAtkos L1.

Because of my above choice, my disk partition table stay untouched, a MBR partition table. For Leopard it is not an issue but for Snow Leopard and above, the installation disk need to be patched.
iAtkos L1 is already patched for us.

Boot from the HD partition.

  • At boot prompt press F2 to check your bios configuration.
  • Make sure SATA Mode is AHCI Mode.
  • Go to the boot tab and set the USB at the top of the list with F6.

Acer bios V1.06 has not so many options so press F10 and save the changes.

Now OSX is booting from the HD partition.

  • Select The iAtkos icon and type "busratio=18" without quote (the command will appear on the bottom of the screen).
  • (please choose the correct ratio according this table).
  • Select language.

I have formatted again my partition, only for safe purpose. Menu Utilities => Disk utility.

  • Choose Mac Extended (Journaled) HFS+ format.
  • Hit erase.
  • Exit Disk Utility.
  • Click to continue.
  • Select the OSX partition.
  • Click to customize.

Here you can choose the bootloader, patch, drivers etc…

  • I have left all options untouched.
  • If you don't have an USB Keyboard. Try to select the PS/2 driver in USB list.

 

The installation should end with successfully installed.
The computer will reboot (don't forget busratio).

If you have left options untouched, at this point, you need an USB keyboard and USB mouse, to continue.

  • Configure your account and login.
  • Once configured, OSX will open .
  • From your desktop, open the OSX combo 10.7.2 (download it from Apple official page) and install it.

Post installation.

Keyboard Trackpad.

To get vertical and horizontal scrolling capability, I installed this package.
VoodooPS2Controller-0.98-installer.pkg from here or download the file attached
Prior be sure all PS2 Kext are removed:

  • ApplePS2Controller.kext.
  • ACPIPS2Nub.kext.

Bootloader.

I Install Chameleon-v2.1 r1620 to get benefit of Speedstep, iCloud and native graphic resolution.

  • Double click on the package.
  • Before clicking on install choose customize.
  • Choose:
    • EFI (if you are using an external drive) EFI or Standard for internal drive.
    • Leave others options unselected.

  • reboot

Edit org.chameleon.Boot.plist file
With this new Chameleon release the com.apple.Boot.plist file is depreciated. The plist file name must be org.chameleon.Boot.plist

  • In the finder click on "Go" menu and choose "Go to folder".
  • Type /Extra.
  • In this folder drag the com.apple.Boot.plist file on your desktop.
  • Open the file with text edit or Property List editor.
  • Insert these lines:
    <key>Kernel Flags</key>
    <string>busratio=18</string>
    <key>Graphics Mode</key>
    <string>1366x768x32</string>
    <key>Kernel Flags</key>
    <string>pmVersion=0 arch=i386</string>
    <key>Timeout</key>
    <string>1</string>

At reboot you will not have to enter busratio any more and your display configuration will be in accordance with your screen (for native resolution, please follow reading).

A step further in post installation.

Sound.

I have modified the IOPCIMatch value in the Plist of the Voodoo Kext with my sound card Device ID.
All instruction for the "how to" are in Voodoohda Driver from Project OSX

To extract the exact hardware data, you can use SIW (System Information for Windows) or better with Ubuntu Live CD with the help of the great script "hackintosh-hardware-analyser-1.0.9.sh" written by Hoob from Darwinx86

this script is a big help to extract dsdt and ssdt table too. Only the acpidump seems to fail. So I have installed it manually before running the script.
Use this package acpidump_20071116-1_i386.deb (google it)

Extract HW information and ACPI table.

  • Boot from Ubuntu Live CD.
  • Choose the option Try it.
  • Configure Internet.
  • Install the acpidump_20071116-1_i386.deb package.
  • Launch terminal.
  • Enter bash hit space.
  • Drag the script on the terminal after the space.
  • Hit enter and wait.

The script will create a folder with your HW information, DSDT and SSDT table.

Speedstep with Chameleon RC5.
One great feature with this Chameleon package is to enable native speedstep.

  • Chameleon RC5 is already installed.
  • Rename all your SSDT files: SSDT-1 SSDT-2 etc.
  • Drop your dumped SSDT files in the invisible /Extra folder.
  • Remove disable.kext and NullCPUPowerManagement.kext.
  • In system preference select Chameleon and enable Generate P-states, Generate C-states and force HPET.
  • Open org.chameleon.Boot.plist and add manually:
    <key>DropSSDT</key>
    <string>Yes</string>
    <key>SMBIOS</key>
    <string>/Extra/smbios.plist</string>
    <key>DSDT</key>
    <string>/Extra/dsdt.aml</string>
    <key>ForceHPET</key>
    <string>Yes</string>
    <key>GenerateCStates</key>
    <string>Yes</string>
    <key>GeneratePStates</key>
    <string>Yes</string>
  • Save.
  • Open your DSDT file with DSDTSE (google it) and check whether your HPET declaration match with the proposed fix (number 2 in the select list).
  • Compile Dsdt and click on install The dsdt file, will be installed in /Extra folder.

Create SMBIOS.plist
Needed for Speedstep and also for native graphic resolution

  • Download champlist.app here. This application allows, update your Chameleon version, rebuid cache and of course generate SMBIOS.plist

  • Select MacBookPro 6,2.
  • Choose Core i5 2.40 Ghz.
  • Click on Save (Your Plist will be save on /Extra).
  • Reboot.

Display with native resolution:
At least a recent release of Chameleon is needed. The r1620 used above is ok.

  • You need to create your own display override file. The best way is to follow this page. I leave my file in the attached zip (Only for information purpose. Don't use it in your own system). To extract  EDID  data I have done it with EDID Viewer in Windows. Once your file and your directory are ready, save them in  /System/Library/Displays/Overrides.
  •  Open org.chameleon.Boot.plist and add manually:
    <key>AtiConfig</key>
    <string>Hoolock</string>
    <key>GraphicsEnabler</key>
    <string>Yes</string>
  • Finally add the ATI Kext from Jamesst20 here.
  • Rebuid cache with champlist.app.
  • Reboot.
  • Now you can select the display resolution within the System Preferences.

iCloud fix

Lion 10.7.2 bring to us a nice integration of iCloud. To allow connections into iCloud with OSX86, you need to do the following:

  • OSX 10.7.2.
  • A correct SMBIOS.plist (already done. See above).
  • At least one Ethernet Card working.

The fix is described on this page. We need to add the correct Kext. Please download this file and

  • Install the Kext in /System/Library/Extensions.
  • Add EthernetBuiltIn option in org.chameleon.Boot.plist.
    <key>EthernetBuiltIn</key>
    <string>Yes</string>
     
  • Now delete all networks in your System Preferences. 
  • Delete Inside /Library/Preferences/SystemConfiguration:
    • com.apple.network.identification.plist
    • NetworkInterfaces.plist
  • reboot
  • Go to System preferences and add prior ethernet network
  • Go to About this Mac, More info...  and hit System report...
    • In Ethernet Card the  BSD name should be en0.
  • Now You can reinstall your Wifi network.
  • You should be able to login into iCloud.

Battery and Chameleon Prefpan
download the attached files

  • Install the battery Kext in /System/Library/Extensions.
  • Install the Chameleon PrefPanes (for Lion) in /Library/PreferencePanes.
  • Rebuid cache with champlist.app.
  • Reboot.

Sleep mode setting

I found a temporary solution to my screen wakeup issue: I have changed the sleep mode setting.
Choosing the mode 1 according this page, the sleep behavior will be : 

  • Hibernation mode, with RAM contents written to disk, system totally shut down while “sleeping,” and slower wake up, due to reading the contents of RAM off the hard drive.
  • To set it up just open the Terminal and type:
    sudo pmset -a hibernatemode
  • Exit Terminal and restart the computer 

To do.

Enable Screen to wake up.
Fix the build in camera.
 


Issues and solutions.

In case of Kernel Panic.

  • Repair disk permissions often help. boot with appropriate flag:
    boot flag
    boot -x (safe mode)
    boot -s (terminal)
    boot -v (verbose)
    boot -f (ignore cache)

For each extensions Kext change (add, remove or edition).
Drag the extensions folder on Kext Utility app.
enter your password and wait till the process end.

If the computer stuck on the apple icon or goes in a infinite boot loop the mach_kernel is probably not properly installed.

  • reboot again on the installation USB disk.
  • Click on Utilities menu and choose terminal.
  • Type df (to identified your disk path).
  • Copy the path of your OSX volume (select it and copy with alt C).
  • Type cp mach_kernel “path of your OSX disk” (past the path copied above without quote).
  • Enter and exit.
  • Quit Mac Installer.
  • Reboot (don't forget busratio).

If the computer stuck on apple icon with Prohibit sign.

  • Check in your bios whether the SATA Mode is AHCI (prefer to set manually than auto).

If the computer boot with a black screen.

  • It is probably a wrong bootflag or wrong EDID file setting.
  • Boot with bootflag GraphicsEnabler=no. You will be allow at least change graphic parameters without external display.
  • Check your file in /System/Library/Displays/Overrides.

Kernel Panics which happen during the mounting if Disk Images (.DMG) are caused not having the correct matched seatbelt.kext for your kernel (Source).

You can correct the Disk Mounting issue by matching your kernel with the proper seatbelt.kext build.
If you have the 9.5.0 kernel you will need the Seatbelt.kext from 10.5.5.
If you have the 9.6.0 kernel you will need the Seatbelt.kext from 10.5.6.
If you have the 9.7.0 kernel you will need the Seatbelt.kext from 10.5.7.
If you have the 9.8.0 kernel you will need the Seatbelt.kext from 10.5.8.

Check your kernel version by opening Terminal and typing:
uname -a

Message "Hibernate image is too old by xxx, use forcewake=y to override".
Solution from karacho_ak in this topic.

  • In MacOsX open the Terminal and type:
    sudo pmset hibernatemode 0
    sudo rm /var/vm/sleepimage
  • Reboot and have a look. Your above described Message should gone.

Hope this post will help future 5741G owners wink

 

 

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.