A cross-platform command line utility
Display help information
usage: Kiwi help
Similar commands: --help
、-h
Display version information
usage: Kiwi version
Similar commands: --version
、-v
Add, modify, and delete configuration items
usage: Kiwi config [Subcommands] [Options]
Subcommands:
Kiwi config add icon=false logging="debug" ...
Kiwi config delete icon logging ...
Related configurations:
Configuration item | Type | Description | Default value |
---|---|---|---|
iconText | Boolean | Whether to include icons in the output | true |
colorText | Boolean | Whether to output colored content | true |
SponsorshipTips | Boolean | Whether to display sponsorship tips | true |
language | string | Set the language | en_us |
Unzip/compress brotli compressed files with the suffix ‘.br’, such as system.new.dat.br
or vendor.new.dat.br
files
usage: Kiwi brotli [Options] [Path] -o [Path]
example:
Kiwi brotli -u /path/vendor.new.dat.br -o /path/vendor.img
Kiwi brotli -c /path/vendor.img -o /path/vendor.new.dat.br
Options:
-u
Unzip-c
Compression-o
Output location--level
Compression level, range: 0-11, default: 0, recommended 3~5Convert the file with the suffix *.new.dat
and *.transfer.list
to an img file, for example system.new.dat
and system.transfer.list
usage: Kiwi transfer2img [*.new.dat file path] [*.transfer.list file path] [output path]
Example: Kiwi transfer2img /path/vendor.new.dat /path/vendor.transfer.list /path/vendor.img
vbmeta related tools
usage: Kiwi vbmeta [Subcommands] [vbmeta file path]
Subcommands:
Check whether the operating environment is compatible
usage: Kiwi check