Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get IMEI using adb command on Android 13?

There is a question about Getting IMEI number using ADB commands Android 12.

adb root
adb shell "service call iphonesubinfo 1 i64 0 | cut -c 52-66 | tr -d '.[:space:]'"

I tested the method, and it works well on Android 12.

But from android 13 on, it just returns an error message: "Package does not belong to ..."

Does anyone can help? Thanks!

like image 265
James Feng Avatar asked Oct 28 '25 01:10

James Feng


1 Answers

adb shell "service call iphonesubinfo 1 s16 com.android.shell | cut -c 52-66 | tr -d '.[:space:]'"

Here is what you want

like image 53
kalbo zhu Avatar answered Oct 30 '25 15:10

kalbo zhu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!