Jump to content

DerRolf

DerRolf

Member Since 30 Nov 2009
Offline Last Active Feb 02 2014 07:26 PM
-----

Topics I've Started

[GUIDE] Lion DP1 on Ideapad S10e

04 June 2011 - 12:19 PM

Hi there!

So some of you may know me from the s10lenovo.com site, where I published my guide on how to install Lion DP1 Build 11A390 on a netbook. Because some asked my if I could post the guide here as well (to get more feedback and to improve my guide) - well, here it is:

This guide should also work for other netbooks. If you have a Intel GMA950 with Device ID 27ae you should also get graphics acceleration as well!

Guide on how to install Lion DP1 (build 11A390) on Lenovo IdeaPad S10 and S10e

What you need:
- some time (read carefully! :-) )
- your Ideapad
- a USB drive with 8 GB or more
- the Lion 11A390 image
- a running Mac or Hackintosh

Step one:
We need to create our own installation disk on the USB stick, because Apple uses a new way to boot the Lion setup (and this basically doesn't work on hackintoshes): Apple is having a bootable OS X in a .dmg file that includes the Lion installer. However we need to restore this DMG file onto our USB drive. The DMG file is hidden on the Lion installation disk. To make this file, open the Terminal app in OS X and type this:
defaults write.com.apple.finder AppleShowAllFiles TRUE
killAll Finder
if you take a look at the Lion install disk you should see a file called BaseSystem.dmg

Step two:
Open the disk utility in OS X. Drag the file BaseSystem.dmg into the left column. Now format your USB drive. Use GUID Partition scheme and format the Volume as Mac OS Extended (Journaled).
Now choose the tab Restore and drag the BaseSystem.dmg into Source. Drag your USB drive into Destination. Uncheck the checkbox bellow (remember, we've just formatted the USB drive so we don't need to do it again ;-) )
Click restore and wait.

Step three:
If it's done, we have to copy all the installation bundles to our USB drive. In Finder, open your USB drive and go to the folder System and then Installation.
You should see a file called "Packages" - remove it and create a new folder called Packages (meaning: replace the file with a folder)
The exact path for the new folder should be:
/Volumes/<USB DRIVE NAME HERE>/System/Installation/Packages/
Then open this created folder and also open the OS X Lion installation disk again. On the OS X Lion installation disk, open the folder Packages (it's hidden, too but it's in the root Volume of the installation disk)
Copy all the files in the Packages-folder of your Lion disk into the Packages-folder on your USB drive.
If you're done, copy the BaseSystem.dmg to the Packages-folder on your USB drive and also copy the OSInstall.mpkg in my bundle into the folder.

In a nutshell: your Packages-folder on the USB drive should now contain the following files:
- All installation packages (ending with .pkg or .mpkg)
- BaseSystem.dmg
- my patched OSInstall.mpkg

Step four:
Run the Chameleon installer included in my bundle and install it on your USB drive.
UPDATE: PLEASE UNCHECK EVERYTHING IN THE INSTALLER EXCEPT "CHAMELEON STANDARD"
After the installation is done, open the folder "new Chameleon binaries" in my bundle and copy all the files to this directory:
/Volumes/<YOUR USB DRIVE NAME HERE>/usr/standalone/i386/ (you have to overwrite the old files)
and copy the file called "boot" to /Volumes/<YOUR USB STICK NAME HERE>/ (= root-Volume of your USB drive)
If you shouldn't be able to overwrite the old files - try logging on as Administrator or try to copy the files via Terminal as admin

Step five:
Now we are almost done! Now we need to add a few Kernel Extensions and our DSDT file and that's it!
Just copy the KEXTs in my bundle to /Volumes/<USB STICK NAME HERE>/System/Library/Extensions/
and open Terminal: type this:
sudo su
(type your Admin password)
cd /Volumes/<USB STICK NAME HERE>/System/Library/Extensions/
chmod -R 755 _AppleIntelGMA950.kext/
chmod -R 755 _AppleIntelIntegratedFramebuffer.kext/
chmod -R 755 _ApplePSController.kext/
chmod -R 755 _AppleACPIPS2Nub.kext/
chmod -R 755 _BCM5722D.kext/
chmod -R 755 _VoodooHDA.kext/
chmod -R 755 _FakeSMC.kext
chown -R 0:0 _AppleIntelGMA950.kext/
chown -R 0:0 _AppleIntelIntegratedFramebuffer.kext/
chown -R 0:0 _ApplePS2Controller.kext/
chown -R 0:0 _AppleACPIPS2Nub.kext/
chown -R 0:0 _BCM5722D.kext
chown -R 0:0 _VoodooHDA.kext/
chown -R 0:0 _FakeSMC.kext
Yes I know it's annoying to do this by hand, but since I'm not able to create a terminal script for that... :-D
if you typed this in, you can close Terminal.
Now just copy your own DSDT (and if you like a SMBIOS-file) and my com.apple.Boot.plist to the Extra folder on your USB drive.
And don't forget to put mach_kernel_atom on your USB drive ;-)

Step six:
Now we are ready to install Lion! Just install as you would install Snow Lion!
If you got any problems, try booting with -v -f ;)
ah and by the way: if you're done, open Terminal and type
defaults write com.apple.finder AppleShowAllFiles FALSE to hide all files again ;)

Step seven:
After the installation has been successful we need to copy (at least!) FakeSMC.kext to the volume we installed Lion to.
To do so, simply boot again your Lion installer and open Terminal. Type
cp /System/Library/FakeSMC.kext /Volumes/<HDD YOU INSTALLED LION TO>/System/Library/
chmod -R 755 /Volumes/<HDD YOU INSTALLED LION TO>/System/Library/FakeSMC.kext/
chown -R 0:0 /Volumes/<HDD YOU INSTALLED LION TO>/System/Library/FakeSMC.kext/
Either you do the same again with all the kexts mentioned above or you do boot your installed Lion now and use programs like KextHelper b7 ;-)

DOWNLOAD THE ZIP FILE INCLUDING EVERYTHING NECESSARY: http://www.mediafire...f866ozy4g420xh7

I hope this guide is complete and correct. If you have any problems and/or questions, feel free to ask!

Good luck everyone!



TECHNICAL, ONLY FOR PEOPLE WHO ARE REALLY INTERESSTED IN THAT STUFF:
If you want to know what I modified in the OSInstall.mpkg: There is a method in the installer that checks if your CPU is 64 bit capable. If it is, it returns a value of 1. If it returns anything else than 1, the installation fails. So I modified to always return 1, regardless if the CPU is 64-bit capable or not.
Attached File  lioninstaller_cpucheck.png   17.04KB   75 downloads I replaced the highlighted text with 1 and that's all!
And if you want to know what I modified on the GMA 950 drivers: I just included the 27ae Device-ID in the KEXT and edited the binaries to include 27ae. My modified com.apple.Boot.plist includes a EFI string to inject a GMA 950 (otherwise the KEXTs would load but you wouldn't have any graphics acceleration at all)


Thanks to Andy Vandijck and Nexos from Insanelymac for helping me (with Andy's kernel and bootloader from Nexos) and thanks to corrpel from s10lenovo for his VoodooHDA fix!

GMA950 with Lion

03 May 2011 - 05:57 PM

Hi everyone!

I have searched the whole internet about a working solution to get my Intel GMA950 working with OS X Lion. I don't have QE or CI. I am using a notebook with a GMA950 - no desktop.

What I've tried so far is this:
- add my GMA950's Dev-ID to AppleIntelGMA950.kext and AppleIntelIntegratedFramebuffer.kext
- tried old Snow Leopard kexts for my GMA950
- added GMA950 dev to my DSDT with DSDTSE (but it was stated that this was for Desktop GMA950's only)
- use EFI string from OSX86Tool

But none of these tricks were working.


Does anybody have some advice for me?



Thanks in advance!

OS X Lion-Installation - bei wem hats geklappt?

27 April 2011 - 09:35 PM

Hi!
Ich hoffe mal, es gibt noch keinen solchen Thread hier für uns Deutschen, aber naja!

Ich wollte nur mal wissen, wer eigentlich schon erfolgreich die Lion Dev-Preview auf seinem Hackie installiert hat. Habs bei mir bisher auf 3 (!) Maschinen probiert, und noch nie hats geklappt.
Es bleibt bei mir immer mit dem Double Panic/Fault-Ding da nach der Auswahl der Lion Partition in Chameleon hängen. Ich hab echt schon alles probiert.
Von verschiedenen Bootsticks (div. Chameleon-Versionen, ##### etc.) aber es hat noch nie geklappt :(

Aber auf allen 3 Maschinen hab ich 10.6.7 ohne Probleme am laufen :/

Hats hier schon jemand geschafft und hat vlt. noch irgendwelche Tipps für mich oder so?


Bisher konnte ich Lion nur auf meinem echten MacBook installieren, aber da soll es eigentlich nicht drauf :D (für sowas hab ich meinen "kleinen" Core2Duo-PC/Hackie aus meiner Sig ;D)



Schöne Grüße an die Deutschen!
© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy