OMADM FOTA 常见错误及调试方案

Device not reachable

1.检查进程和服务

adb shell

service list | grep omadm

ps -A | grep dmclient

2.检查网络

AT+COPS?

AT+CGDCONT?

AT+CGPADDR

adb shell

ping 8.8.8.8

ifconfig

4.检查设备信息

确保没有任何typo

5.检查QXDM log

查看是否有WAP PUSH

查看wap push类型和解析结果

No Firmware images with the correct prerequisites available for the device

检查OTA XML的 original 版本号和设备的 当前 版本号是否匹配

AUTHENTICATION_FAILURE

提case给motive

DM log was not returned

提case给motive

FOTA 402 error code

1.先看cache/recovery/last_log

分析log看错误

2.本地验证update.zip包

adb root

adb push update.zip /data/update.zip

adb shell command:

./system/bin/uncrypt /data/update.zip /cache/recovery/block.map

Note: This will take serval minutes, please wait for a while.

adb shell command:

echo "--update_package=@/cache/recovery/block.map" > /cache/recovery/command

adb shell sync

adb reboot recovery

3.如果是差分包升级,确保测试机器使用同样的NON-HLOS.bin文件。

你可能感兴趣的:(OMADM FOTA 常见错误及调试方案)