Coder Social home page Coder Social logo

edk2-msm8998-automass's Introduction

EDK2 UEFI Firmware For Snapdragon 835 (msm8998)

  • A broken but working EDK2 implementation for Snapdragon 835 platform.

  • **人请看中文版 Chinese version (中文版)

  • Note that the MSM8998 platform has basically migrated to another repository>>edk2-msm

WARNING

  • Since Windows 22H2 discontinued support for ARMv8.0 CPU, MSM8998 is also affected, which means after version 22H2 it is possible not to boot up.

  • DO NOT EVER TRY TO PORT IT TO SONY, SAMSUNG DEVICES

  • YOUR UFS WILL BE WIPED CLEAN!!!

Resources

Telegram group (recommended)

Discord group

QQ chinese group: 697666196 (Main group, full) 996450026 (Second group) 737223105 (Linux/edk2)

Project website

Project forum

Supported devices

  1. Moto Z2 Force (nash)
  2. Xiaomi Mi Mix 2 (chiron)
  3. Xiaomi Mi6 (sagit)
  4. LG V30 (joan)
  5. OnePlus 5T (dumpling)
  6. OnePlus 5 (cheeseburger)

Supported devices

Windows Status Matrix

Dependencies

Compiling has been tested on Debian 11 (bullseye) and on Ubuntu 20.04 LTS.

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-msm8998.git --depth=1
cd edk2-msm8998

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

edk2-msm8998-automass's People

Contributors

akasaliza avatar qaz6750 avatar strongtz avatar degdag avatar usednametag avatar 5-super-rookie-5 avatar lumingyu0423 avatar musabcel avatar xpsoted avatar 13584452567 avatar bigfootaca avatar w123456w30w avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.