GithubHelp home page GithubHelp logo

nit-in / edk2-pocof1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jamikettunen/edk2-oneplus5

0.0 1.0 0.0 14.22 MB

[W.I.P] EDK II port for OnePlus 5(T)

Assembly 0.09% C++ 0.42% C 3.14% Shell 0.06% ASL 96.20% PHP 0.07%

edk2-pocof1's Introduction

edk2-PocoF1

Attempt to create a minimal EDK2 for Xiaomi POCO F1.

Status

WIP

Working

Nothing

Not Working

  • ...

Building

Tested on Ubuntu 20.04 & Arch Linux.

First, clone EDK2:

cd ..
git clone https://github.com/tianocore/edk2.git
cd edk2
git submodule update --init

clone edk2-platforms

cd ..
git clone https://github.com/tianocore/edk2-platforms.git

You should have all three directories (edk2, edk2-platforms & edk2-PocoF1) side by side.

Next, install the dependencies:

Ubuntu 20.04:

sudo apt install build-essential uuid-dev acpica-tools git nasm python3-pip gcc-aarch64-linux-gnu abootimg p7zip-full bsdiff
sudo pip3 install uefi_firmware

Arch Linux:

sudo pacman -S --needed base-devel acpica git nasm python aarch64-linux-gnu-gcc p7zip bsdiff
yay -S --needed abootimg-git uefi-firmware-parser-git

Then, extract the XBL binary from your device (the powerful dd will serve you), name it xbl.elf and place it in the current directory.

Now execute ./extract-xbl.sh to get the proprietary blobs extracted.
If you just cloned this, also run ./firstrun.sh.
Finally, ./build.sh.

Then fastboot boot uefi.img.

Credits

This is based on fxsheep's edk2-sagit, which is based on zhuowei's edk2-pixel3.
SimpleFbDxe screen driver is from imbushuo's Lumia950XLPkg.
Special thanks to @lemon1ice, @gus33000 and @imbushuo for guidance.

edk2-pocof1's People

Contributors

fxsheep avatar jamikettunen avatar nit-in avatar zhuowei avatar

Watchers

 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.