/XPS13-73902in1

OpenCore EFI for the Dell XPS 13 7390 2 in 1

Primary LanguageASLGNU General Public License v3.0GPL-3.0

Dell XPS 13 7390 2 in 1

I no longer own the laptop. THIS EFI IS NO LONGER MAINTAINED. USE AT YOUR OWN RISK.


macOS Ventura


Specs:

  • CPU: Intel i7 1065G7 IceLake
  • RAM: 16 GB 3733 MHz LPDDR4
  • iGPU: Intel Iris Plus Graphics
  • SSD: Toshiba 512 GB NVMe
  • Screen: 13.3" 1920x1200
  • WLAN: Intel AX200 (soldered)
  • Audio: Realtek ALC289, layout-id 11


Current Status:

Feature Status
WiFi Working
Bluetooth Working
Suspend / Sleep Working
Trackpad Working
Graphics Accel. Working
Internal Speakers Working
Keyboard backlight Working
Keyboard Working
Internal Storage Working
SD Card Reader Working
Headphone Jack Untested
HDMI Audio Untested
HDMI Video Untested
USB Ports Working
Webcam Not Working
Internal Mic. Working
Logout / Lock Working
Shutdown / Restart Working
Continuity Not Working
Power management Working
Thunderbolt 3 Disabled in BIOS
Fingerprint Reader Not working


CFG Lock

CFG Lock variable is found at 0x43 and can be disabled by putting 0x0 as value.

 setup_var CpuSetup 0x43 0x0


BIOS Settings

- System Configuration --> SATA Operation --> AHCI
- Security --> Absolute --> Disabled
- Security --> SMM Security Mitigation --> Disabled
- Security --> Intel SGX --> Disabled/Software Control
- Secure Boot --> Enable Secure Boot --> Toggle OFF
- Secure Boot --> Secure Boot Mode --> Deployed Mode
- POST Behavior --> Sign of Life --> Display Logo Sign of Life --> Toggle OFF

Enabling S3 Sleep

Warning: This step is crucial. Your system will not sleep if you do not do this.

  1. Compile this SSDT with iASL or equivalant:

    Source Code
        DefinitionBlock ("", "SSDT", 2, "meghn6", "S3Fix", 0x00001000)
    
        {
    
        External (_SB_.SS3, IntObj)
        
        Scope (\_SB)
    
        {
    
        	Name (SS3, One)
         
    
    	}
        
     
    }
    
    
  2. Rename S0 to XS0: (Goes into ACPI --> Patch)

    S0 to XS0 rename
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <array>
    	<dict>
    		<key>Base</key>
    		<string></string>
    		<key>BaseSkip</key>
    		<integer>0</integer>
    		<key>Comment</key>
    		<string>_S0 to XS0 rename; Fixes sleep</string>
    		<key>Count</key>
    		<integer>0</integer>
    		<key>Enabled</key>
    		<true/>
    		<key>Find</key>
    		<data>WFMw</data>
    		<key>Limit</key>
    		<integer>0</integer>
    		<key>Mask</key>
    		<data></data>
    		<key>OemTableId</key>
    		<data>AAAAAA==</data>
    		<key>Replace</key>
    		<data>WFMw</data>
    		<key>ReplaceMask</key>
    		<data></data>
    		<key>Skip</key>
    		<integer>0</integer>
    		<key>TableLength</key>
    		<integer>0</integer>
    		<key>TableSignature</key>
    		<data>AAAAAA==</data>
    	</dict>
    </array>
    </plist>
    
  1. Disable Display Logo Sign of Life in POST Behavior --> Sign of Life. This BIOS option causes issues when waking from sleep.

  2. Disable hibernation in macOS:

     sudo pmset -a hibernatemode 0
    


Audio:

This laptop uses ALC289, layout-id 11.



iGPU Patching:

Besides the normal IceLake patches mentioned in the Dortania guide, the XPS 13 needs a few extra fixes:

  1. enable-backlight-smoother
  2. enable-dbuf-early-optimizer
  3. enable-backlight-registers-fix
  4. Use framebuffer 0200518A

Misc:

  • Add -noDC9 to your boot-args to prevent panic after waking from sleep
  • Dell's firmware has problematic USB detection in F12 boot menu. To ensure a consistent experience, make sure the drive is partitioned as FAT32/GPT.
    • If you can't get it to work no matter what you try (flipping orientation, switching ports, etc etc) reset NVRAM.
  • Make sure to toggle the "Advanced" switch in the BIOS.
  • F12 for boot menu, F2 for BIOS

Power Management:

  • Please refer to zearp's undervolting guide.

  • I found the following to be pretty stable on my machine, YMMV and please be careful when doing this.

      ./voltageshift offset -80 -75 -75
    
  • For CPUFriend, make sure the LFM is 1.00 GHz, you can customize the other settings to your liking. I reccomend full power savings for quieter and cooler operation.

  • It is reccomended to disable camera, fingerprint, and touchscreen in BIOS settings to maximize battery life.


SD Card

Working with RealtekCardReder.kext and RealtekCardReaderFriend.kext


NVMe SSD

The 512gb Toshiba SSD works OOTB with NVMEFix.kext


Special Thanks: