Add patch

This patch removes some useless packages of CM for our device
build.sh: Improve and add argument checking