Go to file
Sophon a2106c26f3 Update AcpiTables submodule
c0b8b71: Polaris: Fixed Backlight Adjustment by Teguh Sobirin
2021-08-22 10:15:34 +08:00
.github Why need separate polaris? XD 2021-08-22 05:34:19 +07:00
assets Update bootup logo 2021-08-16 15:28:23 +08:00
device_specific Why need separate polaris? XD 2021-08-22 05:34:19 +07:00
edk2@fea7901dba Updated to a more recent version of EDKII and fixed issue with it not compiling with Python 3.9 2021-07-04 18:49:27 +02:00
edk2-platforms@086a3a3ce6 Updated to a more recent version of EDKII and fixed issue with it not compiling with Python 3.9 2021-07-04 18:49:27 +02:00
sdm845Pkg Update AcpiTables submodule 2021-08-22 10:15:34 +08:00
.gitattributes Create .gitattributes 2021-07-02 16:29:18 +08:00
.gitignore Remove unused files 2021-07-02 16:30:14 +08:00
.gitmodules Update ButtonsDxe in order to use buttons in Windows Boot Manager 2021-08-16 17:04:47 +08:00
build.sh Why need separate polaris? XD 2021-08-22 05:34:19 +07:00
docker-compose.yml Added Docker Support 2021-07-24 16:06:56 +05:30
Dockerfile Added Docker Support 2021-07-24 16:06:56 +05:30
LICENSE.txt Add LICENSE 2021-07-02 16:30:02 +08:00
README.md README.md README.zh.md: tips for compiling on other operating systems 2021-07-26 00:06:01 +08:00
README.zh.md README.md README.zh.md: tips for compiling on other operating systems 2021-07-26 00:06:01 +08:00

EDK2 UEFI Firmware For Snapdragon 845 (sdm845)

Github Github

EDK2 implementation for Snapdragon 845 platform.

Chinese version (中文版)

Resources

Telegram group

Discord group

QQ chinese group: 697666196 (Main group) 737223105 (Linux/edk2)

Windows Drivers

Project website

Project forum

WARNING

DO NOT EVER TRY TO PORT IT TO SONY and GOOGLE DEVICES

YOUR UFS WILL BE WIPED CLEAN!!!

Supported devices

  1. OnePlus 6 (enchilada)
  2. OnePlus 6T (fajita)
  3. Xiaomi MIX 3 (perseus)
  4. Xiaomi PocoPhone F1 (beryllium)
  5. Meizu 16th (m1882)
  6. Meizu 16th Plus (m1892)
  7. Smartisan R1 (trident)
  8. BlackShark One (skr-a0)
  9. OPPO Find X (pafm00)
  10. Xiaomi MIX 2S (polaris)
  11. LG G7 (judyln)
  12. Samsung Galaxy S9+ (star2qltechn)
  13. Xiaomi MI 7 (dipper-old)
  14. Xiaomi MI 8 (dipper)
  15. Nubia X (nx616j)
  16. Nokia9 PureView (olympic)
  17. ASUS ZenFone 5Z (draco)
  18. Vivo NEX Dual Display (pd1821)

Dependencies

For Windows/MacOS/Other Linux distributions:

Install Docker manually or use an Ubuntu virtual machine

For Ubuntu 20.04:

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

Building

1.Clone this project

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

2.1 Build this project (only on linux)

bash build.sh --device DEVICE

2.2 For Macos/Windows (you can use docker)

docker-compose run edk2 ./build.sh -d DEVICE

3.Boot the image

fastboot boot boot_DEVICE.img

(DEVICE is the codename of your phone.)

Additionally, you can flash the image to recovery to achieve dual-boot.

fastboot flash recovery boot_DEVICE.img

Credits

fxsheep for his original edk2-sagit

strongtz for maintaining Renegade Project

BigfootACA for build script

Lemon_Ice and NTAuthority for guidance and some blobs

@Freak2112, TAO_Croatia and 废物 for working hard on testing and debugging

NekokeCore for fixing MemoryMap

License

This project is released under the WTFPL LICENSE.