Not able to perform OTA update

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Not able to perform OTA update

5,071 次查看
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 回复数

5,043 次查看
Shanga
Contributor III

 - Error faced : hash not getting verified.

 - logcat of the error faced attached below.

0 项奖励
回复

5,032 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

Please share update_engine command you use.


Best Regards
Zhiming

0 项奖励
回复

5,009 次查看
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 项奖励
回复

4,997 次查看
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 项奖励
回复

4,930 次查看
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 项奖励
回复

4,003 次查看
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 项奖励
回复