Jump to content

2 Screenshots

About This File

This is a tool for cleaning the NVRAM and Kext Caches and rebuilding the PrelinkedKernel.

Please do not post/upload or redistribute this app to other sites or forums.


What's New in Version 2.4   See changelog

Released

SIP now can be enabled with the 2.4 version

 

  • You can now run Mac Optimizer with SIP being enabled.
  • Optimized for macOS Mojave DP10
  • Fixed Code Signing issue which resulted the app to crash on macOS Mojave DP9
  • Fixed the certification issue. (Please let me know if there is an issue opening the image files or the app)
  • Adding a new feature to rebuild LaunchServices to remove duplicate "Open With" menu items
  • Adding a new feature to repair system extensions permissions (/L/E and /S/L/E)  
  • Adding a new feature to rebuild XPC Caches
  • Fix for application crash on macOS Mojave DP7 (Thanks to @Matgen84 for testing and the bug report)
  • Fix some typo in the app's GUI (Thanks to @JennyDavid and @ricoc90 for finding the typo)
  • Now it's called Mac Optimizer
  • New interface and UI design
  • Performance Improvements
  • Recoding the app in Objective-C and AppleScript 

 

 

With my special thanks to @JennyDavid for her great help on this project!

 

And also special thanks to:

@ricoc90 and @Matgen84 for their support and donations :)




User Feedback

Recommended Comments



Thank you.

For me too it says the app is dameged.

But if I run in the terminal

computer$ /Users/computer/Downloads/Mac\ Optimizer\ 2.1.app/Contents/MacOS/Mac\ Optimizer

it works.

Gatekeeper is disabled

Share this comment


Link to comment
Share on other sites

Can you guys please check this version with Gatekeeper being enabled.

If everything turns out to be working fine I'll upload the new version.

 

Thanks for reports.

 

Edited by Cyberdevs

Share this comment


Link to comment
Share on other sites
Spoiler

Process:               Mac Optimizer [608]
Path:                  /Users/USER/Desktop/*/Mac Optimizer 2.1.app/Contents/MacOS/Mac Optimizer
Identifier:            com.macmeup.MacOptimizer
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Mac Optimizer [608]
User ID:               501

Date/Time:             2018-08-29 16:52:53.724 -0400
OS Version:            Mac OS X 10.14 (18A377a)
Report Version:        12
Anonymous UUID:        D0BE8635-72BB-FEBC-DCC6-D942B5D0CED1


Time Awake Since Boot: 480 seconds

System Integrity Protection: disabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (Code Signature Invalid)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace CODESIGNING, Code 0x1

kernel messages:

VM Regions Near 0 (cr2):
--> 
    __TEXT                 0000000109c2c000-0000000109c30000 [   16K] r-x/rwx SM=COW  

Thread 0 Crashed:
0                                     0x0000000119bef000 _dyld_start + 0

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x0000000000000000  rsi: 0x0000000000000000  rbp: 0x0000000000000000  rsp: 0x00007ffee5fd3be0
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000000
  r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x0000000000000000
  rip: 0x0000000119bef000  rfl: 0x0000000000000200  cr2: 0x0000000000000000
  
Logical CPU:     0
Error Code:      0x00000000
Trap Number:     0


Binary Images:
       0x109c2c000 -        0x109c2fff3 + (0) <22611943-D72D-3580-9797-491BEB623C38> 
       0x119bee000 -        0x119c6c657 + (625.13) <FD58B2D0-D66F-345E-9679-F2F8DB189359> 

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 105
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=728K resident=0K(0%) swapped_out_or_unallocated=728K(100%)
Writable regions: Total=8400K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8400K(100%)
 
                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
STACK GUARD                       56.0M        2 
Stack                             8192K        2 
__DATA                             232K        4 
__LINKEDIT                         204K        3 
__TEXT                             524K        3 
shared memory                        8K        3 
===========                     =======  ======= 
TOTAL                             64.9M       11 

that's the panic on Mojave

Share this comment


Link to comment
Share on other sites
Just now, bronxteck said:
  Reveal hidden contents

Process:               Mac Optimizer [608]
Path:                  /Users/USER/Desktop/*/Mac Optimizer 2.1.app/Contents/MacOS/Mac Optimizer
Identifier:            com.macmeup.MacOptimizer
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Mac Optimizer [608]
User ID:               501

Date/Time:             2018-08-29 16:52:53.724 -0400
OS Version:            Mac OS X 10.14 (18A377a)
Report Version:        12
Anonymous UUID:        D0BE8635-72BB-FEBC-DCC6-D942B5D0CED1


Time Awake Since Boot: 480 seconds

System Integrity Protection: disabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (Code Signature Invalid)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace CODESIGNING, Code 0x1

kernel messages:

VM Regions Near 0 (cr2):
--> 
    __TEXT                 0000000109c2c000-0000000109c30000 [   16K] r-x/rwx SM=COW  

Thread 0 Crashed:
0                                     0x0000000119bef000 _dyld_start + 0

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x0000000000000000  rsi: 0x0000000000000000  rbp: 0x0000000000000000  rsp: 0x00007ffee5fd3be0
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000000
  r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x0000000000000000
  rip: 0x0000000119bef000  rfl: 0x0000000000000200  cr2: 0x0000000000000000
  
Logical CPU:     0
Error Code:      0x00000000
Trap Number:     0


Binary Images:
       0x109c2c000 -        0x109c2fff3 + (0) <22611943-D72D-3580-9797-491BEB623C38> 
       0x119bee000 -        0x119c6c657 + (625.13) <FD58B2D0-D66F-345E-9679-F2F8DB189359> 

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 105
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=728K resident=0K(0%) swapped_out_or_unallocated=728K(100%)
Writable regions: Total=8400K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8400K(100%)
 
                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
STACK GUARD                       56.0M        2 
Stack                             8192K        2 
__DATA                             232K        4 
__LINKEDIT                         204K        3 
__TEXT                             524K        3 
shared memory                        8K        3 
===========                     =======  ======= 
TOTAL                             64.9M       11 

that's the panic on Mojave

yeah there are some issues with the DP9 and I'm working on it. I think it will be ready soon, I'm just a little bit busy at work and Apple made several security changes in Mojave DP 9 so things just got a bit more complicated.

Thanks for the report anyway.

Share this comment


Link to comment
Share on other sites

Thank you my friend, but im have this log error:

 

"

Process:               Mac Optimizer [851]
Path:                  /private/var/folders/*/Mac Optimizer.app/Contents/MacOS/Mac Optimizer
Identifier:            com.macmeup.Mac-Optimizer
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Mac Optimizer [851]
User ID:               501

Date/Time:             2018-09-03 11:38:30.697 -0300
OS Version:            Mac OS X 10.14 (18A377a)
Report Version:        12
Anonymous UUID:        E6B81594-E8C2-E702-B372-183AD6C4AF79


Time Awake Since Boot: 2800 seconds

System Integrity Protection: disabled

Notes:                 Translocated Process

Crashed Thread:        0

Exception Type:        EXC_CRASH (Code Signature Invalid)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace CODESIGNING, Code 0x1

kernel messages:

VM Regions Near 0 (cr2):
--> 
    __TEXT                 000000010ce79000-000000010ce7d000 [   16K] r-x/rwx SM=COW  

Thread 0 Crashed:
0                                     0x000000011bc4a000 _dyld_start + 0

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x0000000000000000  rsi: 0x0000000000000000  rbp: 0x0000000000000000  rsp: 0x00007ffee2d86ae8
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000000
  r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x0000000000000000
  rip: 0x000000011bc4a000  rfl: 0x0000000000000200  cr2: 0x0000000000000000
  
Logical CPU:     0
Error Code:      0x00000000
Trap Number:     0


Binary Images:
       0x10ce79000 -        0x10ce7cff3 + (0) <9B068FFE-B9A1-3279-9AC9-8C55ADF99E0A> 
       0x11bc49000 -        0x11bcc7657 + (625.13) <FD58B2D0-D66F-345E-9679-F2F8DB189359> 

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 1370
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=728K resident=0K(0%) swapped_out_or_unallocated=728K(100%)
Writable regions: Total=8400K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8400K(100%)
 
                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
STACK GUARD                       56.0M        2 
Stack                             8192K        2 
__DATA                             232K        4 
__LINKEDIT                         204K        3 
__TEXT                             524K        3 
shared memory                        8K        3 
===========                     =======  ======= 
TOTAL                             64.9M       11 

Model: iMac18,3, BootROM IM183.0161.B00, 4 processors, Intel Core i7, 3,41 GHz, 16 GB, SMC 2.41f1
Graphics: Radeon RX Vega 64, Radeon RX Vega 64, PCIe
Memory Module: BANK 0/DIMM3, 16 GB, DDR4, 2400 MHz, Kingston, KHX2400C1516G
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x111), Broadcom BCM43xx 1.0 (7.77.61.1 AirPortDriverBrcmNIC-1305.2)
Bluetooth: Version 6.0.8f5, 3 services, 27 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Network Service: Wi-Fi, AirPort, en1
PCI Card: Intel HD Graphics 530, VGA-Compatible Controller, PCI Slot 3
PCI Card: Intel Corporation, Series Chipset USB xHCI Host Controller, USB Controller, Built In
PCI Card: Intel Corporation, Series Chipset MEI Controller, IMEI Controller, Built In
PCI Card: Intel Corporation, Series Chipset SATA Controller, AHCI Controller, Built In
PCI Card: Intel Corporation, Series Chipset PCHPMC Controller, PCHPMC Controller, Built In
PCI Card: Apple High Definition Audio Controller, Audio Controller, Built In
PCI Card: Intel I219V2 PCI Express Gigabit Ethernet, Ethernet Controller, Built In
PCI Card: ASMedia USB 3.1 eXtensible Host Controller, USB Controller, Built In
PCI Card: Broadcom BCM43xx Wireless Network Adapter, AirPort Extreme, Built In
PCI Card: Radeon RX Vega 64, Display Controller, PCI Slot 0@3,0,0
PCI Card: pci1002,aaf8, Audio Device, PCI Slot 0@3,0,1
Serial ATA Device: Samsung SSD 860 EVO 500GB, 500,11 GB
Serial ATA Device: KINGSTON SHFS37A240G, 240,06 GB
Serial ATA Device: WDC WD4002FYYZ-01B7CB0, 4 TB
Serial ATA Device: KINGSTON SHFS37A240G, 240,06 GB
USB Device: USB 3.1 Bus
USB Device: Miscellaneous Device
USB Device: USB 3.0 Bus
USB Device: USB Receiver
USB Device: Token 4.28.1.0 2.7.195
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: CIS-USB Virtual Keyboard Device V2.00
Thunderbolt Bus: "

 

Sorry if im noobie...
 

Share this comment


Link to comment
Share on other sites
15 minutes ago, max.1974 said:

Thank you my friend, but im have this log error:

 

"

 

 

Hi

 

I redownload it from this topic: Mac Optimizer v2.2 works fine here on Mojave Beta 9.

 

 

Capture d’écran 2018-09-03 à 16.55.56.png

Share this comment


Link to comment
Share on other sites
1 hour ago, max.1974 said:
Spoiler

 

Thank you my friend, but im have this log error:

 

"

Process:               Mac Optimizer [851]
Path:                  /private/var/folders/*/Mac Optimizer.app/Contents/MacOS/Mac Optimizer
Identifier:            com.macmeup.Mac-Optimizer
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Mac Optimizer [851]
User ID:               501

Date/Time:             2018-09-03 11:38:30.697 -0300
OS Version:            Mac OS X 10.14 (18A377a)
Report Version:        12
Anonymous UUID:        E6B81594-E8C2-E702-B372-183AD6C4AF79


Time Awake Since Boot: 2800 seconds

System Integrity Protection: disabled

Notes:                 Translocated Process

Crashed Thread:        0

Exception Type:        EXC_CRASH (Code Signature Invalid)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace CODESIGNING, Code 0x1

kernel messages:

VM Regions Near 0 (cr2):
--> 
    __TEXT                 000000010ce79000-000000010ce7d000 [   16K] r-x/rwx SM=COW  

Thread 0 Crashed:
0                                     0x000000011bc4a000 _dyld_start + 0

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x0000000000000000  rsi: 0x0000000000000000  rbp: 0x0000000000000000  rsp: 0x00007ffee2d86ae8
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000000
  r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x0000000000000000
  rip: 0x000000011bc4a000  rfl: 0x0000000000000200  cr2: 0x0000000000000000
  
Logical CPU:     0
Error Code:      0x00000000
Trap Number:     0


Binary Images:
       0x10ce79000 -        0x10ce7cff3 + (0) <9B068FFE-B9A1-3279-9AC9-8C55ADF99E0A> 
       0x11bc49000 -        0x11bcc7657 + (625.13) <FD58B2D0-D66F-345E-9679-F2F8DB189359> 

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 1370
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=728K resident=0K(0%) swapped_out_or_unallocated=728K(100%)
Writable regions: Total=8400K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8400K(100%)
 
                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
STACK GUARD                       56.0M        2 
Stack                             8192K        2 
__DATA                             232K        4 
__LINKEDIT                         204K        3 
__TEXT                             524K        3 
shared memory                        8K        3 
===========                     =======  ======= 
TOTAL                             64.9M       11 

Model: iMac18,3, BootROM IM183.0161.B00, 4 processors, Intel Core i7, 3,41 GHz, 16 GB, SMC 2.41f1
Graphics: Radeon RX Vega 64, Radeon RX Vega 64, PCIe
Memory Module: BANK 0/DIMM3, 16 GB, DDR4, 2400 MHz, Kingston, KHX2400C1516G
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x111), Broadcom BCM43xx 1.0 (7.77.61.1 AirPortDriverBrcmNIC-1305.2)
Bluetooth: Version 6.0.8f5, 3 services, 27 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Network Service: Wi-Fi, AirPort, en1
PCI Card: Intel HD Graphics 530, VGA-Compatible Controller, PCI Slot 3
PCI Card: Intel Corporation, Series Chipset USB xHCI Host Controller, USB Controller, Built In
PCI Card: Intel Corporation, Series Chipset MEI Controller, IMEI Controller, Built In
PCI Card: Intel Corporation, Series Chipset SATA Controller, AHCI Controller, Built In
PCI Card: Intel Corporation, Series Chipset PCHPMC Controller, PCHPMC Controller, Built In
PCI Card: Apple High Definition Audio Controller, Audio Controller, Built In
PCI Card: Intel I219V2 PCI Express Gigabit Ethernet, Ethernet Controller, Built In
PCI Card: ASMedia USB 3.1 eXtensible Host Controller, USB Controller, Built In
PCI Card: Broadcom BCM43xx Wireless Network Adapter, AirPort Extreme, Built In
PCI Card: Radeon RX Vega 64, Display Controller, PCI Slot 0@3,0,0
PCI Card: pci1002,aaf8, Audio Device, PCI Slot 0@3,0,1
Serial ATA Device: Samsung SSD 860 EVO 500GB, 500,11 GB
Serial ATA Device: KINGSTON SHFS37A240G, 240,06 GB
Serial ATA Device: WDC WD4002FYYZ-01B7CB0, 4 TB
Serial ATA Device: KINGSTON SHFS37A240G, 240,06 GB
USB Device: USB 3.1 Bus
USB Device: Miscellaneous Device
USB Device: USB 3.0 Bus
USB Device: USB Receiver
USB Device: Token 4.28.1.0 2.7.195
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: CIS-USB Virtual Keyboard Device V2.00
Thunderbolt Bus: "

 

Sorry if im noobie...

 

 

can you please run a test for me?

 

open terminal and run the following command:

 

codesign -v (drag the Mac Optimizer.app to the terminal window and the press enter and post the results) 

Edited by Cyberdevs

Share this comment


Link to comment
Share on other sites

Hi @Cyberdevs sorry late, im need reinstall Mojave again my friend!!! 

 

Im drag and drop but happens a curious thing: my desktop is gone (not files, just image then on front Screen). They only appears in Finder, but in desktop screen just is gone...

But don't worry, its happens, and im not lost anything....:thumbsup_anim: Im love this Game!!!

Im so afraid to open again and desktop disappears kkkkk but I will... 

In that case im was using beta 9, now im not know, but im think is Mojave beta 8, but that gave me error and cannot open again ...error report...

 

1908917603_CapturadeTela2018-09-03s12_10_17.png.abaef9e1017e8234ec76363a6648c480.png

Captura de Tela 2018-09-03 às 12.17.13.png

Edited by max.1974

Share this comment


Link to comment
Share on other sites

Thanks for the report :)

There's an issues with my Xcode certificates they get revoked way too often and it's a bit unnerving!

I guess I have to wait for Mojave to be released which is in couple of weeks to do a clean install and see if I still have the same issue. The lates file that I uploader after you reported the issue has no signing issue by the way I just check and you should be able to run it on Mojave.

 

Share this comment


Link to comment
Share on other sites

Hallo,

I had tested macoptimizer ver. 2.2. I selected "ALL" at the last TAB. No stop, no hassel. At the end "reboot".

 

After reboot the audio-codec ist gone. :thumbsdown_anim:

 

Thank you, in advanced

 

The Environment: MacOS 10.13.6, i7-8700K, Z370-AOURUS motherboard

about-my-mac.png

noAudio-device.png

Share this comment


Link to comment
Share on other sites
17 minutes ago, iogy17 said:

Hallo,

I had tested macoptimizer ver. 2.2. I selected "ALL" at the last TAB. No stop, no hassel. At the end "reboot".

 

After reboot the audio-codec ist gone. :thumbsdown_anim:

 

Thank you, in advanced

 

The Environment: MacOS 10.13.6, i7-8700K, Z370-AOURUS motherboard

This app as the title says removes the kext caches and prelinkedkernel files from macOS and those files will be replaced with the new files after reboot.

Which method did you use to activate the Audio? AppleALC? which layout-id?

Share this comment


Link to comment
Share on other sites
2 hours ago, Cyberdevs said:

This app as the title says removes the kext caches and prelinkedkernel files from macOS and those files will be replaced with the new files after reboot.

Which method did you use to activate the Audio? AppleALC? which layout-id?

i used AppleALC, layoutID=2

btw: I had reinstalled the audio-driver => and now it sounds well:)

Thank You and Regards

Share this comment


Link to comment
Share on other sites
10 hours ago, telepati said:

Great Job, thank you @Cyberdevs :thumbsup_anim:

You're welcome :)

10 hours ago, iogy17 said:

i used AppleALC, layoutID=2

btw: I had reinstalled the audio-driver => and now it sounds well:)

Thank You and Regards

I'm glad that your problem is fixed now :)

Share this comment


Link to comment
Share on other sites

×