Jump to content
K0gen

Lenovo ThinkPad T420 with UEFI Only

4,840 posts in this topic

Recommended Posts

hmm. ok. well it seems to work for many of us on T420. if i use the built-in EDID i get lots of glitches and buffer hangs. as soon as i use/inject this EDID - zero glitch - zero hangs.  sorry it does not work for you.

Share this post


Link to post
Share on other sites
Advertisement

hmm. ok. well it seems to work for many of us on T420. if i use the built-in EDID i get lots of glitches and buffer hangs. as soon as i use/inject this EDID - zero glitch - zero hangs.  sorry it does not work for you.

can you send me your clover config plist for boot?

Share this post


Link to post
Share on other sites

@AJ 

 

1)  /.IAbootfiles  or something like this is created by the installer on the OS partition you were upgrading by the Install OSX.app ...  if you have HFSplus.efi vs Vboxhfs.efi in your clover drivers folder, then clover can boot from this installer bundle upon reboot. (just like a real mac)

 

since you aborted the install process by not restarting using this bundle, you can get rid of this folder now.

 

2) the installer will create (or update) the recovery partition - which is a 650MB partition on your OS HD. ( i would keep this.)

Thank you guys. I have deleted the .IABootfiles and the "Install Mavericks from..." is no longer there, good.

 

And for the recovery partition, it is actually there. The problem is that it doesn't boot, it complains about the AppleHDA kext. I'm trying to install the modified kexts to the BaseSystem.dmg that is in the recovery partition to see if I can boot from it. It would be useful in case of problems.

I used the following command from terminal to enable debug mode in Disk Utility and view/mount hidden partitions from the debug menu:

defaults write com.apple.DiskUtility advanced-image-options -bool true

 

Once mounted, I have converted the read-only .dmg into a read-write, applied the custom kexts using Kext Wizard, then converted .dmg into a compressed .dmg, and replaced the BaseSystem.dmg into the Recovery Partition. It almost boots now... still looking at it...

Share this post


Link to post
Share on other sites

@aj - there is a much easier way to boot recovery partition!!! it is essentially the same thing as the USB installer - which requires extra kexts.

 

so stop at clover GUI

use clover shell to rename OEM so it's not in play for this and boot recoveryHD using the top level config.plist which will inject (custom) kexts from 10.9 

 

shell commands
 

map fs0

fs0:

cd /EFI/CLOVER

mv OEM OEM.NU

exit

Share this post


Link to post
Share on other sites

@aj - there is a much easier way to boot recovery partition!!! it is essentially the same thing as the USB installer - which requires extra kexts.

 

so stop at clover GUI

use clover shell to rename OEM so it's not in play for this and boot recoveryHD using the top level config.plist which will inject (custom) kexts from 10.9 

 

shell commands

 

map fs0

fs0:

cd /EFI/CLOVER

mv OEM OEM.NU

exit

hehe, that seems easier... indeed... I will try it...

Share this post


Link to post
Share on other sites

take 2 on EDID HD3000 fix.

 

OK this theory is working in practice!  Theory: bogus panel size was the culprit

 

I changed just the panel size from 309x174 to 310x174. I can't get a glitch/hang on 10.8.5 or 10.9.0 using this edited EDID info.

It was NOT sync sizes as i originally thought - that attempt eventually hung.

 

tetonne - your EDID seems to be 309x173? maybe if i gen one that has 310x174 for 1366x768 resolution? i will post a new one test EDID later.

i noticed these EDIDs (mine too) specify a max size to be 310x170 but the panel was set to be only 309mm... it stands to reason the max cannot be bigger than the panel!

 

more info from revised post             #629            

Share this post


Link to post
Share on other sites

take 2 on EDID HD3000 fix.

 

OK this theory is working in practice!  Theory: bogus panel size was the culprit

 

I changed just the panel size from 309x174 to 310x174. I can't get a glitch/hang on 10.8.5 or 10.9.0 using this edited EDID info.

It was NOT sync sizes as i originally thought - that attempt eventually hung.

 

tetonne - your EDID seems to be 309x173? maybe if i gen one that has 310x174 for 1366x768 resolution? i will post a new one test EDID later.

i noticed these EDIDs (mine too) specify a max size to be 310x170 but the panel was set to be only 309mm... it stands to reason the max cannot be bigger than the panel!

 

more info from revised post             #629            

@tluck "EDID seems to be 309x173?" I don't know (don't understand in fact)

send me the new edid when it's created, i'll test and feed back. :)

Share this post


Link to post
Share on other sites

@tluck, could you generate an EDID with that panel size for 1600x900? I tried all the EDIDs so far (except the one in post #629) and I'm still getting hangs and glitches (though rarely). I'm also on 1600x900.

Share this post


Link to post
Share on other sites

take 2 on EDID HD3000 fix.

 

OK this theory is working in practice!  Theory: bogus panel size was the culprit

 

I changed just the panel size from 309x174 to 310x174. I can't get a glitch/hang on 10.8.5 or 10.9.0 using this edited EDID info.

It was NOT sync sizes as i originally thought - that attempt eventually hung.

 

tetonne - your EDID seems to be 309x173? maybe if i gen one that has 310x174 for 1366x768 resolution? i will post a new one test EDID later.

i noticed these EDIDs (mine too) specify a max size to be 310x170 but the panel was set to be only 309mm... it stands to reason the max cannot be bigger than the panel!

 

more info from revised post             #629            

Can you generate a new edid for 1600x900? And explain which parts(number) to change?

Thanks i ll try

 

i have already tried your edid with 36AE10 but no luck, always glitch

Share this post


Link to post
Share on other sites

@honeywell - see post 629 ... and the clover bundle has this same working (for me ?!) EDID for 1600x900.  the OEM 1600.900 config.plist is set up to inject the EDID and i also put in the DSDT (for non-clover).

 

... i don't know why this particular EDID works for me (and others ) but not for all.  

 

if you are NOT injecting this EDID (with product 2e2) , then please run : ioreg -l |grep EDID and post the EDID - maybe we can make sense of it and get a working one. 

Share this post


Link to post
Share on other sites

@yum - i will look at this post.  but I already have LCD brightness (16 levels)

 

so i took at look at  your ioreg EDID dump. and the first thing i noticed is you have 1600x900 but its on a 17" vs 14" so here is an EDID that you could try that has the same info - but i tweaked the params slightly (changed) to match the values work for me but with proper sizing.

 

see 4 value changes on line 50

 

your EDID

post-954945-0-86085500-1383763286_thumb.png

 

new EDID to test - take string below and put in Clover config.plist

post-954945-0-81117500-1383763300_thumb.png

 

 

00FFFFFFFFFFFF000DAF19170000000005130103802716780A08059D58539729155054000000010101010101010101010101010101018025408060841A30302035007ED710000018000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004C

 

                          DDCTest For: CMO 
______________________________________________________________________
______________________________________________________________________
EDID Block 0, Bytes 0-127
128 BYTES OF EDID CODE:
         0   1   2   3   4   5   6   7   8   9
      ________________________________________
  0  |  00  FF  FF  FF  FF  FF  FF  00  0D  AF
 10  |  19  17  00  00  00  00  05  13  01  03
 20  |  80  27  16  78  0A  08  05  9D  58  53
 30  |  97  29  15  50  54  00  00  00  01  01
 40  |  01  01  01  01  01  01  01  01  01  01
 50  |  01  01  01  01  80  25  40  80  60  84
 60  |  1A  30  30  20  35  00  7E  D7  10  00
 70  |  00  18  00  00  00  00  00  00  00  00
 80  |  00  00  00  00  00  00  00  00  00  00
 90  |  00  00  00  00  00  00  00  00  00  00
100  |  00  00  00  00  00  00  00  00  00  00
110  |  00  00  00  00  00  00  00  00  00  00
120  |  00  00  00  00  00  00  00  4C
______________________________________________________________________
(08-09)  ID Manufacturer Name ________________  = CMO
(11-10)  Product ID Code _____________________  = 1719
(12-15)  Last 5 Digits of Serial Number ______  = Not Used
(16)     Week of Manufacture _________________  = 05
(17)     Year of Manufacture _________________  = 2009
(10-17)  Complete Serial Number ______________  = See Descriptor Block
(18)     EDID Version Number _________________  = 1
(19)     EDID Revision Number ________________  = 3
(20)     VIDEO INPUT DEFINITION:
         Digital Signal
         Non - VESA DFP 1.x Compatible                        
                        
(21)     Maximum Horizontal Image Size ________________    =  390 mm
(22)     Maximum Vertical Image Size __________________    =  220 mm
(23)     Display Gamma ________________________________    =  2.20
(24)     Power Management and Supported Feature(s):
         Preferred Timing Mode
         Display Type = R/G/B Color
(25-34)  CHROMA INFO:
         Red X - 0.613 Green X - 0.326 Blue X - 0.160 White X - 0.313
         Red Y - 0.344 Green Y - 0.590 Blue Y - 0.082 White Y - 0.329
(35)     ESTABLISHED TIMING I:
(36)     ESTABLISHED TIMING II:
(37)     Manufacturer's Reserved Timing:
           None Specified
(38-53)  Standard Timing Identification:
         Not Used
         Not Used
         Not Used
         Not Used
         Not Used
         Not Used
         Not Used
         Not Used
______________________________________________________________________
(54-71) Detailed Timing / Descriptor Block 1:
                   1600x900  Pixel Clock: 96.00 MHz
______________________________________________________________________
         Horizontal Image Size: 382 mm     Vertical Image Size: 215 mm
         Refreshed Mode: Non-Interlaced    Normal Display - No Stereo
 
Horizontal:
         Active Time: 1600 pixels          Blanking Time: 128 pixels
         Sync Offset: 48 pixels            Sync Pulse Width: 32 pixels
         Border: 0 pixels                  Frequency: 55.56 KHz
 
Vertical:
         Active Time: 900 lines            Blanking Time: 26 lines
         Sync Offset: 3 lines              Sync Pulse Width: 5 lines
         Border: 0 lines                   Frequency: 60.00 Hz
 
Digital Separate, Horizontal Polarity (-) Vertical Polarity (-)
 
 
______________________________________________________________________
(72-89) Detailed Timing / Descriptor Block 2:
 
         
 
 
(126)    
(127)    
 

Share this post


Link to post
Share on other sites

 

00FFFFFFFFFFFF000DAF19170000000005130103802716780A08059D58539729155054000000010101010101010101010101010101018025408060841A30302035007ED710000018000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004C

 

i try it but with out surprise 1600 goes outside of my screen ;)

resolution is preferences/Screen are not as good as the one i have with 00FFFFFF FFFFFF00 06AF3C31 00000000 00140103 801F1178 0A10B697 58579226 1E505400 00000101 01010101 01010101 01010101 0101121B 56465000 23303020 360035AD 10000018 0000000F 00000000 00000000 00000000 00200000 00FE0041 554F0A20 20202020 20202000 000000FE 00585858 58585858 58585831 200A0023 

and /S/L/Display/Over.. config (see a previous post i send with my config (I use dualink 0)

@tluck could u please try your customize with the EDID i'm using ;)

DisplayVendorID-6af/DisplayProductID-313c

Share this post


Link to post
Share on other sites

@tetonne

- that EDID is only for YUM (or others) with 17" LCD 1600x900!

 

are you getting glitches or hangs with your default/built-in EDID? you have 1366x768 native LCD?

 

here one for you with just the panel size changed - for 14" 1366x768. from 309x173 to 310x174mm

 

00FFFFFFFFFFFF0006AF3C310000000000140103801F11780A10B597585792261E505400000001010101010101010101010101010101121B5646500023302616360036AE10000018000000000000000000000000000000000000000000FE0031333636783736380A2020202000000000000000000000000000000000000000A6  

 

 

                            Time:  13:33:08
                        Date:  Tue Nov 05, 2013
______________________________________________________________________
______________________________________________________________________
                        VIEWSONIC CORPORATION
                    EDID Version # 1,  Revision # 3
                          DDCTest For: AUO 
______________________________________________________________________
______________________________________________________________________
EDID Block 0, Bytes 0-127
128 BYTES OF EDID CODE:
         0   1   2   3   4   5   6   7   8   9
      ________________________________________
  0  |  00  FF  FF  FF  FF  FF  FF  00  06  AF
 10  |  3C  31  00  00  00  00  00  14  01  03
 20  |  80  1F  11  78  0A  10  B5  97  58  57
 30  |  92  26  1E  50  54  00  00  00  01  01
 40  |  01  01  01  01  01  01  01  01  01  01
 50  |  01  01  01  01  12  1B  56  46  50  00
 60  |  23  30  26  16  36  00  36  AE  10  00
 70  |  00  18  00  00  00  00  00  00  00  00
 80  |  00  00  00  00  00  00  00  00  00  00
 90  |  00  00  00  FE  00  31  33  36  36  78
100  |  37  36  38  0A  20  20  20  20  00  00
110  |  00  00  00  00  00  00  00  00  00  00
120  |  00  00  00  00  00  00  00  A6
______________________________________________________________________
(08-09)  ID Manufacturer Name ________________  = AUO
(11-10)  Product ID Code _____________________  = 313C(<1)
(12-15)  Last 5 Digits of Serial Number ______  = Not Used
(16)     Week of Manufacture _________________  = 00
(17)     Year of Manufacture _________________  = 2010
(10-17)  Complete Serial Number ______________  = See Descriptor Block
(18)     EDID Version Number _________________  = 1
(19)     EDID Revision Number ________________  = 3
(20)     VIDEO INPUT DEFINITION:
         Digital Signal
         Non - VESA DFP 1.x Compatible                        
                        
(21)     Maximum Horizontal Image Size ________________    =  310 mm
(22)     Maximum Vertical Image Size __________________    =  170 mm
(23)     Display Gamma ________________________________    =  2.20
(24)     Power Management and Supported Feature(s):
         Preferred Timing Mode
         Display Type = R/G/B Color
(25-34)  CHROMA INFO:
         Red X - 0.590 Green X - 0.340 Blue X - 0.150 White X - 0.313
         Red Y - 0.345 Green Y - 0.570 Blue Y - 0.120 White Y - 0.329
(35)     ESTABLISHED TIMING I:
(36)     ESTABLISHED TIMING II:
(37)     Manufacturer's Reserved Timing:
           None Specified
(38-53)  Standard Timing Identification:
         Not Used
         Not Used
         Not Used
         Not Used
         Not Used
         Not Used
         Not Used
         Not Used
______________________________________________________________________
(54-71) Detailed Timing / Descriptor Block 1:
                   1366x768  Pixel Clock: 69.30 MHz
______________________________________________________________________
         Horizontal Image Size: 310 mm     Vertical Image Size: 174 mm
         Refreshed Mode: Non-Interlaced    Normal Display - No Stereo
 
Horizontal:
         Active Time: 1366 pixels          Blanking Time: 70 pixels
         Sync Offset: 38 pixels            Sync Pulse Width: 22 pixels
         Border: 0 pixels                  Frequency: 48.26 KHz
 
Vertical:
         Active Time: 768 lines            Blanking Time: 35 lines
         Sync Offset: 3 lines              Sync Pulse Width: 6 lines
         Border: 0 lines                   Frequency: 60.10 Hz
 
Digital Separate, Horizontal Polarity (-) Vertical Polarity (-)
 
 
______________________________________________________________________
(72-89) Detailed Timing / Descriptor Block 2:
 
         
 
 
______________________________________________________________________
(90-107) Detailed Timing / Descriptor Block 3:
 
         ASCII Data:
         1366x768
 
 
______________________________________________________________________
(108-125) Detailed Timing / Descriptor Block 4:

Share this post


Link to post
Share on other sites

 

are you getting glitches or hangs with your default/built-in EDID? you have 1366x768 native LCD?

 

00FFFFFFFFFFFF0006AF3C310000000000140103801F11780A10B597585792261E505400000001010101010101010101010101010101121B5646500023302616360036AE10000018000000000000000000000000000000000000000000FE0031333636783736380A2020202000000000000000000000000000000000000000A6  

No glitches or hangs on my 1600x900 and 1376x768 with dualink 0 (dualink 1 doesn't work here)

but better customs are welcomed :)

 

I test the EDID provided 

my feed back here :

 

post-638501-0-90722100-1383768364_thumb.jpg

One more thing : Thanks tluck

Share this post


Link to post
Share on other sites

@tluck, thanks for your hard work on this, it's appreciated really.  I have the same edie like yum, i have controlled it by yum link in some previous post. I think that also laptop is probably same family with same screen 1600x900 on 17 inch. 

So i try your custom edie, i have past it directly in display/overrides and it is seen correctly but i have always artifacts, after 2-3 reboot or something of similar. Problem for me is still unsolved for now. I can try other if you have other ideas. I think that will be same for iim cause original edie is the same. 

But why all this is happen on clover instead on chameleon (and/or smcping daemon) there is not this artifacts problem?

Btw thanks 

Share this post


Link to post
Share on other sites

@Smith@@ - how are you injecting the EDID? i found that putting one in /S/L/Displays/Overrides does not actually override the built-in EDID! However, I found that if I put a new/different EDID in the DSDT or inject by clover then the system will use it. it seems that if the system can find one in the LCD hardware, it will use it versus use one in an Override file.

 

I have been trying to figure out what is special about the EDID that works for me versus the built-in. i don't know why my built-in EDID is glitchy but an alternative EDID is absolutely perfect. And i had glitches on Chameleon/MBR before i switched to Clover. 

Share this post


Link to post
Share on other sites

@tluck i think that your theory about override is right because with same edid in previous post, that for yum (my model is in fact exactly the same), if i override it in display/overrides and so in vanilla method, i see in profiler that name is correct (LCD HP in this case) but override is probably not complete, if instead use the same last edie in clover i have completely black screen after all loading verbose end screen begin always more bright, it throb, vibrates and then nothing.

 

So i think that i must try all from clover. Can you make a new edie for testing? ;)

 

Ed: i have another question, now i have injected original edid with clover. But The COMMENT in graphics setting, in this case i choose "GLITCHES?" is different from name in monitor profiler, i mean, name is taken always from original override in Display/Overrides. But i think that clover EDID is working cause with previous edid had black screen with original not. But about name is right? There should be also an override of COMMENT parameter from clover?

Share this post


Link to post
Share on other sites

@tluck i think that your theory about override is right because with same edid in previous post, that for yum (my model is in fact exactly the same), if i override it in display/overrides and so in vanilla method, i see in profiler that name is correct (LCD HP in this case) but override is probably not complete, if instead use the same last edie in clover i have completely black screen after all loading verbose end screen begin always more bright, it throb, vibrates and then nothing.

 

So i think that i must try all from clover. Can you make a new edie for testing? ;)

 

Ed: i have another question, now i have injected original edid with clover. But The COMMENT in graphics setting, in this case i choose "GLITCHES?" is different from name in monitor profiler, i mean, name is taken always from original override in Display/Overrides. But i think that clover EDID is working cause with previous edid had black screen with original not. But about name is right? There should be also an override of COMMENT parameter from clover?

Yup, it's same DV7 hp ;)  

 

@tluck, thanks so much for all help. I have done same smith@@ tries and result is the same. Now i'm starting to inject the edid directly from clover. I will test your other edid

Share this post


Link to post
Share on other sites

@Smith@@ and Yum

 

this is what you need to put in your config.plist - it this is a modified EDID (detailed timing section) but has the same product/vendor.

 

<key>Graphics</key>

<dict>

<key>Comment</key>

<string>HP 17" 1600x900</string>

<key>CustomEDID</key>

<data>

AP///////wANrxkXAAAAAAUTAQOAJxZ4CggFnVhTlykVUFQAAAABAQEBAQEB

AQEBAQEBAQEBgCVAgGCEGjAwIDUAftcQAAAYAAAAAAAAAAAAAAAAAAAAAAAA

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEw=

</data>

<key>DualLink</key>

<string>1</string>

<key>Inject</key>

<dict>

<key>Intel</key>

<true/>

</dict>

<key>InjectEDID</key>

<true/>

</dict>

Share this post


Link to post
Share on other sites

@Smith@@ and Yum

 

this is what you need to put in your config.plist - it this is a modified EDID (detailed timing section) but has the same product/vendor.

 

Graphics

Comment

HP 17" 1600x900

CustomEDID

AP///////wANrxkXAAAAAAUTAQOAJxZ4CggFnVhTlykVUFQAAAABAQEBAQEB

AQEBAQEBAQEBgCVAgGCEGjAwIDUAftcQAAAYAAAAAAAAAAAAAAAAAAAAAAAA

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEw=

DualLink

1

Inject

Intel

InjectEDID

 

In test, but i see already one artifact, but still in testing.  But before question, i should see this: HP 17" 1600x900 in System Preferences --> Monitor --> Colors ?

 

Or not, because seems that name is not override correctly..

 

Edit: artifacts again.. :(     but i don't understand about before question, if edie is override correctly

Share this post


Link to post
Share on other sites

Maybe chameleon and clover read something in different way. Common problem is artifacts on clover and more less (avoid totally with smcping daemon) on chameleon. If i can understand what is that "something", but honestly i have done practically every form of tries LOL

 

 

Can be also my 16 GB of ram, but i had the same problem also with 8. On mavericks then patch intel kext for "downgrade" gram is not work. It see for intel always 512 MB of ram

Share this post


Link to post
Share on other sites

No glitches or hangs on my 1600x900 and 1376x768 with dualink 0 (dualink 1 doesn't work here)

but better customs are welcomed :)

 

I test the EDID provided 

my feed back here :

 

attachicon.gifnull

One more thing : Thanks tluck

Can you post me your ML intel kext, frame buffer an hd3000? I am on mavericks but i want do a try..

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 nijhawank
      Hi friends,
       
      Recently I had been looking for ways to control the battery charging on my hackintosh which is a Thinkpad T460 with dual batteries. On Windows there's a program Lenovo Vantage that lets you set the Battery Charging Start and Stop Thresholds. These thresholds continue to apply even when the laptop is turned off as these thresholds are managed by the embedded controller, so from that perspective its a set once and forget.
       
      But there was one more thing that was frustrating me. By default Lenovo uses the external battery first and once its almost drained (less than 5%), it switches to the internal battery.
      Although the Charging Start and Stop Limits are a good way to increase the life span of Lithium batteries (by lowering the max charge limit), the complete drainage of the external battery prior to switching to internal is not a good idea.
      Fortunately Lenovo EC provide options to force drain (use) a battery (even with the ac adapter connected) thereby allowing to manually switch to the internal one, however these are manual controls. In Linux, there's a program tpacpi-bat that runs as a daemon and performs an efficient management of the dual batteries such as switching to internal battery when the external one reaches a configurable lower limit. However, this is Linux only and uses the ACPI interface.
       
      I did some research to understand my options in macOS. I found RehabMan's ACPIDebug.kext and its ability (using another RehabMan's tool ioio) to call a function defined in the DSDT. With information collected tpacpi-bat and ACPIDebug.kext, I have created a dirty version. 
       
      So this is how you use it...
      1. Use the attached SSDT-RMDT. As this was just a rough work to validate my understanding, I just did a hard coding for the first battery. 
      2. Install ACPIDebug.kext
      3. After the reboot, you can trigger the following battery operations...
      a. Set Battery Charge Start Threshold
      ioio -s org_rehabman_ACPIDebug dbg1 <start-percent>
      a. Set Battery Charge Stop Threshold
      ioio -s org_rehabman_ACPIDebug dbg2 <stop-percent>
      a. Force Discharge
      ioio -s org_rehabman_ACPIDebug dbg3 <0|1> //0 to disable, 1 to enable
      a. Inhibit battery charging for specified number of minutes
      ioio -s org_rehabman_ACPIDebug dbg4 <minutes> //0 to disable
      a. View Battery Info
      ioio -s org_rehabman_ACPIDebug dbg5 <anything> //pass anything, its ignored
      a. View Battery Charge Start/Stop Thresholds
      ioio -s org_rehabman_ACPIDebug dbg0 <anything> //pass anything, its ignored
       
      You can see the output using the Log Viewer Console (filter on ACPIDebug). You'd see something like this...
      default    19:34:35.175265 -0800    kernel    ACPIDebug: "View Thresholds"
      default    19:34:35.176349 -0800    kernel    ACPIDebug: { "Charge Start Threshold=", 0x28, }
      default    19:34:35.176489 -0800    kernel    ACPIDebug: { "Charge Stop  Threshold=", 0x3c, }
      default    21:07:36.023627 -0800    kernel    ACPIDebug: "Battery Info"
      default    21:07:36.032040 -0800    kernel    ACPIDebug: { "Conversion (mW[h] -> mA[h]) Required?=", 0x0, }
      default    21:07:36.032323 -0800    kernel    ACPIDebug: { "Design Voltage=", 0x2a30, }
      default    21:07:36.032519 -0800    kernel    ACPIDebug: { "Design Capacity=", 0xdb60, }
      default    21:07:36.032772 -0800    kernel    ACPIDebug: { "Last Full Capacity=", 0x6a9a, }
      default    21:07:36.033783 -0800    kernel    ACPIDebug: { "Remaining Capacity=", 0x2e7c, }
      default    21:07:36.033968 -0800    kernel    ACPIDebug: { "Remaining Percent=", 0x2b, }
      default    21:11:19.319090 -0800    kernel    ACPIDebug: { "Charge Stop Threshold=", 0x5a, }
      default    21:11:30.722450 -0800    kernel    ACPIDebug: { "Charge Start Threshold=", 0x50, }
      default    23:34:39.071335 -0800    kernel    ACPIDebug: "Force Discharge=Enabled"
      default    23:34:59.427494 -0800    kernel    ACPIDebug: "Force Discharge=Disabled"
      default    23:35:08.475281 -0800    kernel    ACPIDebug: { "Inhibit Charge Enabled (in Minutes)=", 0xf, }
      default    23:35:12.971671 -0800    kernel    ACPIDebug: "Inhibit Charge=Disabled"
       
      At this time, I just hard-coded for the BAT0 to quickly validate my understanding and its working well. 
       
      What's next? As I understand (and please correct me if I'm wrong), I can't return values with ACPIDebug.kext along with ioio, plus this is also all very hacky.
      To be able to create a program that reads the current remaining capacity (percent) and switches control to internal batter, I need a way to return this info. Currently I'm just outputting it to the logs.
       
      My thinking is to modify ACPIDebug.kext or one of these other kexts (ACPISensors.kext) to add code for above and then create a program to optimally manage the operation of my two batteries.
      However, I'm very new to all of this and will take some time.
       
      In the meanwhile, here is it for your playing pleasures. Please be aware that my SSDT-RMDT is currently hard-coded for BAT0 and doesn't have all the validations. 
      Credits to RehabMan, tpacpi-bat, and other resources on internet.
       
      Thanks all.
       
       
      SSDT-RMDT.dsl
    • By kingoffright
      Dear all,
       
      I have a external harddisk about 500GB, I installed the clover into it and the harddisk is GPT format, below is the 3 partitions details:
      FS01: EFI - disk0s1 - fat32
      FS02: install mac  image - disk0s2 -  hfs+
      FS03: install windows 10 - disk0s3 - fat32
       
      I can use this external harddisk to install Mac without issue, I use below steps to install windows 10
      enter the FS03:
      cd to efi/boot/ and excuete bootx64.efi
      after pop up the windows install screen, i click next and it shows error 'A media driver your computer needs is missing...' and the installation can not go any further.
      Firstly I use ultraiso to write the windows 10 image to a flash disk and no issue to start install window 10 so the image is working fine. Since I dont know how to write
      a wiindow installation image into harddisk partition, I used winrar extra all the files into disk0s3, am I missing some steps or actually clover not support to install windows
      by partitions, apprecating any helps.
       
    • By kushwavez
      Acer Aspire V15 V5-591G - Catalina 10.15.1
      This post will no longer updated, go for the osxlatitude link for further updates
      Original and updated link:
      https://osxlatitude.com/forums/topic/11355-acer-aspire-v-15-v5-591g-catalina-windows-10/
      (Note: mine is 55TU version, but the bootpack will work fine with another versions of 591G, for example: V5-591G-71K2, -764Z, -59PU, etc.)
      Specifications:
      - Motherboard: USOPP_SLS (Skylake-H PCH)
      - BIOS: Insyde Corp. v 1.15
      - CPU: Intel Core i5-6300HQ 2.3 GHz (Skylake)
      - GPU: NVIDIA GeForce GTX 950M 2 GB (Optimus) & Intel HD Graphics 530
      - RAM: SK hynix 4 GB DDR4 (Later I bought + KINGSTON 4 GB) 2133 MHz
      - WiFi + Bluetooth: Qualcomm Atheros QCNFA344A 5 GHz (Later -> Broadcom BRCM94352Z M.2 5 GHz WiFi + 4.0 Bluetooth)
      - Audio: Realtek HD Audio: ALC 255 
      - Ethernet: Realtek RTL8168/8111
      - Card Reader: Realtek USB 2.0 Card Reader (USB2.0-CRW)
      - Webcam: HD Webcam
      - HDD: TOSHIBA MQ01ACF032 320 GB HDD
      - SSD: SPCC M.2 230 GB SSD
      - Display: 1366x768 (15.6", Matte)
      - Battery: 6 cell 56Wh / 5040mAh
      - Connectors: 
      1x SD Card Reader 2x USB 3.0 (1x USB Charging), 1x USB 2.0 1x VGA 1x HDMI 1x 3.5mm microphone/audio combined jack connector 1x Ethernet (Rj-45) - Keyboard & Touchpad: Multi-Touch & Multi-gestures ELAN 501 Touchpad, Backlight Keyboard.
      Working:  
      - Wi-Fi (with BCM94352Z)
      - Bluetooth hand-off (With BCM94352Z)
      - Full Graphics enabled on HD 530: ig-platform-id: 0x191b0000 (HD 530 Mobile)
      - Display: if default colour profile is corrupted (blue is not actual blue but purplish) Use "Rec. ITU-R BT. 709-5" Color Profile (System Pref. -> Displays -> Color)
      - HDMI & VGA Outputs: AppleGraphicsDevicePolicy.kext Clover patch
      - Audio (ALC 255): (Internal Speakers, Internal Microphone, Headphone jack with AppleALC, ALCPlugFix -> layout-id=17)
      - Ethernet Realtek 8168/8111: RealtekRTL8111.kext
      - App Store, Messages, FaceTime, Siri, iCloud (native)
      - Integrated webcam (native)
      - 3.0 USB (native)
      - Touchpad and Keyboard (ELAN501): Fn keys are good, the weird thing is the Brightness key. On my keyboard it's Pause Break:Br-up, Fn+F12:Br-dwn-> To fix this try Karabiner (VoodoPS2Controller.kext), - for gestures try SmartTouchpad drivers
      - Battery info: Install ACPIBatteryManager.kext with Kext Utility or other installer.
      - Sleep Mode
      - SSD with TRIM enabled (to enable trim, open Terminal and write "sudo trimforce enable")
      Not working:
      - Original Wi-Fi (Qualcomm Atheros QCNFA344A):  unsupported, you need switch to BCM94352Z or just use a mini usb wifi dongle.
      - NVIDIA GeForce GTX 950M: Optimus not supported.
      - Card Reader: Unsupported -> Can't really fix because I don't have any SD Card at the moment, maybe can be fixed by adding Prod & Ven IDs to AppleStorageDevices.kext, I never used it anyway. name: "USB2.0-CRW" Prod ID: "0x0129" Ven ID: "0x0bda  (Realtek Semiconductor Corp.)"
      For Wi-Fi:
      - 1st method: You can choose an external USB wifi dongle (I used TP-Link Archer T1U (5GHz support), TP-Link has official macOS drivers, you just need to install it
      - 2nd and I think the best method: Replace your M.2 Qualcomm Card with a compatible BCM94352Z card (you will have hand-off Bluetooth too), just install the kexts (enabled with BrcmFirmwareRepo.kext, BrcmPatchRAM2.kext, FakePCIID.kext, FakePCIID_Broadcom_WiFi.kext, they're all in my attached zip). You could buy this card from ebay, aliexpress, or amazon
       
      Issues:
      - None
      BIOS Settings:
      - BIOS version 1.15 (irrelevant)
      - Secure Boot: Disabled
      - Touchpad: Advanced
      - Boot mode: UEFI
      Getting ready for Installation:
      - Download the Catalina install zip (bootpack & postinstall): acer_aspire_V591G-55TU_cata.zip
      Installation:
      - Create an installer with any method you know (- Mac: createinstallmedia - Windows: Transmac, Vmware, Win32diskimager)
      - Copy my Clover folder to the USB's EFI folder
      - Boot with the Installer USB
      - If you stuck in boot, reboot and in the Clover bootloader select "config_debug.cfg" -> you'll have more informations about the freeze
       
      Please open the README.rtf in my install zip for more informations about the USB Installer & Post installation!
      On Catalina the System folder is read-only, so you need to remount in rw to modify System/Library. 
      If you have a single RAM and getting panic at boot, then you need to edit the "config.plist" with these (SMBIOS->after "Version 1.0"):
      ->Edit "Frequency" and "Size" to match your RAM values
      <key>Version</key> <string>1.0</string> <key>Memory</key> <dict> <key>Channels</key> <integer>1</integer> <key>SlotCount</key> <integer>1</integer> <key>Modules</key> <array> <dict> <key>Slot</key> <integer>0</integer> <key>Size</key> <integer>8192</integer> <key>Frequency</key> <integer>2133</integer> <key>Type</key> <string>DDR4</string> </dict> </array> </dict> </dict>  
      PowerManagement  fix:
      Set HWPEnable=YES in Clover (already set), CPUFloor to "700", Frequency to "2300" and "3200"(Normal and Turbo, if you have i7-6700HQ version then it should be "2600", "3500") and "FrequencyVectors" from "0x0d000000" to "0x07000000" in "S/L/E/IOPlatformPluginFamily.kext/Contents/PlugIns/X86PlatformPlugin.kext/Contents/Resources/Mac-A5C67F76ED83108C.plist", MSR _xcpm_idle Patch to KernelToPatch in Clover (If you have High Sierra, change "MatchOS" to 10.13):

      <key>KernelToPatch</key> <array> <dict> <key>Comment</key> <string>MSR 0xE2 _xcpm_idle instant reboot(c) Pike R. Alpha</string> <key>Disabled</key> <false/> <key>Find</key> <data> ILniAAAADzA= </data> <key>MatchOS</key> <string>10.14</string> <key>Replace</key> <data> ILniAAAAkJA= </data> </dict> </array> Reboot, and it's 800MHz in idle state, same on Windows.
       

      Elan SmartTouchpad
      I only use scrolling, one-, double- & tripletap
      If you want to try other gestures go to this link for more informations, options (v4.6.5) ->  DETAILS ABOUT THE SMART TOUCHPAD DRIVER FEATURES
      Fn Brightness keys not working with this, tried several things without success. With VoodoPS2Controller it's working, but you'll have no gestures (neither scrolling).
       
       
      Before updating to a new version of Catalina please update kexts (and clover if necessary) to newer versions to avoid kernel panics.
      Generate a serial number with Clover Configurator.app (open up your config.plist with CC then -> SMBIOS -> Serial Number -> Generate New)
       
      Catalina & Windows 10 Dual-Boot:
      Dual-boot clean install (on one drive), UEFI Only:
       
       Boot into your Mac installer, Create 2 partitions in GUID table (1 for Win (I used FAT32 but I think it doesn't matter what you choose), 1 for Mac),   Install Mac, boot with your USB, mount your EFI partition (use terminal or an EFI mounter app), create an EFI folder (if there is no folder), copy the CLOVER folder I attached to the EFI folder, restart,  Boot into your Win installer, Format the partition you created for Win, install.   Now, it's automatically booting into Windows. To use Clover open cmd in administrator, type:  bcdedit /set {bootmgr} path \EFI\CLOVER\CLOVERX64.efi       5.  You're done! It will booting into Clover when you start the system, and you can select Win or Mac (or another OS if installed on a 3rd partition).
       
      Dual-boot with Windows installed first (on one drive), UEFI Only:
      If you already have Windows and you don't want to lose all your data there is a hope:
      I created a video from this restore method: [Hackintosh] Dual-Boot High Sierra & Windows - when Windows already installed - no data waste - UEFI
      You need bootable Mac Installer and a full system restore image (link is in my video's description).
      (You may see errors if your EFI partition is not 200 MB)
       Boot into your Windows, resize your partition or create one for Mac.  Boot into your Mac installer and in Disk Utility format the partition you created.  Restore from image: select your full system restore image.  When it's finished restoring you just need to restart, then boot to the system with your usb.  When you successfully booted to Mac desktop, mount your EFI partition (use terminal or an EFI mounter app), open EFI, you will see there is a Microsoft folder already (don't touch that!). Copy my CLOVER folder to the EFI folder then Restart.  Now, it's automatically booting into Windows. To use Clover open cmd in administrator, type:  bcdedit /set {bootmgr} path \EFI\CLOVER\CLOVERX64.efi       7.  You're done! You can select your old Windows and your new macOS!
      (Only tried with Windows 8/8.1/10. I don't know Windows 7,etc.)
       
      IF YOU GETTING ERRORS DURING MAC RESTORE:
      - Make sure you have partitions in GPT
      - Windows using 100 MB EFI and will annoy the Mac restore. Don't worry, just ignore the errors.
       
      IF YOU GETTING ERRORS DURING WINDOWS INSTALLATION (could not be formatted, etc):
      - Make sure you have GPT partitions, and GPT (UEFI) installer, also disconnect all external storage drives (except the installer USB)
       
      IF YOU USED RESTORE METHOD THEN CAN'T MOUNT YOUR EFI PARTITION (No EFI partition found):
      - It's because your EFI is not 200 MB or not an "Apple" original EFI,  but do not worry, try another EFI mounter, or mount from terminal (I used EFI mounter v3: Getting errors, but you can mount and use without problem)
      - You also could "mount" the EFI from Windows:
      1st method: open cmd in administrator mode and type:
      diskpart list vol (Now select the "System" volume,(FAT 32) For example I select 4) sel vol 4 list part (Select System type partition, for example 2) sel part 2 assign letter=b (This will "mount" your EFI partition) Open Explorer++ or TotalCommander in administrator mode to manage EFI remove letter=b (This will "unmount" your EFI) 2nd method: open cmd in administrator mode and type:
      mountvol b: /s (This will mount your EFI) Open Explorer++ or TotalCommander in administrator mode to manage EFI mountvol b: /d (This will unmount your EFI) Thanks to all OSXLatitude members for helping me out! (Jake Lo, Hervé, Bronxteck, black.dragon74)!
      Notes:
      2019.11.03: Enabled SIP caused a lots of issues so now it's disabled -> updated bootpack
      2019.11.02: Updated to 10.15.1 -> no problem when/after installing
      2019.10.09: Installed macOS Catalina 10.15 -> Updated Clover, kexts & config.plist -> no problem so far
      2019.08.18: Updated to 10.14.6 -> no problem when/after installing
      2019.06.01: Updated to 10.14.5 -> no problem when/after installing
      2019.04.25: Optimized touchpad scrolling -> updated install files
      2019.03.30: Fixed USB 3.0 ports, fixed Bluetooth crashes after sleep -> updated bootpack
      2019.03.28: Updated to 10.14.4. Unexpected crashes while updating to 10.14.4 -> fixed by updating Clover to the latest (v4910) version. Bluetooth crashes appeared -> fixed by downgraded Brcm*.kexts. Updated bootpack.
      2019.02.24: Bluetooth crashes after sleep -> fixed, updated bootpack. 
      2019.02.22: Updated to 10.14.3. Fixed HDMI Audio by installing "FakePCIID_Intel_HDMI_Audio.kext" -> fixed freezing during boot. Fixed brightness levels by installing "AppleBacklightFixup.kext". Also updated bootpack & postinstall zip down in attachments.
      2019.01.21: Removed FakeSMC.kext, SMCHelper-64.efi, replaced by VirtualSMC.kext, VirtualSMC.efi because I got random freezes when booting system (kextd stall[0], (120s): 'AppleACPICPU' -> CPU is at 100%, fans are spinning fast), also updated bootpack in the attachments "acer_aspire_v591g-55tu_clover.zip" -> Freeze continued, brought back FakeSMC, deleted VirtualSMC (caused BT crashes).
      2019.01.18: HDMI Audio is fixed, I didn't do anything HDMI Audio is not fixed, sometimes it worked but most likely not. (no idea why)
      2018.12.09: Updated to 10.14.2 -> did without any complication
      2018.11.28: Fixed combo-jack garbage sound output by installing ALCPlugFix and CodecCommander.kext
      2018.11.01: Updated to 10.14.1 -> HDMI & VGA ports are gone again. -> Fixed by "AppleIntelSKLGraphicsFramebuffer.kext" rollback from 10.14.
      2018.09.28: Updated to Mojave 10.14 -> Fixed HDMI & VGA Outputs by adding "AppleGraphicsDevicePolicy.kext" patches to config.plist, HDMI audio not working
    • By Cwtf
      I just made a clean install of High Sierra on a 1TB crucial ssd. Installed clover Clover_v2.5k_r5070 into the EFI of this ssd, but when I tried to make it my default boot drive, the clover screen wouldn't come up, and left a black screen.
      I tried using the Olarilia usb drive and clover did the same thing.  The only way I can currently boot is to use my old drive with clover v2.4k_4945 then select  my new drive from the clover menu.   
       
      Do I need to install v2.4k on my new drive or is there a way I can get v2.5k working?
       
      I have a GA-x79-ud5 motherboard, AMD  rx580 graphics card and use a Sony 4k tv as my monitor.
    • By kylon
      Cloud Clover Editor is an open source application that allows you to manage the configuration of various Hackintosh Bootloaders.

      Open Cloud Clover Editor
       
      Cloud Clover Editor Wiki
      Cloud Clover Editor Sources
       
       
      Features
      Supports Clover EFI, Ozmosis, Chameleon, OpenCore GUI and Text Editor Mode CCE Bank Mobile friendly and more...  
      Officially supported browsers
      Chrome 42+ Microsoft Edge 14+ Firefox 39+ Safari 10+ Opera 29+ Opera Mobile 12+ Chrome for Android 75+ Firefox for Android 67+  
       
      Credits
      mackie100 - took some ideas from his app Clover EFI dev team Eric Slivka - new serial number Virtual1 - new serial number cecekpawon - PHP 5.3.3 patch, , help with the ACPI Loader Mode flag and more Micky1979 - Clover flying editor  (Discontinued) crusher. - Help with the ACPI Loader Mode flag Download-Fritz - Help with the ACPI Loader Mode flag Pavo - Ozmosis fields and values stehor - Ozmosis fields and values Sherlocks - General help and support gujiangjiang - General help and support  
      Please let me know if i forgot you!
×