Contribute
Register

[Guide] Acer S3-391 Ivy Bridge

Status
Not open for further replies.
Joined
Oct 25, 2011
Messages
119
Motherboard
DELL Inspiron 7560
CPU
i7-7500u
Graphics
HD 620 / 940MX , 1920x1080
[Guide] Acer S3-391 Ivy Bridge (Bios v1.x ) Mavericks Install

======================
Laptop : Acer s3-391-53314g12add With V1.x bios ( V2.x models have a totally different EFI Bios)

CPU: CPU: Ivy Bridge 3317u
======================
Firstly many thanks go to Kidman, Rehabman, Dominic714342 and i'm sure more that i've missed!
Following on from getting this laptop working with Mountain Lion, here is the method for Mavericks.


=========
WORKING
=========
USB 3.0, Multi-touch trackpad and keyboard, Sound, HDMI Sound,HDMI Video out, HD4000 Graphics, SLEEP/WAKE, Speedstep/Turbo Boost, 2.4/5Ghz WIFI [ Swapped wifi card], BLUETOOTH [ Swapped WIFI card ] Appstore, iMessage, WEBCAM.

============
NOT WORKING
=============
SDCARD reader. Recognised but doesn't work. Tried multiple fixes :(


=======
BUGS
=======
none currently



===========
PRE-INSTALL
===========
-------
BIOS
-------
I am currently using a modified bios which unlocks many options that are normally unavailable.
If you are currenty using bios v 1.x in your acer S3-391 then my bios should be compatible with your
laptop.

Newer Windows 8 S3-391 models have a 2.x bios which is NOT compatible. If you don't want to use the bios then you can use alternative boot flags.

---------------------------------------------------------
With my bios - Disable VT-D, Disable XHCI (USB3)
---------------------------------------------------------

------------------------------------------------------------------------------------
Equivalent boot flags if you don't have my BIOS

dart=0 USBLegacyOff=Yes
-------------------------------------------------------------------------------------


Create Unibeast installer ( I didn't tick laptop option.)

========
INSTALL.
========

Install using your Unibeast installer.

You may need to use the boot flag IGPlatformID=0x01660003 to avoid black screen (Not needed after installing DSDT)

=============
First boot post-install
=============
Boot using your UNIBEAST Installer then at the menu, select the drive you installed Mavericks to.

I boot using -x -v IGPlatformID=0x01660003
You will need a USB keyboard/Mouse temporarily

Don't forget the other boot flags if you are not using the unlocked bios.

Run Multibeast. Choose Chimera, FakeSMC, GenericUSB3, Patched AppleCPUPowerManagement, Trim ( SSD Users)

Copy your patched DSDT,smbios,bootplist, SSDT to the /Extra folder

Install Kexts:
Battery % [Patched ACPIBatteryManager]
Audio [AppleHDA, AppleIntelFramebufferCapri],
Elantouchpad [ ApplePS3Controller, ApplePS2ElanTouch]

Repair permissions, rebuild kextcache.

Reboot, enter bios and re-Enable XHCI in bios to get USB3 again.

Then you should find it boots with just the -gux_defer_usb2 flag and everything works!

=========
DSDT patching
=========
Starting off with a clean DSDT i used MaciASL and applied the following patches using Rehabman's patch REPO.

Rehabman patch repo:

http://raw.github.com/RehabMan/Laptop-DSDT-Patch/master


- HD4000 Low res.
- IRQ Fix
- HPET Fix
- 7-series USB
- 6-Series USB ( Seems to stop Laptop immediately waking from sleep when on AC Power)

=== The next patch means we shouldn't need to use the GenericUSBXHCI kext and instead it will use the vanilla AppleUSBXHCI kext . It seems buggy to me though===
- 7-series USB3 Multiplex (Comment out the line near the bottom of patch that has 'return GPRW' and remove the // from alternative )
==============

- SMBUS Fix
- RTC Fix
- AC Adapter Fix (with/without)
- OS Check Fix
- Brightness Fix
- Audio Layout ID 12 ( changed the 12 to 69)
- Fix _WAK Arg0v2 ( Seems to fix issues with rebooting after waking from sleep on Battery power)


DO NOT USE MY SSDT UNLESS YOU HAVE THE 3317u CPU


================
org.chameleon.Boot.plist
================

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>EthernetBuiltIn</key>
    <string>Yes</string>
    <key>GraphicsEnabler</key>
    <string>No</string>
    <key>Kernel</key>
    <string>mach_kernel</string>
    <key>Kernel Flags</key>
    <string>-gux_defer_usb2</string>
    <key>Legacy Logo</key>
    <string>Yes</string>
    <key>Timeout</key>
    <string>2</string>
        <key>UseKernelCache</key>
        <string>Yes</string>
</dict>
</plist>

=========
smbios.plist
=========
I have best luck with an smbios profile for a MacBookAir5,2

I have provided my SMbios BUT it is best to produce your own as mine has settings for my particular CPU.

Easiest way is by using Chameleon Wizard


========================
Speedstep/Power management
========================

You will NEED to generate your own SSDT for your particular CPU


1) Use the SSDTPrGen script found here: http://www.tonymacx86.com/ssdt/86906-ssdt-generation-script-ivybridge-pm.html

Follow the instructions and it should create the SSDT and add it to your EXTRA folder automatically.

2) In Multibeast, install the Patched AppleIntelCPUPowerManagement kext

===========
WIFI Network
===========
The built in Wi-Fi card is not supported. In My S3-391 the wifi card was not soldered in place so i simply swapped it with a £7 GBP card off eBay. Alternatively you could usb a supported USB WIFI dongle. I was temporally using a Solwise USB NANO Wifi card.

The card i used to replace the internal wifi is the following:
Half Mini PCI-E Wireless Card Atheros AR9280 AR5BHB92

It actually has much better signal than the original card and supports both 2.4 and 5ghz 802.11N networks. No mods needed as this is recognised as a proper Airport card. This card does not have bluetooth


EDIT: I've now got a different combined WIFI/Bluetooth card which works in windows and OSX. The Azurewave AW-NB290H


================
SOUND/HDMI Audio
================
This laptop uses the ALC269 Codec.

The patch involves fixing the DSDT and patching AppleHDA.kext AND AppleIntelFramebufferCapri.kext

AppleHDA Patch Method ( See Domiic's guide here: http://www.tonymacx86.com/mavericks...-guide-acer-s3-391-ivy-bridge.html#post693715 )

AppleIntelFramebufferCapri patch (thanks dominic714342 ) :

Using a hex editor open the binary and find:
Code:
 05030000 02000000 30000000 02050000 00040000 07040000 03040000 00040000 81000000

and replace with

Code:
05030000 02000000 30000000 02050000 00080000 06000000 00000000 00000000 00000000

===================
MultiTouch pad/keyboard
===================
For full multitouch support I am using the ElanTouchpad driver.

I'm currently using 2.8.3 Note that for the 2-finger scrolling to start working, you have to go into prefs and change the scroll speed once. Then it will work always.

3-finger swipe up = Launchpad
3-finger down= minimise app
4-finger down = full screen


For correctly setting up your keyboard ( " and @ are in wrong place on mine) try Settings> Keyboard> Input Sources. I changed mine to British - PC.

=======
USB 3.0
=======
For USB3 support i use the GenericUSBXHCI kext found in Multibeast along with boot flag -gux_defer_usb2

I have patched the DSDT with the 7 series USB3 multiplex patch which means we shouldn't need GenericUSBXHCI or the boot flag. But it seems buggy (causes devices to not be found) so i'm sticking with the genericUSBXHCI kext for the mo.

Don't forget to re-enable USB3/XHCI in the bios again or stop using legacy usb boot flag.


==============================
SD CARD READER - NOT WORKING
==============================

No known fix, i have tried several different kexts with no luck :(


===================
BLUETOOTH
==================

I believe the bluetooth is part of the wifi card. Seeing as i have changed the wifi card, i no longer have bluetooth!

======
iMessage
======

To get iMessage to activate, i put the FileNVRam file in /Extra/Modules

=======
Links
=======
Rehabman's version of ACPIBatteryManager to enable the battery status ( charging/time remaining)
Link: https://code.google.com/p/os-x-acpi-battery-driver/downloads/list

============
FUNCTION KEYS
=============
Context Menu key(Between Alt and Ctrl on the right) + F5 /F6 = Brightness up/down.
Fn + Vol Up/Down works
Fn + F4 = Sleep
 

Attachments

  • crunchie S3-391 Mavericks pack.-03-Nov-2013 zip.zip
    3.3 MB · Views: 1,639
As for the Audio,

If you already have a working AppleHDA and wanting to patch it for a current version kext, you can just use patch-hda.3.1 by bcc9
-leave the stock AppleHDA in S>L>E
-Run patch-hda with Terminal
-Select the audio code that you want to patch, in our case Realtek ALC269, enter 10ec0269
-Enter your Password, etc... and exit Terminal

Now the AppleHDA binary is patched, you just need to transfer the Platform and Layout from the old kext to the current version. However if you don't already have a working Patched AppleHDA, you will need to do a codedump and do some real work, Google How to patch AppleHDA

Transfer
AppleHDA>Content>Resources>Platforms.xml.zlib and layout(your layout ID, we are using 69 here).xml.zlib files.
Then copy the lines from the HDAConfigDefault section of
AppleHDA>Content>PlugIns>AppleHDAHardwareConfigDriver.kext>Content>info.plist:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>HDAConfigDefault</key>
	<array>
		<dict>
			<key>Codec</key>
			<string>Realtek ALC269 for Acer S3-391</string>
			<key>CodecID</key>
			<integer>283902569</integer>
			<key>ConfigData</key>
			<data>ASccIAEnHQEBJx6gAScfkAFHHBABRx0BAUceEwFHH5kBdxzwAXcdAAF3HgABdx9AAYcc8AGHHQABhx4AAYcfQAGXHPABlx0AAZceAAGXH0ABpxzwAacdAAGnHgABpx9AAbcc8AG3HQABtx4AAbcfQAHXHPAB1x0AAdceAAHXH0AB5xzwAecdAAHnHgAB5x9AAhccMAIXHUACFx4hAhcfAQ==</data>
			<key>FuncGroup</key>
			<integer>1</integer>
			<key>LayoutID</key>
			<integer>69</integer>
		</dict>
	</array>
</dict>
</plist>

In fact Rehabman wrote a handy shell script to do all the work for you, Check it out,
http://www.tonymacx86.com/mountain-...s5-ultrabook-master-thread-42.html#post670057

P.S.
Crunchie, you might want to try out my SSDT, I have turned it so that the CPU is be able to run on x8 (800mHz) when idle
The battery lasts a bit longer and the machine runs a lot cooler and quieter
 

Attachments

  • SSDT.aml.zip
    1.1 KB · Views: 467
First, thanks for this info. I just got the S3-391 (I have an i3-3227u, though) but I didn't think to buy ML ahead of time. I'm trying to slowly figure out a Mav install, but there's so much less documentation (obviously).

I did an install via Unibeast and used Multibeast to install a boot loader and some other stuff. Problem is that now when I boot, my keyboard is not recognized so I can't type in a password and login. I had no problem with the keyboard during the install or before running Multibeast, so clearly I screwed up. However, I don't know how to work around this and/or what to do to change things. Any advice?
 
I had no problem with the keyboard during the install or before running Multibeast, so clearly I screwed up. However, I don't know how to work around this and/or what to do to change things. Any advice?

You are on the right path, you just didn't install the PS2 driver therefore your keyboard and trackpad didn't work.
Boot from Unibeast again, and install ElanTouchpad driver 2.8.3 (included in Crunchie's package) with Kext Utility or KextBeast

Then your keyboard and trackpad should work
 
Awesome, thanks. That'll be my task after work today.

Also, is there any way to tell whether the wifi cars is soldered on without opening up the case? I need to order either a USB or other wifi card so I can get it soon. I understand that an internal card is better than USB, because it will be recognized as "native" by OSX, and the USB one won't. Is this the case?
 
Awesome, thanks. That'll be my task after work today.

Also, is there any way to tell whether the wifi cars is soldered on without opening up the case? I need to order either a USB or other wifi card so I can get it soon. I understand that an internal card is better than USB, because it will be recognized as "native" by OSX, and the USB one won't. Is this the case?

No way to tell without taking the bottom off ( it's not hard)

I have a nano usb wifi dongle which works fine if built in wifi doesn't work.
I use it along with a usb keyboard/mouse when ironing out problems!

Did your s3-391 come with windows 8? If so it probably has the efi bios (V2.x) Curious if that makes installing even easier
 
As for the Audio,
SNIP
P.S.
Crunchie, you might want to try out my SSDT, I have turned it so that the CPU is be able to run on x8 (800mHz) when idle
The battery lasts a bit longer and the machine runs a lot cooler and quieter

Thanks for that! I'll link to it in the OP if thats ok!
I noticed with my SSDT that it goes down to 800Mhz ish when on reserve battery power but i'll give yours a try cheers!

I tweaked my bios fan settings slightly to reduce the fans coming on a little before but lost them when i reset bios the other day DOH, will have to tweak some more!
 
No way to tell without taking the bottom off ( it's not hard)

I have a nano usb wifi dongle which works fine if built in wifi doesn't work.
I use it along with a usb keyboard/mouse when ironing out problems!

Did your s3-391 come with windows 8? If so it probably has the efi bios (V2.x) Curious if that makes installing even easier

Is your wifi dongle recognized natively, or do you need to run an app to get it going? This one (http://www.amazon.com/EDUP-EP-N8508-150Mbps-802-11n-Wireless/dp/B004FWKEZ0/) looked promising.

As for my s3, it came with Win 8, but the last time I installed a hackintosh build it was in 2009 on a desktop, so I don't have a lot to compare to.
 
Is your wifi dongle recognized natively, or do you need to run an app to get it going? This one (http://www.amazon.com/EDUP-EP-N8508-150Mbps-802-11n-Wireless/dp/B004FWKEZ0/) looked promising.

As for my s3, it came with Win 8, but the last time I installed a hackintosh build it was in 2009 on a desktop, so I don't have a lot to compare to.

One just worked, the other has a driver ( for lion but still works)
The one you linked to has had success here http://www.tonymacx86.com/network/56600-success-wireless-dongle-edup-ep-n8508-lion-10-7-4-a.html
but thats with lion
http://www.tonymacx86.com/buying-ad...lp-me-buy-usb-wifi-adapter-my-hackintosh.html suggests Dlink DWA-131
 
i'm still getting some issues with sleep/wake.

It seems it will sleep ( amber LED flash to indicate sleep) OK for a short while, and wake up fine.

BUT, if i leave it for 5mins or so, it will fail to wake from sleep and instead it reboots.

Tried with the DSDT that worked fine in ML and with freshly patched one. Same behaviour
 
Status
Not open for further replies.
Back
Top