This Repo Is Based On SurfaceDuoPkg
Thanks for Gus's instructions!
Quick notes for building:
- Use Ubuntu 20.04 x64 (or use docker-compose under other distros)
- Generate ACPI tables with IASL
- Follow this quick draft
- Setup Base environment
./setup_env.sh
pip install --upgrade -r pip-requirements.txt
Alternatively, use docker-compose if you don't have Ubuntu 20.04 environment
docker-compose run mu
Then finish the following process in docker environment
- Activate Workspace
python3 -m venv SurfaceDuo
source SurfaceDuo/bin/activate
- Setup Mu environment
./setup_uefi.sh
- Stamp build
python3 ./Platforms/SurfaceDuoPkg/StampBuild.py
- Build UEFI
./build_uefi.sh <target-name> <traget-ram-size>
Ram size should be 6 or 8. You will find Build//uefi.img if build successfully.
Device | Target name | DSDT Support | maintainers |
---|---|---|---|
ASUS ROG2 | asus-I001DC | ❌ | NONE |
LG G8 | lg-alphaplus | ✅ | sunflower2333 |
LG G8X | lg-mh2lm | ✅ | Molly Sophia |
LG V50 | lg-flashlmdd | ✅ | AKA |
LG V50S | lg-mh2lm-5G | ✅ | AKA |
Nubia Mini 5G | nubia-tp1803 | ✅ | Alula |
OnePlus 7 Pro | oneplus-guacamole | ❌ | Waseem Alkurdi |
OnePlus 7T Pro | oneplus-hotdog | ❌ | Waseem Alkurdi |
Samsung Galaxy S10 | samsung-beyond1qlte | ✅ | w |
Xiaomi 9 | xiaomi-cepheus | ❌ | NONE |
Xiaomi Hercules | xiaomi-hercules | ❌ | NONE |
Xiaomi K20 Pro | xiaomi-raphael | ❌ | NONE |
Xiaomi Mix3 5G | xiaomi-andromeda | ✅ | sunflower2333 |
Xiaomi Pad 5 | xiaomi-nabu | ✅ | map220v |
Xiaomi Poco X3 Pro | xiaomi-vayu | ❌ | mcusr120 |
- EFIDroid Project
- Andrei Warkentin and his RaspberryPiPkg
- Sarah Purohit
- Googulator
- Ben (Bingxing) Wang
- Renegade Project
All code except drivers in GPLDriver
directory are licensed under BSD 2-Clause.
GPL Drivers are licensed under GPLv2 license.