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!
Resources
QQ group: 697666196
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
- Xiaomi MIX 2S (polaris)
- Xiaomi MIX 3 (perseus)
- Xiaomi MI 8 (dipper)
- Xiaomi PocoPhone F1 (beryllium)
- OnePlus 6 (enchilada)
- OnePlus 6T (fajita)
- 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