Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find ICCID of SIM in Android device?

Tags:

android

adb

How to find ICCID of SIM in Android device connected to Linux PC using command?

I have connected my Android device with SIM to my Linux PC. I want to know ICCID of SIM in Andorid phone.

I can get the ICCID using getIccSerialNumber() when used in Android Application. But I don't want to run Android App on a phone. Instead, I want to get the ICCID using my Linux PC only. i.e. Either by using adb command or running a C program in my PC.

How can I do it?

like image 578
user1865411 Avatar asked Oct 19 '25 15:10

user1865411


1 Answers

To call getIccSerialNumber() do:

adb shell service call iphonesubinfo 11
like image 67
Alex P. Avatar answered Oct 21 '25 05:10

Alex P.