Scripts to install High Sierra DP7 (17A352a)…

We have a new handy script (install_1013_DP7_17A352a.sh) to install macOS High Sierra Beta DP-7.

The installer.pkg created by the script will simulate the App Store download and installation method, and all you have to do is:

1.) Run install_1013_DP7_17A352a.sh
2.) Run /Applications/Install macOS High Sierra Beta.app
3.) Reboot

Notes: I have yet to try the scripts myself – I cannot download the files right now (we’re still at sea). Also. You may want to run checkAPFSSettings.sh in single-user mode.

Please note that the App Store.app downloads files to: /Library/Updates but this script will use: /tmp/091-28482 and the downloaded files will be gone after a reboot, so you may want to make a backup of the files!

Note: The preferred way of installing / upgrading High Sierra (DP-7) on a Mac is to use the App Store !!!

Thanks!

4 thoughts on “Scripts to install High Sierra DP7 (17A352a)…

  1. Hi Pikeralpha, I know this not the proper place to ask you this but really, I was working for 4 days trying to understand and its quit hard without some can guide through your problem so I just decided to ask you here because I noticed you’re active most of the time here.

    I have a C612 ruing High Sierra DP7. with dual engineering sample processors E5-2690v4 and VEGA FD

    I just wanna know is there any different xnu power management scheme in my case ?

    First, some back story: I’d since corrected any issues with power management, injected frequency vectors, corrected the SSDTs using information I got booted in linux and had all my frequencies correct. So I knew this wasn’t anything to do with using an engineering sample.

    At first I thought this was a heat issue and the CPUs were rapidly heating once OS X was loaded due to some issue in the power management. However, I verified that my cooling (which is very generous for 2x 135W) wasn’t an issue. I did some stress tests in Linux while monitoring all core temperatures, and even with all cores at 3GHz for 10 minutes straight, I couldn’t even hit 50°C on a single core. So my cooling certainly seemed adequate. and on windows10 I get around 4100 cb.

    I was reading through some of your post about xnu power management, and something caught my eye: he had a list of flags, from which only -xcpm was the only one given any attention. I searched I test this boot flag -xcpm_ipi and it worked perfectly under Mac OS Sierra but I am not sure what I suppose to do under Mac OS High Sierra.

    I did as you suggest by using FakeCPUID 0x040674 then run FreqEditVectors.sh to inject the missing data. I used one of the plists of the iMac17,1 and I knew that you recommend to not using max turbo patches from okrasit but I just test how the performance will be and it was quit higher in both my CPU and GPU. but the moment I disable the patch the drops again.

    – So I wanna know couple of thing is it my power mangenment looking good?
    – what I can acutily do to get the same reasult as in windows 10?

    This is a link for my EFI folder.

    https://cl.ly/3C1C2x1P1e3Q/download/EFI.zip

    AppleIntelInfo.kext v2.5 Copyright © 2012-2017 Pike R. Alpha. All rights reserved.
    enableHWP…………………………..: 0

    Settings:
    ——————————————
    logMSRs…………………………….: 1
    logIGPU…………………………….: 0
    logCStates………………………….: 1
    logIPGStyle…………………………: 1
    InitialTSC………………………….: 0xa1acc6959c7 (462 MHz)
    MWAIT C-States………………………: 8480

    Processor Brandstring………………..: Genuine Intel(R) CPU 0000 @ 2.40GHz

    Processor Signature………………… : 0x406F0
    ——————————————
    – Family…………………………. : 6
    – Stepping……………………….. : 0
    – Model………………………….. : 0x4F (79)

    Model Specific Registers (MSRs)
    ——————————————

    MSR_CORE_THREAD_COUNT…………(0x35) : 0x18
    ——————————————
    – Core Count……………………… : 14
    – Thread Count……………………. : 28

    MSR_PLATFORM_INFO…………….(0xCE) : 0x80C3BFB811800
    ——————————————
    – Maximum Non-Turbo Ratio………….. : 0x18 (2400 MHz)
    – Ratio Limit for Turbo Mode……….. : 1 (programmable)
    – TDP Limit for Turbo Mode…………. : 1 (programmable)
    – Low Power Mode Support…………… : 1 (LPM supported)
    – Number of ConfigTDP Levels……….. : 1 (additional TDP level(s) available)
    – Maximum Efficiency Ratio…………. : 12
    – Minimum Operating Ratio………….. : 8

    MSR_PMG_CST_CONFIG_CONTROL…….(0xE2) : 0x1E010005
    ——————————————
    – I/O MWAIT Redirection Enable……… : 0 (not enabled)
    – CFG Lock……………………….. : 0 (MSR not locked)
    – C3 State Auto Demotion…………… : 1 (enabled)
    – C1 State Auto Demotion…………… : 1 (enabled)
    – C3 State Undemotion……………… : 1 (enabled)
    – C1 State Undemotion……………… : 1 (enabled)
    – Package C-State Auto Demotion…….. : 0 (disabled/unsupported)
    – Package C-State Undemotion……….. : 0 (disabled/unsupported)

    MSR_PMG_IO_CAPTURE_BASE……….(0xE4) : 0x10414
    ——————————————
    – LVL_2 Base Address………………. : 0x414
    – C-state Range…………………… : 1 (C-States not included, I/O MWAIT redirection not enabled)

    IA32_MPERF…………………..(0xE7) : 0x2B1C9E505F
    IA32_APERF…………………..(0xE8) : 0x29CAE1B13E
    MSR_0x150……………………(0x150) : 0x0

    MSR_FLEX_RATIO……………….(0x194) : 0x0
    ——————————————

    MSR_IA32_PERF_STATUS………….(0x198) : 0x23FB00002000
    ——————————————
    – Current Performance State Value…… : 0x2000 (3200 MHz)

    MSR_IA32_PERF_CONTROL…………(0x199) : 0x2000
    ——————————————
    – Target performance State Value……. : 0x2000 (3200 MHz)
    – Intel Dynamic Acceleration……….. : 0 (IDA engaged)

    IA32_CLOCK_MODULATION…………(0x19A) : 0x0

    IA32_THERM_INTERRUPT………….(0x19B) : 0x0

    IA32_THERM_STATUS…………….(0x19C) : 0x88470000
    ——————————————
    – Thermal Status………………….. : 0
    – Thermal Log…………………….. : 0
    – PROCHOT # or FORCEPR# event………. : 0
    – PROCHOT # or FORCEPR# log………… : 0
    – Critical Temperature Status………. : 0
    – Critical Temperature log…………. : 0
    – Thermal Threshold #1 Status………. : 0
    – Thermal Threshold #1 log…………. : 0
    – Thermal Threshold #2 Status………. : 0
    – Thermal Threshold #2 log…………. : 0
    – Power Limitation Status………….. : 0
    – Power Limitation log…………….. : 0
    – Current Limit Status…………….. : 0
    – Current Limit log……………….. : 0
    – Cross Domain Limit Status………… : 0
    – Cross Domain Limit log…………… : 0
    – Digital Readout…………………. : 71
    – Resolution in Degrees Celsius…….. : 1
    – Reading Valid…………………… : 1 (valid)

    MSR_THERM2_CTL……………….(0x19D) : 0x0

    IA32_MISC_ENABLES…………….(0x1A0) : 0x850089
    ——————————————
    – Fast-Strings……………………. : 1 (enabled)
    – FOPCODE compatibility mode Enable…. : 0
    – Automatic Thermal Control Circuit…. : 1 (enabled)
    – Split-lock Disable………………. : 0
    – Performance Monitoring…………… : 1 (available)
    – Bus Lock On Cache Line Splits Disable : 0
    – Hardware prefetch Disable………… : 0
    – Processor Event Based Sampling……. : 0 (PEBS supported)
    – GV1/2 legacy Enable……………… : 0
    – Enhanced Intel SpeedStep Technology.. : 1 (enabled)
    – MONITOR FSM…………………….. : 1 (MONITOR/MWAIT supported)
    – Adjacent sector prefetch Disable….. : 0
    – CFG Lock……………………….. : 0 (MSR not locked)
    – xTPR Message Disable…………….. : 1 (disabled)

    MSR_TEMPERATURE_TARGET………..(0x1A2) : 0x680A00
    ——————————————
    – Turbo Attenuation Units………….. : 0
    – Temperature Target………………. : 104
    – TCC Activation Offset……………. : 0

    MSR_MISC_PWR_MGMT…………….(0x1AA) : 0x402040
    ——————————————
    – EIST Hardware Coordination……….. : 0 (hardware coordination enabled)
    – Energy/Performance Bias support…… : 1
    – Energy/Performance Bias………….. : 0 (disabled/MSR not visible to software)
    – Thermal Interrupt Coordination Enable : 1 (thermal interrupt routed to all cores)

    MSR_TURBO_RATIO_LIMIT…………(0x1AD) : 0x1E1E1E1E1E1E2020
    ——————————————
    – Maximum Ratio Limit for C01………. : 20 (3200 MHz)
    – Maximum Ratio Limit for C02………. : 20 (3200 MHz)
    – Maximum Ratio Limit for C03………. : 1E (3000 MHz)
    – Maximum Ratio Limit for C04………. : 1E (3000 MHz)
    – Maximum Ratio Limit for C05………. : 1E (3000 MHz)
    – Maximum Ratio Limit for C06………. : 1E (3000 MHz)
    – Maximum Ratio Limit for C07………. : 1E (3000 MHz)
    – Maximum Ratio Limit for C08………. : 1E (3000 MHz)

    MSR_TURBO_RATIO_LIMIT1………..(0x1AE) : 0x1E1E1E1E1E1E1E1E
    ——————————————
    – Maximum Ratio Limit for C09………. : 1E (3000 MHz)
    – Maximum Ratio Limit for C10………. : 1E (3000 MHz)
    – Maximum Ratio Limit for C11………. : 1E (3000 MHz)
    – Maximum Ratio Limit for C12………. : 1E (3000 MHz)
    – Maximum Ratio Limit for C13………. : 1E (3000 MHz)
    – Maximum Ratio Limit for C14………. : 1E (3000 MHz)

    IA32_ENERGY_PERF_BIAS…………(0x1B0) : 0x5
    ——————————————
    – Power Policy Preference……………: 5 (balanced performance and energy saving)

    MSR_POWER_CTL………………..(0x1FC) : 0x2904005B
    ——————————————
    – Bi-Directional Processor Hot……….: 1 (enabled)
    – C1E Enable……………………….: 1 (enabled)

    MSR_RAPL_POWER_UNIT…………..(0x606) : 0xA0E03
    ——————————————
    – Power Units…………………….. : 3 (1/8 Watt)
    – Energy Status Units……………… : 14 (61 micro-Joules)
    – Time Units …………………….. : 10 (976.6 micro-Seconds)

    MSR_PKG_POWER_LIMIT…………..(0x610) : 0x7851000158438
    ——————————————
    – Package Power Limit #1…………… : 135 Watt
    – Enable Power Limit #1……………. : 1 (enabled)
    – Package Clamping Limitation #1……. : 1 (allow going below OS-requested P/T state during Time Window for Power Limit #1)
    – Time Window for Power Limit #1……. : 10 (2560 milli-Seconds)
    – Package Power Limit #2…………… : 162 Watt
    – Enable Power Limit #2……………. : 1 (enabled)
    – Package Clamping Limitation #2……. : 1 (allow going below OS-requested P/T state setting Time Window for Power Limit #2)
    – Time Window for Power Limit #2……. : 3 (20 milli-Seconds)
    – Lock…………………………… : 0 (MSR not locked)

    MSR_PKG_ENERGY_STATUS…………(0x611) : 0x16C5856C
    ——————————————
    – Total Energy Consumed……………. : 23318 Joules (Watt = Joules / seconds)

    MSR_PKGC3_IRTL……………….(0x60a) : 0x0
    MSR_PKGC6_IRTL……………….(0x60b) : 0x0
    MSR_PKG_C2_RESIDENCY………….(0x60d) : 0x3292F3CB78
    MSR_PKG_C3_RESIDENCY………….(0x3f8) : 0xBC3D78
    MSR_PKG_C2_RESIDENCY………….(0x60d) : 0x3292F3CB78
    MSR_PKG_C3_RESIDENCY………….(0x3f8) : 0xBC3D78
    MSR_PKG_C6_RESIDENCY………….(0x3f9) : 0x2D2F97EFD0

    IA32_TSC_DEADLINE…………….(0x6E0) : 0xA1ACE97A84F
    (HWP Supported but not (yet) enabled)

    CPU Ratio Info:
    ——————————————
    Base Clock Frequency (BLCK)…………. : 100 MHz
    Maximum Efficiency Ratio/Frequency…….: 12 (1200 MHz)
    Maximum non-Turbo Ratio/Frequency……..: 24 (2400 MHz)
    Maximum Turbo Ratio/Frequency…………: 32 (3200 MHz)
    P-State ratio * 100 = Frequency in MHz
    ——————————————
    CPU P-States [ 23 (24) 32 ]
    CPU C3-Cores [ 2 3 4 6 7 9 12 14 15 16 17 18 19 21 22 25 26 ]
    CPU C6-Cores [ 1 2 5 6 8 9 10 12 13 14 16 17 18 20 21 22 23 24 27 ]
    CPU P-States [ 23 24 (30) 32 ]
    CPU C3-Cores [ 1 2 3 4 6 7 8 9 10 12 14 15 16 17 18 19 21 22 23 25 26 ]
    CPU C6-Cores [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 16 17 18 19 20 21 22 23 24 26 27 ]
    CPU P-States [ (12) 23 24 30 32 ]
    CPU C3-Cores [ 1 2 3 4 6 7 8 9 10 12 14 15 16 17 18 19 20 21 22 23 24 25 26 ]
    CPU C6-Cores [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 26 27 ]
    CPU C3-Cores [ 0 1 2 3 4 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 ]
    CPU P-States [ (12) 20 23 24 30 32 ]
    CPU P-States [ 12 18 20 23 (24) 30 32 ]
    CPU C3-Cores [ 0 1 2 3 4 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 ]
    CPU C6-Cores [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 ]
    CPU P-States [ (12) 13 18 20 23 24 30 32 ]
    CPU C3-Cores [ 0 1 2 3 4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 ]
    CPU P-States [ (12) 13 18 20 22 23 24 30 32 ]
    CPU C6-Cores [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 ]
    CPU P-States [ 12 13 18 20 22 23 24 25 (26) 30 32 ]
    CPU P-States [ 12 13 18 20 22 23 24 25 26 27 (30) 32 ]
    CPU C3-Cores [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 ]
    CPU P-States [ 12 13 16 18 20 22 23 24 25 26 27 (30) 32 ]
    CPU P-States [ 12 13 15 16 18 20 22 23 (24) 25 26 27 30 32 ]
    CPU P-States [ (12) 13 15 16 18 20 21 22 23 24 25 26 27 30 32 ]
    CPU P-States [ 12 13 15 16 18 20 21 22 23 24 25 26 27 (30) 31 32 ]
    CPU P-States [ (12) 13 14 15 16 18 20 21 22 23 24 25 26 27 30 31 32 ]
    CPU P-States [ 12 13 14 15 16 18 20 21 22 23 24 25 26 27 (28) 30 31 32 ]
    CPU P-States [ (12) 13 14 15 16 17 18 20 21 22 23 24 25 26 27 28 30 31 32 ]
    CPU P-States [ (12) 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 31 32 ]

    • 1.) Right. This is not the place to ask for help.

      2.) Engineering samples are usually a bit slower than released SKU’s (yours are 200MHz Max non-Turbo / 300MHz Max Turbo slower).

      3.) You should never compare results from Windows with macOS/OS X.

      4.) You said to use the resource plist of an iMac17,1 but IA32_ENERGY_PERF_BIAS is 5 and not 1 so that doesn’t appear to work.

      5.) I usually do not help people with power management issues after the initial workarounds are given simply.

      Thing is. I do not have the time for it, and I don’t care about previous hardware generations. My focus already moved to the Kaby Lack Refresh and greater SKU’s. Nothing personal though.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s