{"id":17688331,"url":"https://github.com/jonelo/ahtfix","last_synced_at":"2025-05-13T00:48:02.596Z","repository":{"id":91746413,"uuid":"214804852","full_name":"jonelo/ahtfix","owner":"jonelo","description":"Restore the Apple Hardware Test (AHT) on your vintage/retro Mac","archived":false,"fork":false,"pushed_at":"2021-09-01T10:47:11.000Z","size":12,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-13T00:47:54.578Z","etag":null,"topics":["aht","apple","bash-script","macos"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonelo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-13T11:02:46.000Z","updated_at":"2024-11-18T12:37:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"fad9cda6-85af-4ca3-a12a-49d886f33175","html_url":"https://github.com/jonelo/ahtfix","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonelo%2Fahtfix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonelo%2Fahtfix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonelo%2Fahtfix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonelo%2Fahtfix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonelo","download_url":"https://codeload.github.com/jonelo/ahtfix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253850882,"owners_count":21973672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aht","apple","bash-script","macos"],"created_at":"2024-10-24T11:44:10.912Z","updated_at":"2025-05-13T00:48:02.577Z","avatar_url":"https://github.com/jonelo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AHTfix\n\nRestore the Apple Hardware Test (AHT) on your (old) Mac.\n\n## The Problem\n\n„Apple Hardware Test (AHT) contains a suite of diagnostics that will test the hardware of your computer. […]\nIf your Mac was released after June 2013, you will use Apple Diagnostics rather than Apple Hardware Test (AHT).“\nSee also https://support.apple.com/en-us/HT201257\n\nIf you have reinstalled an older Mac from scratch, the diagnostic tools might no longer be available.\nIf there is content in /System/Library/CoreServices/.diagnostics you are affected. Unless you have the original disks\nthat came with your Mac, there seems to be no way to restore the AHT.\n\n## The Solution\n\nThe application will determine the model of your Mac, query an Apple server, download the appropriate AHT binaries and\nrestore it on your Mac. And once restored you just need to follow the instructions at https://support.apple.com/en-us/HT201257\nin order to perform all hardware diagnostics on your Mac.\n\nNote: Starting with El Capitan (OS X 10.11) there is a new feature called System Integrity Protection (SIP) that prevents the modificaiton of a number of operating sytem directories by default.\nIn order to use AHTFix on El Capitan and later you have to disable SIP temporarily.\nSee also http://www.macworld.com/article/2986118/security/how-to-modify-system-integrity-protection-in-el-capitan.html\n\n### System Requirements\n\n* A Mac, released before June 2013\n* Mac OS X 10.6 or later\n* SIP disabled if you run El Capitan (OS X 10.11) or later\n* An internet connection (any bandwidth)\n\n### Usage\n\n```bash\nNAME\n    AHTFix v1.0.0 -- downloads and installs the Apple Hardware Test (AHT)\n\nSYNOPSIS\n    ahtfix [option]\n\nDESCRIPTION\n    By default (without any option) ahtfix installs the AHT to this Mac OS X\n    instance.\n\nOPTIONS\n    -help       print this help\n\n    -info       print the boardID of this Mac, the location of the\n                corresponding AHT image, and whether the .dmg is locally\n                available\n\n    -fillcache  download all known AHT images from the Apple server\n\n    -burn [ID]  burns the AHT image that belongs to the board ID to an optical\n                media in an attached burning device.\n\n    -tousb [ID] copy the AHT of the board ID to the USB device that is\n                mounted at /Volumes/CopyAHTHere\n```\n\n### Implementation details and credits\n\nOn https://github.com/upekkha/AppleHardwareTest you find detailed instructions from Claude Becker how to restore the AHT manually.\nI put those instructions (and a few more) to a bash script so that you can restore the AHT in a comfortable way.\n\nI also would like to thank Apple for hosting the AHT binaries on their servers. That really helps users to restore the AHT on Macs that would be otherwise incomplete.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonelo%2Fahtfix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonelo%2Fahtfix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonelo%2Fahtfix/lists"}