Android12 适配EC20



现象差不多,啥都没找到,一直报Could not find ‘android.hardware.radio@1.5::IRadio/slot1

检查下这些APK 有没有编译进去

PRODUCT_PACKAGES += \
Telecom \
TelephonyProvider \
telephony-common \
dhcptool \
rild \
TeleService

还有

<string-array translatable="false" name="networkAttributes">
<item>"mobile,0,0,0,-1,true"</item>
<item>"mobile_mms,2,0,4,60000,true"</item>
<item>"mobile_supl,3,0,2,60000,true"</item>
<item>"mobile_dun,4,0,2,60000,true"</item>
</string-array>

加上去了,现在倒是不显示Could not find ‘android.hardware.radio@1.5::IRadio/slot1的错了,但是没图标,还是使用不了 :sleepy:
all.txt (1.6 MB)

cat /d/usb/devices
贴下。
网卡模式最好配置成RMNET或者MBIM。
请问是移远的Open模组吗?

对的,移远淘宝旗舰店买的,我刚修改了这个 at+qcfg=“usbnet”,0 ,现在有显示4G图标,但是上不了网
ATC.txt (72 KB)

不要对日志做任何过滤。
上面提供的日志ATC.txt 里最后看到AT不通了。
直接提供日志
logcat -b all

all.txt (1.5 MB)

DCT-I-0 : initApnContexts: isDataCapable == false. No Apn Contexts loaded

这个打印的意思就是,你需要打开数据。

base/core/res/res/values/config.xml
 <bool name="config_mobile_data_capable">true </bool>

这个应该是在device/rockchip/的一个overlay 目录里。之前肯定是false

1 个赞

终于搞定了,太感谢了