init.qcom.usb.sh: Pass blank MSM serial number for virtual Android
In Android GVM env, the path '/sys/devices/soc0/serial_number'
does not exist because SMEM is not virtualized. So the
msm_serial_hex gets updated to 0x00000000. This differs from MSM
serial number in EDL mode (it has access to SMEM). This leads to
external automation tools treating the same target as two
different devices in EDL and Android HLOS modes respectively.
Such confusion does not exist if the MSM serial number is blank.
Keep msm_serial_hex blank for Android GVM case.
Change-Id: I8e60909927234753b15d5287e12df2be75b0fe5d
1 file changed