How can I get the IMEI on Lollipop and upper with ADB?
My final solution for that was to create an Android application that subtracts the IMEI because some version also had the same problem. 

Therefore, I make a request with the common way adb shell service call iphonesubinfo 1 else I run the sentences that install the android application The plugin, subtract the IMEI then uninstall it