lundi 26 janvier 2015

Récupérer l'IMSI d'une carte SIM insérée dans un Android, avec ADB depuis un PC

C:\Users\Utilisateur1\AppData\Local\Android\sdk\platform-tools>adb shell
shell@android:/ $ su root
su root
root@android:/ # logcat -b radio|grep -i imsilogcat -b radio|grep -i imsi
D/GSM     (  659): [SIMRecords] [SIM0]getIMSI: 208103397420000
W/GSM     (  659): getSpnByImsi(): imsi = 208103397420000, index = 8, length = 2, pattern = 67
D/RILJ    (  659):  RIL(1) :the result of searching mvnoOperName by IMSI: null
D/GSM     (  659): [SIMRecords] [SIM0]getIMSI: 208103397420000
W/GSM     (  659): getSpnByImsi(): imsi = 208103397420000, index = 8, length = 2, pattern = 67
D/RILJ    (  659):  RIL(1) :the result of searching mvnoOperName by IMSI: null