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:
- add - Add configuration items. Of course, it can also be used to modify configuration items. For example:
Kiwi config add icon=false logging="debug" ... - delete - Add configuration items, for example:
Kiwi config delete icon logging ... - list - List all configuration items
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:
- Unzip:
Kiwi brotli -u /path/vendor.new.dat.br -o /path/vendor.img - Compression:
Kiwi brotli -c /path/vendor.img -o /path/vendor.new.dat.br
Options:
-uUnzip-cCompression-oOutput location--levelCompression level, range: 0-11, default: 0, recommended 3~5
Convert 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:
- info - Get vbmeta information
- disable_verify - Disable AVB verification for vbmeta files
Check whether the operating environment is compatible
usage: Kiwi check