Firefly开源社区

标题: 安卓 AIO-3288C 4G 固件 [打印本页]

作者: One2INF    时间: 2019-12-16 13:51
标题: 安卓 AIO-3288C 4G 固件
官方安卓固件支持 4G 模块吗?刷了都没用
作者: jpchen    时间: 2019-12-16 14:11
支持EC20 模块,请问是否使用该模块?
作者: One2INF    时间: 2019-12-16 14:17
不是,用的是广和通的 NL668,只能用 EC20 吗?
为什么我没在官网的文档中看到相关信息,之前项目用的其他厂商的板子。
作者: jpchen    时间: 2019-12-16 14:35
One2INF 发表于 2019-12-16 14:17
不是,用的是广和通的 NL668,只能用 EC20 吗?
为什么我没在官网的文档中看到相关信息,之前项目用的其他 ...

如果是其他模块,这个就需要自己调试咯
作者: One2INF    时间: 2019-12-16 15:23
jpchen 发表于 2019-12-16 14:35
如果是其他模块,这个就需要自己调试咯

目前固件就只支持 EC20 吗?
作者: jpchen    时间: 2019-12-16 15:32
One2INF 发表于 2019-12-16 15:23
目前固件就只支持 EC20 吗?

对的,一般像4G功能,都是只支持一个模块。
作者: One2INF    时间: 2019-12-19 09:54
买了 EC20 还是不能联网,用的是 AIO-3288C_Android5.1.1_HDMI_181011.img 这份固件
这个论坛发不了图片
作者: jpchen    时间: 2019-12-19 10:14
One2INF 发表于 2019-12-19 09:54
买了 EC20 还是不能联网,用的是 AIO-3288C_Android5.1.1_HDMI_181011.img 这份固件
这个论坛发不了图片

SIM卡有接上去吗?如果有问题可以把log发 一下,logcat -b radio
作者: One2INF    时间: 2019-12-19 10:28
D/ATC     (  163): AT< +CRSM: 144,0,"621E82054221001C0A83026FC7A5038001718A01058B036F0603800201188800"
D/ATC     (  163): AT< OK
D/RILC    (  163): [requestSIM_IO]: RIL_SIM_IO_Response Complete sr.sw1=144, sr.sw2=0, sr.simResponse=000001186fc704000000000000011c
D/RILC    (  163): RequestComplete, RIL_SOCKET_1
E/RILC    (  163): Send Response to RIL_SOCKET_1
D/RILC    (  163): onRequest: SIM_IO
I/RILC    (  163): [requestSIM_IO]: p_args->data is NULL
D/ATC     (  163): AT> AT+CRSM=178,28615,1,4,28
D/RILJ    (  829): [3813]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0 [SUB0]
D/SIMRecords(  829): [SIMRecords] onAllRecordsLoaded set mcc imsi=460042383205649
D/TelephonyManager(  829): setTelephonyProperty: success phoneId=0 property=gsm.sim.operator.iso-country value: cn propVal=cn
D/GsmSST  (  829): [GsmSST] SubscriptionListener.onSubscriptionInfoChanged
D/SubscriptionController(  829): [getSubId]- mSlotIdToSubIdMap.size == 0, return DummySubIds slotIdx=0
D/SubscriptionController(  829): getDummySubIds: slotIdx=0 return 1 DummySubIds with each subId=0
D/PhoneFactory(  829): calculatePreferredNetworkType: phoneSubId = 0 networkType = 9
D/RILJ    (  829): [3815]> REQUEST_SET_PREFERRED_NETWORK_TYPE : 9 [SUB0]
D/SubscriptionController(  829): [getSubId]- mSlotIdToSubIdMap.size == 0, return DummySubIds slotIdx=0
D/SubscriptionController(  829): getDummySubIds: slotIdx=0 return 1 DummySubIds with each subId=0
D/SubscriptionController(  829): [getPhoneId]- no sims, returning default phoneId=0
D/SubscriptionController(  829): [getSubId]- mSlotIdToSubIdMap.size == 0, return DummySubIds slotIdx=0
D/SubscriptionController(  829): getDummySubIds: slotIdx=0 return 1 DummySubIds with each subId=0
D/RILJ    (  829): [3816]> SET_NETWORK_SELECTION_AUTOMATIC [SUB0]
D/TelephonyManager(  829): setTelephonyProperty: success phoneId=0 property=gsm.network.type value: LTE propVal=LTE
D/DCT     (  829): [0]SubscriptionListener.onSubscriptionInfoChanged
D/SubscriptionController(  829): [getSubId]- mSlotIdToSubIdMap.size == 0, return DummySubIds slotIdx=0
D/SubscriptionController(  829): getDummySubIds: slotIdx=0 return 1 DummySubIds with each subId=0
D/DctController(  829): onSubInfoReady mPhoneNum=1
D/SubscriptionController(  829): [getSubId]- mSlotIdToSubIdMap.size == 0, return DummySubIds slotIdx=0
D/SubscriptionController(  829): getDummySubIds: slotIdx=0 return 1 DummySubIds with each subId=0
D/DctController(  829): onSubInfoReady handle pending requests subId=0
D/SubscriptionController(  829): [getSubId]- mSlotIdToSubIdMap.size == 0, return DummySubIds slotIdx=0
D/SubscriptionController(  829): getDummySubIds: slotIdx=0 return 1 DummySubIds with each subId=0
D/DctController(  829): [TNF 0]evalPendingRequest, pending request size is 0
D/DctController(  829): processRequests
D/SubscriptionController(  829): [getActiveSubInfoList]+
D/SubscriptionController(  829): sim_state is :READY
D/SubscriptionController(  829): selection:sim_id>=0 null
D/ATC     (  163): AT< +CRSM: 144,0,"8000310032003500390039FFFFFF04812195F9FFFFFFFFFFFFFFFFFF"
D/ATC     (  163): AT< OK
D/RILC    (  163): [requestSIM_IO]: RIL_SIM_IO_Response Complete sr.sw1=144, sr.sw2=0, sr.simResponse=8000310032003500390039FFFFFF04812195F9FFFFFFFFFFFFFFFFFF
D/RILC    (  163): RequestComplete, RIL_SOCKET_1
E/RILC    (  163): Send Response to RIL_SOCKET_1
D/RILC    (  163): onRequest: SET_PREFERRED_NETWORK_TYPE
D/RILC    (  163): requestSetPreferredNetworkType PREF_NET_TYPE_LTE_GSM_WCDMA
D/ATC     (  163): AT> AT+QCFG="nwscanmode";+QCFG="nwscanseq"
D/RILJ    (  829): [3814]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0 [SUB0]
D/SubscriptionController(  829): [getActiveSubInfoList]- no info return
E/PhoneBase(  829): Error! unregisterForCallWaiting() in PhoneBase should not be called, CDMAPhone inactive.
D/ATC     (  163): AT< +QCFG: "nwscanmode",0
D/ATC     (  163): AT< +QCFG: "nwscanseq",0403020105
D/ATC     (  163): AT< OK
D/RILC    (  163): [requestSetPreferredNetworkType:2834] cur_scanseq = 0403020105
D/ATC     (  163): AT> AT+QCFG="nwscanseq",0405030201
D/SubscriptionController(  829): [getSubId]- mSlotIdToSubIdMap.size == 0, return DummySubIds slotIdx=0
D/SubscriptionController(  829): getDummySubIds: slotIdx=0 return 1 DummySubIds with each subId=0
D/SubscriptionController(  829): [getSubId]- mSlotIdToSubIdMap.size == 0, return DummySubIds slotIdx=0
D/SubscriptionController(  829): getDummySubIds: slotIdx=0 return 1 DummySubIds with each subId=0
D/SubscriptionController(  829): [getSubId]- mSlotIdToSubIdMap.size == 0, return DummySubIds slotIdx=0
D/SubscriptionController(  829): getDummySubIds: slotIdx=0 return 1 DummySubIds with each subId=0
D/SubscriptionController(  829): [getPhoneId]- no sims, returning default phoneId=0
D/SubscriptionManager(  829): [getPhoneId]- fail
D/TelephonyManager(  829): getTelephonyProperty: return propVal='null' phoneId=-1 property='gsm.operator.alpha' defaultVal='' prop=CHINA MOBILE
D/ATC     (  163): AT< OK
D/RILC    (  163): RequestComplete, RIL_SOCKET_1
E/RILC    (  163): Send Response to RIL_SOCKET_1
D/RILC    (  163): onRequest: SET_NETWORK_SELECTION_AUTOMATIC
D/ATC     (  163): AT> AT+COPS=3,2;+COPS?
D/RILJ    (  829): [3815]< REQUEST_SET_PREFERRED_NETWORK_TYPE  [SUB0]
D/ATC     (  163): AT< +COPS: 0,2,"46000",7
D/ATC     (  163): AT< OK
D/RILC    (  163): requestSetNetworkSelectionAutomatic() Already in automatic mode with known operator, trigger a new network scan
D/ATC     (  163): AT> AT+COPS=0
D/ATC     (  163): AT< OK
D/RILC    (  163): requestSetPreferredNetworkType PREF_NET_TYPE_LTE_GSM_WCDMA
D/ATC     (  163): AT> AT+QCFG="nwscanmode";+QCFG="nwscanseq"
D/ATC     (  163): AT< +QCFG: "nwscanmode",0
D/ATC     (  163): AT< +QCFG: "nwscanseq",0403020105
D/ATC     (  163): AT< OK
D/RILC    (  163): [requestSetPreferredNetworkType:2834] cur_scanseq = 0403020105
D/ATC     (  163): AT> AT+QCFG="nwscanseq",0405030201
D/SubscriptionController(  829): [getActiveSubInfoList]+
D/SubscriptionController(  829): sim_state is :READY
D/SubscriptionController(  829): selection:sim_id>=0 null
D/SubscriptionController(  829): [getActiveSubInfoList]- no info return
D/SubscriptionController(  829): [getSubId]- mSlotIdToSubIdMap.size == 0, return DummySubIds slotIdx=0
D/SubscriptionController(  829): getDummySubIds: slotIdx=0 return 1 DummySubIds with each subId=0
D/SubscriptionController(  829): [getPhoneId]- no sims, returning default phoneId=0
D/PhoneFactory(  829): getPhone:- phoneId != DEFAULT_PHONE_ID return sProxyPhones[phoneId] phoneId=0 phone=Handler (com.android.internal.telephony.PhoneProxy) {26defb1}
D/SubscriptionController(  829): [getActiveSubInfoList]+
D/SubscriptionController(  829): sim_state is :READY
D/SubscriptionController(  829): selection:sim_id>=0 null
D/SubscriptionController(  829): [getActiveSubInfoList]- no info return
D/ATC     (  163): AT< OK
E/PhoneBase(  829): Error! registerForCallWaiting() in PhoneBase should not be called, CDMAPhone inactive.
D/SubscriptionController(  829): [getActiveSubInfoList]+
D/SubscriptionController(  829): sim_state is :READY
D/SubscriptionController(  829): selection:sim_id>=0 null
D/RILJ    (  829): [3817]> iccIO: SIM_IO 0xb2 0x6fc7  path: 3F007F20,1,4,28 aid: null [SUB0]
D/SubscriptionController(  829): [getActiveSubInfoList]- no info return
D/DctController(  829): handleMessage msg={ when=-31ms what=100 target=com.android.internal.telephony.dataconnection.DctController }
D/DctController(  829): selectExecPhone requestInfo = [ request=NetworkRequest [ id=1, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ], executed=true, priority=0]
D/SubscriptionController(  829): [getPhoneId]- no sims, returning default phoneId=0
D/RILC    (  163): onRequest: SIM_IO
I/RILC    (  163): [requestSIM_IO]: p_args->data is NULL
D/ATC     (  163): AT> AT+CRSM=178,28615,1,4,28
D/SubscriptionController(  829): [getPhoneId]- no sims, returning default phoneId=0
D/DctController(  829): getTopPriorityRequestPhoneId = 0, priority = 0
D/DcSwitchAsyncChannel(  829): [DcSwitchAsyncChannel-0]: rspIsIdle=false
D/DctController(  829): onProcessRequest phoneId=0, activePhoneId=0
D/SubscriptionController(  829): [getPhoneId]- no sims, returning default phoneId=0
D/SIMRecords(  829): [SIMRecords] VM: ADN Record '12599' '12599 null' EF[MBDN]
D/SIMRecords(  829): [SIMRecords] onRecordLoaded 0 requested: true
D/SIMRecords(  829): [SIMRecords] record load complete
D/SIMRecords(  829): [SIMRecords] No suitable USIM selected locale
D/SIMRecords(  829): [SIMRecords] onAllRecordsLoaded set 'gsm.sim.operator.numeric' to operator='46004'
D/SIMRecords(  829): [SIMRecords] update icc_operator_numeric=46004
D/TelephonyManager(  829): setTelephonyProperty: success phoneId=0 property=gsm.sim.operator.numeric value: 46004 propVal=46004
D/SubscriptionController(  829): [setMccMnc]+ mcc/mnc:460/4 subId:-1
D/SubscriptionController(  829): notifySubscriptionInfoChanged:
D/TelephonyManager(  456): getSimOperatorNumeric(): default subId=0
D/ATC     (  163): AT< +CRSM: 144,0,"8000310032003500390039FFF^C

一直在打印这些东西,用的移动的物联网卡,卡没问题的,在其他厂商的板子上用过
作者: jpchen    时间: 2019-12-19 10:40
One2INF 发表于 2019-12-19 10:28
D/ATC     (  163): AT< +CRSM: 144,0,"621E82054221001C0A83026FC7A5038001718A01058B036F060380020118880 ...

log抓全点,还不是太全
作者: One2INF    时间: 2019-12-19 11:01
t-firefly android-4g log

日志放到这个连接了,这个论坛附件,图片都没法发
作者: jpchen    时间: 2019-12-19 11:39
One2INF 发表于 2019-12-19 11:01
t-firefly android-4g log

日志放到这个连接了,这个论坛附件,图片都没法发

这个log是正常的啊,能识别到sim卡,而且有信号,你开机后要等等就有4G的图标出现
作者: One2INF    时间: 2019-12-19 12:40
本帖最后由 One2INF 于 2019-12-19 12:41 编辑

有线信号的图标右下角是个感叹号
作者: jpchen    时间: 2019-12-19 15:22
One2INF 发表于 2019-12-19 12:40
有线信号的图标右下角是个感叹号

有感叹号,可以上网吗?可以用netcfg命令看看?
同时可以换另外一种卡试试。
作者: One2INF    时间: 2019-12-19 15:47
jpchen 发表于 2019-12-19 15:22
有感叹号,可以上网吗?可以用netcfg命令看看?
同时可以换另外一种卡试试。

可以了,需要设置 APN,就正常了。

还有一块一样的板子(AIO-3288C),多次尝试一直连接不上,1个多小时了,也没出现 信号图标,如下日志连接

t-firefly android-4g log 12-19 15:10
作者: jpchen    时间: 2019-12-19 16:25
One2INF 发表于 2019-12-19 15:47
可以了,需要设置 APN,就正常了。

还有一块一样的板子(AIO-3288C),多次尝试一直连接不上,1个多小 ...

请检查一下sim卡是否有问题,如果有两个板子,可以进行交叉测试,这很容易能判断哪个地方出现问题。
作者: One2INF    时间: 2019-12-19 17:46
jpchen 发表于 2019-12-19 16:25
请检查一下sim卡是否有问题,如果有两个板子,可以进行交叉测试,这很容易能判断哪个地方出现问题。

好了,重新插拔了几次就好了,谢谢了




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1