About This File
Usage
Drag & drop Disk Utility.app on the icon to patch
Description
This app will patch a restriction inside the Disk Utility that prevents it from starting in OS X 10.11 El Capitan. In addition it will patch the binary so that debugMode and advanced-image-options are always enabled on the resulting Disk Utility.app without the need to modify defaults.
This will allow you to use this version under El Capitan and with a small modification to your USB Installer you can have access to both new and old Disk Utility with the debug menu enabled during install.
What is patched
systemVersionCheck
------------------------
\xD5\x84\xC0\x0F\x85\x44\x01\x00\x00\x48\x8B\x05\x10\x5B\x06\x00 [original]
\xD5\x84\xC0\xE9\x45\x01\x00\x00\x00\x48\x8B\x05\x10\x5B\x06\x00 [patched]
perl -pi -e 's|\xD5\x84\xC0\x0F\x85\x44\x01\x00\x00\x48\x8B\x05\x10\x5B\x06\x00|\xD5\x84\xC0\xE9\x45\x01\x00\x00\x00\x48\x8B\x05\x10\x5B\x06\x00|g' [Drag & Drop Disk Utility binary]
enableDebugMenu
----------------------
debugMode can also be achieved by drag and dropping the Disk Utility binary on a terminal window and adding --debugMenu at the end.
\x3C\x33\x74\x48\x48\x85 [original]
\x3C\x33\x66\x90\x48\x85 [patched]
\x85\xFF\x75\x58\x48\x8B [original]
\x85\xFF\x66\x90\x48\x8B [patched]
perl -pi -e 's|\x3C\x33\x74\x48\x48\x85|\x3C\x33\x66\x90\x48\x85|g' [Drag & Drop Disk Utility binary]
perl -pi -e 's|\x85\xFF\x75\x58\x48\x8B|\x85\xFF\x66\x90\x48\x8B|g' [Drag & Drop Disk Utility binary]
expertMode
--------------
\xFF\x00\x75\x25\x4C\x89\xEF
\xFF\x00\xEB\x25\x4C\x89\xEF
perl -pi -e 's|\xFF\x00\x75\x25\x4C\x89\xEF|\xFF\x00\xEB\x25\x4C\x89\xEF|g' [Drag & Drop Disk Utility binary]
List of md5
md5 for original 10.10.5 DiskUtility v13 (606)
f4de87e306c1bc6acdef6c6166e574ca
md5 for systemVersionCheck binary (only)
3890ef83d60c9e1838be6cf2eee35d18
md5 combo systemVersioncheck & expertMode & enableDebugMenu
28e835bf915205c922b892cf01b5b19f
Recommended Comments