Alright. I've got a functional hackintosh laptop now. Here's what I did:
1. Configured G510 bios for UEFI only mode and disabled Virtualization (at least for installation)
2. Used Clover to create a bootable Mavericks USB. The main thing here is to get the correct config.plist and the kexts. See my shared folder and follow the instructions for installing Mavericks using Clover (google it up, tons of posts on the net regarding this topic). The main advantage I found, not kernel patching to be done manually and the graphics for HD4600 was up and running right from install. Didn't need special kexts.
3. Remember that Clover takes a long time to install, so set aside an hour at least for the basic install process. Even when the screen says one second remaining, its going to take a lot of time. And dont forget that it reboots about 3 times before the installation is finally done.
The config.plist from my machine should give you all the setting you need. If not, read up on how to take a generic config.plist and customize to your hardware.
4. Troubleshooting for booting:
- Some bluetooth error: Use IntelAzul=12 flag, or use -x for safe mode. At least one of these options should work.
- Some kernel trap or memory error: Use maxmem=2048 or maxmem=4096 (at least for installation)
5. After the install is done and you can boot up from your laptop drive, install the required kexts (ones attached in the link as well as any other you might need)
NOTE: My G510 uses an Elan touchpad. Dont use Rehabman's PS2 controller kext cos it wont work completely (dragging and gestures basically). Use this: http://forum.osxlatitude.com/index.php?/topic/1948-elan-touchpad-driver-mac-os-x/
6. UPDATE: Hackintosh is running well mostly, except for the issue with the wifi dongle noted below. The latest news is I have got battery status! Just use Rehabman's ACPI Battery Driver from the following post: http://www.tonymacx86.com/mavericks-laptop-support/116102-how-patch-dsdt-working-battery-status.html
Yup, that should give you a working hackintosh. I added a Kinivo Bluetooth dongle to connect to my stereo and ordered a TP Link WN725N WiFi dongle. Until then, am using Horndis-rel5 (http://joshuawise.com/horndis) for connecting my Samsung Note2 in USB tethering mode for a wifi connection.
UPDATE: So the WN725N V2 usb WiFi does not work too well. My mac has been crashing for some time now and I believe it is due to the dongle. Plus there seems to be instances where it drops the net every now and then. Still exploring
Files needed for Clover:
My specific G510 model: Lenovo G510/59-398343. Not all G510s are equal.
Here's the main h/w i needed to get configured/kexts for:
Intel HD4600 only (should work with provided config.plist since kexts are available with Mavericks I think). i5 4200M (Haswell, Clover patches kernel automatically). Elan Touchpad (link provided). Realtek audio (used VoodooHDA, had to apply patches for low volume, though not very successful).
WiFi and Bluetooth wont work. Nor will the function keys on the keyboard.