Jump to content
  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 

419 posts in this topic

Recommended Posts

Revised version (v2.5.1) attached to the opening post.

 

Changes from 2.5.0 -> 2.5.1

 

- exFAT format partitions should no longer be unknown to the gatherDiskUtilLoaderinfo script (thanks dmazar). I've only worked from blank and NTLDR examples so I'll need to run more tests in the future to make sure everything is identified correctly. Please tell me if what I've done doesn't work.

- HTML report nav links now expand (by design they do not collapse) relevant table as well as jumping to it.

- The collapse / expand arrows have now been replaced with clickable table header bars. Way better!

- Re-ordered nav links to match alphabetical order of tables, and removed 'Top' nav link.

- Adjusted HTML report for the Diskutil & Bootloader table to better fit longer names. The Active column is now gone, though a single space remains for an asterisk.

- Renamed 'Windows NTFS Loader' to 'Windows NTFS NTLDR'.

- Tweaked the look of the Pashua window.

 

As a user, I do not care in which browser it opens. I need DarwinDumper's output. Just my hint.

You're right. Thanks for helping me keep focused.

 

@p.H - I've left the code as it was. It would be easier if you changed the .htm file association to Chrome for your root account than for me to work out an algo to find your local user browser association setting and open the file in that from the script. Thanks for the feedback though.

Share this post


Link to post
Share on other sites

Revised version (v2.5.2) attached to the opening post.

 

Changes from 2.5.1 -> 2.5.2

 

- Added EDID dump using edid-decode by Adam Jackson. (Link to source in the opening post).

- Appended some info to the header of generateHTMLreport.sh script.

- Log now terminates after HTML report is complete and saved in actual dump folder.

Share this post


Link to post
Share on other sites

Thanks for the report Mohamed Khairy.

The interface buttons and checkboxes are actually correctly spaced but it looks like the background image has been scaled.

However, I don't understand why that's happened?

 

I'll run some tests here and see what i can find out.. In the mean time can anybody else confirm is this has happened to them?

 

 

EDIT: I've had make a revised version due to an issue with the edid-decode binary. I've attached this new version (v2.5.3) to the opening post. I also adjusted the permissions of the background image. Can you test that to see if that has the same interface issue?

 

Changes from 2.5.2 -> 2.5.3

 

- Replaced edid-decode binary by a version complied by Slice.

 

EDIT: Revised version (v2.5.4) attached to the opening post.

 

Changes from 2.5.3 -> 2.5.4

 

- Replaced edid-decode binary by a leo-compatible version complied by Slice.

Share this post


Link to post
Share on other sites

I've since found that after enabling Chrome as default app for .htm files.

~/Library/Preferences/com.apple.LaunchServices.plist gains the following:

<dict>
<key>LSHandlerContentType</key>
<string>public.html</string>
<key>LSHandlerRoleViewer</key>
<string>com.google.chrome</string>
</dict>

So I'm thinking I can use this as a reference to see if the user has changed their default web app.

 

Maybe this can be a user preference, check if this exists and present a flag in GUI for it.

Good job, this has certainly come a very long way.

Share this post


Link to post
Share on other sites

Is there a way to get PIO and DMA mode for the hard drives and the kext they are using (same for sound, video etc)?

 

Without doing any research, I don't know.

But any useful information that's read, decoded or analysed by any tool that you know of can be included in DarwinDumper.

 

@artur-pt , @Mohamed Khairy

I find it strange how it I don't see the issues you've reported to the DarwinDumper interface on either my iMac or hack. And it must not happen for everyone otherwise I would have seen more reports.

I would however like to nail this so can you give me any more information on the problem to work with? What version of OS X are you running?

Thanks

 

Maybe this can be a user preference, check if this exists and present a flag in GUI for it.

Good job, this has certainly come a very long way.

Thanks STLVNUB. I may look at doing something with this when I have time but it's not high on my list.

Share this post


Link to post
Share on other sites

hello blackosx

 

i'm in 10.8.2 only with last version i have that issue.

 

i go test in 10.7.5 to see if any thing related to ox version, and report back, perhaps something related with res (1366x768)

 

thanks

Share this post


Link to post
Share on other sites

Thanks for testing artur-pt.

 

After running some tests here, I've managed to replicate the problem by changing my screen resolution. The interface is drawn incorrectly when using both 800x600px and 1280x720px. Though it's correct when using 1024x768px and 1280x1024px. Now I just need to find out why this happens.

Share this post


Link to post
Share on other sites

Revised version (v2.5.7) attached to the opening post.

 

Changes from 2.5.4 -> 2.5.5

 

- gatherDiskUtilLoaderinfo.sh - Removed 3rd (suspect) check for finding Clover revision, and replace with string 'unknown'.

- Added CFBundleShortVersionString to app info.plist to show version in Finder (Manually added for now).

 

Changes from 2.5.5 -> 2.5.6

 

- gatherDiskUtilLoaderinfo script cleanup for FindListAndCopyCloverDriverFiles().

- gatherDiskUtilLoaderinfo script now ignores stage 0 or stage 1 files beginning with the name 'boot' when looking for stage 2 files.

- gatherDiskUtilLoaderinfo script now has a basic detection for GRUB disk sectors by checking for GRUB string.

- gatherDiskUtilLoaderinfo script now only searches for stage 2 files in the root directory of the volume.

- Diskutil & loader HTML table now shows stage 2 boot filename in bold.

- Diskutil & loader dump no longer prints 'R' or brackets if loader revision is unknown.

- Progress bar window now uses textured fill, and no longer has cancel button.

- Any user-mounted EFI system partitions are left mounted.

- Fixed a path bug with the log file in the gatherDiskUtilLoaderinfo script.

- Added check for existence of dump files. Missing files are reported in log file.

- Updated pciids.

- pciids sever connection is now checked before attempting to update pciids.

 

Changes from 2.5.6 -> 2.5.7

 

- fix new bug caused by recent changes to FindListAndCopyCloverDriverFiles()

 

 

 

@artur-pt - Sorry there's no change with regard to the UI when used at smaller screen resolutions. I've found it's a problem with Pashua and images larger than 400px wide. The source code is closed and was last updated almost a year ago.

Share this post


Link to post
Share on other sites

Revised version (v2.5.8) attached to the opening post.

 

Changes from 2.5.7 -> 2.5.8

 

- Update to SMC_util3 for complete detection of newer Mac models SMC keys.

- The name 'EFI' is now used instead of the temporary mount point name for EFI system partitions when reporting disk dump info.

- BootSectDump folder is now only created if needed.

- refit.conf files are now included in the Bootloader Config Files dump (though not in the html report).

- Added detection for dmazar's modified boot0 for Clover timing.

- Updated pci.ids.gz file.

- Some code cleanups and revisions.

Share this post


Link to post
Share on other sites

Hey Fabio - Thanks for the tip about Anv's getcodecid tool.

I've started working on the next revision to DarwinDumper and have asked Anv about including it.

 

Regards

Share this post


Link to post
Share on other sites

Revised version (v2.6.0) attached to the opening post.

 

Changes from 2.5.8 -> 2.5.9

 

- Added current version of IORegistry Web Viewer to DarwinDumper HTML report (Note, this is still in an early development stage).

- Added Audio Codec ID dump option courtesy of AnV's getcodecid tool. If selected, a file name AudioCodecID.txt is saved in the SystemInfo folder.

- Revised the layout of the HTML report header to also include the Audio Codec ID.

- Changed HTML report visited link colour.

- Internal change to HTML report code - added separator lines to make reading easier.

- Revised system_profiler request to get Graphics and Mac Model info for HTML report header.

 

Changes from 2.5.9 -> 2.6.0

 

- Amended process launch sequence for IORegistry Dump - it now performs last.

- Replaced ioregwv with a 10.6 compatible version. (This needs testing and confirming it works with 10.6).

- Added string "Not Available" if audio codec ID cannot be read.

 

Please note - The privacy option does not touch the IORegistry dump so that will still contain private information.

Share this post


Link to post
Share on other sites

I'll surely will test it!

 

Is it possible for you to add in the future to this app the ability to grab audio codec dumps and vbios roms, sparing us the necessity of resorting to Linux distros altogether?

 

Best regards!

Share this post


Link to post
Share on other sites

I'm not very familiar with it, but as mentioned by Slice, a linux style audio dump would require a framework which is not available on OSX.

Clover can dump your VideoBIOS by pressing F6 from the GUI if that's any use to you.

Or a kext similar to VoodooHDA which dumps the info in the same manner.

Share this post


Link to post
Share on other sites

Thanks Andy. Yep - I added VoodooHDA.kext and it's getdump tool in v2.6.1b that was released at projectosx.

 

For ref:

Changes from 2.6.0 -> 2.6.1b

- Added VoodooHDA.kext and associated getdump tool to provide audio dump.

- Added Audio section to HTML report.

- HTML report header Audio field can now be populated by either Anv's getcodecID or VoodooHDA's getdump tools.

- Updated IORegistryViewer to latest version which includes ioregwv v86.18.

- Updated scripts to build new IOregviewer directory structure.

- Included separate IORegFileViewer.html file for reading outside of the DarwinDumper report file.

- The resulting IORegViewer directory is self contained and can be copied/moved and used by itself outside of DarwinDumper.

- Re-included normal ioreg text dumps for IOService and IODeviceTree as previously had.

- Front end UI background image removed as it caused problems on low-resolution displays.

 

 

And since then I've been working on the next version and here's where I am currently at....

 

Latest v2.6.2 attached to the opening post.

Big overhaul with many tweaks, corrections and additions.

 

Changes from 2.6.1b -> 2.6.2

 

Main changes are:

- New user interface (Confirmed working for OS X 10.8, 10.7 and 10.6.8 now).

- Can be run from the command line.

- App will now run without root privilege.

- Private option updated and now working with full IORegistry dump

- Dumps are now only saved to the same directory as the app.

 

34pfeph.jpg

 

To give more detail:

- The new UI is built using html,css & javascript using an app named macgap . It has yet to be tested under 10.5 so that's still an unknown.

- App will now run without root privileges and dump as much as it can without them. You can still choose to run with root privileges for a complete dump. The interface indicates any dumps requiring root privileges with an asterisk beside it's title.

- IORegistry dump is set to dump using -lw0 and not -lx

 

To use from the command line:

DarwinDumper.app/Contents/Resources/script ARGUMENTS (See below)

 

It accepts the following options:

-a Selects the archive option. Expects an argument. Available options are one of:
zip - dumps will be compressed using .zip
lzma - dumps will be compressed using .lzma
none - dumps will not be compressed

-d Selects the dump option. Expects an argument or more separated by a comma (without any spaces).
acpi
audio
bios
devprop
diskLoaderConfigs
diskUtilLoaders
diskVolumeXuid
diskPartitionInfo
dmi
edid
firmlog
firmmemmap
ioreg
kerneldmesg
kernelinfo
kexts
lspci
misc
nvram
opencl
rtc
smc
sysprof

-o Selects the options option. Expects an argument. Available options are one of:
html - generate the html report.
collapsed - html report tables will be collapsed.
private - mask personal information in the dumps.

-p Selects a preconfigured option. NOTE - This option should be used by itself with no other options.
Expects an argument. Available options are one of:
1 - Runs all dumps without root privileges, archiving as .zip, with html report
2 - Runs all dumps with root privileges, archiving as .zip, with html report

-r Selects the root option.

 

EXAMPLES:

DarwinDumper.app/Contents/Resources/script -p1
DarwinDumper.app/Contents/Resources/script -d acpi,dmi,kexts
DarwinDumper.app/Contents/Resources/script -d acpi,dmi,kexts -o html,collapsed -a lzma
DarwinDumper.app/Contents/Resources/script -r -d bios

 

Please post if you find any problems.

Share this post


Link to post
Share on other sites

I've updated the version in the opening post.

 

It will now work correctly from a symbolic link. To do that, use:

ln -s /path/to/DarwinDumper.app/Contents/Resources/script /usr/local/bin/darwindumper

 

v2.6.2 -> 2.6.3

 

- Changed an initial error message to print to stdout instead of missing log file.

- Checked removal of a temp file which caused launching the UI to fail ( Hopefully this works).

- Command line option now works correctly with symlinks.

- Fixed final moving dump files if no archive option passed as command line argument.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

×