Jump to content

Mac OS X Lion (Developer Preview) Released


harrydeo
 Share

1,521 posts in this topic

Recommended Posts

Hi all,

 

 

The change in this part of the file "distribution" in OSInstall.mpkg

Then save the file back into IOSInstall.pkg.

 

Can be installed manually or with the terminal ?

 

function installCheckScript(){

		try{
			var machineType = system.ioregistry.fromPath('IODeviceTree:/')['compatible'];

			if (typeof(isFNI) == "undefined" && typeof(hwbeInstallCheck) != "undefined") {
				if (!hwbeInstallCheck()) {
					return false;

 

 

return false>> return try

 

Thanks advance.

Link to comment
Share on other sites

I made an AnVAL (5.1.4) for Lion.

It boots like PC EFI 10.6 for Lion from Netkas.

It supports lots more features though...

 

Download source patch:

http://rapidshare.com/files/455493508/valv..._Patch.diff.zip

 

Download boot loader:

http://rapidshare.com/files/455493526/AnVAL_Lion.zip

AnVAL_Lion.zip

valv_AnVAL_Lion_Patch.diff.zip

Link to comment
Share on other sites

Sorry, didnt work for me. Installer complains all volumes are not GUID(GPT). All my MBT volumes are not selectable for install.

 

I updated my previous post.. I had removed all the checks EXCEPT the MBR (I guess that's what I get for trying to do that at 5AM lol).

Let me know if this one works.

 

The necessary key to remove was:

eraseOptionAvailable='true'

 

The change in this part of the file "distribution" in OSInstall.mpkg

Then save the file back into IOSInstall.pkg.

 

Can be installed manually or with the terminal ?

 

function installCheckScript(){

		try{
			var machineType = system.ioregistry.fromPath('IODeviceTree:/')['compatible'];

			if (typeof(isFNI) == "undefined" && typeof(hwbeInstallCheck) != "undefined") {
				if (!hwbeInstallCheck()) {
					return false;

 

 

return false>> return try

 

Thanks advance.

 

In my modded OSInstall I just edited those methods to always return true:

 

function checkSupportedMachine(machineType) {
return true;
}

function checkSupportedBootRom(machineType) {
return true;
}

function isSupportedPlatform(){
return true;
}

function installCheckScript(){		
return true;
}

function volCheckScript(){	
return true;
}

Link to comment
Share on other sites

I made an AnVAL (5.1.4) for Lion.

It boots like PC EFI 10.6 for Lion from Netkas.

It supports lots more features though...

 

Download source patch:

http://rapidshare.com/files/455493508/valv..._Patch.diff.zip

 

Download boot loader:

http://rapidshare.com/files/455493526/AnVAL_Lion.zip

Does this mean that the Chameleon source tree is officially dead now? I mean this is yours, correct?

 

http://forge.voodooprojects.org/p/chameleo...anches/andyvand

 

So if that's a no - yes then why don't you use it?

 

BTW: You don't need all this:

+extern void   __bzero(void * dst, size_t len);

+void __bzero(void * dst, size_t len)
+{
+    memset(dst, 0, len);
+}
+#endif
+
+#if 0

+void __bzero(void * dst, size_t len)
+{
+    asm volatile ( "xorl %%eax, %%eax    \n\t"
+         "cld                  \n\t"
+         "movl %%ecx, %%edx    \n\t"
+         "shrl $2, %%ecx       \n\t"
+         "rep; stosl           \n\t"
+         "movl %%edx, %%ecx    \n\t"
+         "andl $3, %%ecx       \n\t"
+         "rep; stosb           \n\t"
+       : 
+       : "c" (len), "D" (dst)
+       : "memory", "%eax" );
+}
+

At least not when you fix md5c.c like I did. And may I suggest to move the include (new boot.h) to boot.h?

Link to comment
Share on other sites

I made an AnVAL (5.1.4) for Lion.

It boots like PC EFI 10.6 for Lion from Netkas.

It supports lots more features though...

 

Download source patch:

http://rapidshare.com/files/455493508/valv..._Patch.diff.zip

 

Download boot loader:

http://rapidshare.com/files/455493526/AnVAL_Lion.zip

 

1 step closer to a booter, just need someone to point us to how to use AnV's work. I tried adding AnV's files to Chameleon3, but no go. I guess someone can do a let me google that for you. It sucks to not be able to find an answer, and not know where to search for it. But at least we have xpc and [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url].

Link to comment
Share on other sites

DHP Returns

Good to see you back

Yeah I am back (had a funny name for a while). Now with a 5.5GHz water cooled screaming eagle under my desk :)

 

 

1 step closer to a booter, just need someone to point us to how to use AnV's work. I tried adding AnV's files to Chameleon3, but no go. I guess someone can do a let me google that for you. It sucks to not be able to find an answer, and not know where to search for it. But at least we have xpc and [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url].

No disrespect, but anything using open source code and not being open, even after (broken) promises should not be used / supported at all.

 

Wait for say this instead. That is open source. That is the way to go.

 

Anyone else getting this error when logging into the Mac App Store?

LOL You didn't know? You don't read blog posts much?

 

Do not use the Apple store (et all) without having an Apple Mac developer account and running Lion on a real Mac, or you will be in for a surprise one day soon.

Link to comment
Share on other sites

I made an AnVAL (5.1.4) for Lion.

It boots like PC EFI 10.6 for Lion from Netkas.

It supports lots more features though...

 

Download source patch:

http://rapidshare.com/files/455493508/valv..._Patch.diff.zip

 

Download boot loader:

http://rapidshare.com/files/455493526/AnVAL_Lion.zip

 

Doesn't work here, I get "Can't perform kext scan" error. :)

Guess I will have to wait for the patched Atom/Celeron kernel :)

Link to comment
Share on other sites

Here's a modified OSInstall.mpkg for Developer Preview 2

 

Instructions for decompiling the mpkg for those who are curious:

http://www.insanelymac.com/forum/index.php?showtopic=181287

 

This is untested, as I can't get either XPC or [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] to work with my GA-P67A-UD3-B3 Sandy Bridge system even though Lion kernel apparently works for the new architecture (MBR Start!, then black screen). Those who did get a working Sandy Bridge install- Did you have to set the multiplier to 29 like in Snow Leopard?

 

EDIT: New version should work now

 

I was having the same problem with my X58A-UD3R, it was driving me crazy, i ended up going into the bios, and disabling eveything i don't need, sata3, usb3 etc. Finally, [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] and XPC booted past the MBR start! & the Black screen!

Link to comment
Share on other sites

I made an AnVAL (5.1.4) for Lion.

Good job Andy.. it's just booted my system here. :)

Even though I still get a df sometimes with it, same as I would with Netkas' modded RC3.

 

Yeah I am back (had a funny name for a while).

Good to see you have your name back.

Link to comment
Share on other sites

you have to see the anv post when he announced the anval bootload..

it is NOT a bootloader like chamaleon.... is an EFI method.. in EFI partition.. so if you format a disk in GPT.. the EFI is the one you have to work with.

 

so this fit lion because the behaviour is different..

Link to comment
Share on other sites

A lot different than DP1. First off, both [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] 15a and XPC .082.29 boot DP2 OK.

My ATI 5450 no longer works! At first I checked the new kexts that came with DP2, and they are different than those of DP1. I tried replacing, one by one, those that I thought would be relevant to my card.

But that did not work either. SO I changed all the kexts to DP1 kexts. It made no difference. No QE/CI. WHat's up with this? anyone have ideas?

Link to comment
Share on other sites

Do not use the Apple store (et all) without having an Apple Mac developer account and running Lion on a real Mac, or you will be in for a surprise one day soon.

 

 

Can you be be a little more specific?

Link to comment
Share on other sites

I made an AnVAL (5.1.4) for Lion.

It boots like PC EFI 10.6 for Lion from Netkas.

It supports lots more features though...

 

Download source patch:

http://rapidshare.com/files/455493508/valv..._Patch.diff.zip

 

Download boot loader:

http://rapidshare.com/files/455493526/AnVAL_Lion.zip

 

Can you post also the newest options / keys for that new AnVAL version ?

 

 

 

you have to see the anv post when he announced the anval bootload..

it is NOT a bootloader like chamaleon.... is an EFI method.. in EFI partition.. so if you format a disk in GPT.. the EFI is the one you have to work with.

 

so this fit lion because the behaviour is different..

For my knowledge ANV bootllaoder works with both MBR+GPT/GUID part types. I used anv on my MBR system and never used GUID/GPT.

Link to comment
Share on other sites

Yeah I am back (had a funny name for a while). Now with a 5.5GHz water cooled screaming eagle under my desk ;)

 

 

 

No disrespect, but anything using open source code and not being open, even after (broken) promises should not be used / supported at all.

 

Wait for say this instead. That is open source. That is the way to go.

 

 

LOL You didn't know? You don't read blog posts much?

 

Do not use the Apple store (et all) without having an Apple Mac developer account and running Lion on a real Mac, or you will be in for a surprise one day soon.

 

Thanks, Slice has helped me a lot. I get your point. I appreciate being pointed in the right direction, as I usually get insulted. Take care, johnm

Link to comment
Share on other sites

Here's a modified OSInstall.mpkg for Developer Preview 2

 

Instructions for decompiling the mpkg for those who are curious:

http://www.insanelymac.com/forum/index.php?showtopic=181287

 

This is untested, as I can't get either XPC or [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] to work with my GA-P67A-UD3-B3 Sandy Bridge system even though Lion kernel apparently works for the new architecture (MBR Start!, then black screen). Those who did get a working Sandy Bridge install- Did you have to set the multiplier to 29 like in Snow Leopard?

 

EDIT: New version should work now

 

Thank's a lot for posting. ;)

I could install preview 2 like preview 1 with iBoot4 on Zotac Geforce 9300 my DSDT is as is so not very performant.

No sleep and sound crunchy. Again Thank's

;)

Link to comment
Share on other sites

Can you be be a little more specific?

I'm not saying that Apple will go after you but I'm also not saying that this can't happen. More like that Apple is going to block certain individuals from using certain services. Stuff you and I may want to use (in the near future) but then it is POOF. Busted!

Link to comment
Share on other sites

That modded OSInstall.mpkg for Developer Preview 2 (fixed) also didnt allow install on MBR volumes.

I think with Lion something changed - i before also tried to modd the .mpkg and got same non working (MBR) result.

I know used an USB Stick (8 GB) GUID to install and cloned that afterwards to my MBR volume (with CCC).

Link to comment
Share on other sites

ok ive been following this topic, and have read the whole thing at least twice... i just want a bit of clarity here..

correct me if any of this is wrong...

1.) you can install dev 2 on a partitioned hard drive, but you must use a bootloader from a usb stick, the bootloader will not run from the hd..

2) you can install dev 2 on a usb stick and run it

3) the only bootlaoders that will work are chameleon rc3 with netkas (sp?) boot file, xpc, [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] (not tony's), or the new anval.

4) do not open app store (unless your a dev.)

5) 10.7 dev will run on my computer (see specs in signature)

6) in order to boot from usb stick, you must format it from windows (was dreading this cause if u see my signature i dont have windows installed, but i just realized as im typing this that i take care of 4 windows pc's in this house... duh...)

 

just wanna make sure i have all the facts i can find before i try, im sure theres quite a few people out there with my setup that would love to know it works and how... sorry if im annoying anyone...

Link to comment
Share on other sites

ok ive been following this topic, and have read the whole thing at least twice... i just want a bit of clarity here..

correct me if any of this is wrong...

1.) you can install dev 2 on a partitioned hard drive, but you must use a bootloader from a usb stick, the bootloader will not run from the hd..

2) you can install dev 2 on a usb stick and run it

3) the only bootlaoders that will work are chameleon rc3 with netkas (sp?) boot file, xpc, [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] (not tony's), or the new anval.

4) do not open app store (unless your a dev.)

5) 10.7 dev will run on my computer (see specs in signature)

6) in order to boot from usb stick, you must format it from windows (was dreading this cause if u see my signature i dont have windows installed, but i just realized as im typing this that i take care of 4 windows pc's in this house... duh...)

 

just wanna make sure i have all the facts i can find before i try, im sure theres quite a few people out there with my setup that would love to know it works and how... sorry if im annoying anyone...

 

you can use a MBR harddrive partition in fat for the bootloader except for Chameleon/boot file (GUID) ... and you can prepare harddrive/stick from OSX with "XPC Boot Prepare Tool" ...

Link to comment
Share on other sites

you can use a MBR harddrive partition in fat for the bootloader except for Chameleon/boot file (GUID) ... and you can prepare harddrive/stick from OSX with "XPC Boot Prepare Tool" ...

 

ok cool ty very much, i hate booting from a usb stick, and im formatted to guid, and its a laptop so i have only one drive... think im stuck with a usb stick or i wont be able to boot 10.6.7.. its cool, im gonna try and get another drive, and do everything with lion on its own drive and usb stick, that way i wont take the chance of not being able to boot anything..

 

im very curious to know if my dsdt is going to work for the x3100 card... it runs on factory kexts, but i was a victim or the "sleep display" problem, (fixed in the dsdt, hence my fear :()so im hoping it will work right... :) anyone know how the performance of lion is with this video card? i play cod 4 regularly (doesnt play "amazing" but good enough;)), so im thinking it will be ok :D

Link to comment
Share on other sites

Does this mean that the Chameleon source tree is officially dead now? I mean this is yours, correct?

 

http://forge.voodooprojects.org/p/chameleo...anches/andyvand

 

So if that's a no - yes then why don't you use it?

 

BTW: You don't need all this:

+extern void   __bzero(void * dst, size_t len);

+void __bzero(void * dst, size_t len)
+{
+    memset(dst, 0, len);
+}
+#endif
+
+#if 0

+void __bzero(void * dst, size_t len)
+{
+    asm volatile ( "xorl %%eax, %%eax    \n\t"
+         "cld                  \n\t"
+         "movl %%ecx, %%edx    \n\t"
+         "shrl $2, %%ecx       \n\t"
+         "rep; stosl           \n\t"
+         "movl %%edx, %%ecx    \n\t"
+         "andl $3, %%ecx       \n\t"
+         "rep; stosb           \n\t"
+       : 
+       : "c" (len), "D" (dst)
+       : "memory", "%eax" );
+}
+

At least not when you fix md5c.c like I did. And may I suggest to move the include (new boot.h) to boot.h?

The original source code came from valv's branch over at the Chameleon SVN server.

I modified it and will take your tips into consideration....

Thanks for the info...

 

Doesn't work here, I get "Can't perform kext scan" error. ;)

Guess I will have to wait for the patched Atom/Celeron kernel ;)

If you need a patched Atom/Celeron kernel for DP2, upload the mach_kernel and kernelcache files for me.

I'll modify them the same way as I did the DP1 kernel.

Next I'll upload the results...

Link to comment
Share on other sites

 Share

×
×
  • Create New...