Skip to content
This repository was archived by the owner on Jan 5, 2022. It is now read-only.

Commit c784b99

Browse files
committed
DeviceInfo: include chipset with product info
1 parent 072193c commit c784b99

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/deviceinfo.lib

+1
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ getDeviceInfo() {
125125
}
126126
}
127127
[[ -n "$serial" ]] && echo "$(trthtd 'IMEI' "$serial")" >> "$devicedoc"
128+
[[ -n "${DEVPROP[ro.hardware]}" ]] && echo "$(trthtd 'Chipset' "${DEVPROP[ro.hardware]}")" >> "$devicedoc" # qcom, exynos7904 etc
128129
[[ -n "${DEVPROP[ro.board.platform]}" ]] && echo "$(trthtd 'Platform' "${DEVPROP[ro.board.platform]}")" >> "$devicedoc" # omap3
129130
[[ -n "${DEVPROP[ro.radio.hw.version]}" ]] && echo "$(trthtd 'Radio version' "${DEVPROP[ro.radio.hw.version]}")" >> "$devicedoc" # SJUG5980AA
130131
[[ -n "${DEVPROP[gsm.baseband.version]}" ]] && echo "$(trthtd 'Baseband' "${DEVPROP[gsm.baseband.version]}")" >> "$devicedoc" # L6260_MODEM_SIC_02.1233.00

0 commit comments

Comments
 (0)