|
1 | | -# OpenixCard 使用指南 |
| 1 | +# OpenixCard |
| 2 | + |
| 3 | +[English](README.md) | 简体中文 |
| 4 | + |
| 5 | +Allwinner PhoenixCard 的开源版本,用于在 Linux 和 MacOS 上解包、转储、烧录 Allwinner Linux IMG 文件 |
| 6 | + |
| 7 | +[](https://forthebadge.com) |
| 8 | +[](https://forthebadge.com) |
| 9 | +[](https://forthebadge.com) |
| 10 | +[](https://forthebadge.com) |
| 11 | + |
| 12 | +[](https://github.com/YuzukiTsuru/OpenixCard/actions/workflows/cmake.yml) |
| 13 | + |
| 14 | +## 关于 Android IMG 文件支持 |
| 15 | +> Android 固件将不被支持,未来也不会适配支持。由于 Android GKI、GMS、GRF 版本众多,无法覆盖所有固件版本,且 Android 固件分区非常复杂,没有通用的方法生成可用的固件,也没有固定的地址使其运行。即使能够适配,也会出现功能不可用的情况,如 fastboot、GMS 服务等。最后,Android 固件修改常用于破解和修改固件,本项目不支持此类行为。 |
2 | 16 |
|
3 | 17 | ## 程序位置 |
4 | 18 |
|
@@ -227,3 +241,57 @@ A: 主要用于 Allwinner 芯片的 Linux 固件镜像,不支持 Android 固 |
227 | 241 | ./build/dist/OpenixCard -p <dir> |
228 | 242 | ``` |
229 | 243 |
|
| 244 | +## 下载 |
| 245 | +### ArchLinux |
| 246 | +OpenixCard 现在可在 [AUR](https://aur.archlinux.org/packages/openixcard) 上获取 [#3](https://github.com/YuzukiTsuru/OpenixCard/issues/3#issuecomment-1135317155) |
| 247 | +``` |
| 248 | +yay -S openixcard |
| 249 | +``` |
| 250 | + |
| 251 | +### 其他 Linux |
| 252 | +您可以在以下链接找到最新的发布文件: |
| 253 | +https://github.com/YuzukiTsuru/OpenixCard/releases |
| 254 | + |
| 255 | +## 从源码构建 |
| 256 | + |
| 257 | +```bash |
| 258 | +# 下载源代码 |
| 259 | +git clone --recursive --depth 1 https://github.com/YuzukiTsuru/OpenixCard |
| 260 | + |
| 261 | +# 安装依赖 |
| 262 | +sudo apt install cmake build-essential automake autoconf libconfuse-dev pkg-config |
| 263 | + |
| 264 | +# 创建构建目录 |
| 265 | +mkdir build |
| 266 | +cd build |
| 267 | + |
| 268 | +# 编译 |
| 269 | +cmake .. && make -j |
| 270 | +``` |
| 271 | + |
| 272 | +> 注意:Ubuntu 20.04 编译会报错,这是由 ar 的 bug 导致的,您可以编译安装新版本。 |
| 273 | +
|
| 274 | +```bash |
| 275 | +sudo apt-get install texinfo |
| 276 | + |
| 277 | +wget https://ftp.gnu.org/gnu/binutils/binutils-2.38.tar.xz && \ |
| 278 | + tar xvf binutils-2.38.tar.xz && \ |
| 279 | + cd binutils-2.38 && \ |
| 280 | + ./configure --prefix=/usr/local && \ |
| 281 | + make |
| 282 | + |
| 283 | +sudo make install |
| 284 | +``` |
| 285 | + |
| 286 | +## LICENSE |
| 287 | +``` |
| 288 | +GNU GENERAL PUBLIC LICENSE Version 2, June 1991 |
| 289 | + |
| 290 | +Copyright (c) 2022, YuzukiTsuru <GloomyGhost@GloomyGhost.com> |
| 291 | +
|
| 292 | +This program is free software; you can redistribute it and/or modify |
| 293 | +it under the terms of the GNU General Public License version 2 as |
| 294 | +published by the Free Software Foundation. |
| 295 | +
|
| 296 | +See README and LICENSE for more details. |
| 297 | + ``` |
0 commit comments