PippoX0 Posted October 28, 2011 Share Posted October 28, 2011 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 8 Link to comment Share on other sites More sharing options...
Logicpro9_user Posted October 28, 2011 Share Posted October 28, 2011 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 More sharing options...
Logicpro9_user Posted October 29, 2011 Share Posted October 29, 2011 Are you sure that its the mobilemeaccounts.plist that you are editing? I don't have <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 More sharing options...
PippoX0 Posted October 29, 2011 Author Share Posted October 29, 2011 (edited) 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 March 22, 2012 by Gringo Vermelho Please don't quote entire posts when replying directly below them. Link to comment Share on other sites More sharing options...
Logicpro9_user Posted October 29, 2011 Share Posted October 29, 2011 weird, I don't have the <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 Can you upload your mobilemeaccount.plist file? Link to comment Share on other sites More sharing options...
PippoX0 Posted October 29, 2011 Author Share Posted October 29, 2011 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 More sharing options...
Logicpro9_user Posted October 30, 2011 Share Posted October 30, 2011 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 More sharing options...
PippoX0 Posted October 30, 2011 Author Share Posted October 30, 2011 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 More sharing options...
Logicpro9_user Posted October 30, 2011 Share Posted October 30, 2011 Ahh! all we need now is to get it to stay to YES! wonder how we could do that? Bootloader? Link to comment Share on other sites More sharing options...
Onixs Posted October 31, 2011 Share Posted October 31, 2011 Default write perhaps ? Link to comment Share on other sites More sharing options...
iStigPL Posted November 3, 2011 Share Posted November 3, 2011 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 More sharing options...
Logicpro9_user Posted November 3, 2011 Share Posted November 3, 2011 same for me, wonder if we could change permissions on this file so it won't change? Link to comment Share on other sites More sharing options...
PippoX0 Posted November 4, 2011 Author Share Posted November 4, 2011 [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 ... Cheers PippoX0 Link to comment Share on other sites More sharing options...
D-an-W Posted November 5, 2011 Share Posted November 5, 2011 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 More sharing options...
telepati Posted November 8, 2011 Share Posted November 8, 2011 How to Enable Location Services Im using internet with Wi-Fi adaptor but still looking unactivate and grey uncheck. How to activate it? Link to comment Share on other sites More sharing options...
PippoX0 Posted November 9, 2011 Author Share Posted November 9, 2011 From System Preferences -> Privacy 1 Link to comment Share on other sites More sharing options...
telepati Posted November 9, 2011 Share Posted November 9, 2011 Man I know where it is. Its looking grey and uncheck I cant check it. How to opening this and add thick. Please dont say Lock and write admin password. I tried that already. All the time looking grey and close. Link to comment Share on other sites More sharing options...
PippoX0 Posted November 9, 2011 Author Share Posted November 9, 2011 Sorry, I misunderstood. I will look to reproduce your problem and find out a Fix Link to comment Share on other sites More sharing options...
telepati Posted November 9, 2011 Share Posted November 9, 2011 Thank you. Link to comment Share on other sites More sharing options...
telepati Posted November 9, 2011 Share Posted November 9, 2011 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 More sharing options...
iStigPL Posted November 10, 2011 Share Posted November 10, 2011 @telepati what kind of wifi adapter are you using ? Link to comment Share on other sites More sharing options...
telepati Posted November 10, 2011 Share Posted November 10, 2011 Im using Edimax Nano. Edimax Nano Link to comment Share on other sites More sharing options...
lebowski1970 Posted February 10, 2012 Share Posted February 10, 2012 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) 4 Link to comment Share on other sites More sharing options...
Adam1203 Posted March 5, 2012 Share Posted March 5, 2012 I know this is an old thread, but I just wanted to say thank you for this! It worked like a charm and saved the day!! Link to comment Share on other sites More sharing options...
block57 Posted March 20, 2012 Share Posted March 20, 2012 when I type sudo nvram -p > /var/log/nvram.log terminal says permission denied. what do I do? thanx!!! Link to comment Share on other sites More sharing options...
Recommended Posts