Xilin Wu
ce5bdabbd3
Make TARGET default to RELEASE Disable InMemorySerialPortLib and FrameBufferSerialPortLib when TARGET == RELEASE Signed-off-by: Xilin Wu <strongtz@yeah.net> |
||
---|---|---|
.github/workflows | ||
assets | ||
device_specific | ||
edk2@3a3713e62c | ||
edk2-platforms@cfdc7f907d | ||
sdm845Pkg | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
build.sh | ||
LICENSE.txt | ||
README.md | ||
README.zh.md |
EDK2 UEFI Firmware For Snapdragon 845 (sdm845)
A broken but working EDK2 implementation for Snapdragon 845 platform.
Resources
QQ group: 697666196 (Main group)
QQ group: 737223105 (Linux/edk2)
WARNING
DO NOT EVER TRY TO PORT IT TO SONY DEVICES
YOUR UFS WILL BE WIPED CLEAN!!!
Supported devices
- Xiaomi MIX 2S (polaris)
- Xiaomi MIX 3 (perseus)
- Xiaomi MI 8 (dipper)
- Xiaomi PocoPhone F1 (beryllium)
- OnePlus 6 (enchilada)
- OnePlus 6T (fajita)
- Nubia X (nx616j)
- Meizu 16th (m1882)
- BlackShark One (skr-a0)
- LG G7 (judyln) (Will automatically restart)
- Samsung Galaxy S9+ (star2qltechn) (May wipe your UFS)
- Xiaomi MI 7 (dipper-old)
- OPPO Find X (pafm00)
- Smartisan R1 (trident)
- 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
License
This project is released under the WTFPL LICENSE.