<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Android 9 imx8mq  OTA incremental update error in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Android-9-imx8mq-OTA-incremental-update-error/m-p/1686496#M209121</link>
    <description>&lt;P&gt;For making the Incremental OTA package step number 5 is required. Or Shall I directly move to step 6? Is incremental OTA works after upgrading the full ota?&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;cd ${MY_ANDROID}&lt;/LI&gt;&lt;LI&gt;source build/envsetup.sh&lt;/LI&gt;&lt;LI&gt;lunch evk_8mq-userdebug&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Configuration for i.MX8MQ EVK&lt;/LI&gt;&lt;LI&gt;make -j4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Generated binaries flashed into board&lt;/LI&gt;&lt;LI&gt;make otapackage -j4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //this will generate the full OTA package in out directory&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;make target-files-package -j4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //this will generate the previously changed target file in "{MY_ANDROID}/out/target/product/evk_8mq/obj/PACKAGING/target_files_intermediates/" directory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Copy the PREVIOUS-target_files.zip to ${MY_ANDROID}&lt;BR /&gt;7. Apply your changes in the source&lt;/P&gt;&lt;P&gt;8. make target-files-package -j4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //this will generate the newly changed target file in "{MY_ANDROID}/out/target/product/evk_8mq/obj/PACKAGING/target_files_intermediates/" directory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Copy the NEW-target_files.zip to ${MY_ANDROID}&lt;/P&gt;&lt;P&gt;&amp;nbsp;9 ./build/tools/releasetools/ota_from_target_files -i PREVIOUS-target_files.zip NEW-target_files.zip incremental_ota_update.zip&lt;BR /&gt;&lt;BR /&gt;When I try to do incremental OTA update, I am facing below error&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;update_engine: [ERROR:delta_performer.cc(431)] Unable to open ECC source partition dtbo on slot B, file /dev/block/by-name/dtbo_b: No such file or directory (2)&lt;BR /&gt;06-27 01:32:41.016 0 0 E [ T514] fec: &amp;lt;514&amp;gt; error: parse_avb_image: failed to find avb hashtree descriptor&lt;BR /&gt;06-27 01:32:41.024 0 0 E [ T514] fec: &amp;lt;514&amp;gt; error: fec_open: failed to parse avb image.&lt;BR /&gt;06-27 01:32:41.044 514 514 E update_engine: [ERROR:delta_performer.cc(1155)] 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.&lt;BR /&gt;06-27 01:32:41.058 514 514 E update_engine: [ERROR:delta_performer.cc(1160)] Expected: sha256|hex = 6702E5AEF403293AD6B39B97AC5CF13727FB9AA46849DD2AC9259707DBDA07AE&lt;BR /&gt;06-27 01:32:41.071 514 514 E update_engine: [ERROR:delta_performer.cc(1163)] Calculated: sha256|hex = 5804E806365544BF83A621D4B9D929F1A733819D82DE8C474C2B58D482D00EE9&lt;BR /&gt;06-27 01:32:41.084 514 514 E update_engine: [ERROR:delta_performer.cc(1174)] Operation source (offset:size) in blocks: 0:17,1023:1&lt;BR /&gt;06-27 01:32:41.097 514 514 E update_engine: [ERROR:delta_performer.cc(1495)] source_fd != nullptr failed.&lt;BR /&gt;06-27 01:32:41.110 514 514 E update_engine: [ERROR:delta_performer.cc(297)] Failed to perform BROTLI_BSDIFF operation 1, which is the operation 1 in partition "dtbo"&lt;BR /&gt;06-27 01:32:41.123 514 514 E update_engine: [ERROR:download_action.cc(336)] Error ErrorCode::kDownloadStateInitializationError (20) in DeltaPerformer's Write method when processing the received payload -- Terminating processing&lt;BR /&gt;06-27 01:32:41.137 514 514 I update_engine: [INFO:delta_performer.cc(314)] Discarding 200 unused downloaded bytes&lt;BR /&gt;06-27 01:32:41.151 514 514 I update_engine: [INFO:multi_range_http_fetcher.cc(177)] Received transfer terminated.&lt;BR /&gt;06-27 01:32:41.167 514 514 I update_engine: [INFO:multi_range_http_fetcher.cc(129)] TransferEnded w/ code 200&lt;BR /&gt;06-27 01:32:41.181 514 514 I update_engine: [INFO:multi_range_http_fetcher.cc(131)] Terminating.&lt;BR /&gt;06-27 01:32:41.205 514 514 I update_engine: [INFO:action_processor.cc(116)] ActionProcessor: finished DownloadAction with code ErrorCode::kDownloadStateInitializationError&lt;BR /&gt;06-27 01:32:41.219 514 514 I update_engine: [INFO:action_processor.cc(121)] ActionProcessor: Aborting processing due to failure.&lt;BR /&gt;06-27 01:32:41.232 514 514 I update_engine: [INFO:update_attempter_android.cc(522)] Processing Done.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lavanya&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jul 2023 11:14:48 GMT</pubDate>
    <dc:creator>Lavanyavijay</dc:creator>
    <dc:date>2023-07-12T11:14:48Z</dc:date>
    <item>
      <title>Android 9 imx8mq  OTA incremental update error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-9-imx8mq-OTA-incremental-update-error/m-p/1023913#M151314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;1.I use make otapackage -j12 build a full&amp;nbsp;update package , it works well.&lt;/P&gt;&lt;P&gt;2. when I use&amp;nbsp;incremental package to update, there is a error occurs:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Applying 21701 operations to partition "system"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 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.&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; Expected:&amp;nbsp;&amp;nbsp; sha256|hex = 839ACF5296B9AB820DC822B6C09EBA896905531EB2C581093A357411F1A444A0&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; Calculated: sha256|hex = 18AF8D6842A71554893F1DE65B87F2A9639FB390357C71D5383C6ED7A6051AFA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;someone tells me , make otapackage will repack system.img, so I should use xxx\obj\PACKAGING\target_files_intermediates\dw8761-target_files-eng.panxf\IMAGES\system.img&amp;nbsp; replace xxx\system.img , then flash the device as base version.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but when I replace system.img, use uuu flash the device, the device cannot boot again, the error is:&lt;/P&gt;&lt;P&gt;&amp;nbsp; 4.288597]&amp;nbsp;&amp;nbsp; #3: imx-audio-hdmi&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.292000] device-mapper: init: attempting early device configuration.&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.299566] device-mapper: init: adding target '0 5159992 verity 1 PARTUUID=086d1015-b508-4da4-9a28-bd2669b17f2c PARTUUID=086d1015-b508-4da4-9a28-bd2669b17f2c 4096 4096 644999 644999 sha1 8498f26cb2fd144a646330255483dd3d0218ad85 49f7d94f9f35948263f3244905675f7eeaf7d3ed 10 restart_on_corruption ignore_zero_blocks use_fec_from_device PARTUUID=086d1015-b508-4da4-9a28-bd2669b17f2c fec_roots 2 fec_blocks 650080 fec_start 650080'&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.339884] device-mapper: init: dm-0 is ready&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.355318] device-mapper: verity-fec: 179:5: FEC: recursion too deep&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.361795] device-mapper: verity: 179:5: metadata block 644999 is corrupted&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.368991] imx-sdma 302c0000.sdma: external firmware not found, using ROM firmware&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.369503] kvm: exiting hardware virtualization&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.376795] imx-sdma 30bd0000.sdma: external firmware not found, using ROM firmware&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.417371] reboot: Restarting system with command 'dm-verity device corrupted'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;xxx\obj\PACKAGING\target_files_intermediates\dw8761-target_files-eng.panxf\IMAGES\system.img &lt;SPAN style="background-color: transparent;"&gt;[size: 1173853kB]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="-webkit-text-stroke-width: 0px; color: #3d3d3d; white-space: normal; font-weight: 400; display: inline !important; letter-spacing: normal; text-decoration: none; font-size: 15px; font-style: normal; float: none; overflow-wrap: break-word; background-color: transparent; text-transform: none; word-spacing: 0px; font-variant: normal; text-indent: 0px; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; orphans: 2; text-align: left; "&gt;xxx\system.img [1173849KB]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="-webkit-text-stroke-width: 0px; color: #3d3d3d; white-space: normal; font-weight: 400; display: inline !important; letter-spacing: normal; text-decoration: none; font-size: 15px; font-style: normal; float: none; overflow-wrap: break-word; background-color: transparent; text-transform: none; word-spacing: 0px; font-variant: normal; text-indent: 0px; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; orphans: 2; text-align: left; "&gt;use&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;xxx\system.img&amp;nbsp;&lt;/SPAN&gt; flash the device is ok.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="-webkit-text-stroke-width: 0px; color: #3d3d3d; white-space: normal; font-weight: 400; display: inline !important; letter-spacing: normal; text-decoration: none; font-size: 15px; font-style: normal; float: none; overflow-wrap: break-word; background-color: transparent; text-transform: none; word-spacing: 0px; font-variant: normal; text-indent: 0px; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; orphans: 2; text-align: left; "&gt;so where make otapackage -j12 build system image is different from&amp;nbsp; make -j12. how to resolve this problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2019 09:49:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-9-imx8mq-OTA-incremental-update-error/m-p/1023913#M151314</guid>
      <dc:creator>chyun705</dc:creator>
      <dc:date>2019-11-08T09:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Android 9 imx8mq  OTA incremental update error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-9-imx8mq-OTA-incremental-update-error/m-p/1023914#M151315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;who konw this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Nov 2019 02:17:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-9-imx8mq-OTA-incremental-update-error/m-p/1023914#M151315</guid>
      <dc:creator>chyun705</dc:creator>
      <dc:date>2019-11-11T02:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Android 9 imx8mq  OTA incremental update error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-9-imx8mq-OTA-incremental-update-error/m-p/1023915#M151316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you follow section 7 of our Android_Users_Guide. There you could find all the information that we have about OTA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diego.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Nov 2019 23:34:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-9-imx8mq-OTA-incremental-update-error/m-p/1023915#M151316</guid>
      <dc:creator>diegoadrian</dc:creator>
      <dc:date>2019-11-11T23:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Android 9 imx8mq  OTA incremental update error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-9-imx8mq-OTA-incremental-update-error/m-p/1023916#M151317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, I follow, but it is wrong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2019 06:18:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-9-imx8mq-OTA-incremental-update-error/m-p/1023916#M151317</guid>
      <dc:creator>chyun705</dc:creator>
      <dc:date>2019-12-12T06:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Android 9 imx8mq  OTA incremental update error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-9-imx8mq-OTA-incremental-update-error/m-p/1023917#M151318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you followed the following steps to apply the OTA update?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To update system from board's storage, perform the following steps:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1. Unzip ota_update.zip or incremental_ota_update.zip (Generated on 7.1.2 and 7.1.3) to get payload.bin&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;and payload_properties.txt.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2. Push payload.bin to board's /sdcard dir: adb push payload.bin /sdcard/.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;3. Cat the content of payload_properties.txt like this:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;• FILE_HASH=0fSBbXonyTjaAzMpwTBgM9AVtlBeyOigpCCgkoOfHKY=&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;• FILE_SIZE=379074366&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;• METADATA_HASH=Icrs3NqoglzyppyCZouWKbo5f08IPokhlUfHDmz77WQ=&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;• METADATA_SIZE=46866&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;4. Input the following command on the board's console to update:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; update_engine_client --payload=file:///sdcard/payload.bin --update --&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; headers="FILE_HASH=0fSBbXonyTjaAzMpwTBgM9AVtlBeyOigpCCgkoOfHKY=&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILE_SIZE=379074366&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; METADATA_HASH=Icrs3NqoglzyppyCZouWKbo5f08IPokhlUfHDmz77WQ=&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; METADATA_SIZE=46866"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;5. The system will update in the background. After it finishes, it will show "Update successfully applied, waiting to&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reboot" in the logcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diego.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2019 17:20:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-9-imx8mq-OTA-incremental-update-error/m-p/1023917#M151318</guid>
      <dc:creator>diegoadrian</dc:creator>
      <dc:date>2019-12-18T17:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Android 9 imx8mq  OTA incremental update error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-9-imx8mq-OTA-incremental-update-error/m-p/1023918#M151319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;A _jive_internal="true" data-id="321173" data-objecttype="3" data-orig-content="chen yy" data-type="person" href="https://community.nxp.com/people/chyun705@163.com"&gt;chen yy&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason for this issue is that the system.img of OTA package is not consistent/same with the system.img of the out directory because "&lt;STRONG&gt;make otapackage&lt;/STRONG&gt;" will repackage the system.img from the out directory.&lt;/P&gt;&lt;P&gt;Please verify the md5sum of both the &lt;EM&gt;system.img&lt;/EM&gt; reside at "&lt;EM&gt;out/target/product/evk_8mq/obj/PACKAGING/systemimage_intermediates/&lt;/EM&gt;" and "&lt;EM&gt;out/target/product/evk_8mq&lt;/EM&gt;" are same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For making the full OTA package, you first need to compile the AOSP i.e. you need to run the commands as per below sequence.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;cd ${MY_ANDROID}&lt;/LI&gt;&lt;LI&gt;source build/envsetup.sh&lt;/LI&gt;&lt;LI&gt;lunch evk_8mq-userdebug&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Configuration for i.MX8MQ EVK&lt;/LI&gt;&lt;LI&gt;make -j4&lt;/LI&gt;&lt;LI&gt;make otapackage -j4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //this will generate the full OTA package in out directory&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And for making incremental OTA, please follow below-mentioned steps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. make target-files-package -j4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //this will generate the previously changed target file in "{MY_ANDROID}/out/target/product/evk_8mq/obj/PACKAGING/target_files_intermediates/" directory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Copy the PREVIOUS-target_files.zip to ${MY_ANDROID}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. Apply your changes in the source&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. make target-files-package -j4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //this will generate the previously changed target file in "{MY_ANDROID}/out/target/product/evk_8mq/obj/PACKAGING/target_files_intermediates/" directory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Copy the NEW-target_files.zip to ${MY_ANDROID}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4. ./build/tools/releasetools/ota_from_target_files -i PREVIOUS-target_files.zip NEW-target_files.zip incremental_ota_update.zip&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To apply the incremental OTA please follow the steps given in Section 7.1.3 of Android User Guide attached here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tested the above steps on i.MX8MQ EVK with Android version 9.0.0.1.0.0 and able to apply the full OTA and incremental OTA successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us know if you still face the issue with above steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shivani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2019 13:24:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-9-imx8mq-OTA-incremental-update-error/m-p/1023918#M151319</guid>
      <dc:creator>shivanipatel</dc:creator>
      <dc:date>2019-12-19T13:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Android 9 imx8mq  OTA incremental update error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-9-imx8mq-OTA-incremental-update-error/m-p/1330277#M179149</link>
      <description>&lt;P&gt;I have encountered a similar problem. Has this problem been solved? I found that after brushing the machine with uuu tools, the&amp;nbsp;&lt;SPAN&gt;incremental&lt;/SPAN&gt; upgrade will fail, but after a full upgrade, the&amp;nbsp;&lt;SPAN&gt;incremental&lt;/SPAN&gt; upgrade will succeed。&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error infomation:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1970-01-01 12:01:46.053 1714-1714/? I/update_engine: [0101/120146.052981:INFO:payload_verifier.cc(112)] Verified correct signature 1 out of 1 signatures.&lt;BR /&gt;1970-01-01 12:01:46.053 1714-1714/? I/update_engine: [0101/120146.053164:INFO:payload_metadata.cc(224)] Metadata hash signature matches value in Omaha response.&lt;BR /&gt;1970-01-01 12:01:46.083 1714-1714/? I/update_engine: [0101/120146.083752:INFO:delta_performer.cc(1405)] Detected a 'delta' payload.&lt;BR /&gt;1970-01-01 12:01:46.157 1714-1714/? I/update_engine: [0101/120146.157124:INFO:delta_performer.cc(400)] PartitionInfo old dtbo sha256: ewmnGDeBQqL6XnB6l8oea4LVIBUTNFmg5SrwE53olVU= size: 4194304&lt;BR /&gt;1970-01-01 12:01:46.157 1714-1714/? I/update_engine: [0101/120146.157329:INFO:delta_performer.cc(400)] PartitionInfo new dtbo sha256: IeAFZSDwWnHKrtGS5jpjfWQhMYmduontafbZJY6B6rg= size: 4194304&lt;BR /&gt;1970-01-01 12:01:46.157 1714-1714/? I/update_engine: [0101/120146.157430:INFO:delta_performer.cc(400)] PartitionInfo old boot sha256: sayNTA2ja3sxdxx0fN8kD3BGYCuXJDd+JKmZB+Sj+aQ= size: 50331648&lt;BR /&gt;1970-01-01 12:01:46.157 1714-1714/? I/update_engine: [0101/120146.157510:INFO:delta_performer.cc(400)] PartitionInfo new boot sha256: r13/ltIvKh5Bl2ZkYHeOQ2bpmtqpFD/XSvTIGCEEBO8= size: 50331648&lt;BR /&gt;1970-01-01 12:01:46.157 1714-1714/? I/update_engine: [0101/120146.157590:INFO:delta_performer.cc(400)] PartitionInfo old system sha256: oO20S96mcHAh1ynIaxYLe65tAs3VhT+alq5NzqUjqO8= size: 2411724800&lt;BR /&gt;1970-01-01 12:01:46.157 1714-1714/? I/update_engine: [0101/120146.157665:INFO:delta_performer.cc(400)] PartitionInfo new system sha256: JdY9yVbszxSmBwW/9/KwFOkFo6nJeg1lcvWR5O7nODg= size: 2411724800&lt;BR /&gt;1970-01-01 12:01:46.157 1714-1714/? I/update_engine: [0101/120146.157741:INFO:delta_performer.cc(400)] PartitionInfo old vendor sha256: LvSGuQudoexm2vi9KaTVche+g7N/rDEYrq/Ma24Eg+Y= size: 268435456&lt;BR /&gt;1970-01-01 12:01:46.157 1714-1714/? I/update_engine: [0101/120146.157818:INFO:delta_performer.cc(400)] PartitionInfo new vendor sha256: V7OS2M2sNFCZxGo4f6VuNrYEuxCOB06NbitW6tgbhFE= size: 268435456&lt;BR /&gt;1970-01-01 12:01:46.157 1714-1714/? I/update_engine: [0101/120146.157894:INFO:delta_performer.cc(400)] PartitionInfo old vbmeta sha256: lbmvlc2Z1CNuCHkIIzFRSWfims7WntPzqZ+oZ1UpDCE= size: 4096&lt;BR /&gt;1970-01-01 12:01:46.158 1714-1714/? I/update_engine: [0101/120146.158338:INFO:delta_performer.cc(400)] PartitionInfo new vbmeta sha256: Z/JCHCRgMaZ+GoCkFWSYIah00Hj5kapuoX9FQWQiyq8= size: 4096&lt;BR /&gt;1970-01-01 12:01:46.158 1714-1714/? I/update_engine: [0101/120146.158466:INFO:delta_performer.cc(400)] PartitionInfo old bootloader sha256: D+ht1qF0nPxcDtRCPVT6X6RCBGQbcNoAtXOf5BcAe08= size: 1691648&lt;BR /&gt;1970-01-01 12:01:46.158 1714-1714/? I/update_engine: [0101/120146.158543:INFO:delta_performer.cc(400)] PartitionInfo new bootloader sha256: DgqglpBYBzJ2w/mmG2xDGw19JeQeDZTkAH5n4dqI8I4= size: 1695744&lt;BR /&gt;1970-01-01 12:01:46.159 1714-1714/? I/update_engine: [0101/120146.159304:INFO:delta_performer.cc(374)] Opening /dev/block/by-name/dtbo_b partition without O_DSYNC&lt;BR /&gt;1970-01-01 12:01:46.160 1714-1714/? I/update_engine: [0101/120146.160505:INFO:delta_performer.cc(126)] Caching writes.&lt;BR /&gt;1970-01-01 12:01:46.160 1714-1714/? I/update_engine: [0101/120146.160752:INFO:delta_performer.cc(386)] Applying 5 operations to partition "dtbo"&lt;BR /&gt;1970-01-01 12:01:46.160 1714-1714/? I/update_engine: [0101/120146.160880:INFO:delta_performer.cc(601)] Starting to apply update payload operations&lt;BR /&gt;1970-01-01 12:01:46.185 1714-1714/? E/update_engine: [0101/120146.185118: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.&lt;BR /&gt;1970-01-01 12:01:46.185 1714-1714/? E/update_engine: [0101/120146.185347:ERROR:delta_performer.cc(995)] Expected: sha256|hex = F0886A2F7CCF51E6A8292127B987625E80916DF105B02E5ABE0896CFA7C5B602&lt;BR /&gt;1970-01-01 12:01:46.185 1714-1714/? E/update_engine: [0101/120146.185446:ERROR:delta_performer.cc(998)] Calculated: sha256|hex = 8E3978E610E3D390DDF9BF3E8436491B580D3AC47D879C56F5999ABF47D38B44&lt;BR /&gt;1970-01-01 12:01:46.185 1714-1714/? E/update_engine: [0101/120146.185530:ERROR:delta_performer.cc(1009)] Operation source (offset:size) in blocks: 20:1&lt;BR /&gt;1970-01-01 12:01:46.185 1714-1714/? E/update_engine: [0101/120146.185639:ERROR:delta_performer.cc(1191)] ValidateSourceHash(source_hash, operation, source_fd_, error) failed.&lt;BR /&gt;1970-01-01 12:01:46.186 1714-1714/? E/update_engine: [0101/120146.186403:ERROR:delta_performer.cc(298)] Failed to perform BROTLI_BSDIFF operation 1, which is the operation 1 in partition "dtbo"&lt;BR /&gt;1970-01-01 12:01:46.186 1714-1714/? E/update_engine: [0101/120146.186538:ERROR:download_action.cc(337)] Error ErrorCode::kDownloadStateInitializationError (20) in DeltaPerformer's Write method when processing the received payload -- Terminating processing&lt;BR /&gt;1970-01-01 12:01:46.190 1714-1714/? I/update_engine: [0101/120146.190545:INFO:delta_performer.cc(314)] Discarding 157 unused downloaded bytes&lt;BR /&gt;1970-01-01 12:01:46.190 1714-1714/? I/update_engine: [0101/120146.190837:INFO:multi_range_http_fetcher.cc(172)] Received transfer terminated.&lt;BR /&gt;1970-01-01 12:01:46.190 1714-1714/? I/update_engine: [0101/120146.190920:INFO:multi_range_http_fetcher.cc(124)] TransferEnded w/ code 200&lt;BR /&gt;1970-01-01 12:01:46.191 1714-1714/? I/update_engine: [0101/120146.190987:INFO:multi_range_http_fetcher.cc(126)] Terminating.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/171589"&gt;@chyun705&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/158094"&gt;@shivanipatel&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/24641"&gt;@diegoadrian&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 11:49:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-9-imx8mq-OTA-incremental-update-error/m-p/1330277#M179149</guid>
      <dc:creator>SunHong</dc:creator>
      <dc:date>2021-08-26T11:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Android 9 imx8mq  OTA incremental update error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-9-imx8mq-OTA-incremental-update-error/m-p/1686496#M209121</link>
      <description>&lt;P&gt;For making the Incremental OTA package step number 5 is required. Or Shall I directly move to step 6? Is incremental OTA works after upgrading the full ota?&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;cd ${MY_ANDROID}&lt;/LI&gt;&lt;LI&gt;source build/envsetup.sh&lt;/LI&gt;&lt;LI&gt;lunch evk_8mq-userdebug&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Configuration for i.MX8MQ EVK&lt;/LI&gt;&lt;LI&gt;make -j4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Generated binaries flashed into board&lt;/LI&gt;&lt;LI&gt;make otapackage -j4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //this will generate the full OTA package in out directory&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;make target-files-package -j4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //this will generate the previously changed target file in "{MY_ANDROID}/out/target/product/evk_8mq/obj/PACKAGING/target_files_intermediates/" directory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Copy the PREVIOUS-target_files.zip to ${MY_ANDROID}&lt;BR /&gt;7. Apply your changes in the source&lt;/P&gt;&lt;P&gt;8. make target-files-package -j4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //this will generate the newly changed target file in "{MY_ANDROID}/out/target/product/evk_8mq/obj/PACKAGING/target_files_intermediates/" directory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Copy the NEW-target_files.zip to ${MY_ANDROID}&lt;/P&gt;&lt;P&gt;&amp;nbsp;9 ./build/tools/releasetools/ota_from_target_files -i PREVIOUS-target_files.zip NEW-target_files.zip incremental_ota_update.zip&lt;BR /&gt;&lt;BR /&gt;When I try to do incremental OTA update, I am facing below error&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;update_engine: [ERROR:delta_performer.cc(431)] Unable to open ECC source partition dtbo on slot B, file /dev/block/by-name/dtbo_b: No such file or directory (2)&lt;BR /&gt;06-27 01:32:41.016 0 0 E [ T514] fec: &amp;lt;514&amp;gt; error: parse_avb_image: failed to find avb hashtree descriptor&lt;BR /&gt;06-27 01:32:41.024 0 0 E [ T514] fec: &amp;lt;514&amp;gt; error: fec_open: failed to parse avb image.&lt;BR /&gt;06-27 01:32:41.044 514 514 E update_engine: [ERROR:delta_performer.cc(1155)] 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.&lt;BR /&gt;06-27 01:32:41.058 514 514 E update_engine: [ERROR:delta_performer.cc(1160)] Expected: sha256|hex = 6702E5AEF403293AD6B39B97AC5CF13727FB9AA46849DD2AC9259707DBDA07AE&lt;BR /&gt;06-27 01:32:41.071 514 514 E update_engine: [ERROR:delta_performer.cc(1163)] Calculated: sha256|hex = 5804E806365544BF83A621D4B9D929F1A733819D82DE8C474C2B58D482D00EE9&lt;BR /&gt;06-27 01:32:41.084 514 514 E update_engine: [ERROR:delta_performer.cc(1174)] Operation source (offset:size) in blocks: 0:17,1023:1&lt;BR /&gt;06-27 01:32:41.097 514 514 E update_engine: [ERROR:delta_performer.cc(1495)] source_fd != nullptr failed.&lt;BR /&gt;06-27 01:32:41.110 514 514 E update_engine: [ERROR:delta_performer.cc(297)] Failed to perform BROTLI_BSDIFF operation 1, which is the operation 1 in partition "dtbo"&lt;BR /&gt;06-27 01:32:41.123 514 514 E update_engine: [ERROR:download_action.cc(336)] Error ErrorCode::kDownloadStateInitializationError (20) in DeltaPerformer's Write method when processing the received payload -- Terminating processing&lt;BR /&gt;06-27 01:32:41.137 514 514 I update_engine: [INFO:delta_performer.cc(314)] Discarding 200 unused downloaded bytes&lt;BR /&gt;06-27 01:32:41.151 514 514 I update_engine: [INFO:multi_range_http_fetcher.cc(177)] Received transfer terminated.&lt;BR /&gt;06-27 01:32:41.167 514 514 I update_engine: [INFO:multi_range_http_fetcher.cc(129)] TransferEnded w/ code 200&lt;BR /&gt;06-27 01:32:41.181 514 514 I update_engine: [INFO:multi_range_http_fetcher.cc(131)] Terminating.&lt;BR /&gt;06-27 01:32:41.205 514 514 I update_engine: [INFO:action_processor.cc(116)] ActionProcessor: finished DownloadAction with code ErrorCode::kDownloadStateInitializationError&lt;BR /&gt;06-27 01:32:41.219 514 514 I update_engine: [INFO:action_processor.cc(121)] ActionProcessor: Aborting processing due to failure.&lt;BR /&gt;06-27 01:32:41.232 514 514 I update_engine: [INFO:update_attempter_android.cc(522)] Processing Done.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lavanya&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 11:14:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-9-imx8mq-OTA-incremental-update-error/m-p/1686496#M209121</guid>
      <dc:creator>Lavanyavijay</dc:creator>
      <dc:date>2023-07-12T11:14:48Z</dc:date>
    </item>
  </channel>
</rss>

