Go to file
2021-07-02 16:30:02 +08:00
.github/workflows fix github actions (apt update) 2021-07-02 16:30:02 +08:00
assets fix logo generator 2021-07-02 16:29:19 +08:00
device_specific Remove support for akari 2021-07-02 16:29:18 +08:00
edk2@3a3713e62c change to submodule, add build all devices 2021-07-02 16:29:18 +08:00
edk2-platforms@cfdc7f907d change to submodule, add build all devices 2021-07-02 16:29:18 +08:00
sdm845Pkg Windows PE is booting with drivers now. Processor management is working properly. Note that you need to apply drivers to your wim image first, otherwise the system won't boot. 2021-07-02 16:29:19 +08:00
.gitattributes Create .gitattributes 2021-07-02 16:29:18 +08:00
.gitignore Generate logo on build 2021-07-02 16:29:19 +08:00
.gitmodules change to submodule, add build all devices 2021-07-02 16:29:18 +08:00
build.sh Fix submodule cloning for Chinese users 2021-07-02 16:29:19 +08:00
LICENSE.txt Add LICENSE 2021-07-02 16:30:02 +08:00
README.md Update LICENSE 2021-07-02 16:30:02 +08:00
README.zh.md add Chinese README 2021-07-02 16:29:19 +08:00

EDK2 UEFI Firmware For Snapdragon 845 (sdm845)

Attempt to create a normal EDK2 for Snapdragon 845 platform.

Pull requests for new devices and device tree or ACPI fixes are welcomed!

Github Github

Resources

Telegram group (recommended)

Discord group

QQ group: 697666196

License

This project is released under the WTFPL LICENSE.

WARNING

DO NOT EVER TRY TO PORT IT TO SONY DEVICES

YOUR UFS WILL BE WIPED CLEAN!!!

This repo only supports Snapdragon 845 (sdm845) and does not support others such as Snapdragon 855 (sm8150)

Do not try to run on other non sdm845 devices such as Xiaomi MIX3 5G

Dependencies

Ubuntu 18.04:

sudo apt update
sudo apt install build-essential uuid-dev iasl git nasm gcc-aarch64-linux-gnu abootimg python3-distutils python3-pil python3-git

Ubuntu 20.04 is also proved to be fine.

Supported devices

  1. Xiaomi MIX 2S (polaris)
  2. Xiaomi MIX 3 (perseus)
  3. Xiaomi MI 8 (dipper)
  4. Xiaomi PocoPhone F1 (beryllium)
  5. OnePlus 6 (enchilada)
  6. OnePlus 6T (fajita)
  7. Sony Xperia XZ2 (akari) (Removed)

Building

1.Clone this project

git clone https://github.com/edk2-porting/edk2-sdm845.git --recursive --depth=1

2.Build this project

bash build.sh --device DEVICE

3.Boot the image

fastboot boot boot_DEVICE.img

(DEVICE is the codename of your phone.)

Credits

Special thanks to fxsheep

MemoryMap thanks to Lemon1Ice.

ACPI tables thanks to sunshuyu and many other people related.

SimpleFbDxe driver is from imbushuo's Lumia950XLPkg.

Also thanks to edk2 website.

Simple Porting Guide

WIP