xiongzhu il y a 1 an
Parent
commit
e081202f53
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      app/src/main/java/com/example/uicceditor/ApduChannel.kt

+ 2 - 2
app/src/main/java/com/example/uicceditor/ApduChannel.kt

@@ -113,9 +113,9 @@ class ApduChannel(private val telephonyManager: TelephonyManager) {
         if (res.sw != "9000") {
             throw Exception("Failed to select MF")
         }
-          res = execute("00a40004027f2000")
+        res = execute("00a4040410a0000000871002ff86ffff89ffffffff00")
         if (res.sw != "9000") {
-            throw Exception("Failed to select DF.GSM")
+            throw Exception("Failed to select ADF.USIM")
         }
         res = execute("00a40004026f07")
         if (res.sw != "9000") {