Not able to perform OTA update

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Not able to perform OTA update

3,328件の閲覧回数
Shanga
Contributor III

Hi,

 - We have preformed all the steps required to perform a full package update for evk_imx8mp using the user guide(under 'Building a full update package') for version android-14.0.0_2.0.0.

 - After pushing the payload.bin as directed,While running the update_engine_client command(in root) we noticed that we aren't able to update the version.

 - OTA version -- android-14.0.0_2.0.0 ; On-board build version -- android-14.0.0_2.0.0

 - We have double checked the hash tag and other metadata thoroughly two to three times

 - I have attached the logcat value after giving update_engine_client command for your reference

IMX8MPLUS#ANDROID14

 

ラベル(1)
0 件の賞賛
返信
6 返答(返信)

3,300件の閲覧回数
Shanga
Contributor III

 - Error faced : hash not getting verified.

 - logcat of the error faced attached below.

0 件の賞賛
返信

3,288件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

Please share update_engine command you use.


Best Regards
Zhiming

0 件の賞賛
返信

3,266件の閲覧回数
Shanga
Contributor III
I have attached the command and the properties.txt content below,(android 14,2.0.0 build)

FILE_HASH=GuRveEGvGrlz7HEJhljsLiNMbTJ3h8Tv4bI4kqPltFI=
FILE_SIZE=720348229
METADATA_HASH=qAtYxW5CRxZYKBKD7MxwjusSs8JCOrxZt6SjkwBCxPM=
METADATA_SIZE=32709


update_engine_client --payload=http://<server-ip>/downloads/payload.bin --update --headers="FILE_HASH=GuRveEGvGrlz7HEJhljsLiNMbTJ3h8Tv4bI4kqPltFI= FILE_SIZE=720348229 METADATA_HASH=qAtYxW5CRxZYKBKD7MxwjusSs8JCOrxZt6SjkwBCxPM= METADATA_SIZE=32709"
0 件の賞賛
返信

3,254件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

Zhiming_Liu_0-1728607558010.png

 

You can try below commands, handle line breaks carefully until the update_engine can decode hash.

update_engine_client --payload=http://<server-ip>/downloads/payload.bin --update \
--headers="FILE_HASH=GuRveEGvGrlz7HEJhljsLiNMbTJ3h8Tv4bI4kqPltFI= FILE_SIZE=720348229 METADATA_HASH=qAtYxW5CRxZYKBKD7MxwjusSs8JCOrxZt6SjkwBCxPM= METADATA_SIZE=32709"

 

update_engine_client --payload=http://<server-ip>/downloads/payload.bin --update \
--headers="FILE_HASH=GuRveEGvGrlz7HEJhljsLiNMbTJ3h8Tv4bI4kqPltFI= \
FILE_SIZE=720348229 \
METADATA_HASH=qAtYxW5CRxZYKBKD7MxwjusSs8JCOrxZt6SjkwBCxPM= \
METADATA_SIZE=32709"




Best Regards
Zhiming

0 件の賞賛
返信

3,187件の閲覧回数
Shanga
Contributor III

I have pasted the command used and the properties.txt contents of our OTA update zip,

FILE_HASH=GuRveEGvGrlz7HEJhljsLiNMbTJ3h8Tv4bI4kqPltFI=
FILE_SIZE=720348229
METADATA_HASH=qAtYxW5CRxZYKBKD7MxwjusSs8JCOrxZt6SjkwBCxPM=
METADATA_SIZE=32709


update_engine_client --payload=http://ip/downloads/payload.bin --update --headers="FILE_HASH=GuRveEGvGrlz7HEJhljsLiNMbTJ3h8Tv4bI4kqPltFI= FILE_SIZE=720348229 METADATA_HASH=qAtYxW5CRxZYKBKD7MxwjusSs8JCOrxZt6SjkwBCxPM= METADATA_SIZE=32709"

タグ(1)
0 件の賞賛
返信

2,260件の閲覧回数
Maruti
Contributor III

Hi @shang,

I'm also facing the same issue with OTA updates on Android 15. Have you been able to find a solution for this?

I'm attaching the logcat output below for reference.

Regards,
Maruti Naik

タグ(1)
0 件の賞賛
返信