xiongzhu hace 1 año
padre
commit
e081202f53
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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") {