Go to file
2022-01-23 15:56:50 +08:00
.github Add support for Oneplus 6T 10GB RAM version 2021-12-19 20:13:46 +08:00
assets Update bootup logo 2021-08-16 15:28:23 +08:00
device_specific Add support for Oneplus 6T 10GB RAM version 2021-12-19 20:13:46 +08:00
edk2@5801910013 Revert "updated submodules" 2022-01-22 01:36:28 +01:00
edk2-platforms@d8232e8816 Revert "updated submodules" 2022-01-22 01:36:28 +01:00
sdm845Pkg sdm845Pkg: Library: SimpleInit: add linux simple mass storage 2022-01-23 14:55:07 +08:00
.clang-format Standarized code styles (clang-format) 2021-12-16 19:00:10 +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 Switch to custom edk2-libc 2022-01-19 16:05:48 +08:00
build.sh sdm845Pkg: Library: SimpleInit: add linux simple mass storage 2022-01-23 14:55:07 +08:00
docker-compose.yml Added Docker Support 2021-07-24 16:06:56 +05:30
Dockerfile Update Dockerfile 2021-11-02 15:48:24 +08:00
LICENSE add licenses 2021-12-19 21:20:33 +08:00
LICENSE.BSD add licenses 2021-12-19 21:20:33 +08:00
LICENSE.GPL3 add licenses 2021-12-19 21:20:33 +08:00
LICENSE.LGPL3 add licenses 2021-12-19 21:20:33 +08:00
README.md Add notes about GCC 11 2022-01-23 15:56:50 +08:00
README.zh.md Add notes about GCC 11 2022-01-23 15:56:50 +08:00

EDK2 UEFI Firmware For Snapdragon 845 (sdm845)

Github Github

EDK2 implementation for Snapdragon 845 platform.

Chinese version (中文版)

Resources

Telegram group

Discord server

QQ chinese group: 697666196 (Renegade-Project OffTopic 1) 996450026 (Renegade-Project OffTopic 2) 996450026 (Renegade-Project OffTopic 3) 996450026 (Renegade-Project OffTopic 4) 737223105 (Renegade-Project Linux/edk2)

Windows Drivers

Project website

Project forum

WARNING

IT IS STRICTLY PROHIBITED TO USE THIS REPOSITORY FOR ANY COMMERCIAL PURPOSES

If you want to redistribute, you need to ensure that users can get updates

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

YOUR UFS WILL BE WIPED CLEAN!!!

Supported devices

Windows Status Matrix

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 gettext

If you are using GCC 11+, modify edk2/BaseTools/Source/C/Makefiles/header.makefile

diff --git a/BaseTools/Source/C/Makefiles/header.makefile b/BaseTools/Source/C/Makefiles/header.makefile
index 0df728f..247c917 100644
--- a/BaseTools/Source/C/Makefiles/header.makefile
+++ b/BaseTools/Source/C/Makefiles/header.makefile
@@ -92,7 +92,7 @@ BUILD_CFLAGS = -MD -fshort-wchar -fno-strict-aliasing -fwrapv \
 -Wno-unused-result -nostdlib -g
 else
 BUILD_CFLAGS = -MD -fshort-wchar -fno-strict-aliasing -fwrapv \
--fno-delete-null-pointer-checks -Wall -Werror \
+-fno-delete-null-pointer-checks -Wall \^M
 -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict \
 -Wno-unused-result -nostdlib -g
 endif

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