OTA update Stopped in Android 9 iMX8QM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

OTA update Stopped in Android 9 iMX8QM

Jump to solution
2,538 Views
vinothkumars
Senior Contributor IV

Dear NXP,

 

I am working on IMX8QM with Android 9.  I got following error when do OTA update. Coped update.zip file in cache folder. 

OTA update failed after reboot recovery.

E: couldn't load bitmap progress_empty (error -1)

E: couldn't load bitmap progress_fill (error -1)

E: couldn't load bitmap stage_empty (error -1)

E: couldn't load bitmap stage_fill (error -1)

E: couldn't load bitmap installing_text (error -1)

But, I checked the files under the path the files are present,

out/target/product/mek_8q/recovery/root/res/images

Icon_error.png

progress_empty.png

progress_fill.png

stage_fill.png

stage_empty.fill

installing_text.png

But, I am not getting load error from Icon_error.png .

Thanks & Regards,

VinothS,

Regards,
Vinothkumar Sekar
0 Kudos
1 Solution
2,304 Views
vinothkumars
Senior Contributor IV

I unable to do from recovery. I just done by using the following,

https://community.nxp.com/thread/518065 

Regards,

VinothS

Regards,
Vinothkumar Sekar

View solution in original post

0 Kudos
5 Replies
2,305 Views
vinothkumars
Senior Contributor IV

I unable to do from recovery. I just done by using the following,

https://community.nxp.com/thread/518065 

Regards,

VinothS

Regards,
Vinothkumar Sekar
0 Kudos
2,305 Views
vinothkumars
Senior Contributor IV

These are following observations,

1. copy the update.zip file into cache folder and reboot recovery,

reboot: Restarting system with command 'recovery'

2. Simply reboot without update the android images,

reboot: Restarting system with command ''

3. Check the boot log,

Update is not done (check build ID and date and time of android images).

Reference Log,

[ 4.560943] audit: type=1400 audit(1573818700.748:7): avc: denied { getattr } for pid=1 comm="init" path="/dev/dri/card1" dev="tmpfs" ino=566 scontext=u:r:init:s0 tcontext=u:object_r:graphics_device:s0 tclass=chr_file permissive=1
[ 4.567616] urandom_read: 1 callbacks suppressed
[ 4.567620] random: recovery: uninitialized urandom read (40 bytes read)
[ 5.410870] audit: type=1400 audit(1573818701.596:8): avc: denied { open } for pid=1812 comm="recovery" path="/dev/__properties__/u:object_r:bluetooth_a2dp_offload_prop:s0" dev="tmpfs" ino=8558 scontext=u:r:recovery:s0 tcontext=u:object_r:bluetooth_a2dp_offload_prop:s0 tclass=file permissive=1
[ 5.415482] audit: audit_backlog=65 > audit_backlog_limit=64
[ 5.437152] audit: type=1400 audit(1573818701.596:9): avc: denied { getattr } for pid=1812 comm="recovery" path="/dev/__properties__/u:object_r:bluetooth_a2dp_offload_prop:s0" dev="tmpfs" ino=8558 scontext=u:r:recovery:s0 tcontext=u:object_r:bluetooth_a2dp_offload_prop:s0 tclass=file permissive=1
[ 25.730975] random: fast init done
[ 125.459952] init: Received sys.powerctl='reboot,' from pid: 1812 (/sbin/recovery)
[ 125.467553] init: Clear action queue and start shutdown trigger
[ 125.473704] init: processing action (shutdown_done) from (<Builtin Action>:0)
[ 125.480939] init: Reboot start, reason: reboot,, rebootTarget:
[ 125.487107] init: Shutdown timeout: 6000 ms
[ 125.491324] init: terminating init services
[ 125.495538] init: Sending signal 15 to service 'recovery' (pid 1812) process group...
[ 125.503677] init: Sending signal 15 to service 'ueventd' (pid 1248) process group...
[ 125.511484] libprocessgroup: Failed to open process cgroup uid 0 pid 1248: No such file or directory
[ 125.520725] libprocessgroup: Error encountered killing process cgroup uid 0 pid 1248: No such file or directory
[ 128.598813] arm-smmu 51400000.iommu: removing device with active domains!
[ 128.605670] reboot: Restarting system with command ''

Thanks & Regards,

VinothS,

Regards,
Vinothkumar Sekar
0 Kudos
2,305 Views
vinothkumars
Senior Contributor IV

Hi,

I have some of the question related to OTA update in IMX8QM - Android 9 Automotive.

1.  Which one I want to follow for ota generation from section 7.

      android_p9.0.0_2.1.1-auto-ga_doc/Android_User's_Guide.pdf

2. For OTA update, which package do I need to take ?

       mek_8q_car-target_files-eng.emb-vinosek.zip

       mek_8q_car-ota-eng.emb-vinosek.zip

3. Sometime with display ota update not happens, 

4. what is the deference between "/cache"  and "/data/cache".

Thanks & Regards,

VinothS,

Regards,
Vinothkumar Sekar
0 Kudos
2,305 Views
vinothkumars
Senior Contributor IV

I added the following images,

progress_empty.png

progress_fill.png

stage_fill.png

stage_empty.fill

installing_text.png

And short out the errors. But, still OTA update not happen.

Thanks & Regards,

VinothS,

Regards,
Vinothkumar Sekar
0 Kudos
2,305 Views
vinothkumars
Senior Contributor IV

OTA BUILD,

source build/envsetup.sh

lunch mek_8q_car-userdebug

make otapackage -j4

OTA files are,

       mek_8q_car-target_files-eng.emb-vinosek

       mek_8q_car-ota-eng.emb-vinosek

But, I use userdebug but, ota build for eng.

Thanks & Regards,

VinothS,

Regards,
Vinothkumar Sekar
0 Kudos