Go to file
Xilin Wu ce5bdabbd3 Be quiet!
Make TARGET default to RELEASE
Disable InMemorySerialPortLib and FrameBufferSerialPortLib when TARGET == RELEASE

Signed-off-by: Xilin Wu <strongtz@yeah.net>
2021-07-02 16:30:14 +08:00
.github/workflows add artifact upload and parallel compling 2021-07-02 16:30:14 +08:00
assets Update logo generation 2021-07-02 16:30:13 +08:00
device_specific add new device Nokia 9 PureView (olympic) 2021-07-02 16:30:14 +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 Be quiet! 2021-07-02 16:30:14 +08:00
.gitattributes Create .gitattributes 2021-07-02 16:29:18 +08:00
.gitignore remove unused files (dts,swp,orig,rej) 2021-07-02 16:30:13 +08:00
.gitmodules change to submodule, add build all devices 2021-07-02 16:29:18 +08:00
build.sh Be quiet! 2021-07-02 16:30:14 +08:00
LICENSE.txt Add LICENSE 2021-07-02 16:30:02 +08:00
README.md Update README 2021-07-02 16:30:14 +08:00
README.zh.md Update README 2021-07-02 16:30:14 +08:00

EDK2 UEFI Firmware For Snapdragon 845 (sdm845)

Github Github

A broken but working EDK2 implementation for Snapdragon 845 platform.

Chinese version (中文版)

Resources

Telegram group (recommended)

Discord group

QQ group: 697666196 (Main group)

QQ group: 737223105 (Linux/edk2)

Windows Drivers

Useless documents

WARNING

DO NOT EVER TRY TO PORT IT TO SONY DEVICES

YOUR UFS WILL BE WIPED CLEAN!!!

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. Nubia X (nx616j)
  8. Meizu 16th (m1882)
  9. BlackShark One (skr-a0)
  10. LG G7 (judyln) (Will automatically restart)
  11. Samsung Galaxy S9+ (star2qltechn) (May wipe your UFS)
  12. Xiaomi MI 7 (dipper-old)
  13. OPPO Find X (pafm00)
  14. Smartisan R1 (trident)
  15. Nokia9 PureView (olympic)

Dependencies

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 (no need for recursive)

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

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.)

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 the creating and maintaining the whole Renegade Project

@BigfootACA for build script

@lemon1ice and NTAuthority for guidance and some blobs

@wetdreams and TAOCroatia for working hard on testing and debugging

@NekokeCore for fixing MemoryMap

Porting Guide

edk2-sdm845 Porting Guide.

License

This project is released under the WTFPL LICENSE.