Reboot recovery does not work

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

Reboot recovery does not work

1,937 Views
nishigandhapati
Contributor II

Hello,

We are using  i.MX6Q,  rev 1.2

I am attemptig to install OTA package using "recovery".

I copied the OTA_pkg.zip in /cache directory and then ran "adb reboot recovery"

It enters the REcovery mode, finds the command file that I have created for recovery but then recovery get killed by signal 11 and enters in this loop. From the logs:


init: Starting service 'recovery'...
init: Service 'recovery' (pid 217) killed by signal 11
init: Service 'recovery' (pid 217) killing any children in process group
init: Untracked pid 218 exited with status 1
init: Starting service 'recovery'...
init: Service 'recovery' (pid 219) killed by signal 11
init: Service 'recovery' (pid 219) killing any children in process group
init: Untracked pid 220 exited with status 1
init: Starting service 'recovery'...

Could you please help.

We need t use recovery mode for software installation

Thanks,

Nishi

Labels (1)
Tags (2)
0 Kudos
5 Replies

1,528 Views
nishigandhapati
Contributor II

radhika.somaiya@volansystech.com‌ I am doing exactly same steps as you listed. Still I am getting same errors. (Please refer to my first msg in this post for logs).

Thanks,

Nishi 

0 Kudos

1,528 Views
rakesh_patel
Senior Contributor I

Hi @nishigandha patil;

 

Can you please confirm following points:

1) Based on message "init: Service 'recovery' (pid 217) killed by signal 11", I think issue may be related to package.

Are you using which OTA package? Your custom package or any reference package comes with NXP's android source code(do "make otapackage" in android source code to generate ota package).

Can you please try for default ota package once?

 

2) Does your OTA packages only not working with Android 7.1.2 Nougat? Did you tried for any latest Android version?

 

Thanks.

Rakesh

0 Kudos

1,528 Views
radhikasomaiya
Senior Contributor II

Hi nishigandha patil,

Hope you have tried to update OTA by following steps :

  • Copy the OTA zip package to the device in sdcard using below command :

        $adb push <local> <remote "/sdcard">

  • Move the package from sdcard to cache partition i.e.

       $mv /sdcard/<your zip> /cache/.

  • Make the directory and perform the below steps on device

 

  • mkdir -p /cache/recovery
  • touch /cache/recovery/command
  • echo "--update_package=/cache/update.zip" > /cache/recovery/command
  • reboot recovery

Above steps will perform the Updation by Android recovery (automatically).

Let me know if you still face any error.

0 Kudos

1,528 Views
nishigandhapati
Contributor II

Hi Diego,

We are using Android 7.1.2 Nougat.

Thanks,

Nishi

0 Kudos

1,528 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

Wich Android version are you using?

Best regards,

Diego.

0 Kudos