Jump to content
jackluke

Mojave "light mode" hybrid transparency "patch" WORKING (with proof pictures)

23 posts in this topic

Recommended Posts

Those who use Mojave with an OpenGL (non-Metal) Video Card in "dark mode" have noticed that global transparencies are working fine, while in "light mode" encountered the "grey" Finder menu bar and sidebars issues, this patch is intended for those who want to use Mojave mainly in "light mode" saving some transparencies around, so here is my "hybrid reduce transparency" patch.

 

It is totally safe, harmless and reversible, it has been deeply tested and will 100% work until restart or logout, even after sleep lock screen it will still work.
To return with normal "transparency" you can also do that from Accessibility prefpane disabling the "reduce transparency" checkbox.
To use this patch just double click on this attached shell "mojavehld.command" and it will launch through Terminal.


[METHOD 1: Enable hybrid transparency]
After launch the mojavehld.command just follow these steps:
type 1
type 4

close Terminal (CMD+Q) and any other app previously opened.

(The choice number 3 is not mandatory)

[METHOD 2: Force hybrid transparency]
If for some reason after that you will still get Dock and Notification Center without "transparencies" then relaunch the mojavehld.command:
type 2
type 1
type 4

close Terminal (CMD+Q) and any other app previously opened.

 

Download attached here: mojavehld.zip

 

desert finder menu.png

desert notification bar.png

color finder menu.png

color notification.png

color finder dock.png

Edited by jackluke

Share this post


Link to post
Share on other sites
Advertisement

Hmm... ok, so all in all, all that your script does is apply the good old command that disables/enables transparency:

defaults write com.apple.universalaccess reduceTransparency -bool [true|false]

What's new? the partial restart of macOS functionalities?

Edited by Hervé

Share this post


Link to post
Share on other sites

Mine has a totally different purpose, is needed to fix the "grey" Finder menu bar on unsupported Metal GPUs for Mojave "light mode", it enables a "partial transparency reduction" while that link you posted is an applescript for "global transparency reduction".

 

And my "patch" doesn't require any "sudo" or "System Events" permissions.

 

The "new" is that you will have an opaque Finder menu while keeping all other elements like Dock, Notification Center and some other transparencies.

 

This is needed for Mojave "non-Metal" GPUs with only OpenGL rendering, as a workaround for the "light mode".

Edited by jackluke

Share this post


Link to post
Share on other sites

H,

Firstly thanks for all your effort to get Mohave goin on non metal older graphics.

 

 

But does not change anything here, screen shot attached .

But I lost trackpad control after applying this patch.

Restored back default and trackpad works again.

 

Regards

macq

 

 

Screenshot 2018-09-18 at 6.26.28 PM.png

Share this post


Link to post
Share on other sites

The default write com.apple.universalaccess reduceTransparency -boot [true|false] command just does what it's always done.

 

What leads to claim there is "hybrid transparency" is that, after executing the command to disable transparency, the script only restarts Finder and Spotlight, not the Dock or anything else. However, after a reboot, transparency is completely disabled, as anyone would expect, i.e. white Finder bar, dark Dock, etc.. So the "hybrid transparency" is only effective for as long as you run the script from a system with transparency enabled and you do not reboot.

 

You need to restore default transparency settings before a reboot or shutdown if you want to enjoy the results of that script again (i.e. you need to either run the script and select option 2, or enter the default write command to set reduction to false or use the Accessibility->Display PrefPane to untick Reduce transparency parameter). All in all, it's nice for a few times but probably rapidly quite annoying to do in the long run.

 

Example on non-Metal HD3000 system in light mode...

* with default transparency:

Default_transparency.thumb.png.87c8f80cc62a00275f8751c907df1462.png

 

* without transparency:

No_transparency.thumb.png.a2f2d85ecb1867c5419601a2726d03ad.png

 

* after executing the script under default transparency mode:

After_script.thumb.png.65407238bdb2b7e4cce879d3f6cdff00.png

 

* after rebooting the system without restoring default transparency settings:

No_transparency.thumb.png.a2f2d85ecb1867c5419601a2726d03ad.png

 

So, yes, the trick with Finder brings a nicer look but you have to restore default settings to avoid total loss of transparency on reboot. This would need to be refined through an automated process at boot and restart/shutdown to be properly usable.

 

Edited by Hervé

Share this post


Link to post
Share on other sites
4 hours ago, Hervé said:

No, it just does what it's always done. You just got the impression it does something else on non-Metal graphics but all it does is disable transparency like it does on any other systems.

 

Example on Metal-HD4000 system...

with transparency:With_transparency.png.675f9fcbcbfdefe6b65373ef8c6c91ed.png

 

without transparency:

 

Without_transparency.png

 

Of course HD4000 is Metal supported, you should instead try that on HD3000 that is OpenGL only (non-Metal), or any Legacy Nvidia Tesla or ATI with QE/CI.

 

Please try that on an HD3000 and you'll notice what I meant.

 

Anyway you evidenced the less important thing into your screenshot, my patch is working fine.

 

If you get offended because I called it "patch", call as you want, but I can assure that this little script does its own duty as workaround for Mojave "light mode".

You can't find a better solution till now to keep transparent Dock and at the same time a clear white opaque Finder menu bar in "light mode".

 

4 hours ago, macq said:

H,

Firstly thanks for all your effort to get Mohave goin on non metal older graphics.

 

 

But does not change anything here, screen shot attached .

But I lost trackpad control after applying this patch.

Restored back default and trackpad works again.

 

Regards

macq

 

 

Screenshot 2018-09-18 at 6.26.28 PM.png

 

Which GPU do you have ?

 

Try again these steps, launch the Terminal mojavehld.command then type followed by "enter key": 2, 1, 4

 

Probably when you lost the trackpad, if in the "meanwhile" you used an USB mouse you could notice that script was perfectly working.

Edited by jackluke

Share this post


Link to post
Share on other sites
17 minutes ago, jackluke said:

 

Which GPU do you have ?

 

Try again these steps, launch the Terminal mojavehld.command then type followed by "enter key": 2, 1, 4

Hi,

 

Mine is Nvidia gt 320m.

Specs in sig.

 

Edit, with this setting loose the transparency of the dock now, but trackpad working.

Screen shot attached.

 

Screenshot 2018-09-18 at 6.58.21 PM.png

Edited by macq

Share this post


Link to post
Share on other sites
45 minutes ago, macq said:

Hi,

 

Mine is Nvidia gt 320m.

Specs in sig.

 

Ok that's a legacy Nvidia Tesla so it works, but unluckily in your case probably there is conflict with your internal "trackpad", try with an USB mouse to notice that "hybrid transparency" is working.

 

45 minutes ago, macq said:

Edit, with this setting loose the transparency of the dock now, but trackpad working.

Screen shot attached.

 

Ok then go through "System Preferences - Accessibility prefpane - Display"

de-select the "reduce transparency" checkbox

Then relaunch my script and type 1, close Terminal, now it should give Dock and Notification Center transparencies and fix the greyed Finder menu.

Edited by jackluke

Share this post


Link to post
Share on other sites
20 hours ago, Hervé said:

The default write com.apple.universalaccess reduceTransparency -boot [true|false] command just does what it's always done.

 

What leads to claim there is "hybrid transparency" is that, after executing the command to disable transparency, the script only restarts Finder and Spotlight, not the Dock or anything else. However, after a reboot, transparency is completely disabled, as anyone would expect, i.e. white Finder bar, dark Dock, etc.. So the "hybrid transparency" is only effective for as long as you run the script from a system with transparency enabled and you do not reboot.

 

You need to restore default transparency settings before a reboot or shutdown if you want to enjoy the results of that script again (i.e. you need to either run the script and select option 2, or enter the default write command to set reduction to false or use the Accessibility->Display PrefPane to untick Reduce transparency parameter). All in all, it's nice for a few times but probably rapidly quite annoying to do in the long run.

 

Example on non-Metal HD3000 system in light mode...

* with default transparency:

Default_transparency.thumb.png.87c8f80cc62a00275f8751c907df1462.png

 

* without transparency:

No_transparency.thumb.png.a2f2d85ecb1867c5419601a2726d03ad.png

 

* after executing the script under default transparency mode:

After_script.thumb.png.65407238bdb2b7e4cce879d3f6cdff00.png

 

* after rebooting the system without restoring default transparency settings:

No_transparency.thumb.png.a2f2d85ecb1867c5419601a2726d03ad.png

 

So, yes, the trick with Finder brings a nicer look but you have to restore default settings to avoid total loss of transparency on reboot. This would need to be refined through an automated process at boot and restart/shutdown to be properly usable.

 

 

I did already tried to create an automated process in this way:

 

creating a mojavehld.plist in /Library/LaunchDaemons/ to execute a script before shutdown and startup

 

creating a mojavehld.sh in /Library/LaunchDaemons/ to execute the script to keep the "hybrid transparency"

 

pointing the mojavehld.plist to the mojavehld.sh

 

sudo chown 0:0 /Library/LaunchDaemons/mojavehld.plist

sudo chown 0:0 /Library/LaunchDaemons/mojavehld.sh

 

sudo launchctl load -w /Library/LaunchDaemons/mojavehld.plist

 

One little issue I've encountered is that I've to consider to edit this file before the loginwindow:

~/Library/Preferences/com.apple.universalaccess.plist

 

In Mojave this is not in plaintext but binary encoded, so it will result a bit invasive for most users.

 

 

For now I believe that the script I did on the main post is a good workaround for those who want to use a temporary "light mode" until a reboot of course, and even if a bit uncomfortable, relaunching the script after a restart to me is not a drama.

 

Edited by jackluke

Share this post


Link to post
Share on other sites

i was encouraged and I love command line stuff - but then got less excited for the future of my HD3000 system... as this seems to (almost) do what System Preferences/Accessibility/Display "Reduce Transparency" does? I say almost as the GUI enables and updates the full gamut of objects. 

 

by the way, i wish i knew what one needs to restart via command line to get immediate effect...

 

as I was trying to figure out how to switch from Light Mode to Dark Mode via command line so I could turn it on/off via a schedule.

 

this seems to be the key item  
defaults write "Apple Global Domain" "AppleInterfaceStyle" Dark

but after Dark is set, I need to logout/login so see effect.

 

 

 

Edited by tluck

Share this post


Link to post
Share on other sites
11 hours ago, tluck said:

i was encouraged and I love command line stuff - but then got less excited for the future of my HD3000 system... as this seems to (almost) do what System Preferences/Accessibility/Display "Reduce Transparency" does? I say almost as the GUI enables and updates the full gamut of objects. 

 

by the way, i wish i knew what one needs to restart via command line to get immediate effect...

 

as I was trying to figure out how to switch from Light Mode to Dark Mode via command line so I could turn it on/off via a schedule.

 

this seems to be the key item  
defaults write "Apple Global Domain" "AppleInterfaceStyle" Dark

but after Dark is set, I need to logout/login so see effect.

 

 

Yes, I have exploited the "reduce transparency" Accessibility feature discovering that doing it from Terminal until you don't relaunch Finder.app or Dock.app (I mean the CoreServices app) the GUI will keep a partial transparency, it's not a long run patch however it works and totally harmless for the system.

 

In your specific case I guess you refer to these dictionary keys:

  • Light mode: defaults delete Apple\ Global\ Domain AppleInterfaceStyle

  • Dark mode: defaults write Apple\ Global\ Domain AppleInterfaceStyle Dark

 

You can follow the method I used for create my script, to see the immediate effect without logout/login just type from Mojave Terminal:

 

defaults write com.apple.universalaccess reduceTransparency -bool false

killall Finder

killall Dock

killall NotificationCenter

killall Spotlight

 

 

While this is used only for the "light mode":

 

defaults write com.apple.universalaccess reduceTransparency -bool true

killall Finder

killall Spotlight

 

Edited by jackluke

Share this post


Link to post
Share on other sites

Here is my original method "translated" into an AppleScript so anyone can put it on Automator and it will do the trick switching between a full translucent "dark mode" and a semi-translucent "light mode":

 

tell application "System Events"

tell appearance preferences

if dark mode is false then

set dark mode to true

do shell script "defaults write com.apple.universalaccess reduceTransparency -bool false"

do shell script "killall Finder"

do shell script "killall Dock"

do shell script "killall NotificationCenter"

do shell script "killall Spotlight"

else

set dark mode to false

do shell script "defaults write com.apple.universalaccess reduceTransparency -bool true"

do shell script "killall Finder"

do shell script "killall Spotlight"

end if

end tell

end tell

 

 

Here is the Applescript already-ready to download: hybrid dark light switch.zip

 

 

Edited by jackluke

Share this post


Link to post
Share on other sites
On 10/4/2018 at 2:34 PM, jackluke said:

Here is my original method "translated" into an AppleScript so anyone can put it on Automator and it will do the trick switching between a full translucent "dark mode" and a semi-translucent "light mode":

 

tell application "System Events"

tell appearance preferences

if dark mode is false then

set dark mode to true

do shell script "defaults write com.apple.universalaccess reduceTransparency -bool false"

do shell script "killall Finder"

do shell script "killall Dock"

do shell script "killall NotificationCenter"

do shell script "killall Spotlight"

else

set dark mode to false

do shell script "defaults write com.apple.universalaccess reduceTransparency -bool true"

do shell script "killall Finder"

do shell script "killall Spotlight"

end if

end tell

end tell

 

 

Here is the Applescript already-ready to download: hybrid dark light switch.zip

Great work mate. Can you explain what I must do with Automator because I am a beginner with that staff. Thanks!

The script doesn't seem to work correctly. We want it to run the code when we press light mode and do nothing when we press dark mode. How do we do that?

 

Quote

 

Edited by belodelo

Share this post


Link to post
Share on other sites

Try the app I posted here. It's based on Jackluke's work and only applies to Light mode. It does nothing in Dark mode. It's created in Automator from the provided script. But maybe you don't know how to use the tool...

Edited by Hervé

Share this post


Link to post
Share on other sites

Mine has a totally different purpose, is needed to fix the "grey" Finder menu bar on unsupported Metal GPUs for Mojave "light mode", it enables a "partial transparency reduction" while that link you posted is an applescript for "global transparency reduction".

Share this post


Link to post
Share on other sites

I believe you're mistaken and must have missed something, especially as I explained what every line of the script did. You may also refer to Jackluke's explanations above.

 

Of course, if you want to compare things and/or enlighten us, well... show us yours!

Share this post


Link to post
Share on other sites

I don't know if anybody else has come across the issue, however upon installing this patch some third party applications such as Chrome made the menubar go back to it's broken state. I found out that it was because Chrome was still seeing the system as being in dark mode, and had adjusted its interface accordingly. To fix this, I wrote a small applescript program to force applications like chrome to act as they would in light theme.

 

Fix Dark Menubar in Third Party Apps.app.zip

Edited by Doofitator
Bugfix

Share this post


Link to post
Share on other sites
7 hours ago, Doofitator said:

I don't know if anybody else has come across the issue, however upon installing this patch some third party applications such   Audacity Find My iPhone Origin         as Chrome made the menubar go back to it's broken state. I found out that it was because Chrome was still seeing the system as being in dark mode, and had adjusted its interface accordingly. To fix this, I wrote a small applescript program to force applications like chrome to act as they would in light theme.

 

Fix Dark Menubar in Third Party Apps.app.zip

transparency is completely disabled, as anyone would expect, i.e. white Finder bar, dark Dock, etc.. So the "hybrid transparency" is only effective for as long as you run the script from a system with transparency enabled and you do not reboot.

Share this post


Link to post
Share on other sites

I added some lines for automatic settings when switching between light/dark mode and different machines.

 

set MacModel to (do shell script "system_profiler SPHardwareDataType | awk '/Model Identifier/ {print $3}'")

if MacModel is not "MacBookAir5,2" and MacModel is not "MacPro6,1" then --is the script run on a specific Mojave-supported machine?

  tell application "System Events"

    tell appearance preferences

      set reduceTransparency to get do shell script "defaults read com.apple.universalaccess reduceTransparency -bool"

      if dark mode is false then -- light mode is active

        if reduceTransparency is "1" then -- reduceTransparency was active

          do shell script "defaults write com.apple.universalaccess reduceTransparency -bool false"

          do shell script "killall Dock"

          do shell script "killall NotificationCenter"

          delay 1

          do shell script "defaults write com.apple.universalaccess reduceTransparency -bool true"

          do shell script "killall Finder"

          do shell script "killall Spotlight"

        else -- reduceTransparency was off

          do shell script "defaults write com.apple.universalaccess reduceTransparency -bool true"

          do shell script "killall Finder"

          do shell script "killall Spotlight"

          display dialog "Please reboot manually to disable menu bar transparency." giving up after 5

        end if

      else -- dark mode is active

        if reduceTransparency is "1" then -- reduceTransparency was active

          do shell script "defaults write com.apple.universalaccess reduceTransparency -bool false"

          do shell script "killall Finder"

          do shell script "killall Dock"

          do shell script "killall NotificationCenter"

          do shell script "killall Spotlight"

          display dialog "Please reboot manually to enable menu bar transparency." giving up after 5

        end if

      end if

    end tell

  end tell

end if

Edited by alrunenwurzel
Format

Share this post


Link to post
Share on other sites
On 5/6/2019 at 9:21 AM, alrunenwurzel said:

I added some lines for automatic settings when switching between light/dark mode and different machines.

 

set MacModel to (do shell script "system_profiler SPHardwareDataType | awk '/Model Identifier/ {print $3}'")

if MacModel is not "MacBookAir5,2" and MacModel is not "MacPro6,1" then --is the script run on a specific Mojave-supported machine?

  tell application "System Events"

    tell appearance preferences

      set reduceTransparency to get do shell script "defaults read com.apple.universalaccess reduceTransparency -bool"

      if dark mode is false then -- light mode is active

        if reduceTransparency is "1" then -- reduceTransparency was active

          do shell script "defaults write com.apple.universalaccess reduceTransparency -bool false"

          do shell script "killall Dock"

          do shell script "killall NotificationCenter"

          delay 1

          do shell script "defaults write com.apple.universalaccess reduceTransparency -bool true"

          do shell script "killall Finder"

          do shell script "killall Spotlight"

        else -- reduceTransparency was off

          do shell script "defaults write com.apple.universalaccess reduceTransparency -bool true"

          do shell script "killall Finder"

          do shell script "killall Spotlight"

          display dialog "Please reboot manually to disable menu bar transparency." giving up after 5

        end if

      else -- dark mode is active

        if reduceTransparency is "1" then -- reduceTransparency was active

          do shell script "defaults write com.apple.universalaccess reduceTransparency -bool false"

          do shell script "killall Finder"

          do shell script "killall Dock"

          do shell script "killall NotificationCenter"

          do shell script "killall Spotlight"

          display dialog "Please reboot manually to enable menu bar transparency." giving up after 5

        end if

      end if

    end tell

  end tell

end if

 This is perfect! While I did plan to make a slight change, I am more interested in tying this into the "Light Mode / Dark Mode Preference Panes" using this script as a event trigger as apposed to using this as a Login Item (check box Hidden). I'll see what I can do today. 

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.

  • Similar Content

    • By midi-sama
      After a long time of cooking this computer up with a lot of stuff, I'm finally releasing my guide for this P50 with OpenCore.
       
      Lenovo ThinkPad P50 macOS Install with OpenCore
       
      This thread may be used for questions/corrections/additions. Good Luck.
    • By Georgiles
      Laptop: Asus Vivobook F510UA
      CPU: Intel Core i5-8250U
      Graphic: Intel UHD 620
      Wifi: Intel Dual Band Wireless-AC 8265 (no kexts for intel wifi) :(
      Card Reader: Realtek_CardReader(RTL8411B_RTS5226_RTS5227)
      Camera: ASUS UVC HD 7.Audio: Conexant Audio CX8050
      Touchpad: ELAN1300
       
       by parkrypto: thank you tctien342 for the amazing guide.
       
      https://github.com/tctien342/Asus-Vivobook-S510UA-High-Sierra-10.13-Hackintosh
       
      Ebayed the laptop for $290 + tax = $350
      added: 16gb RAM + existing 8GB = 24GB          Timetec Hynix IC 16GB DDR4 2400MHz PC4-19200 Non ECC Unbuffered 1.2V CL17 2Rx8 Dual Rank 260 Pin SODIMM Laptop Notebook Computer Memory Ram Module Upgrade S Series (16GB)     
      added: cheap wifi         TP-Link USB Wifi Adapter for PC N150 Wireless Network Adapter for Desktop - Nano Size Wifi Dongle Compatible with Windows 10/7/8/8.1/XP/Vista Mac OS 10.9-10.15 Linux Kernel 2.6.18-4.4.3 (TL-WN725N)     
      added: NAND 1TB Internal PC SSD https://www.amazon.com/gp/product/B073SB2MXT/ref=ppx_yo_dt_b_asin_title_o01_s01?ie=UTF8&psc=1
      Gadget Reviews upgraded too, video: https://www.youtube.com/watch?v=39EquX5PTkQ
       
      I just installed. Everything works fine. I'll test final cut pro, premiere pro with 4k footage and get back with you on performance. 
      For now moves like a performant Mac book pro. 
      I installed Catalina first but I could not make the Intel UHD 620 Graphics get proper QE/CI. 
      Mojave is just fine. I want to use this system for quick video editing on the go.
      Geekbench in my signature.  
      If you need any files or have any questions pls ask.
       






      asus f510u mojave.zip
    • By Sagnik Ganguly
      Hello I'm Sagnik Ganguly, I'm trying to dual boot macOS 10.14 and Windows 10 (already installed) on a PC with Legacy BIOS. I've two hard drives one in where the windows is installed and another which is converted to GPT to install macOS Mojave 10.14 with a partion of Mac OS Extended (Journal) or APFS but when I went to the Install Disk Selection page, I'm selecting the partition but it says "This version of macOS 10.14 cannot be installed on this computer." can you help me please? 
      P. S. My motherboard doesn't support UEFI. 
      I'm attaching some pictures of the screens.


    • By tonyx86
      *** I have started another thread for installing Catalina on the Dell Latitude E6410.  If you were thinking of installing Mojave, but would prefer to skip right to Catalina, click here. ***
       
      I was inspired by @duduclx post here for installing El Capitan on a Dell Latitude E6410, so I decided to install Mojave 10.14.5 and subsequently 10.14.6.  Everything works perfectly (including sleep).  I'm starting this thread hoping to help others install Mojave on their E6410s.  A brief installation guide is provided later in this first post.  The interested reader is encouraged to read the other posts in this thread to see how this solution evolved and to learn additional tips/details not provided in this first post (including dual-booting with macOS and Windows).
       
      My system is as follows:
      Dell Latitude E6410 (I7-620m, Nvidia 3100M, 8GB DDR3, 512GB SSD, 1440x900 display, BIOS: A17) MacOS: Mojave 10.14.6 (APFS) (Patched with DosDude Mojave Patcher 1.3.3) MacModel: MacBookPro 6,2 (LPCB._DSM.Name "pci8086,3b09") Kexts: Lilu 1.3.6, VoodooHDA 2.9.2, AirportBrcmFixup 2.0.0, IntelMausiEthernet 2.4.1d1, ACPIBatteryManager 1.90.1, BrcmPatchRam2.kext, BrcmFirmwareRepo.kext, VoodooPS2Controller (the "Refined ALPS Touchpad" version - release 6 developed by @Dr. Hurt and compiled by @bronxteck), not the original version), USBInjectAll (with custom SSDT-UIAC), VoodooSDHC.kext (configured as shown here). Wi-Fi: Broadcom BCM 94352HMB (with AirportBrcmFixup.kext) CLOVER (Legacy): R4961  
      Configuration items that may be different from what you have seen in other E6410 configurations
      Addition of _OFF and _ON methods to _PTS and _WAK methods respectively (to control discrete graphics in order to enable sleep/wake) LPCB._DSM patched with device-id "3b09" AND "name", "pci8086,3b09" for native Nehalem power management with MacBookPro 6,2 ECDV renamed to EC so that AppleBusPowerController loads AGP.VID._DSM patched with device-id "0a29" so that AppleGraphicsPowerManagement loads No CLOVER Generate P or Generate C States (with the correct LPCB._DSM and MacBookPro 6,2, these CLOVER options are unnecessary for this architecture and only limit max multiplier and reduce number of P states) DSDT patched to include HDAU device (device-id 0x0be3)  
      What is NOT working:
      Display brightness can be controlled with keyboard keys, but cannot be controlled with slider in Display settings. Graphics Power Management - AGPM loads (because 10de,0a29 device is injected), but there's no evidence that 3100m frequency and voltage is changing.
        What is NOT tested:
      Smartcard Reader eSata (I have this disabled in my BIOS) Firewire Port (it does appear in the Network settings, just haven't tried it) Microphone Jack PC Card Slot (I have this disabled in my BIOS)  
      What IS working:
      SLEEP IS WORKING! Everything else not mentioned above.   Speedstep/CPUPowerManagement is perfect, system temps are low, CPU multiplier operates as expected, battery life is long Shutdown is fast Display/graphics acceleration is perfect (thanks to DosDude's Mojave patcher) Brightness (adjusted with brightness keys on keyboard) works perfectly Battery Manager works (battery status is displayed in menu bar) simply by installing ACPIBatterManager.kext. Wi-Fi (after changing to Broadcom BCM94352HMB and installing AirportBrcmFixup.kext) Audio (volume adjustable, volume indicator appears in menu bar).  Switched to VoodooHDA from AppleALC after AppleALC caused slow boot due to "IOHDACodecFunction timeout." Ethernet port (with IntelMausiEthernet.kext) Broadcom BCM20702A0 Bluetooth (with BrcmPatchRam2.kext and BrcmFirmwareRepo.kext) Optical Drive External VGA (with corrected NVCAP.  Need NVCAP 04000000 00000100 0E000000 00000007 00000000 (credit: here) for working external VGA display. Headphone jack Display Port (tested using DP > HDMI adapter) Camera SD Card Reader  
      Known issues and their solutions (These issues have all been resolved, with the solutions incorporated into the attached config files.  The issues are listed here for historical purposes and no further work is needed unless stated otherwise).
      USB sleep/wake power IORegistry keys are no longer provided in IOUSBHostFamily.kext after High Sierra 10.13.6.  Solution is to added SSDT-USBX.aml to EFI/CLOVER/ACPI/patched.  The attached SSDT-USBX.aml includes USB sleep/wake properties for MacBookPro6,2 from High Sierra 10.13.6 IOUSBHostFamily.kext. Laptop does not sleep on lid close.  Solution is to add Notify (LID0) code to Method (BTNV) in the DSDT.  This is solved in the attached DSDT. Leaving this for historical purposes, but the CLOVER USBFix is no longer necessary after finding that I had incorrectly applied the DSDT _DSM patch for Device (EHC1).  The CLOVER USBFix is not needed after fixing the DSDT..  AAPL,clock-id and device_type do not appear in IORegistry for EHC1.  Solution is to use CLOVER on-the-fly patching/fixing/renaming for EHC1 and EHC2.  Thank you, @feartech, for this tip. ALPS trackpad performance is not good with the "standard" VoodooPS2Controller.kext that I initially used.  Switching to the "Refined ALPS TouchPad driver" is a big improvement.  I've implemented and tested this on my system.  The ALPS version of VoodooPS2Controller.kext mixes up a few keys.  Need to switch the Command and Option keys (System Preferences > Keyboard > Modifier Keys) and change keyboard type to ISO European. This configuration (captured in the attached config files) uses an injected device-id (10de,0a29) for NVidia 3100m to get AGPM to load.  While I haven't observed any performance differences, a better approach may be to inject AGPM properties for device 10de,0a6c (the actual device-id for the 3100m).  This AGPM method is discussed later in this thread.  I have briefly tested this "FakeSMC.kext method" for injecting AGPM attributes without any noticeable changes in laptop/graphics behavior. IOHWControl is not loaded under AGPM (Should be AGP > VID > NVDA,Display-A@0 > NVDATesla > AGPM > gpu-control > IOHWControl as viewed in IORegistryExplorer).  It is loaded on a real MacBookPro6,2 running Mojave and is loaded on this Dell Latitude E6410 running High Sierra.  If I "Inject NVidia" via CLOVER, IOHWControl loads properly. The Dell Latitude DSDT (BIOS A17) has a bug in Method (GNOT).  In the method, the expression  If (LOr (LGreater (OSYS, 0x07D0), LLess (OSYS, 0x07D6))) always evaluates to TRUE, so the patched DSDT has no dependency on the value of OSYS.  I suspect that LOr should be replaced with LAnd, so that this expression is TRUE for variants of Windows 2001 and False for any other OS.  While this may have no affect on MacOS, it makes one wonder how such an obvious bug made it through Dell QA and is still present in BIOS A17.  Also makes one wonder whether the sleep problem (which no one has solved) was fixed in Windows to address another DSDT bug. The assigned value of ACOS and OSYS in the DSDT are conditional on the operating system.  There is no condition for "Darwin."  The solution is to add a condition for "Darwin" (making it equivalent to one of the defined operating systems (e.g. Linux, Win7, etc).  The attached config hard-codes ACOS and OSYS values equivalent to those for Linux.  Another way to handle this (different from the method employed in the attached config files) might be to override _OSI with XOSI (defined in a custom SSDT). The portType of the Internal Bluetooth device is portType=0 which, according to Rehabman's comments in SSDT-UIAC-All.dsl, is an external USB 2 port.  This should be an internal USB port (portType=2).  I learned through trial and error that the HUB1 and HUB2 definitions in Rehabman's SSDT-UIAC-ALL.dsl apply to the ports on the EHCx USB hubs.  The solution is to include the HUB1 definition in SSDT-UIAC.dsl and change portType to 2 for HP15.  This change doesn't appear to affect/fix sleep, but it may prevent instant wake if we get sleep working. There are minor differences between a real MacBookPro6,2 IORegistry dump and this HackBookPro6,2 IORegistry dump that can be resolved with simple DSDT edits.  I am now running with these changes, but haven't found these changes to make any difference in operational behavior.
      Rename Device (AC) -> Device (ADP1) Remove UID from Device (HPET) Add compatible ID "PNP0C01" to Device (HPET) Change ADP1:_STA from 0x0F to 0xFFFFFFFF Enable Ambient Light Sensor and renamed to Device (ALS0) from Device (ALS) Add compatible ID "smc-als" to ALS0 Rename LID -> LID0 Change "name" definitions to Buffers in _DSM methods Rename Device (PBTN) to PWRB Rename Device (SBTN) to SLPB Sleep / Wake does not work with the basic DSDT edits.  I have discovered that Sleep / Wake can be made to work by adding discrete graphics _OFF and _ON methods to _PTS and _WAK methods respectively (borrowed the concept and code from a working E6430 DSDT: Credit here: https://osxlatitude.com/forums/topic/9248-working-sleep-on-intel-hd-and-nvidia-nvs-on-dell-latitude-e6430-optimus-enabled-or-disabled/page/6/. The Clover boot arg should be changed to "darkwake=0" for reasons explained by @holyfield in this thread.  Leaving this for historical purposes: LCD screen is blank when waking laptop by opening lid (screen is not blank when waking with power button).  Solution is to add darkwake=8 to CLOVER boot args.  Thank you @Hervé for this tip.  
      Brief Installation Guide:
      Configure BIOS (version A17) as follows (leave default unless listed here): Boot Sequence: USB, Internal HDD, CD/DVD, Modular Bay HDD; Boot List Option: Legacy; Integrated NIC: Enabled; Parallel Port: Disabled; Serial Port: Disabled; SATA Operation: AHCI; Misc Devices: Enable Modular Bay, Camera, External USB, Microphone, Media Card and 1394; Latitude ON Reader: Disabled; Keyboard Illumination: Auto ALS and Input; Ambient Light Sensor: Enabled; OROM Keyboard Access: Disable; TPM Security: Disable; Computrace: Deactivate; CPU XD Support: Enable; Performance: Enable all options; Power Management: Disable Wake on AC, Disable Wake on LAN/WAN, Express Charge: Standard, Charge Behavior: Enabled; Keypad: Fn Key Only; Mouse/Touchpad: Touchpad/PS-2 Mouse; USB Emulation: Enable Legacy; Fn Key Emulation: Disabled; Fastboot: Thorough; Virtualization: Enable Intel Virtualization, Disable VT for Direct I/O, Disable Trusted Execution; Wireless Switch: Bluetooth and WLAN; Wireless Device Enable: Bluetooth and WLAN;  Create your MacOS installer USB (Use DosDude's Mojave Patcher for Mojave) (start with High Sierra and not Mojave if you're new to hackintosh). Install CLOVER (Legacy) on installer USB using attached EFI as your guide for patched ACPI, kexts and config.plist Install MacOS to your SSD.  When you run DosDude's Mojave Patcher, DO NOT install LegacyUSBInjector.kext - you're going to use Rehabman's USBInjectAll.kext.  Also, do not install the DosDude SIP kext (you're using CLOVER to manage SIP). Install the following kexts in /Library/Extensions:  ACPIBatteryManager.kext, AirportBrcmFixup.kext, BrcmFirmwareRepo.kext, BrcmPatchRAM2.kext, FakeSMC.kext, FakeSMC_ACPISensors.kext, FakeSMC_CPUSensors.kext, FakeSMC_GPUSensors.kext, FakeSMC_LPCSensors.kext, IntelMausiEthernet.kext, Lilu.kext, USBInjectAll.kext, VoodooPS2Controller.kext (the "Refined ALPS Touchpad driver," not the original), VoodooSDHC.kext (configured as shown here). Switch Command and Option keys to compensate for Refined ALPS driver issue (System Preferences > Keyboard > Modifier Keys).  Also change keyboard type to ISO European to fix the [ ` ~ ] key (to the left of the "1" (one) key. Install VoodooHDA Install HWMonitor application  
      Tips for Improved Performance (on this and other older systems)
      System Preferences > Spotlight > Search Results: Uncheck all options System Preferences > Spotlight > Privacy: Add all Volumes System Preferences > Accessibility > Display: Check "Reduce motion" System Preferences > Accessibility > Display: Check "Reduce transparency"  
      Other tips
      If your fan is always running and temps are good, try pressing Fn + z After applying Mojave updates, HWMonitor may not display discrete graphics attributes.  On systems with multiple displays, a second (or third display) may not be active after applying the Mojave update.  The solution to this is to run "sudo kextcache -i /" (in a terminal window) and reboot.  This will usually fix the issue.  If the issue is not fixed, run DosDude's Post Install Utility, apply the Legacy Graphics Patch, reboot and then run "sudo kextcache -i /" if necessary.  
      Credits
      In addition to those mentioned in this first post and in subsequent posts in this thread, much of this solution for the Latitude E6410 was made possible by the numerous contributions of @RehabMan.  I hope he's doing well, wherever he is.  Hopefully he has long since forgotten what a PIA I was (and still am) as I was (and still am) learning hackOS.  
       


      E6410-Mojave-v4.zip
    • By Ramirez71
      Buongiorno a tutti sono Paolo e volevo ringraziare tutta la comunità per le risorse che mette a disposizione e grazie alle quali ho da poco realizzato un Hackintosh Mojave con metodo "Vanilla" quasi del tutto funzionante.
      Come da titolo il problema- l'unico per adesso- da me rilevato consiste in una grafica del macOS e delle app molto sgranata. Se apro un video su YouTube il problema non esiste mentre sul resto dell'interfaccia (comprese immagini aperte su anteprima o Foto) persiste.
      Andiamo per gradi con la presentazione: mobo Asus P8B75plus, I53470S (grafica integrata Hd2500), 8GB ram (2X4gb), SSD 256 GB, Sapphire nitro RX480, per schermo sto usando una TV full hd  collegata con cavo Hdmi (sulla quale duplico anche un iMac Mid2011 con successo e senza alcun problema di grafica).
      Istallazione con Clover impostato come da guida su Gitbook (che poi mi pare simile a quella di Gengik se non erro) usando i kext soliti in "other" (lilu, whatewer, applealc, virtualscm anzichè fakescm con flaggate tutte le opzioni, RLT8111, usbinkjet etc) config.plist quella per Ivybridge scaricata dal RAW di Gitbook e modificata in post istallazione solo nei tempi di start del boot. Bios dettato come da guida nei limiti delle opzioni offerte da questa mobo: grafica principale su PCLe ma non c'è un comando diretto per disabilitare quella integrata. Provato anche altre modifiche nel settario della partizione eri cercando soluzioni in rete che nel migliore dei casi non hanno portato risultati (nel peggiore non ripartiva).
      Sono un po incavolato perché se non fosse per questo tutto sarebbe andato a meraviglia al primo colpo!!!!!!
×