Skip to content
This repository was archived by the owner on Jun 28, 2026. It is now read-only.

Commit 241ee42

Browse files
committed
add Chinese Readme
1 parent de1b62b commit 241ee42

2 files changed

Lines changed: 73 additions & 3 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# OpenixCard
22

3-
Open Source Version of Allwinner PhoenixCard to Dump, Unpack, Flash Allwinner Linux IMG Files on Linux
3+
English | [简体中文](README_ZH.md)
4+
5+
Open Source Version of Allwinner PhoenixCard to Dump, Unpack, Flash Allwinner Linux IMG Files on Linux and MacOS
46

57
[![forthebadge](https://forthebadge.com/images/badges/made-with-c-plus-plus.svg)](https://forthebadge.com)
68
[![forthebadge](https://forthebadge.com/images/badges/made-with-c.svg)](https://forthebadge.com)
@@ -90,7 +92,7 @@ sudo make install
9092
## LICENSE
9193
```
9294
GNU GENERAL PUBLIC LICENSE Version 2, June 1991
93-
95+
9496
Copyright (c) 2022, YuzukiTsuru <GloomyGhost@GloomyGhost.com>
9597
9698
This program is free software; you can redistribute it and/or modify

USAGE_ZH.md renamed to README_ZH.md

Lines changed: 69 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
1-
# OpenixCard 使用指南
1+
# OpenixCard
2+
3+
[English](README.md) | 简体中文
4+
5+
Allwinner PhoenixCard 的开源版本,用于在 Linux 和 MacOS 上解包、转储、烧录 Allwinner Linux IMG 文件
6+
7+
[![forthebadge](https://forthebadge.com/images/badges/made-with-c-plus-plus.svg)](https://forthebadge.com)
8+
[![forthebadge](https://forthebadge.com/images/badges/made-with-c.svg)](https://forthebadge.com)
9+
[![forthebadge](https://forthebadge.com/images/badges/powered-by-black-magic.svg)](https://forthebadge.com)
10+
[![forthebadge](https://forthebadge.com/images/badges/uses-git.svg)](https://forthebadge.com)
11+
12+
[![CMake](https://github.com/YuzukiTsuru/OpenixCard/actions/workflows/cmake.yml/badge.svg)](https://github.com/YuzukiTsuru/OpenixCard/actions/workflows/cmake.yml)
13+
14+
## 关于 Android IMG 文件支持
15+
> Android 固件将不被支持,未来也不会适配支持。由于 Android GKI、GMS、GRF 版本众多,无法覆盖所有固件版本,且 Android 固件分区非常复杂,没有通用的方法生成可用的固件,也没有固定的地址使其运行。即使能够适配,也会出现功能不可用的情况,如 fastboot、GMS 服务等。最后,Android 固件修改常用于破解和修改固件,本项目不支持此类行为。
216
317
## 程序位置
418

@@ -227,3 +241,57 @@ A: 主要用于 Allwinner 芯片的 Linux 固件镜像,不支持 Android 固
227241
./build/dist/OpenixCard -p <dir>
228242
```
229243

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

Comments
 (0)