Jump to content

Acer Aspire 5742G(or without G) 10.8.4 Clover UEFI vanilla install

1 post in this topic

Recommended Posts

Flash the following InsydeH2O bios to get UEFI boot support (and some other things): http://rajko.info/acer/tools/PEW7130_MoreOptionsMorePages_UefiBoot_HackedBds.zip


Get a 8GB USB stick

Run gparted on it, initialize a new GPT partition table, make a 200MB Fat32 partition, set it's flags to boot

make another partition filling up the rest of the space (can be Fat32 as well, we will format it properly later)


Boot up your Mac Os, plug in the USB stick into it

Download Clover from here: http://sourceforge.net/projects/cloverefiboot/files/latest/download

Run it's installer, choose the USB stick as destination, go to Advanced

Select the UEFI installation mode (copy to ESP etc), select some themes (metal is the default so include that one if you dont want missing graphics)

Select all the uefi-64 drivers except for AptioFix

Install clover, you should get a successfull screen at the end


Mount your Mountain lion 10.8.4 dmg (or if you have the app, thats fine too)

Find InstallESD.dmg inside the app (show package contents and such)

open up disk utility, go to the USB stick, select the big partition, format it as HFS+ Journaled

Drag InstallESD.dmg to the left side of disk utility and click it, then go to the Restore tab

drag your big HFS+ USB partition into destination and click Restore


You should have ESP partition mounted on your desktop from the Clover install, if not, open up Terminal

    diskutil list (find which diskXsY is the EFI partition on the usb disk (Y should be 1, X varies per system) )

    mkdir /Volumes/ESP

    sudo mount -t msdos /dev/diskXsY /Volumes/ESP (replacing X and Y with numbers found earlier)

Now the ESP partition should be mounted


Acquire FakeSMC.kext by slice (for Clover use) from the latest HWSensors package from here: http://www.projectosx.com/forum/index.php?showtopic=2585

Acquire AppleACPIPS2Nub.kext and ApplePS2Controller.kext

Copy those 3 kext files to your ESP partition under path: EFI/CLOVER/kexts/10.8 and EFI/CLOVER/kexts/Other (that's 2 copies made)

Open up EFI/CLOVER/config.plist for editing and make sure the nodes are as follows:

        KernelCpu = false (our CPU is detected just fine)
        AsusAICPUPM = true (required if we don't want AppleIntelPowerManagement.kext to KP right at the start)
        AppleRTC = false
        KernelLapic = false
        C3Latency = 0x00FA
        PatchAPIC = false (if this is true, then the kernel hardlocks/spins forever when reading APIC states)
        FixDsdtMask = 0x0010 (only HPET DSDT patching enabled)
        USBInjection = true
        USBFixOwnership = false (this only matters if you are using an old BIOS, we are on UEFI)
        InjectClockID = true
        HDAInjection = No
        boot-args = -v (nspci doesnt seem to change anything here)
        InjectSystemID = false (we are not manually specifying a system id)
        LegacyBoot = LegacyBiosDefault (the InsydeH2O UEFI knows how to CSM boot)
        XMPDetection = true (we have XMP RAM modules in the system)
        BusSpeedkHz = 133000 (you can leave this out if it's autodetected as this value, weird, since the clover wiki says that UEFI detection is inaccurate, but i got the same value under CloverEFI detection as well, so it should be good)
        QPI = 3200 (cosmetic only, just place the value of GT/s your motherboard has on the QPI bus)
        VRAM = 1024 (place the value of how many MB of ram you have, it's always autodetected wrong, but seems to be only cosmetic)

For a full description of all CLOVER config.plist entries, see http://clover-wiki.zetam.org/Configuration


Stick the USB drive into the target system, power it up, mash F12, select the ACPI...USB... device to boot from (not the legacy name of your USB device, the REALLY long one)

You should be greeted with Clover boot menu, you can hit O and check that all the settings you wanted loaded properly

Then go find the USB/Mountain Lion volume (HFS+ Install Mac Os X ESD should be the name), and press SPACE on it to see boot options

Select 'Without caches and with injected kexts' and hit enter. After some text scrolling by, you should be greeted with "Maintenance Mode Options"

Open up Disk Utility and format (or create, or don't touch if you already have one), your target Mountain Lion HFS+ partition (it's only important that you have one, to select later). It needs to be on a GPT partitioned hard drive, of course.

Then proceed with the installation, choosing the partition when asked

After the reboot, make sure to mash F12 and select the usb device again !


Now, select the partition you chose to install ML on (you remember what you named it, right), and do the 'Without caches, with injected kexts' dance again.

It should boot up normally, and proceed with the installation (this stage2 takes longer, as it's actually installing stuff vs just copying it off your flash drive)

At the end, there should be a big green check mark to indicate your success !


Booting the target partition this way (without caches, with injected kexts) once more will greet you into Mac Os Setup wizard. Continue through it. However, you are not done yet. The system doesn't work without this kext injection stuff (which i like to avoid), and drivers for many system components are still missing.


Mount the ESP partition again (under your new OS), recall the guide from above on how to do it.

Edit config.plist again, this time adding sections under KernelAndKextPatches.KextToPatch


Atheros AR5B97 support (Wireless):

                <string>Support AR5B97 by replacing some other dev id</string>

This is the cleanest way to enable your Wi-Fi card. Other methods include just getting an older IO80211Family.kext, editing them manually, and then renaming them as something else ? Ugh. Just patch what we already have, the latest up-to-date version !


Broadcom Netlink Gigabit Ethernet:

                <string>Replace Broadcom dev id with your own</string>
                <string>Dont fail if Broadcom dev id unrecognized</string>
                <string>Dont fail if Broadcom has no NVRAM</string>
                <string>Dont fail if Broadcom has unrecognized Chip ID</string>

Again, the methods i've found involved getting some old kexts with changed device ids inside of them, and i dont think they would work anyway since they didnt patch out the devid checks inside the binaries themselves ! I made these patches, and this way you use the latest ML driver you already have.


Save the file and reboot, once again booting with caches disabled, and injection enabled.

Now you should have working ethernet and wireless support ! Time to get online.


Acquire and install Kext Wizard.

now you can install the 3 kexts you have under ESP/EFI/CLOVER/kexts/10.8 (should be the 2 PS2 ones, and the FakeSMC) using the Installation tab

then go into the maintenance tab, check rebuild cache, and execute.


Now you can reboot into NORMAL mode, that is, using caches, and NOT using injected kexts. This mode is much faster to boot in.

Getting the rest of the system components working:



    Get VoodooHDA from http://sourceforge.net/projects/voodoohda/files/latest/download

    Acquire AppleHDADisabler.kext

    Install both kexts with Kext Wizard and rebuild caches

    Then, mount the ESP partition, open EFI/CLOVER/config.plist, and add 0x8000 (audio fix) to your FixDsdtMask (so it ends up being 0x8010, if it was 0x0010 before). Save config.plist and reboot. You should now have proper audio with all jacks and internal speakers and microphone working.



    Get the latest ath3k firmware injector from https://code.google.com/p/os-x-atheros-3k-firmware/downloads/list

    Install the IOath3kfrmwr.kext from the Release folder with Kext Wizard, rebuild caches and reboot.

    Make sure to hit FN+F3 once to enable bluetooth if it's not showing up (the light doesnt work, don't worry, but FN+F3 does the function it should)



    It should work using FN + LR arrows, but it behaves like no OS is installed (there's no slider under System Preferences->Display, for example), if anyone knows how to fix this please tell me, it's annoying of it booting up to full 100% backlight (adding the "backlight" common DSDT patch doesnt seem to work)



   ?????????????????????? Someone please tell me what is the cleanest and most native way of getting battery stuff working... (Don't want to resort to VoodooBattery)


Also, this entire time, you've been UEFI booting clover off the USB stick, which required you to hit F12 every boot and such... To fix that, just copy all the files off the USB's ESP to any of your hard drives' ESP partitions, and just select that to boot from.

Link to comment
Share on other sites


  • Create New...