OpenixCard

From linux-sunxi.org
Jump to navigation Jump to search

OpenixCard is a Open Source Version of Allwinner PhoenixCard to Dump, Unpack, Flash Allwinner IMG Files on Linux

Building from Source

Information.png See also Instructions in the README

Prerequisites

cmake, autoconf, libconfuse-dev

Debian/Ubuntu

apt install cmake autoconf libconfuse-dev pkg-config

ArchLinux

pacman -S cmake autoconf confuse pkg-config

Repository

The repository is located on GitHub.

Change to the directory that you would like to clone the repository into and use:

apt-get install git
git clone --recursive https://github.com/YuzukiTsuru/OpenixCard

Building

Make new build directory

mkdir build
cd build

Make

cmake .. && make -j

The compiled application is in the dist directory in the build directory.

Usage

 _____             _     _____           _ 
|     |___ ___ ___|_|_ _|     |___ ___ _| |
|  |  | . | -_|   | |_'_|   --| .'|  _| . |
|_____|  _|___|_|_|_|_,_|_____|__,|_| |___|
      |_| 
Copyright (c) 2022, YuzukiTsuru <[email protected]>

Usage: OpenixCard [options] 

Optional arguments:
-h --help       shows help message and exits [default: false]
-v --version    prints version information and exits [default: false]
-u --unpack     Unpack Allwinner Image to folder [default: false]
-d --dump       Convert Allwinner image to regular image [default: false]
-c --cfg        Get Allwinner image partition table cfg file [default: false]
-p --pack       Pack dumped Allwinner image to regular image from folder [default: false]
-i --input      Input Allwinner image file [required]

eg.

OpenixCard                  - TUI Interface -> NOT AVALIABLE
OpenixCard -u -i <img>      - Unpack Allwinner image to target
OpenixCard -u -c -i <img>   - Unpack Allwinner image to target and generate Allwinner image partition table cfg
OpenixCard -d -i <img>      - Convert Allwinner image to regular image
OpenixCard -p -i <dir>      - Pack dumped Allwinner image to regular image from folder

See also