Jump to content

Lan IOMACAddress to IOPlatformUUID String


np_
 Share

32 posts in this topic

Recommended Posts

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_

 

MacToPlatformUUID.zip

 

update ( forget to remove a test inside, sorry now is ok )

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

for you - use google

 

for rest - they can use application :(

 

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?

Link to comment
Share on other sites

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:

        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...

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Why the generated IOPlatformUUID doesn't contain the MAC address mentioned on IOMacAddress? :P

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.

Link to comment
Share on other sites

Why the generated IOPlatformUUID doesn't contain the MAC address mentioned on IOMacAddress? :P

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"....

Link to comment
Share on other sites

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

			<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_

 

MacToPlatformUUID.png

 

edit smbios.plist

<key>SMUUID</key>
<string>generated_IOPlatformUUID</string>

 

edit

/Extra/Extensions/PlatformUUID.kext/Contents/Info.plist

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

or

/Extra/Extensions/UUID.kext/Contents/Info.plist

<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

  • Like 1
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

try PlatformUUID.kext instead of UUID.kext

 

or you can edit manually /Extra/Extensions/PlatformUUID.kext/Contents/Info.plist

			<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_

 

MacToPlatformUUID.png

 

edit smbios.plist

<key>SMUUID</key>
<string>generated_IOPlatformUUID</string>

 

edit

/Extra/Extensions/PlatformUUID.kext/Contents/Info.plist

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

or

/Extra/Extensions/UUID.kext/Contents/Info.plist

<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:

 

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

 

and

 

<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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

 

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

and

<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

 

2r280nm.png

 

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~

Link to comment
Share on other sites

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:

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!

Link to comment
Share on other sites

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:

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... :D

 

Figured it out...

This will also show up in alf.log and system.log:

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.

Link to comment
Share on other sites

 Share

×
×
  • Create New...