0
0
mirror of https://github.com/edk2-porting/edk2-msm synced 2025-06-23 02:22:48 +00:00
Files
edk2-msm/README.zh.md
2021-10-03 15:58:08 +08:00

116 lines
3.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 骁龙845(sdm845)的EDK2 UEFI固件
![Github](https://img.shields.io/github/downloads/edk2-porting/edk2-sdm845/total)
![Github](https://img.shields.io/github/v/release/edk2-porting/edk2-sdm845?include_prereleases)
**在编译该项目前请确定你有一定的Linux常识以下步骤已经是最简单的方法如果你看不懂那么请使用Releases中的编译成品**
## 资源
[Telegram英语交流群](https://t.me/joinchat/MNjTmBqHIokjweeN0SpoyA)
[Discord英语交流群](https://discord.gg/XXBWfag)
QQ中文交流群: 697666196 (主群,已满) 996450026 (二群) 737223105 (Linux/edk2)
[Windows 驱动](https://github.com/edk2-porting/WOA-Drivers)
[项目官网](https://renegade-project.org/)
[项目论坛](https://forum.renegade-project.org/)
## 警告
**请勿尝试移植到任何索尼和谷歌设备上**
**你的UFS会被清空!!!**
## 已支持的设备
1. 一加6 (enchilada)
2. 一加6T (fajita)
3. 小米MIX3 (perseus)
4. 小米PocoPhone F1 (beryllium)
5. 魅族16th (m1882)
6. 魅族16th Plus (m1892)
7. 锤子坚果R1 (trident)
8. 黑鲨手机一代 (skr-a0)
9. OPPO Find X (pafm00)
10. 小米MIX2S (polaris)
11. LG G7 (judyln)
12. 三星S9+ (star2qltechn)
13. 小米7工程机 (dipper-old)
14. 小米8 (dipper)
15. 努比亚X (nx616j)
16. 诺基亚9 PureView (olympic)
17. 华硕 ZenFone 5Z (draco)
18. Vivo NEX 双屏版 (pd1821)
19. AYN Odin Handheld (odin-base)
20. 中兴天机Axon 9 Pro (akershus)
21. 小米8UD 屏幕指纹版 (equuleus)
## 依赖
Windows/MacOS/其它Linux发行版:
手动安装Docker或者使用Ubuntu虚拟机
Ubuntu 20.04:
```bash
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
```
## 构建
**不建议使用Ubuntu 18.04版本请使用Ubuntu 20.04或以上版本**
1.克隆此项目默认使用国内fastgit镜像加速
```bash
git clone https://hub.fastgit.org/edk2-porting/edk2-sdm845.git --depth=1
cd edk2-sdm845
```
2.1 编译此项目默认使用fastgit加速submodule克隆若不需要请删去 `--chinese`
```bash
bash build.sh --chinese --device DEVICE
```
2.2 如果你使用MacOS/Windows则可以借助Docker编译
````bash
docker-compose run edk2 ./build.sh -d DEVICE
````
3.启动镜像
```bash
fastboot boot boot_DEVICE.img
```
(请将DEVICE替换成你的设备代号.)
另外你可以将UEFI刷写至recovery分区以实现双重启动。
```bash
fastboot flash recovery boot_DEVICE.img
```
## 贡献
感谢`fxsheep`的`edk2-sagit`
感谢`strongtz`维护Renegade Project
感谢`BigfootACA`的编译脚本
感谢`Lemon_Ice`和`NTAuthority`提供指导以及一些有用的blob
感谢`@Freak2112`, `TAO_Croatia`和`废物`的实机调试
感谢`NekokeCore`参与了MemoryMap的修复