Jump to content

os x 10.10 on lenovo g580


lalo1996
 Share

50 posts in this topic

Recommended Posts

Thanks vladichimescu.

 

I have tried those kexts and Clover on my install USB and I get as far as Bluetooth transport and the system comes up with a grey circle with a lime through it and say 'waiting for root device'

 

I know my ultrabook it not 100% the same but some specs are.

 

I hope you can advise me how to get this to install.

 

Cheers.

Link to comment
Share on other sites

Hello!

 

Try to remove the AppleIntelFramebufferCapri.kext from S/L/E of your USB installer, if you are injecting the GenericUSBXHCI.Kext and ignoring caches at clover boot.

 

If you can do a legacy boot with your device, you should try to install osx at first on an external USB had with Chameleon. It is easier to configure in this way. For booting you should use only these kexts:

FakeSMC.kext, GenericUSBXHCI.kext and a working PS2kext to have your internal keyboard and touchpad working. For an install with Chameleon you have also to use NullCPUPowermanagement.kext or in Clover activate the ASUSPMPatch.

 

You can follow this guide for creating an USB Installer: http://www.insanelymac.com/forum/topic/280756-guide-the-all-in-one-guide-to-vanilla-os-x-including-chameleon-dsdt-for-beginners-updated-for-mavericks/ an use this tool: http://www.insanelymac.com/forum/files/file/11-pandoraapp/

 

After you have a nearly complete working install, you can install Clover on an usb stick and make it booting your installed OSX. If everything is working, you can clone or install to the internal hdd, try to boot it over your clover usb and install then clover in the Efi partition of your hdd.

 

Have fun.

  • Like 1
Link to comment
Share on other sites

the clover.config from my website it's already configured with workaround for bluetooth pm so there's no need to remove the bluetooth

DO not try any other arguments to disable the graphics [everything it's working - to be sure, just set the video to UMA in bios to enable only the internal graphics, however from my testing CLOVER is setting the internal as primary with my config - tested and aproved]

 

please try the following, but each a time, not all once:

- using all kexts and the clover config from me [with no additional stuff from any 'tools'] - press O to get to options and set kernel arguments to kext-dev-mode=1, then press space and Inject kexts, it should work

 

- if the method above is not working, then remove from the usb installer the bluetooth kext IOath3kfrmwr and try again the method above

 

AGAIN:

- do not use anything else than my clover folder place in the EFI partition of the stick [you may copy the kexts as well in the /System/Library/Extensions of the usb installer [but watch for the IOath3kfrmwr to remove from both location if done so]

- do not delete any official kext

 

The task is quite simple

- make the usb installer like for a real mac: restore basesystem.dmg to the usb, then copy both basesystem to the root of the stick and the packages in stick System/Library/Installation

- additional for hackintosh, the bootloader: copy clover [from my site]

- for Yosemite, after install you must rebuild the cache but before unload AppleHDA and load my AppleHDA269 [which is kinda' weird and working differently in Yosemite from Mavericks]

 

also you may want to show me your device: dump the lspci and lsusb using linux or any program you want so I can see the devices id.

Link to comment
Share on other sites

the clover.config from my website it's already configured with workaround for bluetooth pm so there's no need to remove the bluetooth

DO not try any other arguments to disable the graphics [everything it's working - to be sure, just set the video to UMA in bios to enable only the internal graphics, however from my testing CLOVER is setting the internal as primary with my config - tested and aproved]

 

please try the following, but each a time, not all once:

- using all kexts and the clover config from me [with no additional stuff from any 'tools'] - press O to get to options and set kernel arguments to kext-dev-mode=1, then press space and Inject kexts, it should work

 

- if the method above is not working, then remove from the usb installer the bluetooth kext IOath3kfrmwr and try again the method above

 

AGAIN:

- do not use anything else than my clover folder place in the EFI partition of the stick [you may copy the kexts as well in the /System/Library/Extensions of the usb installer [but watch for the IOath3kfrmwr to remove from both location if done so]

- do not delete any official kext

 

The task is quite simple

- make the usb installer like for a real mac: restore basesystem.dmg to the usb, then copy both basesystem to the root of the stick and the packages in stick System/Library/Installation

- additional for hackintosh, the bootloader: copy clover [from my site]

- for Yosemite, after install you must rebuild the cache but before unload AppleHDA and load my AppleHDA269 [which is kinda' weird and working differently in Yosemite from Mavericks]

 

also you may want to show me your device: dump the lspci and lsusb using linux or any program you want so I can see the devices id.

 

i got black screen when trying to boot usb installer

 

before that stuck at waiting for root device but solved by changing to usb 2.0 from 3.0

Link to comment
Share on other sites

finally i  successfully installed Yosemite. every things works fine  except my graphics card, the Intel HD4000 shows 4mo of VRAM, mouse and UI is laggy

 

any ideas????

 

thank you @artur-pt 

 

 

hello

 

use clover to boot

 

use minimal kext in Clover/kexts/10.10

 

like fakesmc .. nullcpupowermanagement.. voodoops2

 

try with ig-platform-id = 3  ( 0x01660003 )

 

boot with injectkext .. must use last clover available in repo

 

and do not mess with caches in the image

 

good hack

Link to comment
Share on other sites

Hello!

 

Try to use the different personalities for the HD4000. But set it over options at boottime, til you have found a working one. Using an other usb stick for this, with installed clover and copied over the cloverfiles, you have now in use, would avoid problems with your now partial working configuration.

 

Have fun.

Link to comment
Share on other sites

hello

 

must try another ig-platform-id

 

maybe urs is not the 3

 

to graphics working must be loaded .. minimum 2 kext

 

appleintelhd4000 and

 

*.capri

 

Intel HD 4000

 

see what is loaded with terminal

 

kextstat

 

good hack

Link to comment
Share on other sites

Didn't work

Always getting 4mb of vram

 

Clover detected my laptop as macbook air

Hello!

 

This is the result of using files and configurations, which are made for the same device, but as yo have seen, don´t work correctly for you, instead of doing your own install from scratch as suggested. :yes:

 

Have fun.

Link to comment
Share on other sites

for edit vram, use this:

<key>VRAM,totalsize</key>
<string>0x40000000</string>
The value is in hex, convert to decimal using calculator in programmer mode, but usually just divide or double the value that you already know. 
Examples:
 
0x20000000 = 536870912 (bytes / 1024^2 = 512 MB)
0x40000000 = 1073741824 (bytes / 1024^2 = 1024 MB or 1 GB)
0x80000000 = 2147483648 (bytes / 1024^2 = 2048 MB or 2 GB)
Link to comment
Share on other sites

 

for edit vram, use this:

<key>VRAM,totalsize</key>
<string>0x40000000</string>
The value is in hex, convert to decimal using calculator in programmer mode, but usually just divide or double the value that you already know. 
Examples:
 
0x20000000 = 536870912 (bytes / 1024^2 = 512 MB)
0x40000000 = 1073741824 (bytes / 1024^2 = 1024 MB or 1 GB)
0x80000000 = 2147483648 (bytes / 1024^2 = 2048 MB or 2 GB)

 

 

where do i put the vram in config file or can i put it any where

 

this is my config.plist

<?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>ACPI</key>
	<dict>
		<key>DSDT</key>
		<dict>
			<key>Debug</key>
			<false/>
			<key>Fixes</key>
			<dict>
				<key>AddDTGP_0001</key>
				<true/>
				<key>AddMCHC_0008</key>
				<false/>
				<key>FakeLPC_0020</key>
				<false/>
				<key>FixAirport_4000</key>
				<true/>
				<key>FixDarwin_0002</key>
				<false/>
				<key>FixDisplay_0100</key>
				<true/>
				<key>FixFirewire_0800</key>
				<true/>
				<key>FixHDA_8000</key>
				<true/>
				<key>FixHPET_0010</key>
				<true/>
				<key>FixIDE_0200</key>
				<false/>
				<key>FixIPIC_0040</key>
				<true/>
				<key>FixLAN_2000</key>
				<true/>
				<key>FixSATA_0400</key>
				<false/>
				<key>FixSBUS_0080</key>
				<false/>
				<key>FixShutdown_0004</key>
				<true/>
				<key>FixUSB_1000</key>
				<false/>
				<key>NewWay_80000000</key>
				<true/>
				<key>FIX_RTC_20000</key>
				<true/>
				<key>FIX_TMR_40000</key>
				<true/>
				<key>AddIMEI_80000</key>
				<true/>
				<key>FIX_INTELGFX_100000</key>
				<false/>
				<key>FIX_WAK_200000</key>
				<true/>
				<key>DeleteUnused_400000</key>
				<true/>
				<key>FIX_ADP1_800000</key>
				<true/>
				<key>AddPNLF_1000000</key>
				<true/>
				<key>FIX_S3D_2000000</key>
				<true/>
				<key>FIX_ACST_4000000</key>
				<true/>
				<key>AddHDMI_8000000</key>
				<true/>
				<key>FixRegions_10000000</key>
				<true/>
			</dict>
			<key>Name</key>
			<string>DSDT.aml</string>
		</dict>
		<key>DropTables</key>
		<array>
			<dict>
				<key>Signature</key>
				<string>DMAR</string>
			</dict>
			<dict>
				<key>Signature</key>
				<string>SSDT</string>
				<key>TableId</key>
				<string>CpuPm</string>
			</dict>
			<dict>
				<key>Signature</key>
				<string>SSDT</string>
				<key>TableId</key>
				<string>Cpu0Ist</string>
			</dict>
		</array>
		<key>HaltEnabler</key>
		<true/>
		<key>SSDT</key>
		<dict>
			<key>Generate</key>
			<dict>
				<key>CStates</key>
				<true/>
				<key>PStates</key>
				<true/>
			</dict>
			<key>EnableC7</key>
			<false/>
			<key>EnableC6</key>
			<true/>
			<key>EnableC4</key>
			<false/>
			<key>EnableC2</key>
			<false/>
		</dict>
	</dict>
	<key>Boot</key>
	<dict>
		<key>DefaultVolume</key>
		<string>MacHDD</string>
		<key>Fast</key>
		<false/>
		<key>Legacy</key>
		<string>PBR</string>
		<key>Log</key>
		<false/>
		<key>Timeout</key>
		<integer>5</integer>
		<key>XMPDetection</key>
		<string>-1</string>
                <key>Arguments</ key> 
                <string>kext-dev-mode=1</string>
	</dict>
	<key>Devices</key>
	<dict>
		<key>Audio</key>
		<dict>
			<key>Inject</key>
			<string>No</string>
		</dict>
		<key>FakeID</key>
		<dict>
			<key>ATI</key>
			<string>0x0</string>

			<key>IntelGFX</key>
			<string>0x0</string>
			<key>LAN</key>
			<string>0x0</string>
			<key>NVidia</key>
			<string>0x0</string>
			<key>SATA</key>
			<string>0x0</string>
			<key>WIFI</key>
			<string>0x0</string>
			<key>XHCI</key>
			<string>0x0</string>
			<key>IMEI</key>
			<string>0x0</string>
<key>VRAM, totalsize</key>
			<string>0x40000000</string>
		</dict>
		<key>Inject</key>
		<false/>
		<key>USB</key>
		<dict>
			<key>AddClockID</key>
			<true/>
			<key>FixOwnership</key>
			<true/>
			<key>Inject</key>
			<true/>
		</dict>
	</dict>
	<key>DisableDrivers</key>
	<array>
		<string>Nothing</string>
	</array>
	<key>GUI</key>
	<dict>
		<key>Hide</key>
		<array>
			<string>Windows</string>
			<string>BOOTX64.EFI</string>
		</array>
		<key>Language</key>
		<string>en:0</string>
		<key>Mouse</key>
		<dict>
			<key>Enabled</key>
			<true/>
			<key>Speed</key>
			<integer>8</integer>
		</dict>
		<key>Scan</key>
		<dict>
			<key>Entries</key>
			<true/>
			<key>Legacy</key>
			<true/>
			<key>Tool</key>
			<true/>
		</dict>
		<key>TextOnly</key>
		<false/>
		<key>Theme</key>
		<string>gold_clover</string>
	</dict>
	<key>Graphics</key>
	<dict>
		<key>Inject</key>
		<dict>
			<key>ATI</key>
			<false/>
			<key>Intel</key>
			<true/>
			<key>NVidia</key>
			<false/>
		</dict>
		<key>PatchVBios</key>
		<false/>
	</dict>
	<key>KernelAndKextPatches</key>
	<dict>
		<key>AppleRTC</key>
		<true/>
		<key>AsusAICPUPM</key>
		<true/>
		<key>Debug</key>
		<false/>
		<key>KernelCpu</key>
		<false/>
		<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>External icons patch</string>
				<key>Find</key>
				<data>RXh0ZXJuYWw=</data>
				<key>Name</key>
				<string>AppleAHCIPort</string>
				<key>Replace</key>
				<data>SW50ZXJuYWw=</data>
			</dict>
		</array>
	</dict>
	<key>RtVariables</key>
	<dict>
		<key>LogEveryBoot</key>
		<string>10</string>
		<key>LogLineCount</key>
		<integer>3000</integer>
		<key>MountEFI</key>
		<true/>
	</dict>
	<key>SystemParameters</key>


<key>SMBIOS</key>
	<dict>
		<key>BiosReleaseDate</key>
		<string>21/03/12</string>
		<key>BiosVendor</key>
		<string>Apple Computer, Inc.</string>
		<key>BiosVersion</key>
		<string>MBP91.88Z.00D3.B00.1203211536</string>
		<key>Board-ID</key>
		<string>Mac-6F01561E16C75D06</string>
		<key>BoardManufacturer</key>
		<string>Apple Computer, Inc.</string>
		<key>BoardType</key>
		<integer>10</integer>
		<key>ChassisAssetTag</key>
		<string>MacBook-Aluminum</string>
		<key>ChassisManufacturer</key>
		<string>Apple Computer, Inc.</string>
		<key>ChassisType</key>
		<integer>8</integer>
		<key>Family</key>
		<string>MacBook Pro</string>
		<key>Manufacturer</key>
		<string>Apple Computer, Inc.</string>
		<key>Mobile</key>
		<true/>
		<key>ProductName</key>
		<string>MacBookPro9,2</string>
		<key>SerialNumber</key>
		<string>C02KGQ6YDTY3</string>
		<key>Trust</key>
		<false/>
		<key>Version</key>
		<string>1.0</string>
	</dict>
	<dict>
		<key>InjectKexts</key>
		<string>Detect</string>
		<key>InjectSystemID</key>
		<true/>
	</dict>
</dict>
</plist>

Link to comment
Share on other sites

i fixed the problem using chameleon

 

1- boot hdd from usb with clover using if-platform-id= 0x01660003 (big thanks to artur-pt)

2- installed chameleon on hdd

3- before reboot i edited org.chameleon.Boot.plist with the following 

<?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>GenerateCStates</key>
	<string>Yes</string>
	<key>GeneratePStates</key>
	<string>Yes</string>
	<key>Graphics Mode</key>
	<string>1024x768x32</string>
	<key>GraphicsEnabler</key>
	<string>Yes</string>
	<key>Instant Menu</key>
	<string>Yes</string>
	<key>Kernel</key>
	<string>/System/Library/Kernels/kernel</string>
	<key>ShowInfo</key>
	<string>Yes</string>
	<key>SkipAtiGfx</key>
	<string>Yes</string>
	<key>SkipNvidiaGfx</key>
	<string>Yes</string>
	<key>UseKernelCache</key>
	<string>Yes</string>
	<key>device-properties</key>
	<string>7f0000000100000001000000730000000200000002010c00d041030a000000000101060000027fff04002c0000004100410050004c002c00690067002d0070006c006100740066006f0072006d002d006900640000000800000003006601140000006800640061002d0067006600780000000d0000006f6e626f6172642d31</string>
</dict>
</plist>

now i got my hd4000 to work with 1024 of vram

 

now i have few problems with kexts

 

battery ,trackpad ......

i'll post them in post-installation section

 

thank you

Link to comment
Share on other sites

Hello!

 

For working battery you need a correct patched DSDT.aml. Look at Rehabman´s Github for a patch and a working kext. If you have a Synaptic touchpad the by Rehabman provided Voodoops2.kext should work for you. Look in the Lenovo Driver Downloads which  Win drivers are there offered for the G80 to verify your for OSX needed version

 

Have fun.

  • Like 1
Link to comment
Share on other sites

Hello!

 

Has your battery been working without patching DSDT.aml for it?

 

Have you allready patched your PM or are you using a PM patched bios? (nullcpupm.kext installed)

 

Created an own SSDT.aml with the script of PikeRalpha or MacIasl?

 

If you all have this done, then try to set in org.chameleon.boot.plist the     <key>DropSSDT</key> <string>Yes</string> and remove the keys for creating C- and P-States or set them to No.

 

Look, if there is a newer batterykext.

 

Have fun.

Link to comment
Share on other sites

 Share

×
×
  • Create New...