Win10论坛

Win10正式版系统下载主题平板

重定义Modern UI,打造完美Windows全新体验

Windows10下载|安装|新手宝典|必备软件

搜索
查看: 687|回复: 45

[其它] EFI分享 小米air 8250U [复制链接]

Rank: 2Rank: 2

UID
2283787
帖子
212
PB币
99
贡献
0
技术
2
活跃
97
发表于 2020-3-6 10:06:27 |显示全部楼层
蓝牙正常,wifi不能驱动。
触摸板正常
摄像头正常
启动引导有双苹果,另外一个是 boot filevault prebooter from preboot

搬砖来的,有问题大家一起解决,多多指教。
附件名称因不能正常上传,已改动编号位置,修改为以下图片相同后解压。































附件: 你需要登录才可以下载或查看附件。没有帐号?注册

Rank: 2Rank: 2

UID
2283787
帖子
212
PB币
99
贡献
0
技术
2
活跃
97
发表于 2020-3-6 10:09:34 |显示全部楼层
另外,某个型号的硬盘无解,我换了其他的硬盘。

Rank: 2Rank: 2

UID
2283787
帖子
212
PB币
99
贡献
0
技术
2
活跃
97
发表于 2020-3-6 10:16:11 |显示全部楼层
lindavi 发表于 2020-3-6 10:09
另外,某个型号的硬盘无解,我换了其他的硬盘。

使用测试情况:win下看爱奇艺, 电源模式为平衡  在线看爱奇艺 约4小时10分。
osx下 在线看爱奇艺  约4小时45分。

Rank: 2Rank: 2

UID
2283787
帖子
212
PB币
99
贡献
0
技术
2
活跃
97
发表于 2020-3-6 10:20:48 |显示全部楼层
我记得这份EFI是 屏蔽独显的,变频情况还没核实,自行确认
压缩包里边放了原EFI  git的链接,英文版的,拷贝过来,大神自己看。
EFI Folder for the Xiaomi Mi Notebook Air 13.3" 2018
MacOS Versions Supported:

    macOS 10.13 High Sierra
    macOS 10.14 Mojave
    macOS 10.15 Catalina

What do I need?

    Xiaomi Notebook Air 2018 13.3" i5-8250u / i7-8550u
    macOS or windows PC to create the install USB
    8GB or larger USB stick (USB3 preferred for speed)
    Latest copy of these files (https://github.com/johnnync13/Xiaomi-Mi-Air/releases)
    (optional for multiboot) Second (M.2 SATA) SSD installed inside the laptop.
    (possibly) USB mouse for install until trackpad is working
    (possibly) For macOS 10.15: a natively supported (e.g. Apple) USB Ethernet adapter for installation

What is Working?

    Native CPU Power Management
    Sleep/Wake
    Intel Graphics
    Audio (AppleALC)
    Trackpad (gestures)
    HDMI Video and Audio
    USB 3.0
    NVMe / SATA SSD's
    Battery Management
    Brightness keys
    Built-in camera
    Built-in mic
    Bluetooth Intel
    FileVault Disk encryption (Always make a backup before switching on!!!)

Half working:

    Wifi Intel (still buggy for now)

Not working:

    Nvidia GPU (MX150/GP108) (Not supported under macOS and probably never will be)

Installation

Sounds good! Where do we start? You need a computer with macOS or Windows (scroll down)
Clover or OpenCore?

First let's figure out if we would like to use Clover or OpenCore. The pro's / con's listed:
Clover

Pro's (+)

    Most used, best supported online
    Easy to configure with Clover Configurator

Con's (-)

    Might be less compatible with macOS updates in the future
    Less secure (csr 67 flag needed to inject kext drivers, SIP, the macOS security system, is off)
    Need to put kext files in /Library/Extensions/

OpenCore

Pro's (+)

    Most secure (no csr 67 flag, SIP, the macOS security system, stays on)
    Most compatible with future upgrades of macOS
    No need to put kext files in /Library/Extensions/, therefore 'vanilla' macOS install
    Faster than Clover

Con's (-)

    Complex to customise (Useful tool to edit config: https://github.com/corpnewt/ProperTree)
    Unnofficial version OpenCore Configurator
    Without Theme UI until release.

Installing from macOS:
Clover method:

    On your mac, create your macOS USB install media (e.g. https://support.apple.com/en-us/HT201372)
    Mount the ESP (EFI System Partition) on your USB stick: (check that you mount the correct EFI partition, numbers will vary!!!)

diskutil list
sudo diskutil mount /dev/disk3s1

    Copy and overwrite the contents of the EFI folder on your USB stick with the contents of the EFI folder from this website.
    Eject the USB stick from your computer and insert in the Xiaomi laptop.
    Now boot the Xiaomi laptop from the install media (if trackpad is not working, use USB mouse. If network connection needed, use a Apple compatible USB Ethernet adapter)
    Open Disk Utility and format the builtin SSD or second SSD with APFS (will delete all your files!!!)
    Install macOS
    After install, boot from USB again but select SSD to boot from in the Clover Bootloader
    Do initial macOS setup (use USB Ethernet adapter for internet)
    Mount the ESP (EFI System Partition) on your SSD (check that you mount the correct EFI partition, numbers will vary!!!)

diskutil list
sudo diskutil mount /dev/disk0s1

    Copy and overwrite the contents of the EFI folder from this website to the EFI folder on the ESP on your SSD.
    Copy all the Kernel Extensions (kexts) from the EFI/CLOVER/kexts/Other to your system's /Library/Extensions folder (this is important, otherwise keyboard/trackpad and other devices might not work)
    Execute these commands in Terminal to rebuild Kernel Extension Cache:

sudo chmod -R 755 /System/Library/Extensions/
sudo chown -R root:wheel /System/Library/Extensions/
sudo chmod -R 755 /Library/Extensions/
sudo chown -R root:wheel /Library/Extensions/
sudo touch /System/Library/Extensions/
sudo touch /Library/Extensions/
sudo kextcache -i / && sudo kextcache -u /

    Remove the USB stick from the laptop
    Done! Reboot to enable all the kexts. Enjoy your Hackintosh!

OpenCore method:

    On your mac, create your macOS USB install media (e.g. https://support.apple.com/en-us/HT201372)
    Mount the ESP (EFI System Partition) on your USB stick: (check that you mount the correct EFI partition, numbers will vary!!!)

diskutil list
sudo diskutil mount /dev/disk3s1

    Copy and overwrite the contents of the EFI folder on your USB stick with the contents of the EFIOC (opencore) folder from this website.
    Eject the USB stick from your computer and insert in the Xiaomi laptop.
    Now boot the Xiaomi laptop from the install media (if trackpad is not working, use USB mouse. If network connection needed, use a Apple compatible USB Ethernet adapter)
    Open Disk Utility and format the builtin SSD or second SSD with APFS (will delete all your files!!!)
    Install macOS
    After install, boot from USB again but select SSD to boot from in the OpenCore Bootloader
    Do initial macOS setup (use USB Ethernet adapter for internet)
    Mount the ESP (EFI System Partition) on your SSD (check that you mount the correct EFI partition, numbers will vary!!!)

diskutil list
sudo diskutil mount /dev/disk0s1

    Copy and overwrite the contents of the EFIOC (opencore) folder from this website to the EFI folder on the ESP on your SSD.
    Remove the USB stick from the laptop
    Done! Reboot and enjoy macOS.

From Windows:
Clover method:

Downloading macOS:

    Download gibMacOS from https://github.com/corpnewt/gibMacOS/
    Extract it somewhere and run gibMacOS.bat
    Choose your desired macOS version by entering the number and pressing the ENTER key.
    macOS will now download, grab a coffee.
    Once the download is finished you can exit the program with the keys Q then ENTER

Making the installer USB stick:

    Insert your USB stick
    Now run MakeInstall.bat as Administrator
    IMPORTANT: In the next step it's important to choose the correct disk, the risk of deleting all the files on that pc are very high! Choose only your USB stick!
    Enter the number of your USB stick and hit ENTER, then type Y and hit ENTER (All files on your USB stick will be deleted!)
    Now go to the 'macOS Downloads\publicrelease' folder inside the 'gibMacOS' folder
    Hold the Shift key and right-click the macOS folder that you want to install on the USB stick and click Copy as path
    Go back to the MakeInstall.bat program and right-click in the window to paste the file path, then hit ENTER
    Your USB stick will be created, have a second coffee.
    When it's finished, close the program.

Making the USB stick Xiaomi compatible:

    Download the latest version of the EFI folder from here
    Extract it somewhere
    Open the BOOT drive from the Windows explorer (usually drive D:, E: or F:)
    Replace the EFI folder on the BOOT drive with the EFI folder you just downloaded from this website.
    Eject the USB stick and insert into Xiaomi laptop.

Installing macOS:

    Now boot the Xiaomi laptop from the install media (if trackpad is not working, use USB mouse. If network connection needed, use a Apple compatible USB Ethernet adapter)
    Open Disk Utility and format the builtin SSD or second SSD with APFS (will delete all your files!!!)
    Install macOS
    After install, boot from USB again but select SSD to boot from in the Clover Bootloader
    Do initial macOS setup (use USB Ethernet adapter for internet)
    Mount the ESP (EFI System Partition) on your SSD (check that you mount the correct EFI partition, numbers will vary!!!)

diskutil list
sudo diskutil mount /dev/disk0s1

    Copy and overwrite the contents of the EFI folder from this website to the EFI folder on the ESP on your SSD.
    Copy all the Kernel Extensions (kexts) from the EFI/CLOVER/kexts/Other to your system's /Library/Extensions folder (this is important, otherwise keyboard/trackpad and other devices might not work)
    Execute these commands in Terminal to rebuild Kernel Extension Cache:

sudo chmod -R 755 /System/Library/Extensions/
sudo chown -R root:wheel /System/Library/Extensions/
sudo chmod -R 755 /Library/Extensions/
sudo chown -R root:wheel /Library/Extensions/
sudo touch /System/Library/Extensions/
sudo touch /Library/Extensions/
sudo kextcache -i / && sudo kextcache -u /

    Remove the USB stick from the laptop
    Done! Reboot to enable all the kexts. Enjoy your Hackintosh!

OpenCore method:

Downloading macOS:

    Download gibMacOS from https://github.com/corpnewt/gibMacOS/
    Extract it somewhere and run gibMacOS.bat
    Choose your desired macOS version by entering the number and pressing the ENTER key.
    macOS will now download, grab a coffee.
    Once the download is finished you can exit the program with the keys Q then ENTER

Making the installer USB stick:

    Insert your USB stick
    Now run MakeInstall.bat as Administrator
    IMPORTANT: In the next step it's important to choose the correct disk, the risk of deleting all the files on that pc are very high! Choose only your USB stick!
    Enter the number of your USB stick and hit ENTER, then type Y and hit ENTER (All files on your USB stick will be deleted!)
    Now go to the 'macOS Downloads\publicrelease' folder inside the 'gibMacOS' folder
    Hold the Shift key and right-click the macOS folder that you want to install on the USB stick and click Copy as path
    Go back to the MakeInstall.bat program and right-click in the window to paste the file path, then hit ENTER
    Your USB stick will be created, have a second coffee.
    When it's finished, close the program.

Making the USB stick Xiaomi compatible:

    Download the latest version of the EFI folder from here
    Extract it somewhere
    Open the BOOT drive from the Windows explorer (usually drive D:, E: or F:)
    Replace the EFI folder on the BOOT drive with the EFIOC (opencore) folder you just downloaded from this website.
    Eject the USB stick and insert into Xiaomi laptop.

Installing macOS:

    Now boot the Xiaomi laptop from the install media (if trackpad is not working, use USB mouse. If network connection needed, use a Apple compatible USB Ethernet adapter)
    Open Disk Utility and format the builtin SSD or second SSD with APFS (will delete all your files!!!)
    Install macOS
    After install, boot from USB again but select SSD to boot from in the Opencore Bootloader
    Do initial macOS setup (use USB Ethernet adapter for internet)
    Mount the ESP (EFI System Partition) on your SSD (check that you mount the correct EFI partition, numbers will vary!!!)

diskutil list
sudo diskutil mount /dev/disk0s1

    Copy and overwrite the contents of the EFIOC (opencore) folder from this website to the EFI folder on the ESP on your SSD.
    Remove the USB stick from the laptop
    Done! Reboot to enable all the kexts. Enjoy your Hackintosh!

macOS is working! Next steps:
(optional) Fixing iMessage, FaceTime etc.

This can be a bit of a challenge, and outside of the scope of this repo, but if you want to, have a look here:
An iDiot's Guide To iMessage (clover)
Fixing iServices (OpenCore)
(optional) WiFi

Still very buggy, but improving fast. Have a look here

If your Intel Wifi not working, please be patient. The Intel wifi kext is really good, it's a project of zxystd
(optional) Garbled Audio Problems

If you're having audio problems, especially with headphones, run the install.command script inside the ALCPlugFix folder. This will install a fix, then reboot. Audio should be better.
(optional) Hackintosh combojack how to

hackintosh-stuff thanks to his repository we can fix the headphone jack: https://github.com/hackintosh-stuff/ComboJack
(optional) Display Color Profile:

Copy the .icm files from the ColorProfile folder to /Library/ColorSync/Profiles/ and pick one in System Preferences, Displays, Color tab. They have different white balance levels so pick whichever you like.
(optional) High DPI display fix:

Since the text on the 13" display can be quite small for many people in 1920x1080 resolution, it's possible to use some of the High DPI scaling features of macOS. To enable those:

    Boot into the Recovery partition (in Clover hit (Fn+)F3 to show all partitions)
    We need to temporarily disable SIP. Run Terminal from the Utilities menu and run:

csrutil disable

    Reboot into normal macOS
    Open Terminal and run the hidpi.sh script:

bash -c "$(curl -fsSL https://github.com/johnnync13/Xiaomi-Mi-Air/raw/master/HighDPI/hidpi.sh)"

    Choose (1) Enable, (3) MacBook Pro and (1) 1920x1080 Display.
    Reboot and test your new Display settings in System Preferences.
    When all set, reboot back into Recovery and enable SIP again:

csrutil enable

    Reboot into macOS. Done!

Troubleshooting
Some device in my system is not working under macOS!

Using Clover:

    Make sure all kexts are in /Library/Extensions/ then run:

sudo chmod -R 755 /System/Library/Extensions/
sudo chown -R root:wheel /System/Library/Extensions/
sudo chmod -R 755 /Library/Extensions/
sudo chown -R root:wheel /Library/Extensions/
sudo touch /System/Library/Extensions/
sudo touch /Library/Extensions/
sudo kextcache -i / && sudo kextcache -u /

    Reboot.

Using OpenCore:

    Make sure the kexts are in the EFI/OC/kexts folder on your SSD EFI system partition (ESP).
    Reboot. If still not working, try resetting the NVRAM from OpenCore boot menu.

IMPORTANT:

    It is really important on OpenCore, that the laptop have unlocked CFG Lock. It is important to CPU, sleep/wake and better behavior like native macOS. It is very easy on the most laptops because the BIOS has option in menu. But on Xiaomi Laptops, it is very simple with some steps on Windows. Maybe, make a video about it.

more coming soon
Disclaimer!

Use these files and this howto at your own risk. I'm not responsible in any way for lost data, damage to software or hardware or anything else that might go wrong. This works for me but might not for you.
Credits

    yllwfsh for maintenance, fix issues and create a good friendly README

    xzhih For the excellent hidpi script.

    stevezhengshiqi He is a good developer. I'm learning a lot about how to patch problems. Thanks for PCIList.aml and more.

    RehabMan Updated OS-X-Clover-Laptop-Config and Laptop-DSDT-Patch and OS-X-USB-Inject-All for maintenance

    vit9696 Updated Lilu and AppleALC and WhateverGreen for maintenance

    alexandred Updated Voodooi2c for maintenance

    Community Chinese Updated Intel Wifi for intel wifi and tutorial

Rank: 2Rank: 2

UID
2283787
帖子
212
PB币
99
贡献
0
技术
2
活跃
97
发表于 2020-3-6 10:27:30 |显示全部楼层
图片为我的全套装备,理论上自带的两个USB3.0口也足够用了。但是还是多备了一个USB扩展器,带RJ45接口,
无线鼠标,占1USB口,2.4G/5G双频USBwifi我用的(COMFAST,他管网有驱动,购买时会给连接),占一个口。
附件: 你需要登录才可以下载或查看附件。没有帐号?注册

Rank: 2Rank: 2

UID
1450972
帖子
128
PB币
4
贡献
0
技术
0
活跃
667
发表于 2020-3-6 10:51:26 |显示全部楼层
睡眠正常吗

Rank: 7Rank: 7Rank: 7

UID
1342443
帖子
3476
PB币
9538
贡献
0
技术
0
活跃
93
发表于 2020-3-6 11:02:57 |显示全部楼层
印度小哥的吧,启动多余的苹果可以用Clover Configurator隐藏掉

Rank: 5Rank: 5Rank: 5

UID
4859289
帖子
602
PB币
682
贡献
0
技术
0
活跃
148
发表于 2020-3-6 11:25:15 |显示全部楼层
我去 这是捡到宝贝啦  哈哈  感谢分享啊

Rank: 2Rank: 2

UID
2554144
帖子
476
PB币
63
贡献
0
技术
23
活跃
652
发表于 2020-3-7 11:41:00 |显示全部楼层
谢谢分享,谢谢!!

Rank: 2Rank: 2

UID
2283787
帖子
212
PB币
99
贡献
0
技术
2
活跃
97
发表于 2020-3-7 11:41:53 |显示全部楼层
cp140 发表于 2020-3-7 11:41
谢谢分享,谢谢!!

有更完美的麻烦一起分享我一下

Rank: 2Rank: 2

UID
2283787
帖子
212
PB币
99
贡献
0
技术
2
活跃
97
发表于 2020-3-7 11:42:45 |显示全部楼层
左右不过是爱情 发表于 2020-3-6 11:25
我去 这是捡到宝贝啦  哈哈  感谢分享啊

有更完美的麻烦一起分享我一下

Rank: 2Rank: 2

UID
2554144
帖子
476
PB币
63
贡献
0
技术
23
活跃
652
发表于 2020-3-7 11:42:57 |显示全部楼层
谢谢分享,赚点PB

Rank: 2Rank: 2

UID
2283787
帖子
212
PB币
99
贡献
0
技术
2
活跃
97
发表于 2020-3-7 11:43:14 |显示全部楼层
我就是坏 发表于 2020-3-6 11:02
印度小哥的吧,启动多余的苹果可以用Clover Configurator隐藏掉

无脑装 还没研究明白。

Rank: 2Rank: 2

UID
2283787
帖子
212
PB币
99
贡献
0
技术
2
活跃
97
发表于 2020-3-7 11:43:51 |显示全部楼层
mourner 发表于 2020-3-6 10:51
睡眠正常吗

我觉得是正常的

Rank: 2Rank: 2

UID
2554144
帖子
476
PB币
63
贡献
0
技术
23
活跃
652
发表于 2020-3-7 11:44:20 |显示全部楼层
谢谢分享,谢谢谢谢

Rank: 2Rank: 2

UID
2554144
帖子
476
PB币
63
贡献
0
技术
23
活跃
652
发表于 2020-3-7 11:44:47 |显示全部楼层
谢谢分享,谢谢谢谢谢谢

Rank: 1

UID
4866383
帖子
20
PB币
39
贡献
0
技术
0
活跃
18
发表于 2020-3-15 12:33:04 |显示全部楼层
哈哈哈哈哈,我来啦,非常好。

Rank: 2Rank: 2

UID
1062182
帖子
210
PB币
0
贡献
0
技术
0
活跃
119
发表于 2020-3-19 20:14:24 |显示全部楼层
谢谢分享,谢谢谢谢谢谢

Rank: 2Rank: 2

UID
3731436
帖子
173
PB币
387
贡献
0
技术
0
活跃
612

8周年庆典勋章

发表于 2020-3-19 20:45:20 |显示全部楼层

Rank: 2Rank: 2

UID
792068
帖子
239
PB币
0
贡献
0
技术
0
活跃
472
发表于 2020-3-21 23:48:07 |显示全部楼层
谢谢楼主分享,不过这在下起来真不容易
回顶部
Copyright (C) 2005-2020 pcbeta.com, All rights reserved
Powered by Discuz!  苏ICP备17027154号
请勿发布违反中华人民共和国法律法规的言论,会员观点不代表远景论坛官方立场。
远景在线 | 远景论坛 | 苹果论坛 | Win10论坛 | Win8论坛 | Win7论坛 | WP论坛 | Office论坛 | 电脑硬件 | 安卓软件