反编译framework之后找到了锁机时屏幕上显示内容的display代码,谁知道触发机制在哪

rr891212

普通会员
2011-05-28
573
0
0
[i=s] 本帖最后由 rr891212 于 2012-7-27 14:01 编辑 [/i]

<string name="function_limitation">It was locked because out of service\narea passed period of time.\nMove to reach signal.</string>
<string name="function_limitation_offline">It was locked because out of service\narea passed period of time.\nCancel offline mode.</string>
<string name="PIN_IccCardWait">Now checking USIM.</string>
<string name="PIN_InputNumber">Enter PIN.</string>
<string name="PIN_missing">PIN is incorrect.</string>
<string name="USIM_Error">USIM card error</string>
<string name="USIM_ErrorMessage">USIM-MEP</string>
以上是string.xml里的,是display代码

<public type="id" name="Usim_IccCardAbsent_emergencyCallButton" id="0x01020287" />
<public type="id" name="Usim_IccCardAbsent_carrier" id="0x01020288" />
<public type="id" name="Usim_IccCardAbsent_date" id="0x01020289" />
<public type="id" name="Usim_IccCardAbsent_status1" id="0x0102028a" />
<public type="id" name="Usim_IccCardAbsent_status2" id="0x0102028b" />
<public type="id" name="Usim_IccCardAbsent_screenLocked" id="0x0102028c" />
<public type="id" name="Usim_IccCardError_emergencyCallButton" id="0x0102028d" />
<public type="id" name="Usim_IccCardError_carrier" id="0x0102028e" />
<public type="id" name="Usim_IccCardError_date" id="0x0102028f" />
<public type="id" name="Usim_IccCardError_status1" id="0x01020290" />
<public type="id" name="Usim_IccCardError_status2" id="0x01020291" />
<public type="id" name="Usim_IccCardError_screenLocked" id="0x01020292" />
<public type="id" name="Usim_IccCardOffline" id="0x01020293" />
<public type="id" name="Usim_IccCardOffline_tview" id="0x01020294" />
<public type="id" name="Usim_IccCardWait" id="0x01020295" />
<public type="id" name="Usim_IccCardWait_tviewIccCardWait" id="0x01020296" />
以上是public.xml中,个相应id SIM卡锁和机能限制相关代码和相应id

<item type="id" name="Usim_IccCardAbsent_emergencyCallButton">false</item>
<item type="id" name="Usim_IccCardAbsent_carrier">false</item>
<item type="id" name="Usim_IccCardAbsent_date">false</item>
<item type="id" name="Usim_IccCardAbsent_status1">false</item>
<item type="id" name="Usim_IccCardAbsent_status2">false</item>
<item type="id" name="Usim_IccCardAbsent_screenLocked">false</item>
<item type="id" name="Usim_IccCardError_emergencyCallButton">false</item>
<item type="id" name="Usim_IccCardError_carrier">false</item>
<item type="id" name="Usim_IccCardError_date">false</item>
<item type="id" name="Usim_IccCardError_status1">false</item>
<item type="id" name="Usim_IccCardError_status2">false</item>
<item type="id" name="Usim_IccCardError_screenLocked">false</item>
<item type="id" name="Usim_IccCardOffline">false</item>
<item type="id" name="Usim_IccCardOffline_tview">false</item>
<item type="id" name="Usim_IccCardWait">false</item>
<item type="id" name="Usim_IccCardWait_tviewIccCardWait">false</item>
以上是ids.xml中,SIM卡锁和机能限制相关代码


string中最前面前两行证实了机器一段时间没有信号会锁上是真的,坛里好像有几位朋友中招了
最后两行就是插入非SB的sim卡开机网络锁界面显示的内容,不知从哪里能找到触发机制,因为本人不懂安卓系统,纯属小白,要是有人懂的,别笑话哈~

后面的id还有false的含义不明,还想向各位大大请教

另外,我发现那个网络锁界面中,蓝牙和wifi是可以打开的,在状态栏中有图标,这就证明了某些底层驱动和高层应用都能加载,只是在进入主界面,应该就是framework的加载被拦截了,可能不用修改基带就可以达到软解
 

ルルーシュ

游客
小白一只,最近在了解,你可以直接在src下代码里搜字符串看看,可以看看R.java
 

zanchenn

普通会员
2009-08-21
327
0
0
果然呐,我就说嘛怎么回突然不让进系统里面嘛,怎么才能解除呢,用卡贴或解锁卡插进去找信号可以吗