Contribute
Register

EFI Agent v1.2.5 (menu bar utility)

Joined
Sep 29, 2010
Messages
18
Motherboard
Gigabyte GA-X58A-UD3R (2.0) BIOS FH
CPU
X5670
Graphics
GT740
Mac
MacBook Pro, Mac mini, Mac Pro
Mobile Phone
iOS
Hummmm .. looks like it's still leaking ... ?

I'll let the latest build run for a few hours on my desktop system and see if it does the same.

Cheers
Jay
Actually, it varies in size - I noticed it was much smaller later in the day.

I'd have thought the memory usage should be pretty static - nothing is changing except my one working USB which I attach when I arrive and then detach when I leave.
 
Joined
Jun 20, 2014
Messages
854
Motherboard
Gigabyte Aero 15X v8-BK4K4P
CPU
i7-8750H
Graphics
UHD 630 / GTX 1070 Max-Q / 4K
Actually, it varies in size - I noticed it was much smaller later in the day.

I'd have thought the memory usage should be pretty static - nothing is changing except my one working USB which I attach when I arrive and then detach when I leave.
I'm guessing it's getting garbage collected eventually but it seems strange the memory usage gets so high. I will do some more in depth leak analysis soon just incase.
 
Joined
Jun 20, 2014
Messages
854
Motherboard
Gigabyte Aero 15X v8-BK4K4P
CPU
i7-8750H
Graphics
UHD 630 / GTX 1070 Max-Q / 4K
Toward the top of the output there is the property named SelfDevicePath which contains the Partition UUID that Clover was booted from, here is an example output from my desktop system ...
Thanks for letting me know. bdmesg is not required as the log is actually stored in IORegistry (IOService:/boot-log or IODeviceTree:/efi/platform/boot-log) so I can easily read the path from there.

Please try EFI Agent 1.2.3 which will now attempt to use SelfDevicePath first, then IODeviceTree:/options/efi-boot-device, then IODeviceTree:/chosen/boot-device-path. If all of those fail you can now set the Boot EFI via the context-menu. Haven't had a chance to do any major testing yet though.
 
Last edited:

jaymonkey

Moderator
Joined
Aug 27, 2011
Messages
2,516
Motherboard
ASRock-Z97 EX6
CPU
i7-4790K OC @ 4.8GHz
Graphics
Vega 64LC + HD4600
Mac
MacBook Air, MacBook Pro
Mobile Phone
Android, iOS
Thanks for letting me know. bdmesg is not required as the log is actually stored in IORegistry (IOService:/boot-log or IODeviceTree:/efi/platform/boot-log) so I can easily read the path from there.

Ahh ok, i did not know that ... makes much more sense to read the value from the ioreg rather than messing around executing and parsing bash commands.

Please try EFI Agent 1.2.3 which will now attempt to use SelfDevicePath first, then IODeviceTree:/options/efi-boot-device, then IODeviceTree:/chosen/boot-device-path. If all of those fail you can now set the Boot EFI via the context-menu. Haven't had a chance to do any major testing yet though.

@headkaze,

very cool ... have just downloaded and installed version 1.2.3, and as you can see from the following screen shot its now working correctly with the non standard boot config on my desktop system :-

Screenshot 2019-04-17 at 23.57.44.png


Looks like it picked up the correct UUID from SelfDevicePath all by its-self and is now highlighting the correct EFI Partition where I boot Clover from .... very nice work.

I also tested (several times) manually setting the Boot Partition to one of the other EFI Partitions using the context menu option which seems to work as expected without any issues. Question: Where are you storing the value ? ... Just curious if your updating/creating IODeviceTree:/options/efi-boot-device, or IODeviceTree:/chosen/boot-device-path ?

EFI Agent Should now work with all boot configurations, even those not using Clover .... I assume you'll incorporate the new code in Hackingtool in some future release ? .... I really appreciate the time and effort you put into resolving this.

I also see that you now save the vertical divider position, yet another small but handy feature :)

Top marks buddy :thumbup::thumbup::thumbup::thumbup::thumbup: (5 out of 5)

Cheers
Jay
 
Last edited:
Joined
Sep 29, 2010
Messages
18
Motherboard
Gigabyte GA-X58A-UD3R (2.0) BIOS FH
CPU
X5670
Graphics
GT740
Mac
MacBook Pro, Mac mini, Mac Pro
Mobile Phone
iOS
I'm guessing it's getting garbage collected eventually but it seems strange the memory usage gets so high. I will do some more in depth leak analysis soon just incase.
left overnight, it's sitting at a frugal 232MB this morning.
 
Joined
Jun 20, 2014
Messages
854
Motherboard
Gigabyte Aero 15X v8-BK4K4P
CPU
i7-8750H
Graphics
UHD 630 / GTX 1070 Max-Q / 4K
Looks like it picked up the correct UUID from SelfDevicePath all by its-self and is now highlighting the correct EFI Partition where I boot Clover from .... very nice work.
:thumbup:
I also tested (several times) manually setting the Boot Partition to one of the other EFI Partitions using the context menu option which seems to work as expected without any issues. Question: Where are you storing the value ? ... Just curious if your updating/creating IODeviceTree:/options/efi-boot-device, or IODeviceTree:/chosen/boot-device-path ?
The value is stored in NSUserDefaults and will not mess with any (potentially) dangerous system boot values.

EFI Agent Should now work with all boot configurations, even those not using Clover .... I assume you'll incorporate the new code in Hackingtool in some future release ? .... I really appreciate the time and effort you put into resolving this.
Yes, all the code is in Hackintool already I just need to do a release.
 
Joined
Jul 10, 2013
Messages
174
Motherboard
ASUS TUF Z390M-Pro Gaming WiFi AC
CPU
i7-9700K
Graphics
UHD 630 - RX 580
Mac
iMac, MacBook Pro, Mac Pro
Classic Mac
eMac, iBook, iMac, PowerBook
Mobile Phone
Android
Hello @headkaze it would be amazing if could include app permission to mount the EFI without the need to type in your password every time, its a pain! over at the German forum there is an app called "kext Updater" that has that kind of functionality, and I personally find it very useful.

I'm sure more people would be interested into having that kind of freedom. Just an idea :)
 
Joined
Jun 20, 2014
Messages
854
Motherboard
Gigabyte Aero 15X v8-BK4K4P
CPU
i7-8750H
Graphics
UHD 630 / GTX 1070 Max-Q / 4K
it would be amazing if could include app permission to mount the EFI without the need to type in your password every time, its a pain!
You only have to enter your password the first time you mount/unmount.
 
Top