How to check if SIM hot swap works fine
时间:10-02
整理:3721RD
点击:
[Description]
I followed the steps below, but SIM hot swap worked abnormally.
1)
Inserted SIM card A then booted; UI showed “find the SIM card”.
Pulled SIM card A; UI showed “SIM card disapper”.
Inserted SIM card A; UI showed “SIM card found”.
Pulled SIM card A; UI showed “SIM card disapper”.
Inserted SIM card B; UI showed “cannot find the SIM card”.
2)
Booted without SIM card; SIM showed “not find the SIM card”.
Inserted SIM card; UI showed “cannot find the SIM card”.
Why did the above take place?
How can I check if SIM hot swap function works fine?
[Solution]
[Answer]:
The step you took was the “SIM recovery enhancement” function, not “SIM hot swap”.
“SIM recovery enhancement” is for solving the “low” probability of SIM card loss
when the phone is in standby state.
AP: mtk_SIM_RECOVERY=yes(alps\mediatek\config\$(Customer Project
name)\ProjectConfig.mk)
MD: SIM_RECOVERY_ENHANCEMENT = TRUE(MAUI\make\**_**_HSPA(GPRS).mak)
/ SIM_RECOVERY_ENHANCEMENT = TRUE(MOLY\make\custom_config\**_**_HSPA(GPRS)_EXT.mak)
[Answer]:
For how to check if SIM hot swap works fine, fROM log, get SIM hot swap MTKlog (mobile
log & Modem log)
1)Open modem log by “Catcher” tool.
1.CLIck on “Catcher.exe” to open “mtklog’mdlog\MDLog_*_*_*\MDLog_PS*_*_*.dmp” or
“mtklog\mdlog\MDLog_*_*_*\MDLog_PS*_*_*.dmp.dmp”.
“controls” -> “open dump file…”->select “MDLog_PS*_*_*.dmp”->select
“BPLGUInfoCustomAppSrcP_*_*_...”
2.Find all “MSG_ID_SIM_PLUG”
MOD_DRV_HISR MOD_SIM PS_SIM_SAP MSG_ID_SIM_PLUG_OUT_IND
MOD_DRV_HISR MOD_SIM PS_SIM_SAP MSG_ID_SIM_PLUG_IN_IND
Example:
2)Open mobile log by “UltraEdit” tool.
Click on “UltraEdit.exe” to open radio_log.boot/radio_log (mobile log). Find all
“esims” to fiLTEr “esims” related logs.
01-01 08:00:51.155 494 509 D AT : +ESIMS: 0,11
01-01 08:00:51.155 494 509 D AT : AT< +ESIMS: 0,11
01-01 08:00:51.155 494 509 D AT : RIL_URC_READER:+ESIMS: 0,11
01-01 08:00:51.156 494 509 D RIL : Nw URC:+ESIMS: 0,11
01-01 08:00:58.082 494 509 D AT : +ESIMS: 1,12
01-01 08:00:58.082 494 509 D AT : AT< +ESIMS: 1,12
01-01 08:00:58.082 494 509 D AT : RIL_URC_READER:+ESIMS: 1,12
01-01 08:00:58.082 494 509 D RIL : Nw URC:+ESIMS: 1,12
+ESIMS: 1,12, -> "SIM plug in" MSG from Modem.
+ESIMS: 0,11, -> "SIM plug out" MSG from Modem.
Note:
MT6589 gemini MTKlog:
|-mdlog -> modem1 / or modem2 log
|-mobilelog -> mobile log(kernel / main / radio)
MT6589 dual talk MTKlog:
|-dualmdlog -> modem2 log
|-mdlog -> modem1 log
|-mobilelog -> mobile log(kernel / main / radio)
I followed the steps below, but SIM hot swap worked abnormally.
1)
Inserted SIM card A then booted; UI showed “find the SIM card”.
Pulled SIM card A; UI showed “SIM card disapper”.
Inserted SIM card A; UI showed “SIM card found”.
Pulled SIM card A; UI showed “SIM card disapper”.
Inserted SIM card B; UI showed “cannot find the SIM card”.
2)
Booted without SIM card; SIM showed “not find the SIM card”.
Inserted SIM card; UI showed “cannot find the SIM card”.
Why did the above take place?
How can I check if SIM hot swap function works fine?
[Solution]
[Answer]:
The step you took was the “SIM recovery enhancement” function, not “SIM hot swap”.
“SIM recovery enhancement” is for solving the “low” probability of SIM card loss
when the phone is in standby state.
AP: mtk_SIM_RECOVERY=yes(alps\mediatek\config\$(Customer Project
name)\ProjectConfig.mk)
MD: SIM_RECOVERY_ENHANCEMENT = TRUE(MAUI\make\**_**_HSPA(GPRS).mak)
/ SIM_RECOVERY_ENHANCEMENT = TRUE(MOLY\make\custom_config\**_**_HSPA(GPRS)_EXT.mak)
[Answer]:
For how to check if SIM hot swap works fine, fROM log, get SIM hot swap MTKlog (mobile
log & Modem log)
1)Open modem log by “Catcher” tool.
1.CLIck on “Catcher.exe” to open “mtklog’mdlog\MDLog_*_*_*\MDLog_PS*_*_*.dmp” or
“mtklog\mdlog\MDLog_*_*_*\MDLog_PS*_*_*.dmp.dmp”.
“controls” -> “open dump file…”->select “MDLog_PS*_*_*.dmp”->select
“BPLGUInfoCustomAppSrcP_*_*_...”
2.Find all “MSG_ID_SIM_PLUG”
MOD_DRV_HISR MOD_SIM PS_SIM_SAP MSG_ID_SIM_PLUG_OUT_IND
MOD_DRV_HISR MOD_SIM PS_SIM_SAP MSG_ID_SIM_PLUG_IN_IND
Example:
2)Open mobile log by “UltraEdit” tool.
Click on “UltraEdit.exe” to open radio_log.boot/radio_log (mobile log). Find all
“esims” to fiLTEr “esims” related logs.
01-01 08:00:51.155 494 509 D AT : +ESIMS: 0,11
01-01 08:00:51.155 494 509 D AT : AT< +ESIMS: 0,11
01-01 08:00:51.155 494 509 D AT : RIL_URC_READER:+ESIMS: 0,11
01-01 08:00:51.156 494 509 D RIL : Nw URC:+ESIMS: 0,11
01-01 08:00:58.082 494 509 D AT : +ESIMS: 1,12
01-01 08:00:58.082 494 509 D AT : AT< +ESIMS: 1,12
01-01 08:00:58.082 494 509 D AT : RIL_URC_READER:+ESIMS: 1,12
01-01 08:00:58.082 494 509 D RIL : Nw URC:+ESIMS: 1,12
+ESIMS: 1,12, -> "SIM plug in" MSG from Modem.
+ESIMS: 0,11, -> "SIM plug out" MSG from Modem.
Note:
MT6589 gemini MTKlog:
|-mdlog -> modem1 / or modem2 log
|-mobilelog -> mobile log(kernel / main / radio)
MT6589 dual talk MTKlog:
|-dualmdlog -> modem2 log
|-mdlog -> modem1 log
|-mobilelog -> mobile log(kernel / main / radio)