To use: copy the script with into the same folder as a b2g and gaia folders are located then run the script: flash_Gg.sh
If you have multiple devices to flash use : multiflash.sh
The following are options :
- -d : to turn on ril debugging
- -n : to not install comril
- -h : for help
- -i : image flash the device ex: -i inari
- -s : flash to specific device serial
- -b : backup before flashing
- -r : restore after flashing
- -k : keep previous profile; backup and restore options
- -p : do not reset phone
- -a : do not turn on adb remote debugging"