OTA 升级 Fingerprint 不一致现象

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/su749520/article/details/81779912

0. 查看 recovery 日志

  1. 第一个查看 command 的命令
  2. 查看 recovery 的报错信息,发现 fingerprint 不一致

1. 机器的 fingerprint

C:\Users\fadi.su>adb shell
K9:/ $ getprop |grep display
getprop |grep display
[ro.build.display.id]: [L38043_ROW_OPEN_USER_M6762_O_MTK_S104_18H16]
K9:/ $ getprop |grep finger
getprop |grep finger
[lava.mmi.fingerprints]: [yes]
[ro.bootimage.build.fingerprint]: [Lenovo/L38043/K9:8.1.0/O11019/1534425307:user/release-keys]
[ro.build.fingerprint]: [Lenovo/L38043/K9:8.1.0/O11019/1534425307:user/release-keys]
[ro.vendor.build.fingerprint]: [Lenovo/L38043/K9:8.1.0/O11019/1534425307:user/release-keys]

2. 本地升级包的 fingerprint

这个Ok

ui_print("Source: Lenovo/L38043/K9:8.1.0/O11019/1534425307:user/release-keys");
ui_print("Target: Lenovo/L38043/K9:8.1.0/O11019/1534448187:user/release-keys");
ui_print("Verifying current system...");
getprop("ro.build.fingerprint") == "Lenovo/L38043/K9:8.1.0/O11019/1534425307:user/release-keys" ||
    getprop("ro.build.fingerprint") == "Lenovo/L38043/K9:8.1.0/O11019/1534448187:user/release-keys" ||

3. 服务器的 fingerprint

不一致,升级失败

getprop("ro.product.device") == "K9" || abort("E3004: This package is for \"K9\" devices; this is a \"" + getprop("ro.product.device") + "\".");
ui_print("Source: Lenovo/L38043/K9:8.1.0/O11019/1534188326:user/release-keys");
ui_print("Target: Lenovo/L38043/K9:8.1.0/O11019/1534274677:user/release-keys");
ui_print("Verifying current system...");
getprop("ro.build.fingerprint") == "Lenovo/L38043/K9:8.1.0/O11019/1534188326:user/release-keys" ||
    getprop("ro.build.fingerprint") == "Lenovo/L38043/K9:8.1.0/O11019/1534274677:user/release-keys" ||

4. 解决方案

更换匹配的 fingerprint 升级包即可

阅读更多
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页