Reboot recovery does not work

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

Reboot recovery does not work

2,704 次查看
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

标签 (1)
标记 (2)
0 项奖励
回复
5 回复数

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

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

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

2,295 次查看
nishigandhapati
Contributor II

Hi Diego,

We are using Android 7.1.2 Nougat.

Thanks,

Nishi

0 项奖励
回复

2,295 次查看
diegoadrian
NXP Employee
NXP Employee

Hello,

Wich Android version are you using?

Best regards,

Diego.

0 项奖励
回复