fix script to work with arrays using bash instead of sh

Change-Id: I5a17cc90f8b523d9d7899bb4367da3acfbf3e002
jf: signal strength fixes

Change-Id: I3a07ac5157db9c64bca1016ab137419968c16fe6
Merge branch 'cm-10.1' of git://github.com/CyanogenMod/android_device_samsung_jf-common into jellybean