** build_rom.sh **
Command example: . scripts/build_rom.sh hammerhead nosync clean log
Parameter 1: The device tree: mako | hammeread | others
Parameter 2: Repo sync or don't sync the source: sync | nosync
Parameter 3: Make a clean build: clean to run a "make clobber" | noclean to run a "make installclean" (hint: installclean is usually enough to build without errors)
Parameter 4: Save a txt log in the root repo folder: log | nolog
** build_apk.sh **
Command example: . scripts/build_rom.sh hammerhead nosync clean log SystemUI
Parameters 1, 2, 3, 4: like the ones in the build rom script
Parameter 5: The apk package name you want to build, for example SystemUI
** build_kernel.sh **
Command example: . build_kernel.sh hammerhead
Parameter 1: The device tree: mako | hammeread | others