Jump to content

[How To] Enable "Find My Mac" with a FAKE Recovery HD *UPDATED*


PippoX0
 Share

49 posts in this topic

Recommended Posts

Hi,

I have made some experiments on "Find My Mac" and i found some interesting results:

 

1) to get Fmm working -> Guid + recovery hd partition are needed

2) i was able to reduce recovery hd partition to 50 mb ( deleting SystemBase.dmg)

3) when Find My Mac option is checked are created some files on hdd

4) UUID of recovery hd partition is used to identify Pc. ( apple uses This because primary OS partition can be deleted and reinstalled, but Recovery Hd was supposed to be untouched ...)

5) i found the file which apple use to enable find my mac is under /user/library/preferences

6) find my mac relies on location service and location service relies on wifi ...

7) so simply on desktop computer without wifi find my mac is switched off on reboot process ...

8) i write a script which turn on automatically FMM when we boot on desktop pc

9) when we switch on Fmm pc connect to some ip on the net

10) i was able to send messages alerts from icloud.com to my hackintosh

11) because i test on desktop pc location service wasn't start and i wasn't able to see where was my pc ( hmmm.. In front of me on my table ?? May be ???) http://www.insanelymac.com/forum/public/style_emoticons/#EMO_DIR#/biggrin.png

 

And Now How to use a Fake "RecoveryHD" and how to solve disabling "Find My Mac" option after a reboot ...

 

Pre-requisites:

Hackintosh with OSX Lion 10.7.2 installed on

GUID partition

my FAKE Recovery HD partition ( 50 Mb - used only 17 mb - so you can shrink more even to 20Mb)

 

HOW TO use a Fake "RecoveryHD" :

Create a partition with Disk utility and name it Recovery HD ( 50 Mb HFS+ journaled) after

OSX Lion primary partition.

Result should be:

GUID Scheme

- EFI

- OSX LION

- Recovery HD

 

Using Disk utility restore my RecoveryHD.dmg into Recovery Hd partition

 

Using terminal insert these commands:

sudo -i

diskutil list (find what disk is recovery HD .. disk0s3 ..)

diskutil unmount disk0s3

asr adjust --target /dev/disk0s3 -settype "Apple_Boot" --> very important

 

Go into iCloud Prefpannel and select "Find My Mac" now can be checked ...

 

 

 

HOWTO Reset "Find my Mac" on after reboot [uPDATED]

 

There is file MobileMeAccounts.plist in /Users/username/Library/Preferences/

this is the right file .. Eh Eh ( I found it after a little search on HDD) http://www.insanelymac.com/forum/public/style_emoticons/#EMO_DIR#/wink.png

inside look at

 

<key>Name</key>

<string>Find My Mac</string>

<key>ServiceID</key>

<string>com.apple.Dataclass.DeviceLocator</string>

<key>Enabled</key>

<false/> -> must be set to true

 

So or we turn on every time we boot from iCloud PrefPannel or

 

We use a script to do this at boot time ... Thanks to Lebowski1970 http://www.insanelymac.com/forum/public/style_emoticons/#EMO_DIR#/thumbsup_anim.gif -see his later post

 

1) Copy the Script plist file named com.nvram.root.plist on /Library/LaunchDaemons

and them change permissions by terminal with

 

sudo chown root:wheel /Library/LaunchDaemons/com.nvram.root.plist

 

2) Go to iCloud preferences panel and active FMM.

 

3) Verify nvram state by terminal... look for 2 keys named fmm-mobileme-token-FMM and fmm-computer-name.

If both keys are present and populated is OK

nvram -p

 

4) Dump nvram content to a file named nvram.log with

 

sudo nvram -p > nvram.log

and copy to /var/log

 

 

Now ... Find my Mac works after Reboot or shutdown!!!!

 

Tips : if you wanna stop the FindMyMac service you have to delete /var/log/mvram.log file and /library/LaunchDaemons/com.nvram.root.plist file . !

Otherwise if you simply deselect it from iCloud control panel, on reboot FindMyMac starts again ...

 

Cheers

 

PippoX0

 

-------------------

 

Fake Recovery HD OSX Lion

RecoveryHD.zip

 

com.nvram.root.plist

com.nvram.root.zip

 

For :

Fake Recovery HD OSX Montain Lion -> see my other post on page 3

Fake Recovery HD OSX Mavericks -> see my other post on page 3

  • Like 8
Link to comment
Share on other sites

Great! now it all works! I wouldnt NOT use a script to enable it. Thats not very Vanilla.

 

And I would really sugest making this Apple_Recovery partion the correct way. Using the terminal.

 

http://dmitry-dulepov.com/article/mac-reco...-revisited.html

 

I also sugest you make the Apple_Recovery HD 650mbs! Apple will update the Recovery Software at somepoint and if you only have 50mbs like you sugested there wont be enough room for anything to be honest.

 

Real Macs have this partition at 650mbs I would do the same.

 

 

 

Happy iClouding!

Link to comment
Share on other sites

Yes, i'm sure ...

Use showHidden Files

 

Look inside at that file (MobileMeAccounts.plist) with Property List Editor

Root ->Accounts -> Services->7-> Find My Mac

Edited by Gringo Vermelho
Please don't quote entire posts when replying directly below them.
Link to comment
Share on other sites

Are you kidding me ??

From the pic you have posted, you are there where you should be ...

 

Set Enabled to Yes and you have finished your work

 

p.s i used .plist converted to plain text because is more readable, but binary .plist is the same ..

 

Cheers

 

PippoX0

Link to comment
Share on other sites

I am not kidding! Your guide says:

 

<key>Name</key>

<string>Find My Mac</string>

<key>ServiceID</key>

<string>com.apple.Dataclass.DeviceLocator</string>

<key>Enabled</key>

<false/> -> must be set to true

 

But mobilemeaccounts.plist doesn't have any of that in it.

 

Where did you get this information from? My mobilemeaccounts.plist docent have 'False' or 'True' it has 'yes' and 'no'

 

Anyway when you select it to YES and reboot Find My Mac is still un ticked..

Link to comment
Share on other sites

Hi,

I have pasted in my previous post the plain text of MobileMeAccounts.plist.

As i just said i found the "flag" that enable the Find My Mac service ...

The flag is turn automatically off on rebooting so or you use script to automatically trun on or you turn on manually ...

 

If you change Enabled to Yes = boolean to true and you go to iCloud PrefPannel you see that the service is enabled ..

If you reboot you loose the flag ... I explained that ...

 

So i said i found where put our hands on ...

 

PippoX0

Link to comment
Share on other sites

it's not working for me... when I'm changing Enabled value in plist for True and want to see iCloud settings it automatically changing it for False.... Also please noticed when I'm changing iCloud setting then value in plist is also changing.

Link to comment
Share on other sites

[update]

Hi All,

the process to enable Find my Mac, after reboot, seems harder than i supposed it to be ...

 

I found out some others info which i share :

 

These deamons are needed to be running to be sure FindMayMac works properly

 

- locationd

- FindMyMacd

- aosnotifyd

- applepushserviced

 

(These daemons start when we check iCloud PrefPannel FindMyMac option )

 

the relatives .plist are located on folder /System/Library/LaunchDaemons/

 

- com.apple.locationd.plist

- com.apple.FindMyMac.plist

- com.apple.FindMyMacMessanger.plist

- com.apple.AOSNotificaionFMM.plist

- com.apple.applepushservice.plist

 

Other interesting .plist are on /Library/Preferences/ folder

 

- com.apple.FindMyMac.plist -> this only reports FMMStatus -> Boolean -> Yes/No

 

I'm trying some tricks to start manually the daemons .... by terminal ..

 

sudo launchctl load /System/Library/LaunchDaemons/com.apple.FindMyMac.plist ...

 

Until now i don't have found yet the right solution ... :D

 

 

Cheers

 

PippoX0

Link to comment
Share on other sites

I take it from reading this that you folks have the same problem as me, "Find My Mac" won't stay ticked after a reboot?

 

I have created the Recovery HD and once ticked after a reboot Find My Mac correctly locates my iPhone 4, iPad, iPad 2 and Mac Pro (Hack).

 

I'll have a look at the file PippoX0 mentioned to see if I have the entries...

Link to comment
Share on other sites

By the way did you find any solution for after booting. Cause this is not working!

 

<key>Name</key>

<string>Find My Mac</string>

<key>ServiceID</key>

<string>com.apple.Dataclass.DeviceLocator</string>

<key>Enabled</key>

<false/> -> must be set to true

Link to comment
Share on other sites

  • 2 months later...

Hi guys.

 

I have my own way for make changes permanent after shutdown or reboot.

 

I put a Script plist file named com.nvram.root.plist on /Library/LaunchDaemons and them I change permissions with

 

sudo chown root:wheel /Library/LaunchDaemons/com.nvram.root.plist

 

then I go to iCloud preferences panel and active FMM. After this, I go to Terminal and check nvram state... I look for 2 keys named fmm-mobileme-token-FMM and fmm-computer-name. If both keys are present and populated, then I dump nvram content to a file named nvram.log.... I do it in this way:

 

nvram -p

 

for test if keys are present. If both of them are, I dump nvram in this way:

 

sudo nvram -p > /var/log/nvram.log

 

After this... Find my Mac works after Reboot or shutdown!!!!

 

Enjoy the tip guys..if you want....you can donate for a cup of coffee in my website (http://www.i-dispositivos.com)

  • Like 4
Link to comment
Share on other sites

  • 4 weeks later...
  • 3 weeks later...
 Share

×
×
  • Create New...