Jump to content

DarwinDumper

Bootloader BIOS IOReg Device Properties LSPCI Dump VBIOS SMC ACPI NVRAM

  • Please log in to reply
237 replies to this topic

#61
artur-pt

artur-pt

    InsanelyMacaholic

  • Local Moderators
  • 4,755 posts
  • Gender:Male
  • Location:Portugal
  • Interests:TechManiaco
hello blackosx

same thing in 10.7.5

Attached File  Screenshot 2012-11-13 01.53.04.png   1.06MB   124 downloads

strange thing..

maybe a laptop problem

good hack

#62
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,173 posts
  • Gender:Male
  • Location:UK
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.

#63
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,173 posts
  • Gender:Male
  • Location:UK
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.

#64
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,173 posts
  • Gender:Male
  • Location:UK
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.

#65
.::Fabio::.

.::Fabio::.

    InsanelyMac Legend

  • Moderators
  • 8,923 posts
  • Gender:Male
  • Location:Italy
Hello Blackosx

Great tool and great job.

Fabio

#66
ErmaC

ErmaC

    127.0.0.1

  • Supervisors
  • 4,752 posts
  • Gender:Male
  • Location:Canary Islands
Hi blackosx and DarwinDumper dev Team.

I think would be useful add this tool getcodecid - Command line tool to detect codec id (or other similar?) into next release to catch codecs ID info report

Fabio

#67
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,173 posts
  • Gender:Male
  • Location:UK
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
  • p.H likes this

#68
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,173 posts
  • Gender:Male
  • Location:UK

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.

#69
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 2,973 posts
  • Gender:Male
Just posting here to tell everybody how awesome this app is, and say thanks to all developers involved in such a significant work. Keep it up!

#70
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,173 posts
  • Gender:Male
  • Location:UK
Thanks for the kind post theconnactic.
There's a newer beta version out for testing over at projectosx if you're interested.
I'm currently re-designing the interface to something much better..

#71
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 2,973 posts
  • Gender:Male
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!

#72
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,173 posts
  • Gender:Male
  • Location:UK
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.

#73
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,695 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...

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.

#74
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,173 posts
  • Gender:Male
  • Location:UK
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.

Posted Image

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.

#75
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,173 posts
  • Gender:Male
  • Location:UK
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.

#76
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,173 posts
  • Gender:Male
  • Location:UK
Updated v2.6.4 now in the opening post.

v2.6.3 -> 2.6.4

- Added appropriate headers to the code files.
- Split the javascript and css to individual files.
- Moved the STATUS header text in the UI to the right.
- Added command line usage printout with examples.
- Added help and credits section to the user interface.
- Added asterisks against disk dumps in UI as root privileges required for some operations.
- App launch from Finder should always work now.
- Replaced reference to pashua with macgap in footer of the html report.
- Archive option moved from sidebar to process section of window.

#77
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,695 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...

Updated v2.6.4 now in the opening post.

v2.6.3 -> 2.6.4

- Added appropriate headers to the code files.
- Split the javascript and css to individual files.
- Moved the STATUS header text in the UI to the right.
- Added command line usage printout with examples.
- Added help and credits section to the user interface.
- Added asterisks against disk dumps in UI as root privileges required for some operations.
- App launch from Finder should always work now.
- Replaced reference to pashua with macgap in footer of the html report.
- Archive option moved from sidebar to process section of window.

I really like the way this project is going.
The new UI is awesome too :D

#78
spakk

spakk

    If you try to please everyone, then you have certainly forgotten

  • Local Moderators
  • 2,030 posts
  • Gender:Male
  • Location:marocain

Updated v2.6.4 now in the opening post.

v2.6.3 -> 2.6.4

- Added appropriate headers to the code files.
- Split the javascript and css to individual files.
- Moved the STATUS header text in the UI to the right.
- Added command line usage printout with examples.
- Added help and credits section to the user interface.
- Added asterisks against disk dumps in UI as root privileges required for some operations.
- App launch from Finder should always work now.
- Replaced reference to pashua with macgap in footer of the html report.
- Archive option moved from sidebar to process section of window.


its works verry Good on my Hackintosh, many thx blackosx :king:

#79
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,173 posts
  • Gender:Male
  • Location:UK
@Andy and @spakk - Thanks for the positive feedback :D
I'm working on the next update, with a couple of small bug fixes too. Hopefully have it ready in the next 24 hours.

#80
magnifico

magnifico

    The Special One

  • Donators
  • 2,566 posts
  • Gender:Male
Nik , sorry what is " run as root "





Also tagged with one or more of these keywords: Bootloader, BIOS, IOReg, Device Properties, LSPCI, Dump, VBIOS, SMC, ACPI, NVRAM


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy