.github | ||
assets | ||
device_specific | ||
edk2@fea7901dba | ||
edk2-platforms@086a3a3ce6 | ||
sdm845Pkg | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
build.sh | ||
docker-compose.yml | ||
Dockerfile | ||
README.md | ||
README.zh.md |
EDK2 UEFI Firmware For Snapdragon 845 (sdm845)
EDK2 implementation for Snapdragon 845 platform.
Resources
QQ chinese group: 697666196 (Main group) 737223105 (Linux/edk2)
WARNING
DO NOT EVER TRY TO PORT IT TO SONY and GOOGLE DEVICES
YOUR UFS WILL BE WIPED CLEAN!!!
Supported devices
- OnePlus 6 (enchilada)
- OnePlus 6T (fajita)
- Xiaomi MIX 3 (perseus)
- Xiaomi PocoPhone F1 (beryllium)
- Meizu 16th (m1882)
- Meizu 16th Plus (m1892)
- Smartisan R1 (trident)
- BlackShark One (skr-a0)
- OPPO Find X (pafm00)
- Xiaomi MIX 2S (polaris)
- LG G7 (judyln)
- Samsung Galaxy S9+ (star2qltechn)
- Xiaomi MI 7 (dipper-old)
- Xiaomi MI 8 (dipper)
- Nubia X (nx616j)
- Nokia9 PureView (olympic)
- ASUS ZenFone 5Z (draco)
- Vivo NEX Dual Display (pd1821)
- AYN Odin Handheld (odin-base)
- ZTE Axon 9 Pro (akershus)
- Xiaomi MI 8 UD (equuleus)
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