|
|
@@ -1,82 +1,57 @@
|
|
|
-# 使用 Github Action 编译 Recovery
|
|
|
+# Use Github Action to compile Recovery
|
|
|
```
|
|
|
-支持 OFRP、SHRP、TWRP 编译制作
|
|
|
+Support OFRP, SHRP, TWRP compilation and production
|
|
|
```
|
|
|
---
|
|
|
|
|
|
-## 更新说明
|
|
|
-```
|
|
|
-= 2021/11/29
|
|
|
-- 更新 LIBRARY_NAME 规则,现在 LIBRARY_NAME 不是必须的了
|
|
|
- (如果需要继续使用,则需要加上 '_',如 'omni_')
|
|
|
-```
|
|
|
-```
|
|
|
-= 2021/11/20
|
|
|
-- 增加默认上传 boot.img
|
|
|
-```
|
|
|
-```
|
|
|
-= 2021/11/17
|
|
|
-- 增加编译模式支持 (在 vendorsetup: userdebug/eng/debug)
|
|
|
-```
|
|
|
-```
|
|
|
-= 2021/10/31
|
|
|
-- 增加 Common 设备支持 [@Xpsoted](https://github.com/Xpsoted)
|
|
|
-```
|
|
|
-
|
|
|
-```
|
|
|
-= 2021/10/30
|
|
|
-- 优化文件打包上传方式,支持输出 OFRP、SHRP 的卡刷升级包与原始镜像
|
|
|
-- 简化制造时的部分流程
|
|
|
-```
|
|
|
-
|
|
|
+## Release Notes
|
|
|
```
|
|
|
= 2021/10/29:
|
|
|
-- 重构 2.0 版本
|
|
|
-- 完全重构使用逻辑,降低使用难度
|
|
|
-- 优化参数传递部分,现在可以同时运行多个 Worker
|
|
|
-- TWRP 编译测试通过
|
|
|
-- OFRP 编译测试通过
|
|
|
-- SHRP 编译测试通过
|
|
|
+-Refactored version 2.0
|
|
|
+-Completely reconstruct the use logic to reduce the difficulty of use
|
|
|
+-Optimize the parameter transfer part, now you can run multiple Workers at the same time
|
|
|
+-TWRP compilation test passed
|
|
|
+-OFRP compilation test passed
|
|
|
+-SHRP compile test passed
|
|
|
```
|
|
|
|
|
|
-----
|
|
|
|
|
|
-## 参数说明
|
|
|
+## Parameter Description
|
|
|
|
|
|
-| 名称 | 描述 | 示例 |
|
|
|
+| Name | Description | Example |
|
|
|
| ------------ | -------------------- | ------------ |
|
|
|
-| `LIBRARY_NAME` | 源码类型 | omni |
|
|
|
-| `LIBRARY_URL` | 源码地址 | https://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni.git |
|
|
|
-| `LIBRARY_BRANCH` | 源码分支 | twrp-9.0 |
|
|
|
-| `DEVICE_URL` | 设备地址 | https://github.com/azwhikaru/twrp_device_xiaomi_archytas |
|
|
|
-| `DEVICE_BRANCH` | 设备分支 | twrp-9.0 |
|
|
|
-| `DEVICE_PATH` | 设备位置 | device/xiaomi/Archytas |
|
|
|
-| `DEVICE_NAME` | 机型名称 | Archytas |
|
|
|
-| `DEVICE_TYPE` | 编译模式 | eng/userdebug/debug |
|
|
|
+| `MANIFEST_TYPE` | Source Type | omni |
|
|
|
+| `MANIFEST_URL` | Source address| https://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni.git |
|
|
|
+| `MANIFEST_BRANCH` | Source branch | twrp-9.0 |
|
|
|
+| `DEVICE_TREE_URL` | Device address| https://github.com/azwhikaru/twrp_device_xiaomi_archytas |
|
|
|
+| `DEVICE_TREE_BRANCH` | Device branch | twrp-9.0 |
|
|
|
+| `DEVICE_PATH` | Device location | device/xiaomi/Archytas |
|
|
|
+| `DEVICE_NAME` | Model name | Archytas |
|
|
|
|
|
|
-----
|
|
|
|
|
|
-## 如何使用
|
|
|
+## how to use
|
|
|
```
|
|
|
-例如你的用户名为: Fun-114514
|
|
|
+For example, your username is: Fun-114514
|
|
|
```
|
|
|
-#### 1、点击本仓库右上角的 'Fork'
|
|
|
+#### 1. Click'Fork' in the upper right corner of this warehouse
|
|
|

|
|
|
-#### 2、等待自动跳转后,你会看到你自己的用户名
|
|
|
+#### 2. After waiting for the automatic redirection, you will see your own username
|
|
|

|
|
|
-#### 3、点击 'Actions - Make Recovery'
|
|
|
+#### 3. Click'Actions-Make Recovery'
|
|
|

|
|
|
-#### 4、点击 'Run workflow' 并按照上文 '参数说明' 填写
|
|
|
+#### 4. Click'Run workflow' and fill in according to the above'parameter description'
|
|
|

|
|
|
-#### 5、填写完成后点击 'Run workflow' 开始运行
|
|
|
+#### 5. After filling in, click'Run workflow' to start running
|
|
|
|
|
|
-----
|
|
|
|
|
|
-## 编译结果
|
|
|
-可以在 [Release](../../releases) 下载
|
|
|
+## Compilation results
|
|
|
+Can be downloaded at [Release](../../releases)
|
|
|
|
|
|
-----
|
|
|
-## 备注
|
|
|
+## Remark
|
|
|
|
|
|
#### TeamWin Recovery Project: https://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni.git
|
|
|
#### OrangeFox Recovery Project: https://gitlab.com/OrangeFox/Manifest.git
|