We used to get Device ID/IMEI using the following command:
adb shell dumpsys iphonesubinfo
But since last Android update (5.0 - Lollilop), this command doesn't return anything, I performed this test on both Nexus 4 and Nexus 5.
I know I can get the IMEI from code, which is still working, but does anyone has a workaround for ADB ?
adb shell dumpsys iphonesubinfo > info.txt
on 4.4.2 & 5.0, and 4.4.2 put the info into a file, where 5.0 didn't.