Giter Club home page Giter Club logo

xps13-73902in1's Introduction

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:

xps13-73902in1's People

Contributors

meghan06 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

kangqf

xps13-73902in1's Issues

hi there! it's not an issue

Hello! :) I'm also a happy owner of this laptop. If you want a hand in improving some features, I can give you some advice. I have working Thunderbolt, applied LayoutID 69 on the latest AppleALC with a functioning combojack (headphone mic as well). I'm working on a solution for S3/S4 hibernation mode 3. I noticed that you use an SSDT; in reality, it should be sufficient to disable a function in the BIOS called "Low Power S0 Idle Capability" with a tool called ru.efi (or maybe with setup_var Setup 0x20 0x0). Anyway, I'm finishing up my GitHub repository, so in case, you'll be able to see everything better there ;)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.