|  (创建页面,内容为“== 该章节将引导你从源码构建TWRP Recovery == 注意:本教程以'''TWRP-12.1'''与''qti Lahaina for arm64''为例 === 部署环境 === # '''硬件方面的选择''' 对于''TWRP'',除非你的电脑拥有较高的配置,我们一般建议你在实体机编译,以下为针对''TWRP-12.1''的推荐配置。 <div align=center> <table>   <tr align=center>     <td>磁盘空间</td>     <td>内存</td>   </tr>   <tr align=center>     <td>40GB+</td>…”) |  (→部署环境) | ||
| 第1行: | 第1行: | ||
| == 该章节将引导你从源码构建TWRP Recovery == | == 该章节将引导你从源码构建TWRP Recovery == | ||
| 注意:本教程以'''TWRP-12.1'''与''qti Lahaina for arm64''为例 | 注意:本教程以'''TWRP-12.1'''与''qti Lahaina for arm64''为例 | ||
| <markdown> | |||
| === 部署环境 === | === 部署环境 === | ||
| # '''硬件方面的选择''' | # '''硬件方面的选择''' | ||
| 对于''TWRP'',除非你的电脑拥有较高的配置,我们一般建议你在实体机编译,以下为针对''TWRP-12.1''的推荐配置。 | 对于''TWRP'',除非你的电脑拥有较高的配置,我们一般建议你在实体机编译,以下为针对''TWRP-12.1''的推荐配置。 | ||
| <div align=center> |   <div align=center> | ||
| <table> |   <table> | ||
|     <tr align=center> | |||
|       <td>磁盘空间</td> | |||
|       <td>内存</td> | |||
|     </tr> | |||
|     <tr align=center> | |||
|       <td>40GB+</td> | |||
|       <td>16GB+</td> | |||
|     </tr> | |||
| </table> |   </table> | ||
| </div> |   </div> | ||
| # '''选择合适的操作系统''' | # '''选择合适的操作系统''' | ||
| * 使用64位的Linux发行版,推荐使用Ubuntu 22.04 LTS | * 使用64位的Linux发行版,推荐使用Ubuntu 22.04 LTS | ||
| ``` | ``` | ||
| sudo apt update | sudo apt update | ||
| 第25行: | 第25行: | ||
| ``` | ``` | ||
| 对于Archlinux, 你可以从AUR安装`lineageos-devel` | 对于Archlinux, 你可以从AUR安装`lineageos-devel` | ||
| </markdown> | |||
2024年2月14日 (三) 12:55的版本
该章节将引导你从源码构建TWRP Recovery
注意:本教程以TWRP-12.1与qti Lahaina for arm64为例 <markdown>
部署环境
- 硬件方面的选择
对于TWRP,除非你的电脑拥有较高的配置,我们一般建议你在实体机编译,以下为针对TWRP-12.1的推荐配置。
| 磁盘空间 | 内存 | 
| 40GB+ | 16GB+ | 
- 选择合适的操作系统
- 使用64位的Linux发行版,推荐使用Ubuntu 22.04 LTS
``` sudo apt update sudo apt upgrade sudo apt install bc bison build-essential ccache curl flex g++-multilib gcc-multilib git git-lfs gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev libelf-dev liblz4-tool libncurses5 libncurses5-dev libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev ``` 对于Archlinux, 你可以从AUR安装`lineageos-devel` </markdown>
