Help - Search - Members - Calendar
Full Version: Lan IOMACAddress to IOPlatformUUID String
InsanelyMac Forum > OSx86 Project > New Releases and Updates
np_
for anyone who need real IOPlatformUUID string
i just created smoll app does this for you, using your IOMacAddress ( if present )
just copy PlatformUUID and paste ( you know where )

have a fun.

ps: there is no "license" for this app means you are allowed to sell , re-package , distribute, claim that you wrote it - anything you like

np_

Click to view attachment

update ( forget to remove a test inside, sorry now is ok )
Konami®
Does this file allow you to have your UUID in the system profile info? and where do I can paste it?
np_
QUOTE (Konami® @ Oct 2 2009, 09:49 AM) *
Does this file allow you to have your UUID in the system profile info? and where do I can paste it?



is for UUID (system profile) = IOPlatfromUUID

and if i remember correct there was some kext called "UUID.kext" where you can add this into plist (UUID-key)

Konami®
QUOTE (np_ @ Oct 2 2009, 09:02 AM) *
is for UUID (system profile) = IOPlatfromUUID

and if i remember correct there was some kext called "UUID.kext" where you can add this into plist (UUID-key)


Where I can find this "IOPlatformUUID"?
np_
QUOTE (Konami® @ Oct 2 2009, 10:11 AM) *
Where I can find this "IOPlatformUUID"?


for you - use google

for rest - they can use application smile.gif

Konami®
QUOTE (np_ @ Oct 2 2009, 09:20 AM) *
for you - use google

for rest - they can use application smile.gif


I understand that the IOPlatformUUID is related to system profile, I tested your file and using UUID.kext installed in the extensions folder does not do anything to system profile. I am doing this right?
THe KiNG
QUOTE (Konami® @ Oct 2 2009, 04:32 PM) *
I understand that the IOPlatformUUID is related to system profile, I tested your file and using UUID.kext installed in the extensions folder does not do anything to system profile. I am doing this right?

This code apply to you perfect:
CODE
Name (BRN, Zero)
Name (GGL, One)
Method (N00B, 0, NotSerialized)
{
If (LNotEqual (BRN, Zero))
{
Return (GGL)
}
Else
{
Return (Zero)
}
}

Method (RTFM, 0, NotSerialized)
{
If (LGreater (BRN, Zero))
{
Return (One)
}
Else
{
Return (Zero)
}
}

Method (STFU, 0, NotSerialized)
{
If (LEqual (BRN, Zero))
{
Return (One)
}
Else
{
Return (Zero)
}
}


In case you still don't get what does that code:
BRN=brain
GGL=google

Lemme know if I have to explain the rest of the code...
BiTRiP

LOL!
Konami®
Guys, I have to confess that I am not a guy with a lot of knowledge in the hackintosh arena, but if someone can tell me in here or thru PM how to configure all these thing related to UUID, I will appreciate it.
KariNeko
Why the generated IOPlatformUUID doesn't contain the MAC address mentioned on IOMacAddress? noexpression.gif
For an iMac I have the Hardware UUID is 00000000-0000-1000-8000-xxxxxxxxxxxx, where xxxxxxxxxxxx is the corresponding MAC address, so I was setting up mine in the same way.
np_
QUOTE (KariNeko @ Oct 2 2009, 09:40 PM) *
Why the generated IOPlatformUUID doesn't contain the MAC address mentioned on IOMacAddress? noexpression.gif
For an iMac I have the Hardware UUID is 00000000-0000-1000-8000-xxxxxxxxxxxx, where xxxxxxxxxxxx is the corresponding MAC address, so I was setting up mine in the same way.



is generated using your IOMacaddress
no idea on you mac book but that is correct way


"platform-uuid"....
Arial
QUOTE (Konami® @ Oct 2 2009, 08:32 PM) *
I understand that the IOPlatformUUID is related to system profile, I tested your file and using UUID.kext installed in the extensions folder does not do anything to system profile. I am doing this right?

try PlatformUUID.kext instead of UUID.kext

or you can edit manually /Extra/Extensions/PlatformUUID.kext/Contents/Info.plist
CODE
            <key>PlatformUUID</key>
            <string>00000000-0000-1000-8000-xxxxxxxxxxxx</string>

xxxxxxxxxxxx = your en0 MAC Address.

[edit]

sorry I was wrong..
I just tried MacToPlatformUUID.app. thanks np_



edit smbios.plist
CODE
<key>SMUUID</key>
<string>generated_IOPlatformUUID</string>


edit
/Extra/Extensions/PlatformUUID.kext/Contents/Info.plist
CODE
<key>PlatformUUID</key>
<string>generated_IOPlatformUUID</string>

or
/Extra/Extensions/UUID.kext/Contents/Info.plist
CODE
<key>UUID-key</key>
<string>generated_IOPlatformUUID</string>

use Kext Utility to rebuild /Extra/Extensions.mkext

it should be fine under SL.
but if you dont see "Hardware UUID" in Hardware Profile under Leo, check your
/System/Library/SystemProfiler/SPiPlatformReporter.spreporter
/System/Library/SystemProfiler/SPPlatformReporter.spreporter
KariNeko
Thanks np_, I read that there are two styles of HW platform UUID on real macs:
The old one that was like 00000000-0000-1000-8000-here_goes_mac_address.
The new one that has all characters set.

Can you explain how is the new one generated?
Konami®
QUOTE (Arial @ Oct 3 2009, 07:12 AM) *
try PlatformUUID.kext instead of UUID.kext

or you can edit manually /Extra/Extensions/PlatformUUID.kext/Contents/Info.plist
CODE
            <key>PlatformUUID</key>
            <string>00000000-0000-1000-8000-xxxxxxxxxxxx</string>

xxxxxxxxxxxx = your en0 MAC Address.

[edit]

sorry I was wrong..
I just tried MacToPlatformUUID.app. thanks np_



edit smbios.plist
CODE
<key>SMUUID</key>
<string>generated_IOPlatformUUID</string>


edit
/Extra/Extensions/PlatformUUID.kext/Contents/Info.plist
CODE
<key>PlatformUUID</key>
<string>generated_IOPlatformUUID</string>

or
/Extra/Extensions/UUID.kext/Contents/Info.plist
CODE
<key>UUID-key</key>
<string>generated_IOPlatformUUID</string>

use Kext Utility to rebuild /Extra/Extensions.mkext

it should be fine under SL.
but if you dont see "Hardware UUID" in Hardware Profile under Leo, check your
/System/Library/SystemProfiler/SPiPlatformReporter.spreporter
/System/Library/SystemProfiler/SPPlatformReporter.spreporter


Arial, good tutorial but it is not working under Leopard 10.5.8, I tried using:

CODE
<key>PlatformUUID</key>
<string>generated_IOPlatformUUID</string>


and

CODE
<key>PlatformUUID</key>
<string>D70D9190-EABD-2364-7024-0000000A0DF0</string>


and didn't work with either one with smbios.plist in the extra folder

What I am doing wrong here? BTW i am using UUID.kext
cparm
hi np_,

is there possible security issues by using UUID version 1 ?
np_
QUOTE (cparm @ Oct 3 2009, 10:22 AM) *
hi np_,

is there possible security issues by using UUID version 1 ?


there is zero security "risk", is just good your UUID to not match someone else, or better locked to your iomacaddress

KariNeko
QUOTE
Thanks np_, I read that there are two styles of HW platform UUID on real macs:
The old one that was like 00000000-0000-1000-8000-here_goes_mac_address.
The new one that has all characters set.

Can you explain how is the new one generated?


Anyone?
tbar
Here's the link to the Wiki if that will help.


http://en.wikipedia.org/wiki/Universally_U...8MAC_address.29
masterlen
I get this error!
Click to view attachment


By the way I have a Apple usb ethernet Adapter!
Arial
QUOTE (Konami® @ Oct 3 2009, 07:51 PM) *
Arial, good tutorial but it is not working under Leopard 10.5.8, I tried using:

CODE
<key>PlatformUUID</key>
<string>generated_IOPlatformUUID</string>

and
CODE
<key>PlatformUUID</key>
<string>D70D9190-EABD-2364-7024-0000000A0DF0</string>


and didn't work with either one with smbios.plist in the extra folder

What I am doing wrong here? BTW i am using UUID.kext

UUID.kext use <key>UUID-key</key>. recheck my post.
If you want to use PlatformUUID.kext, grab it @ http://www.superhai.com/xdarwin.html

to get "Hardware UUID" in h/w SysProf Leo:
- backup "SPiPlatformReporter.spreporter" & "SPPlatformReporter.spreporter"
- del "SPiPlatformReporter.spreporter"
- replace "SPPlatformReporter.spreporter" with this one http://www.mediafire.com/?umi3n0r5wme



FYI.. this SysProf merely cosmetic.
If installed *UUID.kext means your Mac already have an h/w UUID although it is not printed on the SysProf.
Any change UUID string then iTunes will prompt EULA again like the first time launch, and TimeMachine icon will shown again in the menu bar if it was previously hidden.

So, it can not say not working.
MacToPlatformUUID.app is one of method to get a unique UUID.
You can also generate UUID string with command: uuidgen
~cmiiw~
Konami®
Thanks a lot Arial!

Tested, working like a charm! thumbsup_anim.gif
max22
QUOTE (masterlen @ Oct 4 2009, 08:40 AM) *
I get this error!
Click to view attachment


By the way I have a Apple usb ethernet Adapter!
same here, is there a fix?
donkey
Thanks for this util.

I'm not using UUID, or PlatformUUID kext. I am however using chameleon 2 rc3 in conjunction with a smbios.plist. I added the lan to uuid string in the SMUUID field. Originally, the SMUUID string was the UUID for my boot partition. I also see another UUID option which looks generic in smbios.plist "SMBoarduuid"

So the question is, can I add the lan to uuid generated string in smbios.plist or do I have to use uuid/platformuuid.kext?

Last but not least, I was checking my logs, and I saw the following in the Console>asl.log:
CODE
2009-10-17 15:23:50.446 socketfilterhelper[41:107] _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
2009-10-17 15:23:50.679 socketfilterfw[135:107] _CFGetHostUUIDString: unable to determine UUID for host. Error: 35


Any suggestions or help is welcome. thank you!
BarboneNet
QUOTE (masterlen @ Oct 4 2009, 08:40 AM) *
I get this error!
Click to view attachment


By the way I have a Apple usb ethernet Adapter!

i have the same error, the same code, and the same Apple USB Adapter!
donkey
QUOTE (donkey @ Oct 18 2009, 12:27 AM) *
Thanks for this util.

I'm not using UUID, or PlatformUUID kext. I am however using chameleon 2 rc3 in conjunction with a smbios.plist. I added the lan to uuid string in the SMUUID field. Originally, the SMUUID string was the UUID for my boot partition. I also see another UUID option which looks generic in smbios.plist "SMBoarduuid"

So the question is, can I add the lan to uuid generated string in smbios.plist or do I have to use uuid/platformuuid.kext?

Last but not least, I was checking my logs, and I saw the following in the Console>asl.log:
CODE
2009-10-17 15:23:50.446 socketfilterhelper[41:107] _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
2009-10-17 15:23:50.679 socketfilterfw[135:107] _CFGetHostUUIDString: unable to determine UUID for host. Error: 35


Any suggestions or help is welcome. thank you!


First, thanks for this util, it helped to fix the errors... smile.gif

Figured it out...
This will also show up in alf.log and system.log:
CODE
Oct 21 12:38:38 localhost bootlog[39]: BOOT_TIME: 1256153908 0
Oct 21 12:38:29 localhost com.apple.launchd[1]: *** launchd[1] has started up. ***
Oct 21 12:38:51 localhost BBDaemon[44]: _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
Oct 21 12:38:54 localhost configd[15]: _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
Oct 21 12:38:54 localhost diskarbitrationd[14]: _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
Oct 21 12:38:54 localhost securityd[24]: _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
Oct 21 12:38:54 localhost DirectoryService[36]: _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
Oct 21 12:38:54 localhost coreservicesd[52]: _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
Oct 21 12:38:54 localhost mDNSResponder[27]: mDNSResponder mDNSResponder-212.1 (Jul 24 2009 22:34:12) starting
Oct 21 12:38:54 localhost mDNSResponder[27]: _CFGetHostUUIDString: unable to determine UUID for host. Error: 35


How to fix it?
1) Download the two files, the one by the developer here and UUID.kext
2) Run MacToPlatformUUID, copy the UUID
2) Right click on UUID.kext, open info.plist
3) Paste the copied UUID into XXXX... area
4) Place UUID.kext in /Extra/Extensions/
5) Repair Permissions

Done.
talisman
QUOTE (np_ @ Oct 2 2009, 08:13 AM) *
for anyone who need real IOPlatformUUID string
i just created smoll app does this for you, using your IOMacAddress ( if present )


The string that your app generates is different from the UUID of the boot device. Apologies for my ignorance, but

a. Should it be so?
b. Why would one prefer this UUID over the boot device UUID or are they equivalent.
c. If I use a kext to inject the UUID, how is it different from using the smbios.plist to inject it?
d. In Leopard, the UUID contained the macid for the ethernet, is it necessary to do the same in SL and, if so, how can it be done

Thank you in advance.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.