overdue-scratch

Author Topic: RC4: Hardware UUID  (Read 15013 times)

0 Members and 1 Guest are viewing this topic.

d00d

  • Observer
  • Posts: 17
RC4: Hardware UUID
« on: December 12, 2009, 03:15:52 AM »
C2RC4 gives me `Hardware UUID: DF557FA2-C304-556B-A442-960AB835CB5D' on two different machines, but in fake_efi.c there's;
static EFI_CHAR8 const SYSTEM_ID[] = {0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,0x10};
How would I modify the source to give me something like `Hardware UUID: 00000000-0000-1000-8000-001234567890'?
Is there an smbios.plist override that I can use to do the same?
Thanks.
10.7.0:64:C2RC5:MacPro5,1:270-WS-W555-A1:A54:2xX5650@3.7GHz:GTX285:33066
10.6.4:64:C2RC5:MacPro4,1:GA-EX58-UD5:F12:W3520@4.1GHz:GTX285:14725
10.6.8:32:EFI:MacPro1,1:MA356LL/A:1.7f10:2x5150@2.66GHz:7300GT
10.7.0:32:C2RC5:MacBook3,1:T61:2.26:T7300@2GHz:X3100

digital_dreamer

  • Observer
  • Posts: 11
Re: C2RC4 Hardware UUID
« Reply #1 on: December 12, 2009, 08:38:34 AM »
I wouldn't have your answer, d00d.  :P

But, I would also like to know how this Platform UUID is being generated or arrived at. Will it always be the same on the same hardware (based on MAC address, I assume?).

MAJ

Edit: Okay, I just saw IntVar's post.

We definitely need a way to override, as most of us have a working system with a full ByHost preference folder already set with one working UUID. I can probably create a script to replace all of them with "new" one, but some apps are going to lose their preferences. And, other apps, like iTunes, should have the existing account de-authorized prior to this.
I do like this setup, as I hate trying to manage the UUID, making sure it remains the same, especially when users install a new PlatformUUID.kext that has a different string.
« Last Edit: December 12, 2009, 08:57:06 AM by digital_dreamer »

Gringo Vermelho

  • Forum Moderator
  • Posts: 611
  • The gray monster energy hat
RC4: Hardware UUID
« Reply #2 on: December 16, 2009, 06:36:00 PM »
It looks like everyone who has installed RC4 now has the same hardware UUID:

DF557FA2-C304-556B-A442-960AB835CB5D

Is there a way around this, I mean, is there a way to override this with a "genuine" Hardware UUID derived from the primary NIC's MAC address like on a real Mac?

I suppose there's no way for Chameleon to do that by itself, ie read the MAC address on the first run and then set the UUID afterwards?

I don't know if it really matters that much but it seems to me that I'm now waving a huge happy flag that says "I'm a Hackintosh" to any app who wants to read the Hardware UUID.

« Last Edit: December 16, 2009, 08:41:37 PM by Gringo Vermelho »
10.9.5 - ASUS P8Z77-V Pro - i5 3570K - GTX 660 - Chameleon 2.3 svn-r2xxx
How to...
Install Chameleon: http://forum.voodooprojects.org/index.php/topic,649
Make your own Chameleon boot CD: http://forum.voodooprojects.org/index.php/topic,484.msg2131.html#msg2131

rocksteady

  • Global Moderator
  • Posts: 233
  • Root Down
Re: RC4: Hardware UUID
« Reply #3 on: December 16, 2009, 07:33:13 PM »
like all hacks have the same nickname

hold on tight overrides are coming (knowing your research skills i'm sure you'll find 'em) :)

Update:
↓No problem Maestro :)

I thought that Gringo was in a (semi-)humorous mood. I bet this thread will get popular so thanks for redirecting a zillion of future identical questions till we come up with an official overriding solution
« Last Edit: December 16, 2009, 09:48:44 PM by rocksteady »
Stop bitching, start coding or documenting or both..

P5Q-EM : Q6600 : 8GB RAM : 8800GT : SATA Drives

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: RC4: Hardware UUID
« Reply #4 on: December 16, 2009, 08:45:41 PM »
....it seems to me that I'm now waving a huge happy flag that says "I'm a Hackintosh" to any app who wants to read the Hardware UUID.
I feel that too, so I have just tried rekursor's modified RC4 boot file (you can find it on insanely in the 'Chameleon RC4 is out!' thread), which gets round this issue. It's works just fine.

To use it add

<key>SystemID</key>
<string>Insert your wanted UUID here</string>

to your com.apple.Boot.plist

Note to mods: If it's not appropriate to post this here then please remove.
« Last Edit: December 16, 2009, 09:11:27 PM by Blackosx »
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

Gringo Vermelho

  • Forum Moderator
  • Posts: 611
  • The gray monster energy hat
Re: RC4: Hardware UUID
« Reply #5 on: December 16, 2009, 09:54:35 PM »
That did the trick.

Rekursor's patch seems to have received the Voodoo Seal of Approval from zef too so that's good.

Thanks for the heads-up (and for not commenting on my research skills lol)

It's not perfect (as in how-it-works-on-a-real-mac-perfect) yet though but IMO it's definitely better than everyone getting the same ID.
10.9.5 - ASUS P8Z77-V Pro - i5 3570K - GTX 660 - Chameleon 2.3 svn-r2xxx
How to...
Install Chameleon: http://forum.voodooprojects.org/index.php/topic,649
Make your own Chameleon boot CD: http://forum.voodooprojects.org/index.php/topic,484.msg2131.html#msg2131

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: RC4: Hardware UUID
« Reply #6 on: December 17, 2009, 10:42:07 AM »
Update:
↓No problem Maestro :)

I thought that Gringo was in a (semi-)humorous mood. I bet this thread will get popular so thanks for redirecting a zillion of future identical questions till we come up with an official overriding solution
Thanks for confirming that rocksteady. I just wanted to make sure  ;)


Rekursor's patch seems to have received the Voodoo Seal of Approval from zef too so that's good.

Thanks for the heads-up (and for not commenting on my research skills lol)
I have seen Zef's comments now, well spotted.
No probs for the heads up, and you would have found it sooner or later  ;D
« Last Edit: December 17, 2009, 10:44:02 AM by Blackosx »
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

Gringo Vermelho

  • Forum Moderator
  • Posts: 611
  • The gray monster energy hat
Re: RC4: Hardware UUID
« Reply #7 on: December 17, 2009, 03:17:08 PM »
I thought that Gringo was in a (semi-)humorous mood.

Always am ;D
« Last Edit: December 17, 2009, 03:20:21 PM by Gringo Vermelho »
10.9.5 - ASUS P8Z77-V Pro - i5 3570K - GTX 660 - Chameleon 2.3 svn-r2xxx
How to...
Install Chameleon: http://forum.voodooprojects.org/index.php/topic,649
Make your own Chameleon boot CD: http://forum.voodooprojects.org/index.php/topic,484.msg2131.html#msg2131

tdtran1025

  • Entrant
  • Posts: 8
Re: RC4: Hardware UUID
« Reply #8 on: December 18, 2009, 01:22:13 AM »
Sorry guys,
You have lost me for the last 3 posts. What made it work? Please say it again. I have been trying to get this to work ever since having upgraded.

Gringo Vermelho

  • Forum Moderator
  • Posts: 611
  • The gray monster energy hat
Re: RC4: Hardware UUID
« Reply #9 on: December 18, 2009, 02:37:38 AM »
Read reply #4 again.
10.9.5 - ASUS P8Z77-V Pro - i5 3570K - GTX 660 - Chameleon 2.3 svn-r2xxx
How to...
Install Chameleon: http://forum.voodooprojects.org/index.php/topic,649
Make your own Chameleon boot CD: http://forum.voodooprojects.org/index.php/topic,484.msg2131.html#msg2131

hank

  • Entrant
  • Posts: 4
Re: RC4: Hardware UUID
« Reply #10 on: December 18, 2009, 09:25:42 AM »
zef used stickpin pc-efi system-id mod, or not ?

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: RC4: Hardware UUID
« Reply #11 on: December 18, 2009, 11:27:48 AM »
Hi hnak

From reading the Changelog highlight from http://chameleon.osx86.hu/articles/chameleon-20-rc4-is-out it quotes
'Applied IntVar’s system-id patch'.
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

Kabyl

  • VoodooLabs
  • Posts: 158
Re: RC4: Hardware UUID
« Reply #12 on: December 18, 2009, 02:25:11 PM »

rocksteady

  • Global Moderator
  • Posts: 233
  • Root Down
Re: RC4: Hardware UUID
« Reply #13 on: December 18, 2009, 04:54:34 PM »
Kabyl beat me to it, I was about to post a link to that thread.

Joking aside guys, lets put burning desires to rest: I think that oversimplifying or mentioning "easy mac-like" options will only confuse newcomers (to say the least):

The UUID thread(s) took me almost a week to clean up since everyone was talking about UUIDs (albeit everyone had a different idea about it), confusing networking, iTunes, SMBIOS, EFI/NVRAM and whatnot errors with them.

Newbie Update: speak of the devil...

The thread @ insanely mentioned above that contains rekursor's override for RC4, is getting a spaghetiffication of ideas + spam about "REAL" Macs, MasOS X Versions, UUIDs and a barber named Juju. Prime example of the the FAQ's part "use/follow whatever you like, just go to the same place/person for support/questions"

Everyone is welcome to check official documentation about what UUID is, which UUID scheme Apple is using, Kabyl's thoughts on the reply referenced above and the zillion of ways to tell apart a Mac from a Hack.

For those obsessed with "fooling" Apple because they can price a bag of hardware that's faster, bigger, better & cheaper too than Apple's machines: Getting a "REAL" UUID for your Hack won't fool anyone who has a clue.

No more speculation please.

To the rest of the Gents sharing bona fide efforts/info/knowledge: keep the fun alive + kickin'

Cheers
« Last Edit: December 20, 2009, 12:13:03 AM by rocksteady »
Stop bitching, start coding or documenting or both..

P5Q-EM : Q6600 : 8GB RAM : 8800GT : SATA Drives

d00d

  • Observer
  • Posts: 17
Re: RC4: Hardware UUID
« Reply #14 on: December 18, 2009, 08:58:08 PM »
Could we get rekursor's PciRootID and SystemID changes rolled up into a RC5 release?
I like to see `r#' instead of `r' at POST. :)
Doing away with the need for PlatformUUID.kext, and being able to specify a non default one in com.apple.Boot.plist seems sane to me.
10.7.0:64:C2RC5:MacPro5,1:270-WS-W555-A1:A54:2xX5650@3.7GHz:GTX285:33066
10.6.4:64:C2RC5:MacPro4,1:GA-EX58-UD5:F12:W3520@4.1GHz:GTX285:14725
10.6.8:32:EFI:MacPro1,1:MA356LL/A:1.7f10:2x5150@2.66GHz:7300GT
10.7.0:32:C2RC5:MacBook3,1:T61:2.26:T7300@2GHz:X3100