I have the following command and output:
d:\adb>adb shell service call iphonesubinfo 1
Result: Parcel(
0x00000000: 00000000 0000000f 00350033 00380039 '........8.5.9.8.'
0x00000010: 00320037 00360030 00350032 00310034 '7.2.0.1.2.4.4.1.'
0x00000020: 00390039 00000039 '5.9.9... ')
how can I parse it and get only the IMEI in one line ?
also :
< waiting for device >
...
(bootloader) ---------------------------------------------------------
(bootloader) Device-ID
(bootloader) 2FC9A68923FD175AA6E13657181CA6AB
(bootloader) 4AE438F12376AFA85D0E3467AE83A752
(bootloader) ---------------------------------------------------------
OKAY [ 0.020s]
finished. total time: 0.020s
get the serial as: 2FC9A68923FD175AA6E13657181CA6AB4AE438F12376AFA85D0E3467AE83A752