Voodooprojects

Chameleon => General Discussion => Topic started by: d00d on December 12, 2009, 03:15:52 AM

Title: RC4: Hardware UUID
Post by: d00d 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.
Title: Re: C2RC4 Hardware UUID
Post by: digital_dreamer 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. (http://www.insanelymac.com/forum/index.php?showtopic=137112&st=120&p=1249826&#entry1249826)

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.
Title: RC4: Hardware UUID
Post by: Gringo Vermelho 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.

Title: Re: RC4: Hardware UUID
Post by: rocksteady 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
Title: Re: RC4: Hardware UUID
Post by: Blackosx 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.
Title: Re: RC4: Hardware UUID
Post by: Gringo Vermelho 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.
Title: Re: RC4: Hardware UUID
Post by: Blackosx 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
Title: Re: RC4: Hardware UUID
Post by: Gringo Vermelho on December 17, 2009, 03:17:08 PM
I thought that Gringo was in a (semi-)humorous mood.

Always am ;D
Title: Re: RC4: Hardware UUID
Post by: tdtran1025 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.
Title: Re: RC4: Hardware UUID
Post by: Gringo Vermelho on December 18, 2009, 02:37:38 AM
Read reply #4 again.
Title: Re: RC4: Hardware UUID
Post by: hank on December 18, 2009, 09:25:42 AM
zef used stickpin pc-efi system-id mod, or not ?
Title: Re: RC4: Hardware UUID
Post by: Blackosx 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'.
Title: Re: RC4: Hardware UUID
Post by: Kabyl on December 18, 2009, 02:25:11 PM
This is why I didn't want to apply it.
http://forum.voodooprojects.org/index.php/topic,250.msg3129.html#msg3129
Title: Re: RC4: Hardware UUID
Post by: rocksteady 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
Title: Re: RC4: Hardware UUID
Post by: d00d 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.
Title: Re: RC4: Hardware UUID
Post by: hank on December 20, 2009, 11:01:18 AM
try this
ioreg -l -p IODeviceTree | grep system-id
on all my computers the same identifier, it is probably not very good. In modification of Stickpin works well.
Please see link http://www.applelife.ru/topic/20869-%d0%b1%d0%be%d0%bb%d1%8c%d1%88%d0%b5-%d0%bd%d0%b5%d1%82-%d0%bd%d0%b5%d0%b8%d0%b7%d0%b2%d0%b5%d1%81%d1%82%d0%bd%d1%8b%d1%85-cpu/page__view__findpost__p__162043
smbios.plist
<key>system-id</key>
<string>0102030405060708090a0b0c0d0e0f10</string>
Title: Re: RC4: Hardware UUID
Post by: d00d on December 20, 2009, 04:04:03 PM
Apple hardware doesn't seem to have a system-id;
[gigabyte:~] me% ioreg -l -p IODeviceTree | grep '"system-id"'
    | |     "system-id" = <0102030405060708090a0b0c0d0e0f10>
[gigabyte:~] me% ssh apple
Last login: Sun Dec 20 09:59:03 2009 from gigabyte.example.com
[apple:~] me% ioreg -l -p IODeviceTree | grep '"system-id"'
[apple:~] me%
Title: Re: RC4: Hardware UUID
Post by: rocksteady on December 20, 2009, 11:18:55 PM
Apple hardware doesn't seem to have a system-id;
...
[apple:~] me% ioreg -l -p IODeviceTree | grep '"system-id"'
[apple:~] me%

No way

All my Macs (5 @home and a small army (read hundreds) @work) return a systemID (and none is full of 0s)
Title: Re: RC4: Hardware UUID
Post by: d00d on December 21, 2009, 01:34:31 AM
Show us the system-id and product-name from your Apple hardware.
There are differences between Apple hardware, even within a particular family line.
[apple:~] me% ioreg -l -p IODeviceTree | grep '"system-id"'
[apple:~] me% ioreg -l -p IODeviceTree | grep product-name
    |   "product-name" = <"MacPro1,1">
[apple:~] me%
Title: Re: RC4: Hardware UUID
Post by: rocksteady on December 21, 2009, 02:46:48 AM
Yep I know, but:

-I wasn't born yesterday and I won't start posting UUIDs left+right in public fora
-I don't see why people get so excited about UUIDs as the ultimate Mac-like thing
-I still suggest to stay cool, think twice and refer to official/original sources.

Nothing personal in my replies, just remember where all previous restless attempts ended up in the past.
Title: Re: RC4: Hardware UUID
Post by: d00d on December 21, 2009, 04:56:54 AM
I assume from your response that you accept that I'm being truthful when I write that Apple hardware MacPro1,1 doesn't have a system-id (and it's IOPlatformUUID starts with zeros);
[apple:~] me% ioreg -l -p IODeviceTree | grep IOPlatformUUID
    |   "IOPlatformUUID" = "00000000-0000-1000-8000-0017F25951A8"
[apple:~] me%

The system-id is a construct of IntVar's modification of David Elliott's fake_efi.c, not of Apple's code, and IOPlatformUUID is derived from en0's MAC on some Apple hardware, and from something like uuidgen on other Apple hardware (?=alphanumeric);
MacPro1,1: 00000000-0000-1000-8000-???????????? (last 12 is en0's MAC)
MacPro2,1: 00000000-0000-1000-8000-???????????? (last 12 is en0's MAC)
MacPro3,1: ????????-????-????-????-???????????? (?)
MacPro4,1: ????????-????-????-????-???????????? (?)
Title: Re: RC4: Hardware UUID
Post by: rocksteady on December 21, 2009, 05:13:35 AM
Exactly, I don't mean to argue with you or anyone else about truthfulness or the lack of. I'm sure you understand that headaches may brake loose from the clueless or the smart-ass who will re-package stolen work/efforts/info with a shiny LED and a price tag.
Title: Re: RC4: Hardware UUID
Post by: tdtran1025 on December 22, 2009, 02:39:08 AM
To be able to watch Netflix streaming is big enough of deal already, not to mention iTunes verification. I hope they will fix this soon.
Title: Re: RC4: Hardware UUID
Post by: digital_dreamer on December 29, 2009, 10:01:13 PM
Yep I know, but:

-I wasn't born yesterday and I won't start posting UUIDs left+right in public fora
-I don't see why people get so excited about UUIDs as the ultimate Mac-like thing
-I still suggest to stay cool, think twice and refer to official/original sources.

Nothing personal in my replies, just remember where all previous restless attempts ended up in the past.

Point taken!  :)

But, just to be fair, if these issues were not brought up, developers and the powers that be would not deem them of sufficient priority to their users. Otherwise, how would they know it needs to be addressed?
Secondly, studying how the system works in Apple hardware better equips us in our goal to achieve better compatibility. This isn't a blind let's-be-more-Mac-like just for the sake of it.

MAJ
Title: Re: RC4: Hardware UUID
Post by: rocksteady on December 30, 2009, 01:09:02 AM
a) Kudos for your contributions MAJ

b) I'm sharing your thoughts, some of us may work under NDAs, feed a family etc. There's more to contribution than meets the eye :)

c) Most people just want to "solve their problem" be it iTunes or the latest Flash toy that displays dancing unicorns in their browser.  Kinda forgetting that they're running a hack and start throwing buzzwords left+right "Yo peepz, this broke my vanilla install! What's wrong? KEXT, MKEXT, DSDT, UUID, EFI? My Themes broke sleep, heeeeelp!?". Gotta focus on stuff/feedback/info that makes sense to move on.

Happy New Year to all of you & your families
Title: Re: RC4: Hardware UUID
Post by: iztech on January 03, 2010, 03:35:17 AM
So I have seen it listed as
<key>DeviceID</key>
<key>SystemID</key>
<key>system-id</key>

also the UUID is listed with dashes or without dashes in the <string>?

I have come across 3 different UUID, all of them not matching the one entered. One even matches the standard superhai platformUUID.

Can someone clear this up so we know what to use.