ccmulder

Q: How do I restore Automated Help from a Device/thumbdrive?

I re-installed Yosemite fresh after upgrading to a new hard drive and then migrated all my files over.  However, the automated help file did not come over.  So I went to a website that had a collection of the files:  https://github.com/upekkha/AppleHardwareTest

 

There is found the correct version of the hardware test for my Macbook and then download a dmg file that created a device on my desktop (similar to when you plug in a thumbdrive) from which I could restore the .diagnostic file.  I don't have hidden files turned on so I can see it in the folder but its the right directory structure:  System/Library/CoreServices.  The website says to restore this file but I don't know how to do that.  I can't copy it without changing the set up to show hidden files, which I don't want to do and I am not sure that's the right way to do it.  So what is the easiest way to restore that to the Coreservices folder on my computer?  I could copy it to a thumbdrive if need be as well.  I have used the terminal but not real familiar with syntax so if I have to copy it that way please provide the exact syntax.  The full name of the device created on my desktop is:  "AHTBThree/System/Library/CoreServices/".  It appears as though there is nothing showing in Coreservices folder but as noted it is because the file is hidden.

MacBook, OS X Yosemite (10.10.1), Macbook 7,1 MAC-F22C89C8

Posted on Dec 29, 2014 4:42 PM

Close

Q: How do I restore Automated Help from a Device/thumbdrive?

  • All replies
  • Helpful answers

  • by ccmulder,

    ccmulder ccmulder Dec 29, 2014 4:48 PM in response to ccmulder
    Level 1 (0 points)
    Dec 29, 2014 4:48 PM in response to ccmulder

    Also, the reason I need to run this is I am getting a message the battery need service--guess it needs to be replaced but Apple advices running the Automated Help.  This is a mid 2010 Macbook.

  • by dot.com,

    dot.com dot.com Dec 29, 2014 5:40 PM in response to ccmulder
    Level 2 (434 points)
    Dec 29, 2014 5:40 PM in response to ccmulder

    The website you downloaded the AHT files from says to put them in the folder /System/Library/CoreServices/.diagnostics folder, not the folder /System/Library/CoreServices - do you understand the difference?

     

    So from the Terminal window this is what I would do if I were you:


         sudo ditto /Volumes/AHTBThree/System/Library/CoreServices/.diagnostics /System/Library/CoreServices/.diagnostics


    and then enter your password (this assumes that the account you're logged in to  is an "admin" type account).


    good luck...

  • by ccmulder,Solvedanswer

    ccmulder ccmulder Dec 29, 2014 8:39 PM in response to ccmulder
    Level 1 (0 points)
    Dec 29, 2014 8:39 PM in response to ccmulder

    Well I figured it out so let me give step by step instructions in case anyone else has the same issue whereby you Apple Diagnostics file is missing or corrupted.

     

    First, you need to start terminal and enter the following command, which will make hidden files visible (don't worry you can change it back by giving the same command and substituting "FALSE" for "TRUE" once you are finished):

     

    defaults write com.apple.finder AppleShowAllFiles TRUE

    Then go to this site:  https://github.com/upekkha/AppleHardwareTest  to find the missing or corrupted ".diagnostics" folder.  As explained there, run EACH of these commands separately to determine the correct model and board number:

    sysctl hw.model | awk '{ print $2 }'

     

    ioreg -l | grep board-id | awk -F\" '{ print $4 }'

     

    The first will give you the model of your Mac (in my case, "Macbook 7,1") and the second will give you the board number (in my case, Mac-F22C89C8).  With those two identifiers you find your particular Mac product heading in bold on the page ((in my case a MacBook) and click or double click on the matching model and board number combination--this will download the ".diagnostics" folder you need including the complete folder structure (i.e., "System/Library/CoreServices/" in my case).  Navigate to the ".diagnostics" folder and copy it to the corresponding folder on your Mac (i.e., "System/Library/CoreServices/") in my case.  Then follow the instructions here:  Using Apple Diagnostics - Apple Support.

  • by ccmulder,

    ccmulder ccmulder Dec 29, 2014 8:41 PM in response to ccmulder
    Level 1 (0 points)
    Dec 29, 2014 8:41 PM in response to ccmulder

    Well I for some reason can't exit my previous post (probably need a certain number) so there are are no breaks and makes it more difficult to understand.

  • by ccmulder,

    ccmulder ccmulder Dec 29, 2014 8:42 PM in response to dot.com
    Level 1 (0 points)
    Dec 29, 2014 8:42 PM in response to dot.com

    Thanks for the reply.  Yes--I understood where I needed to copy the .diagnostics folder just didn't know how to do it when it was hidden.

  • by ccmulder,

    ccmulder ccmulder Dec 30, 2014 10:07 AM in response to ccmulder
    Level 1 (0 points)
    Dec 30, 2014 10:07 AM in response to ccmulder

    I would also add that running the automated hardware test solved my battery problem.  I had a "Service Battery" message and it seemed to be draining quickly but after running the extensive hardware test the problem was gone.  Not sure if I should start a new threat with that title so other folks can benefit?

  • by Eric Root,

    Eric Root Eric Root Dec 30, 2014 11:56 AM in response to ccmulder
    Level 9 (74,160 points)
    iTunes
    Dec 30, 2014 11:56 AM in response to ccmulder

    Mark your post as solved, it might help others who are looking for answers.

  • by ccmulder,

    ccmulder ccmulder Dec 31, 2014 9:16 AM in response to Eric Root
    Level 1 (0 points)
    Dec 31, 2014 9:16 AM in response to Eric Root

    Thanks Eric