<?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>i.MX Processors中的主题 Re: AOSP Update</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006445#M149151</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi Shivani,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I observed that when i run update command on debug console -&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;I tried to execute command in this way -&amp;gt;&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;update_engine_client --payload=http://192.168.1.1/payload.bin --update&amp;nbsp; \&lt;BR /&gt;--headers="FILE_HASH=EA1rY4uVUN35goXDkeNaPVWj6ueoRNmS3hfOfxL9zgk= \&lt;BR /&gt;FILE_SIZE=440383379 \&lt;BR /&gt;METADATA_HASH=R+TqI4RldiQxOQqUgxZnGXXPgBFs4EXKwXaB2esWgKE= \&lt;BR /&gt;METADATA_SIZE=58809t"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and by this way also -&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;update_engine_client --payload=http://172.18.3.215/payload.bin --update --headers="FILE_HASH=EA1rY4uVUN35goXDkeNaPVWj6ueoRNmS3hfOfxL9zgk= FILE_SIZE=440383379 METADATA_HASH=R+TqI4RldiQxOQqUgxZnGXXPgBFs4EXKwXaB2esWgKE= METADATA_SIZE=58809t" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But I always get avc_denied error like below -&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[ 7715.455315] type=1400 audit(1582115439.038:73): avc: denied { read } for pid=7366 comm="update_engine_c" name="misc" dev="proc" ino=40265319&lt;BR /&gt;28 scontext=u:r:shell:s0 tcontext=u:object_r:proc_misc:s0 tclass=file permissive=1&lt;BR /&gt;[ 7715.475597] type=1400 audit(1582115439.038:73): avc: denied { read } for pid=7366 comm="update_engine_c" name="misc" dev="proc" ino=40265319&lt;BR /&gt;evk_8mm:/ $ su&lt;BR /&gt;evk_8mm:/ # setenforce 0&lt;BR /&gt;evk_8mm:/ # &lt;BR /&gt;evk_8mm:/ # &lt;BR /&gt;evk_8mm:/ # &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and when i make selinux permissive as shown above then these errors go off . but after executing the command nothing comes. &lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;so how can I verify if my update-engine command executed successfully or not ? &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and where can I find the OTA files which will be downloaded by this command ? &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Maneesh &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Feb 2020 12:54:12 GMT</pubDate>
    <dc:creator>msingh1920</dc:creator>
    <dc:date>2020-02-19T12:54:12Z</dc:date>
    <item>
      <title>AOSP Update</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006438#M149144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using iMX8M Mini EVK and AOSP 9.0 version and I am able to run AOSP successfully on my EVK board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my current AOSP version AOSP 9.0 I added some custom code in system service layer, JNI layer, HIDL and HAL layer and it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But suppose if in some time new AOSP version released say 10.0 and I want to update my system to this version then how can i do that ?&lt;/P&gt;&lt;P&gt;1. How can I update AOSP version of my device i.e. iMX8M Mini ?&lt;/P&gt;&lt;P&gt;2. Is it possible over OTA&amp;nbsp; ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. How can I update over OTA ?&lt;/P&gt;&lt;P&gt;4. And after update do I need to add my changes in AOSP again for my custom code in all the layers ? or&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; how it will be ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide some help or suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Maneesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 07:15:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006438#M149144</guid>
      <dc:creator>msingh1920</dc:creator>
      <dc:date>2020-02-10T07:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: AOSP Update</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006439#M149145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="342128" data-username="maneeshsingh1920@gmail.com" href="https://community.nxp.com/people/maneeshsingh1920@gmail.com"&gt;Maneesh Singh, &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find my answers for your questions as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Answers to Questions 1 to 3:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Yes, you can change/update the AOSP version with OTA. Please refer Section 7 of the attached Android User Guide for how one can do and build the OTA update packages.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Ans.4 : &lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Yes, you need to add your custom changes in new AOSP build.&lt;/LI&gt;&lt;/UL&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>Tue, 11 Feb 2020 14:01:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006439#M149145</guid>
      <dc:creator>shivanipatel</dc:creator>
      <dc:date>2020-02-11T14:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: AOSP Update</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006440#M149146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Maneesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do follow Shivani Patel’s recommendations. Additionally, consider the AOSP documentation, as there may be slight differences between the NXP Android BSP and AOSP:&lt;/P&gt;&lt;P&gt;&lt;A href="https://source.android.com/devices/tech/ota/tools"&gt;https://source.android.com/devices/tech/ota/tools&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2020 17:48:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006440#M149146</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2020-02-11T17:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: AOSP Update</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006441#M149147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shivani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. It is very helpful.&lt;BR /&gt;I will check the documents and follow the steps given in documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Maneesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2020 06:56:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006441#M149147</guid>
      <dc:creator>msingh1920</dc:creator>
      <dc:date>2020-02-12T06:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: AOSP Update</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006442#M149148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gusarambula,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply. It is very helpful.&lt;BR /&gt;I will check the website.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Maneesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2020 11:12:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006442#M149148</guid>
      <dc:creator>msingh1920</dc:creator>
      <dc:date>2020-02-12T11:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: AOSP Update</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006443#M149149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shivani,&lt;/P&gt;&lt;P&gt;I followed the steps given in Section 7 of Android user guide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did following steps - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Created a full OTA update package using - &lt;BR /&gt;$ source build/envsetup.sh&lt;BR /&gt;$ lunch evk_8mm-userdebug&lt;BR /&gt;$ make otapackage -j4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it created a .zip file and it includes payload.bin and payload_properties.txt .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. And kept these file to my server and able to access it from another computer over wifi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Booted the iMX8M mini and connected the board with same wifi network..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. connected the debug port of iMX8Mini with my laptop and open the console with putty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Now I am executing below command - &lt;/P&gt;&lt;P&gt;update_engine_client --payload=http://192.168.1.1:10888/payload.bin --update --&lt;BR /&gt;headers="FILE_HASH=0fSBbXonyTjaAzMpwTBgM9AVtlBeyOigpCCgkoOfHKY=&lt;BR /&gt;FILE_SIZE=379074366&lt;BR /&gt;METADATA_HASH=Icrs3NqoglzyppyCZouWKbo5f08IPokhlUfHDmz77WQ/de8Dgp9zFXt8Fo&lt;BR /&gt;+Hxccp465uTOvKNsteWU=&lt;BR /&gt;METADATA_SIZE=46866"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE : - I replaced the ip address with my server ip and other payload_properties parameters with my parameter found in&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;&amp;nbsp;&amp;nbsp; payload_properties.txt file&lt;/P&gt;&lt;P&gt;But when I run this command on IMX8 (from putty console ) then I get this error and nothing happens.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;[0218/140214.639666:ERROR:update_engine_client_android.cc(148)] Found a positional argument 'headers=FILE_HASH=EA1rY4uVUN35goXDkeNaPVWj6ueoRNmS3hfOfxL9zgk= FILE_SIZE=440383379 METADATA_HASH=R+TqI4RldiQxOQqUgxZnGXXPgBFs4EXKwXaB2esWgKE= METADATA_SIZE=58809t'. If you want to pass a value to a flag, pass it as --flag=value. &lt;BR /&gt;1|evk_8mm:/ $&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help or suggestion why this issue might be coming ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Maneesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2020 14:07:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006443#M149149</guid>
      <dc:creator>msingh1920</dc:creator>
      <dc:date>2020-02-18T14:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: AOSP Update</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006444#M149150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;Hi Gusarambula,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed the steps given in Section 7 of Android user guide.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did following steps -&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Created a full OTA update package using - &lt;BR /&gt;$ source build/envsetup.sh&lt;BR /&gt;$ lunch evk_8mm-userdebug&lt;BR /&gt;$ make otapackage -j4&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it created a .zip file and it includes payload.bin and payload_properties.txt .&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. And kept these file to my server and able to access it from another computer over wifi.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Booted the iMX8M mini and connected the board with same wifi network..&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. connected the debug port of iMX8Mini with my laptop and open the console with putty.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5. Now I am executing below command -&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;update_engine_client --payload=&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2F192.168.1.1%3A10888%2Fpayload.bin" rel="nofollow" target="_blank"&gt;http://192.168.1.1:10888/payload.bin&lt;/A&gt;&lt;SPAN&gt; --update --&lt;/SPAN&gt;&lt;BR /&gt;headers="FILE_HASH=0fSBbXonyTjaAzMpwTBgM9AVtlBeyOigpCCgkoOfHKY=&lt;BR /&gt;FILE_SIZE=379074366&lt;BR /&gt;METADATA_HASH=Icrs3NqoglzyppyCZouWKbo5f08IPokhlUfHDmz77WQ/de8Dgp9zFXt8Fo&lt;BR /&gt;+Hxccp465uTOvKNsteWU=&lt;BR /&gt;METADATA_SIZE=46866"&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE : - I replaced the ip address with my server ip and other payload_properties parameters with my parameter found in&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;&amp;nbsp;&amp;nbsp; payload_properties.txt file&lt;/P&gt;&lt;P&gt;But when I run this command on IMX8 (from putty console ) then I get this error and nothing happens.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;[0218/140214.639666:ERROR:update_engine_client_android.cc(148)] Found a positional argument 'headers=FILE_HASH=EA1rY4uVUN35goXDkeNaPVWj6ueoRNmS3hfOfxL9zgk= FILE_SIZE=440383379 METADATA_HASH=R+TqI4RldiQxOQqUgxZnGXXPgBFs4EXKwXaB2esWgKE= METADATA_SIZE=58809t'. If you want to pass a value to a flag, pass it as --flag=value. &lt;BR /&gt;1|evk_8mm:/ $&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help or suggestion why this issue might be coming ???&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Maneesh&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2020 14:12:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006444#M149150</guid>
      <dc:creator>msingh1920</dc:creator>
      <dc:date>2020-02-18T14:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: AOSP Update</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006445#M149151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi Shivani,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I observed that when i run update command on debug console -&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;I tried to execute command in this way -&amp;gt;&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;update_engine_client --payload=http://192.168.1.1/payload.bin --update&amp;nbsp; \&lt;BR /&gt;--headers="FILE_HASH=EA1rY4uVUN35goXDkeNaPVWj6ueoRNmS3hfOfxL9zgk= \&lt;BR /&gt;FILE_SIZE=440383379 \&lt;BR /&gt;METADATA_HASH=R+TqI4RldiQxOQqUgxZnGXXPgBFs4EXKwXaB2esWgKE= \&lt;BR /&gt;METADATA_SIZE=58809t"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and by this way also -&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;update_engine_client --payload=http://172.18.3.215/payload.bin --update --headers="FILE_HASH=EA1rY4uVUN35goXDkeNaPVWj6ueoRNmS3hfOfxL9zgk= FILE_SIZE=440383379 METADATA_HASH=R+TqI4RldiQxOQqUgxZnGXXPgBFs4EXKwXaB2esWgKE= METADATA_SIZE=58809t" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But I always get avc_denied error like below -&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[ 7715.455315] type=1400 audit(1582115439.038:73): avc: denied { read } for pid=7366 comm="update_engine_c" name="misc" dev="proc" ino=40265319&lt;BR /&gt;28 scontext=u:r:shell:s0 tcontext=u:object_r:proc_misc:s0 tclass=file permissive=1&lt;BR /&gt;[ 7715.475597] type=1400 audit(1582115439.038:73): avc: denied { read } for pid=7366 comm="update_engine_c" name="misc" dev="proc" ino=40265319&lt;BR /&gt;evk_8mm:/ $ su&lt;BR /&gt;evk_8mm:/ # setenforce 0&lt;BR /&gt;evk_8mm:/ # &lt;BR /&gt;evk_8mm:/ # &lt;BR /&gt;evk_8mm:/ # &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and when i make selinux permissive as shown above then these errors go off . but after executing the command nothing comes. &lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;so how can I verify if my update-engine command executed successfully or not ? &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and where can I find the OTA files which will be downloaded by this command ? &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Maneesh &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2020 12:54:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006445#M149151</guid>
      <dc:creator>msingh1920</dc:creator>
      <dc:date>2020-02-19T12:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: AOSP Update</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006446#M149152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;&lt;STRONG&gt;Hi &lt;A _jive_internal="true" class="" data-avatarid="27168" data-externalid="" data-online="false" data-presence="null" data-userid="207647" data-username="gusarambula" href="https://community.nxp.com/people/gusarambula"&gt;gusarambula&lt;/A&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I observed that when i run update command on debug console -&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;I tried to execute command in this way -&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;update_engine_client --payload=&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2F192.168.1.1%2Fpayload.bin" rel="nofollow" target="_blank"&gt;http://192.168.1.1/payload.bin&lt;/A&gt;&lt;SPAN&gt; --update&amp;nbsp; \&lt;/SPAN&gt;&lt;BR /&gt;--headers="FILE_HASH=EA1rY4uVUN35goXDkeNaPVWj6ueoRNmS3hfOfxL9zgk= \&lt;BR /&gt;FILE_SIZE=440383379 \&lt;BR /&gt;METADATA_HASH=R+TqI4RldiQxOQqUgxZnGXXPgBFs4EXKwXaB2esWgKE= \&lt;BR /&gt;METADATA_SIZE=58809t"&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and by this way also -&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;update_engine_client --payload=&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2F172.18.3.215%2Fpayload.bin" rel="nofollow" target="_blank"&gt;http://172.18.3.215/payload.bin&lt;/A&gt;&lt;SPAN&gt; --update --headers="FILE_HASH=EA1rY4uVUN35goXDkeNaPVWj6ueoRNmS3hfOfxL9zgk= FILE_SIZE=440383379 METADATA_HASH=R+TqI4RldiQxOQqUgxZnGXXPgBFs4EXKwXaB2esWgKE= METADATA_SIZE=58809t" &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But I always get avc_denied error like below -&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[ 7715.455315] type=1400 audit(1582115439.038:73): avc: denied { read } for pid=7366 comm="update_engine_c" name="misc" dev="proc" ino=40265319&lt;BR /&gt;28 scontext=u:r:shell:s0 tcontext=u:object_r:proc_misc:s0 tclass=file permissive=1&lt;BR /&gt;[ 7715.475597] type=1400 audit(1582115439.038:73): avc: denied { read } for pid=7366 comm="update_engine_c" name="misc" dev="proc" ino=40265319&lt;BR /&gt;evk_8mm:/ $ su&lt;BR /&gt;evk_8mm:/ # setenforce 0&lt;BR /&gt;evk_8mm:/ # &lt;BR /&gt;evk_8mm:/ # &lt;BR /&gt;evk_8mm:/ #&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and when i make selinux permissive as shown above then these errors go off . but after executing the command nothing comes. &lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;so how can I verify if my update-engine command executed successfully or not ? &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and where can I find the OTA files which will be downloaded by this command ? &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Maneesh &lt;/STRONG&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2020 13:09:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006446#M149152</guid>
      <dc:creator>msingh1920</dc:creator>
      <dc:date>2020-02-19T13:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: AOSP Update</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006447#M149153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-avatarid="29989" data-externalid="" data-online="false" data-presence="null" data-userid="317300" data-username="shivanipatel" href="https://community.nxp.com/people/shivanipatel"&gt;Shivani Patel&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to Execute update command but for that I need to make selinux permissive to avoid any selinux permission error &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;update_engine_client --payload=&lt;/SPAN&gt;&lt;A class="" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2F172.18.3.215%2Fpayload.bin" rel="nofollow" target="_blank"&gt;http://172.18.3.215/payload.bin&lt;/A&gt;&lt;SPAN&gt; --update --headers="FILE_HASH=EA1rY4uVUN35goXDkeNaPVWj6ueoRNmS3hfOfxL9zgk= FILE_SIZE=440383379 METADATA_HASH=R+TqI4RldiQxOQqUgxZnGXXPgBFs4EXKwXaB2esWgKE= METADATA_SIZE=58809t" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But after executing update command no error or warning or any print message comes on my debug console.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my question is -&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. how can I verify if my update-engine command executed successfully or not ? &lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;2. how I will I verify if OTA update is started or not after executing this command ?&lt;/P&gt;&lt;P&gt;3. Where can I find the OTA files on my board which will be downloaded by this command ?&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;Any help or suggestions will be very helpful.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Maneesh&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2020 14:11:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006447#M149153</guid>
      <dc:creator>msingh1920</dc:creator>
      <dc:date>2020-02-20T14:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: AOSP Update</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006448#M149154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="" data-avatarid="27168" data-externalid="" data-online="false" data-presence="null" data-userid="207647" data-username="gusarambula" href="https://community.nxp.com/people/gusarambula"&gt;gusarambula&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to Execute update command but for that I need to make selinux permissive to avoid any selinux permission error &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;update_engine_client --payload=&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2F172.18.3.215%2Fpayload.bin" rel="nofollow" target="_blank"&gt;http://172.18.3.215/payload.bin&lt;/A&gt;&lt;SPAN&gt; --update --headers="FILE_HASH=EA1rY4uVUN35goXDkeNaPVWj6ueoRNmS3hfOfxL9zgk= FILE_SIZE=440383379 METADATA_HASH=R+TqI4RldiQxOQqUgxZnGXXPgBFs4EXKwXaB2esWgKE= METADATA_SIZE=58809t" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But after executing update command no error or warning or any print message comes on my debug console.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my question is -&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. how can I verify if my update-engine command executed successfully or not ? &lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;2. how I will I verify if OTA update is started or not after executing this command ?&lt;/P&gt;&lt;P&gt;3. Where can I find the OTA files on my board which will be downloaded by this command ?&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;Any help or suggestions will be very helpful.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Maneesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2020 14:12:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006448#M149154</guid>
      <dc:creator>msingh1920</dc:creator>
      <dc:date>2020-02-20T14:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: AOSP Update</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006449#M149155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Before attempting to run update_engine_client from the command line, enter &lt;STRONG&gt;&lt;EM&gt;su&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The update_engine_client does not output any status to the debug console.&amp;nbsp; To see what is happening, you must&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;logcat | grep update_engine&lt;/STRONG&gt;.&amp;nbsp;&amp;nbsp;&lt;/EM&gt;As logcat now has your console input, you have to enter &lt;EM&gt;&lt;STRONG&gt;ctrl-&amp;gt;c&lt;/STRONG&gt;&lt;/EM&gt; to get back to a command prompt when you have seen what you want to see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. logcat will show you the progress of the update.&amp;nbsp; If it is successful, you will see a line like this.&lt;/P&gt;&lt;PRE style="color: #000000; font-size: 13.3333px;"&gt;02-25 15:42:03.957  3192  3192 I update_engine: [0225/154203.957959:INFO:update_attempter_android.cc(439)] Update successfully applied, waiting to reboot.&lt;/PRE&gt;&lt;P&gt;3.&amp;nbsp; If you are using A/B update, you will not find your OTA files on the target as they will have been written into the appropriate partitions on the drive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After you have seen the line in 2, and terminated logcat,&amp;nbsp;enter the&amp;nbsp;&lt;STRONG&gt;r&lt;EM&gt;eboot&lt;/EM&gt;&lt;/STRONG&gt; command,&amp;nbsp; Your new update should start if everything else if correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;Rod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2020 17:46:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006449#M149155</guid>
      <dc:creator>girodassoc</dc:creator>
      <dc:date>2020-02-25T17:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: AOSP Update</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006450#M149156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="351290" data-username="girodassoc@neuralrasa.com" href="https://community.nxp.com/people/girodassoc@neuralrasa.com"&gt;Rodney Girod&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply and suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to execute the update_engine_client command and using &lt;BR /&gt;logcat | grep update_engine I am able to see the progress also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But after completing download 100%&amp;nbsp; when it is failing in verification .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see in the log payload verification is failing...&lt;/P&gt;&lt;P&gt;but when I checked in my below command and data given in payload properties.txt is same. &amp;nbsp;&lt;/P&gt;&lt;P&gt;then why it is giving verification Error&amp;nbsp; ? Any suggestions what might be wrong i am doing ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I tried this many time but every-times I get same error.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Command which I am executing =&amp;gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;update_engine_client --payload=http://172.18.3.215/AOSP_OTA/evk_8mm-ota-eng.bruviti/payload.bin --update --headers="FILE_HASH=bEHNdL1MZygUIZNNK37Fz0Mm6r15X0nzWWdVYlUQlTQ= &lt;BR /&gt;FILE_SIZE=442112619 &lt;BR /&gt;METADATA_HASH=4FeofGvXhP8FvOWX7zN8damMwgkJ+I/1guQFQxQoesY= &lt;BR /&gt;METADATA_SIZE=58814"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Logs =&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;02-27 12:37:34.331&amp;nbsp; 3099&amp;nbsp; 3099 I update_engine: [0227/123734.331913:INFO:delta_performer.cc(126)] Caching writes.&lt;BR /&gt;02-27 12:37:34.332&amp;nbsp; 3099&amp;nbsp; 3099 I update_engine: [0227/123734.332090:INFO:delta_performer.cc(386)] Applying 1 operations to partition "vbmeta"&lt;BR /&gt;02-27 12:37:34.340&amp;nbsp; 3099&amp;nbsp; 3099 I update_engine: [0227/123734.340381:INFO:delta_performer.cc(210)] Completed 1051/1051 operations &lt;SPAN style="color: #0000ff;"&gt;(100%), 442112619/? bytes downloaded, overall progress 100%&lt;/SPAN&gt;&lt;BR /&gt;02-27 12:37:34.341&amp;nbsp; 3099&amp;nbsp; 3099 I update_engine: [0227/123734.341206:INFO:delta_performer.cc(1370)] Extracted signature data of size 264 at 442053277&lt;BR /&gt;02-27 12:37:34.341&amp;nbsp; 3099&amp;nbsp; 3099 I update_engine: [0227/123734.341742:INFO:libcurl_http_fetcher.cc(433)] HTTP response code: 200&lt;BR /&gt;02-27 12:37:34.342&amp;nbsp; 3099&amp;nbsp; 3099 I update_engine: [0227/123734.342603:INFO:libcurl_http_fetcher.cc(509)] Transfer completed (200), 442112619 bytes downloaded&lt;BR /&gt;02-27 12:37:34.342&amp;nbsp; 3099&amp;nbsp; 3099 I update_engine: [0227/123734.342755:INFO:multi_range_http_fetcher.cc(167)] Received transfer complete.&lt;BR /&gt;02-27 12:37:34.342&amp;nbsp; 3099&amp;nbsp; 3099 I update_engine: [0227/123734.342794:INFO:multi_range_http_fetcher.cc(124)] TransferEnded w/ code 200&lt;BR /&gt;02-27 12:37:34.342&amp;nbsp; 3099&amp;nbsp; 3099 I update_engine: [0227/123734.342829:INFO:multi_range_http_fetcher.cc(158)] Done w/ all transfers&lt;BR /&gt;02-27 12:37:34.346&amp;nbsp; 3099&amp;nbsp; 3099 I update_engine: [0227/123734.346613:INFO:delta_performer.cc(1549)] Verifying payload using public key: /etc/update_engine/update-payload-key.pub.pem&lt;BR /&gt;02-27 12:37:34.346&amp;nbsp; 3099&amp;nbsp; 3099 E update_engine: [0227/123734.346741:ERROR:delta_performer.cc(1556)] VerifyPayload failure: update_check_response_size == metadata_size_ + metadata_signature_size_ + buffer_offset_&lt;BR /&gt;02-27 12:37:34.346&amp;nbsp; 3099&amp;nbsp; 3099 E update_engine: [0227/123734.346781:&lt;SPAN style="color: #ff0000;"&gt;ERROR:download_action.cc(397)] Download of &lt;A href="http://172.18.3.215/AOSP_OTA/evk_8mm-ota-eng.bruviti/payload.bin" target="test_blank"&gt;http://172.18.3.215/AOSP_OTA/evk_8mm-ota-eng.bruviti/payload.bin&lt;/A&gt; failed due to payload verification error.&lt;/SPAN&gt;&lt;BR /&gt;02-27 12:37:34.346&amp;nbsp; 3099&amp;nbsp; 3099 I update_engine: [0227/123734.346823:INFO:action_processor.cc(116)] ActionProcessor: finished DownloadAction with code ErrorCode::kPayloadSizeMismatchError&lt;BR /&gt;02-27 12:37:34.346&amp;nbsp; 3099&amp;nbsp; 3099 I update_engine: [0227/123734.346860:INFO:action_processor.cc(121)] ActionProcessor: Aborting processing due to &lt;BR /&gt;failure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2020 10:33:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006450#M149156</guid>
      <dc:creator>msingh1920</dc:creator>
      <dc:date>2020-03-02T10:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: AOSP Update</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006451#M149157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;02-27 12:37:34.346&amp;nbsp; 3099&amp;nbsp; 3099 I update_engine: [0227/123734.346823:INFO:action_processor.cc(116)] ActionProcessor: finished DownloadAction with code ErrorCode::kPayloadSizeMismatchError&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;suggests that the payload_properties you used, in particular "&lt;SPAN&gt;FILE_SIZE=442112619", do not match the image you downloaded.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;The values of&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;FILE_HASH=bEHNdL1MZygUIZNNK37Fz0Mm6r15X0nzWWdVYlUQlTQ=&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;FILE_SIZE=442112619&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;METADATA_HASH=4FeofGvXhP8FvOWX7zN8damMwgkJ+I/1guQFQxQoesY=&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;METADATA_SIZE=58814&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;must come from the payload_properties.txt that was generated with the payload.bin you are downloading.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2020 19:54:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006451#M149157</guid>
      <dc:creator>girodassoc</dc:creator>
      <dc:date>2020-03-02T19:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: AOSP Update</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006452#M149158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-avatarid="29594" data-externalid="" data-online="false" data-presence="null" data-userid="351290" data-username="girodassoc@neuralrasa.com" href="https://community.nxp.com/people/girodassoc@neuralrasa.com"&gt;Rodney Girod&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using below command to generate Full OTA package -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $ source build/envsetup.sh&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $ lunch evk_8mm-userdebug&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $ make otapackage -j4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this it generate OTA package at belwo location&amp;nbsp;&amp;nbsp; -&lt;/P&gt;&lt;P&gt;&amp;nbsp; ${MY_ANDROID}/out/target/proudct/evk_8mm/evk_8mm-ota-${date}.zip&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now this package contain payload.bin and payload_properties.txt&lt;/P&gt;&lt;P&gt;I am using same payload.bin file and using payload_properties.txt&amp;nbsp; to get the values of - &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;FILE_HASH=&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;FILE_SIZE=&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;METADATA_HASH=&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;METADATA_SIZE=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still when I am trying the&amp;nbsp; -&amp;gt; &lt;SPAN&gt;update_engine_client&amp;nbsp;&lt;/SPAN&gt; command I am facing same issue. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest What might be causing this issue ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Maneesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2020 13:47:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006452#M149158</guid>
      <dc:creator>msingh1920</dc:creator>
      <dc:date>2020-03-04T13:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: AOSP Update</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006453#M149159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have had success by doing my build in three steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;make&lt;/P&gt;&lt;P&gt;make target-files-package&lt;/P&gt;&lt;P&gt;make otapackage&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first, creates files for use with uuu&lt;/P&gt;&lt;P&gt;The second, creates files for creation of an incremental ota package&lt;/P&gt;&lt;P&gt;And the third, creates a full ota package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot say that you must do all three, but doing so has worked for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2020 14:41:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006453#M149159</guid>
      <dc:creator>girodassoc</dc:creator>
      <dc:date>2020-03-04T14:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: AOSP Update</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006454#M149160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="351290" data-objecttype="3" href="https://community.nxp.com/people/girodassoc@neuralrasa.com"&gt;Rodney Girod&lt;/A&gt;,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried same command but still I am facing this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my payload properties are -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FILE_HASH=S8fV3SdO1tmUQhT12DrYIIRBOwfWBImHyCOOwvwds+I=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;FILE_SIZE=442112727 &lt;BR /&gt;METADATA_HASH=+MmyPfN+wLRu+VT/e0NlUSziYyH4FckXkX5loUW7jVk= &lt;BR /&gt;METADATA_SIZE=58814&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But as you can see in my log below I get&amp;nbsp; &lt;STRONG&gt;update_check_response_size : 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and then i get error saying payload verification failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you suggest what i am doing wrong ? or why i am getting &lt;STRONG&gt;update_check_response_size : 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOGS =&amp;gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;03-05 09:56:14.595&amp;nbsp; 3096&amp;nbsp; 3096 I update_engine: [0305/095614.595127:INFO:multi_range_http_fetcher.cc(167)] Received transfer complete.&lt;BR /&gt;03-05 09:56:14.595&amp;nbsp; 3096&amp;nbsp; 3096 I update_engine: [0305/095614.595167:INFO:multi_range_http_fetcher.cc(124)] TransferEnded w/ code 200&lt;BR /&gt;03-05 09:56:14.595&amp;nbsp; 3096&amp;nbsp; 3096 I update_engine: [0305/095614.595204:INFO:multi_range_http_fetcher.cc(158)] Done w/ all transfers&lt;BR /&gt;03-05 09:56:14.600&amp;nbsp; 3096&amp;nbsp; 3096 I update_engine: [0305/095614.600085:INFO:delta_performer.cc(1549)] Verifying payload using public key: /etc/update_engine/update-payload-key.pub.pem&lt;BR /&gt;&lt;STRONG&gt;03-05 09:56:14.600&amp;nbsp; 3096&amp;nbsp; 3096 I update_engine: [0305/095614.600222:INFO:delta_performer.cc(1552)] &lt;SPAN style="color: #ff0000;"&gt;update_check_response_size : 0&lt;/SPAN&gt; metadata_size_ : 58814 metadata_signature_size_ : 264 buffer_offset_ : 442053649&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;03-05 09:56:14.600&amp;nbsp; 3096&amp;nbsp; 3096 E update_engine: [0305/095614.600270:ERROR:delta_performer.cc(1557)] VerifyPayload failure: update_check_response_size == metadata_size_ + metadata_signature_size_ + buffer_offset_&lt;/STRONG&gt;&lt;BR /&gt;03-05 09:56:14.600&amp;nbsp; 3096&amp;nbsp; 3096 E update_engine: [0305/095614.600308:ERROR:download_action.cc(397)] Download of &lt;A href="http://172.18.2.95/payload.bin" target="test_blank"&gt;http://172.18.2.95/payload.bin&lt;/A&gt; failed due to payload verification error.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;03-05 09:56:14.600&amp;nbsp; 3096&amp;nbsp; 3096 I update_engine: [0305/095614.600347:INFO:action_processor.cc(116)] ActionProcessor: finished DownloadAction with code ErrorCode::kPayloadSizeMismatchError&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;03-05 09:56:14.600&amp;nbsp; 3096&amp;nbsp; 3096 I update_engine: [0305/095614.600707:INFO:action_processor.cc(121)] ActionProcessor: Aborting processing due to failure.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;03-05 09:56:14.600&amp;nbsp; 3096&amp;nbsp; 3096 I update_engine: [0305/095614.600970:INFO:update_attempter_android.cc(431)] Processing Done.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;03-05 09:56:14.601&amp;nbsp; 3096&amp;nbsp; 3096&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maneesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2020 07:43:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006454#M149160</guid>
      <dc:creator>msingh1920</dc:creator>
      <dc:date>2020-03-06T07:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: AOSP Update</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006455#M149161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For my successful execution of update_engine_client;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I set up a new build system exactly as specified in the NXP Android User's Guide, no deviation.&lt;/P&gt;&lt;P&gt;I downloaded the 2.3.1 source as specified and built my &lt;STRONG&gt;base&lt;/STRONG&gt; for evk_8mm-eng exactly as specified.&lt;/P&gt;&lt;P&gt;I loaded the evk using the files of the base build&amp;nbsp;from out/target/product/evk_8mm.&amp;nbsp;&lt;EM&gt;uuu_imx_android_flash.bat -f imx8mm -e&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I then modified only the model in vendor/nxp-opensource/kernel_imx/arch/arm64/boot/dts/freescale/fsl-imx8mm-evk.dts and rebuilt:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;EM&gt;make&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; make target-files-package&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; make-otapackage&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I extracted payload.bin and payloadproperties from the out/target/product/evk_8mm/ota zip file and copied payload.bin to my http server.&lt;/P&gt;&lt;P&gt;Then I used the values in payloadproperties.txt in my update_engine_client command and successfully applied the update I created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anything you did different, could be the source of the problem you are having.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2020 19:58:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006455#M149161</guid>
      <dc:creator>girodassoc</dc:creator>
      <dc:date>2020-03-09T19:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: AOSP Update</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006456#M149162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/maneeshsingh1920@gmail.com"&gt;maneeshsingh1920@gmail.com&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You do not need to add the &lt;STRONG&gt;"\"&lt;/STRONG&gt; at the end of each line of OTA Update command.&lt;/P&gt;&lt;P&gt;Please try to implement the OTA update with below command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;update_engine_client --payload=http://192.168.1.1:10888/payload.bin --update \&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;--headers="FILE_HASH=m4RBsgXfz+0d6ACK4h+dJne38LP53pSR+6faQAZBmHs0=&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FILE_SIZE=437638456&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;METADATA_HASH=zE6wIt6CZX5GgdTM/HEG9UvDHZqxQ2jJvUrS/dwR3dE=&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;METADATA_SIZE=58871"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace your payload properties in the above command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shivani&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Mar 2020 11:38:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/AOSP-Update/m-p/1006456#M149162</guid>
      <dc:creator>shivanipatel</dc:creator>
      <dc:date>2020-03-14T11:38:35Z</dc:date>
    </item>
  </channel>
</rss>

