As all messages, including error messages, are suppressed during execution, try running the following to create a verbose version of the script:
cp create-android-sdcard create-android-sdcard-debug
sed -i 's?> /dev/null 2>&1??' create-android-sdcard-debug
sed -i 's?2> /dev/null??' create-android-sdcard-debug
and then run the new script like before:
./create-android-sdcard-debug chuangsiqi_CS918_AP6330_20140912.img
and see if there are any error messages.
Comment