comparison sh/c139-gen-fc-script @ 19:2299f1ebbfd2

c139-gen-fc-* shell scripts: add explanatory comments
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 10 Jun 2023 23:20:44 +0000
parents c8ad6188b9ed
children
comparison
equal deleted inserted replaced
18:c8ad6188b9ed 19:2299f1ebbfd2
1 #!/bin/sh 1 #!/bin/sh
2
3 # This shell script generates the set of files needed for reflashing a Motorola
4 # C139/140 phone to FreeCalypso: it invokes c139-gen-fc-ffs-img to generate
5 # fc-ffs.bin (customized FFS image containing IMEI and extracted factory RF
6 # calibration values specific to your particular phone), and the present script
7 # then generates a command script for fc-loadtool that flashes everything
8 # in one go.
2 9
3 if [ $# != 1 ] 10 if [ $# != 1 ]
4 then 11 then
5 echo "usage: $0 fwimage.bin" 1>&2 12 echo "usage: $0 fwimage.bin" 1>&2
6 exit 1 13 exit 1