Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/187.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android AOSP增量OTA无法应用_Android_Android Source_Ota - Fatal编程技术网

Android AOSP增量OTA无法应用

Android AOSP增量OTA无法应用,android,android-source,ota,Android,Android Source,Ota,我能够成功创建OTA增量包,但在尝试应用时失败。 下面是创建OTA增量包的步骤 1. $ Source... 2. $ lunch... 3. $ make -j32 //Flash the images in the device which are generated inside of "{root}/out/target/product/<device_name>/*.img" directory. 4. $ make target-files-pac

我能够成功创建OTA增量包,但在尝试应用时失败。 下面是创建OTA增量包的步骤

1. $ Source...
2. $ lunch...
3. $ make -j32
  //Flash the images in the device which are generated inside of "{root}/out/target/product/<device_name>/*.img" directory.
4. $ make target-files-package -j4
  // this will generate the previously changed target file in "{root}/out/target/product/<device_name>/obj/PACKAGING/target_files_intermediates/" directory
          Copy the PREVIOUS-target_files.zip to ${root}
- Apply the changes in the source
5. $ make target-files-package -j4
  // this will generate the previously changed target file in "{root}/out/target/product/<device_name>/obj/PACKAGING/target_files_intermediates/" directory
          Copy the NEW-target_files.zip to ${root}
6. ./build/tools/releasetools/ota_from_target_files -i PREVIOUS-target_files.zip NEW-target_files.zip incremental_ota_update.zip
从上面的日志:

E/update_engine: [1104/150913.216482:ERROR:delta_performer.cc(990)] The hash of the source data on disk for this operation doesn't match the expected value. This could mean that the delta update payload was targeted for another version, or that the source partition was modified after it was installed, for example, by mounting a filesystem.
任何帮助都将不胜感激。

  • 首先为任何变更提供完整的OTA
  • 然后为任何更改提供增量OTA
Android推荐
“为获得最佳用户体验,每3-4次增量更新提供一次完整更新。这有助于用户赶上最新版本,并避免长时间的增量更新安装顺序。”

有关更多信息:

  • 首先为任何变更提供完整的OTA
  • 然后为任何更改提供增量OTA
Android推荐
“为获得最佳用户体验,每3-4次增量更新提供一次完整更新。这有助于用户赶上最新版本,并避免长时间的增量更新安装顺序。”


有关更多信息:

它应该可以工作,但对初始图像的处理非常挑剔

Flashing with fastboot - disable verity = incremental fail,
Disabling verity afterwards = same
Remounting = fail
在某些BSP板中,可以创建一些与targetfiles不匹配的fast/conveniant FlashFile


排除故障的最佳方法是检查vbmeta是否一致。

它应该可以工作,但对初始图像的处理非常挑剔

Flashing with fastboot - disable verity = incremental fail,
Disabling verity afterwards = same
Remounting = fail
在某些BSP板中,可以创建一些与targetfiles不匹配的fast/conveniant FlashFile


排除故障的最佳方法是检查vbmeta是否一致。

您是否在闪烁后重新安装adb根目录/adb?@RickSanchez:不,我没有在闪烁后重新安装adb根目录/adb。您是否在闪烁后重新安装adb根目录/adb?@RickSanchez:不,我没有在闪烁后重新安装adb根目录/adb。