weachy / CoreBookX-14-Hackintosh

EFI for Chuwi CoreBookX 14 (i5-8259U) By @weachy & @王刚
Apache License 2.0
113 stars 23 forks source link

Corebook x efi #2

Closed farisoftfry closed 3 years ago

farisoftfry commented 3 years ago

Hello, if it can help I've found this efi on the net for Chuwi Corebook X. It is quite different from yours, maybe it can give you some ideas! :) Credits to KMac from https://www.hackintosh-forum.de/forum/thread/54392-chuwi-corebook-x/ you have to include itlwm.kext und IntelBluetoothFirmware.kext into kext folder, too big to upload EFI-OC-CBX.zip Hope this will help. Thanks Regards

farisoftfry commented 3 years ago

I've checked your config with Open core configurator - config checker, it seems there are some issues:

`Laptop: (8th Gen) Coffee Lake OpenCore 0.7.3 https://dortania.github.io/OpenCore-Install-Guide/config-laptop.plist/coffee-lake.html

Maintainer this shouldn't be here

Version this shouldn't be here

Tips - CN this shouldn't be here

Tips - EN this shouldn't be here

ACPI

Add SSDT-AWAC.aml shouldn't be required. See the [ACPI Docs][acpi] if you actually need it SSDT-PNLF.aml This should not be included on Coffee Lake and newer laptops, instead use SSDT-PNLF-CFL. Please review the [ACPI Docs]. SSDT-EC-USBX.aml Make sure this file is in your OC/ACPI directory SSDT-OC-XOSI.aml Make sure this file is in your OC/ACPI directory SSDT-PLUG-DRTNIA.aml Make sure this file is in your OC/ACPI directory SSDT-ACPI.aml Make sure this file is in your OC/ACPI directory SSDT-ALSD.aml Make sure this file is in your OC/ACPI directory SSDT-GPI0.aml Make sure this file is in your OC/ACPI directory SSDT-RMCF-PS2Map-Chuwi.aml Make sure this file is in your OC/ACPI directory

Delete

Patch

Quirks FadtEnableReset = No NormalizeHeaders = No RebaseRegions = No ResetHwSig = No ResetLogoStatus = No SyncTableIds = No

Booter

MmioWhitelist

Patch

Quirks AllowRelocationBlock = No AvoidRuntimeDefrag = Yes DevirtualiseMmio = No but should normally be Yes DisableSingleUser = No DisableVariableWrite = No DiscardHibernateMap = No EnableSafeModeSlide = Yes EnableWriteUnprotector = Yes but should normally be No ForceExitBootServices = No ProtectMemoryRegions = No ProtectSecureBoot = No ProtectUefiServices = No ProvideCustomSlide = Yes ProvideMaxSlide = 0 RebuildAppleMemoryMap = Yes SetupVirtualMap = Yes SignalAppleOS = No SyncRuntimePermissions = Yes ForceBooterSignature = No

DeviceProperties

Add AAPL,ig-platform-id = 0400a53e - iGPU may not be set correctly. Please read the [DeviceProperties Docs]

Delete

Kernel

Add Lilu.kext make sure this Kext is in your OC/Kexts directory and the first kext listed here SMCLightSensor.kext Please ensure your laptop has a light sensor, otherwise this can cause issues SMCBatteryManager.kext Please ensure your battery has been properly patched to 8bits, otherwise this can cause issues VirtualSMC.kext make sure this Kext is in your OC/Kexts directory WhateverGreen.kext make sure this Kext is in your OC/Kexts directory SMCProcessor.kext make sure this Kext is in your OC/Kexts directory SMCSuperIO.kext make sure this Kext is in your OC/Kexts directory AppleALC.kext make sure this Kext is in your OC/Kexts directory ACPIPoller.kext make sure this Kext is in your OC/Kexts directory VoodooI2C.kext/Contents/PlugIns/VoodooGPIO.kext make sure this Kext is in your OC/Kexts directory VoodooI2C.kext/Contents/PlugIns/VoodooI2CServices.kext make sure this Kext is in your OC/Kexts directory VoodooI2C.kext make sure this Kext is in your OC/Kexts directory VoodooI2C.kext/Contents/PlugIns/VoodooInput.kext make sure this Kext is in your OC/Kexts directory VoodooI2CHID.kext make sure this Kext is in your OC/Kexts directory VoodooPS2Controller.kext make sure this Kext is in your OC/Kexts directory VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard.kext make sure this Kext is in your OC/Kexts directory VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Trackpad.kext make sure this Kext is in your OC/Kexts directory BrightnessKeys.kext make sure this Kext is in your OC/Kexts directory USBPorts.kext make sure this Kext is in your OC/Kexts directory ECEnabler.kext make sure this Kext is in your OC/Kexts directory AirportItlwm.kext make sure this Kext is in your OC/Kexts directory IntelBluetoothInjector.kext make sure this Kext is in your OC/Kexts directory IntelBluetoothFirmware.kext make sure this Kext is in your OC/Kexts directory NVMeFix.kext make sure this Kext is in your OC/Kexts directory HibernationFixup.kext make sure this Kext is in your OC/Kexts directory NoTouchID.kext make sure this Kext is in your OC/Kexts directory

Block

Emulate DummyPowerManagement = No

Force

Patch

Quirks AppleCpuPmCfgLock = No AppleXcpmCfgLock = No Make sure CFG-Lock is disabled in your bios AppleXcpmExtraMsrs = No AppleXcpmForceBoost = No CustomSMBIOSGuid = No If you have a Dell or VIAO motherboard, please enable this DisableIoMapper = No but should normally be Yes DisableRtcChecksum = No ExtendBTFeatureFlags = No LegacyCommpage = No ExternalDiskIcons = No ForceSecureBootScheme = No IncreasePciBarSize = No LapicKernelPanic = No If you have an HP laptop, please enable this PanicNoKextDump = Yes PowerTimeoutKernelPanic = Yes ProvideCurrentCpuInfo = No SetApfsTrimTimeout = -1 ThirdPartyDrives = No XhciPortLimit = No enable if you have USB issues

Scheme

Misc

BlessOverride

Boot ConsoleAttributes = 0 PollAppleHotKeys = Yes but should normally be No ShowPicker = Yes TakeoffDelay = 0 HibernateMode = None LauncherOption = Disabled LauncherOption set correctly LauncherPath = Default PickerMode = External but should normally be Builtin HideAuxiliary = Yes but should normally be No PickerAttributes = 17 PickerAudioAssist = No Timeout = 5 PickerVariant = Auto

Debug AppleDebug = No but should normally be Yes ApplePanic = No but should normally be Yes DisableWatchDog enabling this will help debugging Target see the [Debugging Docs] for more info on debug target numbers DisplayLevel see [Debugging Docs] for more info debug display levels DisplayDelay = 0

Entries

Security AllowNvramReset = Yes AllowSetDefault = Yes AllowToggleSip = No ApECID = 0 AuthRestart = No BlacklistAppleUpdate = Yes DmgLoading = Signed EnablePassword = No Vault = Optional SecureBootModel = Disabled SecureBootModel set correctly HaltLevel = 2147483648 ExposeSensitiveData = 11 ScanPolicy = 0

Tools You can remove the tool EFIs here

NVRAM LegacyEnable = No LegacyOverwrite = No WriteFlash = Yes

Add UIScale = 02 DefaultBackgroundColor = 00000000 boot-args = -blank- You need to add alcid=<layout> here since you are using AppleALC.kext run-efi-updater = No csr-active-config = e7030000 prev-lang:kbd = 7a682d48616e733a323532 (zh-Hans:252) SystemAudioVolume = 46

Delete

LegacySchema

PlatformInfo Automatic = Yes UpdateDataHub = Yes UpdateNVRAM = Yes UpdateSMBIOS = Yes UpdateSMBIOSMode = Create If you have a Dell or VIAO motherboard, please set this to Custom

CustomMemory

Generic SpoofVendor = No but should normally be Yes AdviseFeatures = Yes but should normally be No ProcessorType = 0 SystemMemoryStatus = Auto MaxBIOSVersion = No SystemProductName = MacBookPro15,2 MLB is set ROM is set SystemSerialNumber is set SystemUUID is set

UseRawUuidEncoding

UEFI ConnectDrivers = Yes

APFS EnableJumpstart = Yes GlobalConnect = No If you have an HP motherboard and can't see APFS drives in OpenCore, please enable this HideVerbose = Yes JumpstartHotPlug = No MinDate = 0 MinVersion = 0

AppleInput AppleEvent = Builtin CustomDelays = No KeySubsequentDelay = 5 PointerSpeedDiv = 1 PointerSpeedMul = 1 GraphicsInputMirroring = Yes but should normally be No

Audio AudioSupport = No AudioDevice = PciRoot(0x0)/Pci(0x1f,0x3) AudioCodec = 0 AudioOut = 0 MinimumVolume = 0 PlayChime = Auto VolumeAmplifier = 0 SetupDelay = 0 ResetTrafficClass = No

Drivers OpenHfsPlus.efi OpenRuntime.efi CrScreenshotDxe.efi should not be here! OpenCanopy.efi

Input KeyFiltering = No KeyForgetThreshold = 5 KeySupport = Yes KeySupportMode = Auto KeySwap = No PointerSupport = No PointerSupportMode = -blank- TimerResolution = 50000

Output TextRenderer = BuiltinGraphics ConsoleMode = -blank- Resolution = Max ForceResolution = No ClearScreenOnModeSwitch = No IgnoreTextInGraphics = No ProvideConsoleGop = Yes DirectGopRendering = No ReconnectOnResChange = No ReplaceTabWithSpace = No SanitiseClearScreen = No UgaPassThrough = No

ProtocolOverrides AppleAudio = No AppleBootPolicy = No AppleDebugLog = No AppleEg2Info = No AppleFramebufferInfo = No AppleImageConversion = No AppleImg4Verification = No AppleKeyMap = No AppleRtcRam = No AppleSecureBoot = No AppleSmcIo = No AppleUserInterfaceTheme = No DataHub = No DeviceProperties = No FirmwareVolume = Yes This is only required if you plan to use FileVault HashServices = No If you plan to use FileVault2, please enable this OSInfo = No UnicodeCollation = No

Quirks DisableSecurityPolicy = No If you have a Microsoft Surface device, please enable this ActivateHpetSupport = No ExitBootServicesDelay = 0 ForgeUefiSupport = No ForceOcWriteFlash = No IgnoreInvalidFlexRatio = No ReleaseUsbOwnership = No but should normally be Yes ReloadOptionRoms = No RequestBootVarRouting = Yes TscSyncTimeout = 0 UnblockFsConnect = No If you have an HP system, please enable this

ReservedMemory`

weachy commented 3 years ago

Hello, if it can help I've found this efi on the net for Chuwi Corebook X. It is quite different from yours, maybe it can give you some ideas! :) Credits to KMac from https://www.hackintosh-forum.de/forum/thread/54392-chuwi-corebook-x/ you have to include itlwm.kext und IntelBluetoothFirmware.kext into kext folder, too big to upload EFI-OC-CBX.zip Hope this will help. Thanks Regards

thanks, but this EFI has no reference value. too much wrong config I have fixed