ui_print
crap: standard output and error streams will work just fine.Flashize (2016-04-06)
Converts a shell script to a flashable Android recovery zip.
flashize <input-script> [<output-zip> [<runtime-logfile>]]
Reads the script from standard input if <input-script>
is a dash (-).
Names the output zipfile based on <input-script>
if <output-zip>
is null or a dash.
Can create a logfile on the device at runtime, according to the value of <runtime-logfile>
:
This setting can be overridden by creating a '/tmp/flashize-log' file on the target device:
<runtime-logfile>
with the contents of the file.Script debugging modes are enabled by creating dummy files on the target device:
Flashize-Ext (2016-04-06)
Converts a shell script to a flashable Android recovery zip. The resulting flashable zip automatically extracts the full content of the zipfile before invoking the script. This tool is compatible with Busybox and Toybox.
flashize-ext <input-script> [<input-zip> [<output-zip> [<runtime-logfile> [<dest-dir>]]]]
Reads the script from standard input if <input-script>
is a dash (-).
Names the output zipfile based on <input-script>
if <output-zip>
is null or a dash.
Can create a logfile on the device at runtime, according to the value of <runtime-logfile>
:
This setting can be overridden by creating a '/tmp/flashize-log' file on the target device:
<runtime-logfile>
with the contents of the file.Extracts files to <dest-dir>
or to '/tmp/flashize' if <dest-dir>
is null or a dash.
Script debugging modes are enabled by creating dummy files on the target device:
Flashize-EBB (2016-04-06)
Converts a shell script to a flashable Android recovery zip. The resulting flashable zip can automatically extract resources bundled within the zipfile before invoking the script. This tool is incompatible with Toybox due to shortcomings of its 'unzip' command, and requires Busybox instead. Thus the Toybox-based CyanogenMod 13 recovery is not supported.
flashize-ebb <input-script> <input-zip> <output-zip> <runtime-logfile> <src-dir> <dest-dir> [<extra-src-spec>...]
Reads the script from standard input if <input-script>
is a dash (-).
Names the output zipfile based on <input-script>
if <output-zip>
is null or a dash.
Can create a logfile on the device at runtime, according to the value of <runtime-logfile>
:
This setting can be overridden by creating a '/tmp/flashize-log' file on the target device:
<runtime-logfile>
with the contents of the file.Extracts files from the zip at runtime, according to the value of <src-dir>
:
<dest-dir>
and extracts files matching <extra-src-spec>
there.<dest-dir>
/<src-dir>
, wipes its contents and extracts
<src-dir>
there. Also extracts files matching <extra-src-spec>
to <dest-dir>
.Script debugging modes are enabled by creating dummy files on the target device:
Flashize-Env (2016-04-06)
Converts a shell script to a flashable Android recovery zip. The resulting flashable zip can temporarily add binaries to or otherwise alter the runtime environment offered by the recovery before invoking the script.
flashize-env <input-script> [<env-spec> [<output-zip> [<runtime-logfile>]]]
Reads the script from standard input if <input-script>
is a dash (-).
Can temporarily alter the runtime environment, according to the value of <env-spec>
:
Names the output zipfile based on <input-script>
if <output-zip>
is null or a dash.
Can create a logfile on the device at runtime, according to the value of <runtime-logfile>
:
This setting can be overridden by creating a '/tmp/flashize-log' file on the target device:
<runtime-logfile>
with the contents of the file.Script debugging modes are enabled by creating dummy files on the target device: