Error on Android Factory Reset with Recovery Image Signed

cancel
Showing results for 
Search instead for 
Did you mean: 

Error on Android Factory Reset with Recovery Image Signed

300 Views
matteobissoli
Contributor I

Dears,

in my project I use an i.MX6S and I have used code signing tool version 2.3.1 to sign u-boot.imx and boot.img of my Android 5.1 distribution.

Everything works fine and with my board fuse-locked I'm able to update only signed images.

Now I need to add signature also to Android Recovery image. I realized it similarly to boot.img signature and on board startup with correct keys combination I'm able to enter into a signed Recovery.

The problem is that if I made from Android UI a Factory Reset on reboot Recovery doesn't start and from this point also on startup doesn't start and I need to download again Recovery image with mfgtool to fix the problem.

It seems that factory reset corrupts in some way I don't understand the recovery partition.....any idea?

Thanks

Labels (1)
0 Kudos
2 Replies

113 Views
Yuri
NXP TechSupport
NXP TechSupport

Hello,

  When signed image is loaded and run by boot ROM or with help of signed U-boot

all is working. Android (UI) does not support HAB.


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

113 Views
matteobissoli
Contributor I

Yuri,

thanks for the reply but maybe I didn't expose correctly the problem.

I know that Android UI does not support HAB but the problem is that

Android UI modifies somthing into recovery.img before a factory reset

corrupting the signature (that I made with CST on recovery.img) and from

that point I'm unable to start Recovery Mode untill I download again

recovery.img from MFGTool

Many thanks

Matteo

Matteo Bissoli

Firmware Designer

Leonardo – Finmeccanica – Società per azioni

Via delle Officine Galileo, 1

50013 – Campi Bisenzio (Fi) - Italia

Tel: +39 055 536(9)245

Email: matteo.bissoli@leonardocompany.com

This email and any attachments are confidential to the intended recipient

and may also be privileged. If you are not the intended recipient please

delete it from your system and notify the sender. You should not copy it

or use it for any purpose nor disclose or distribute its contents to any

other person.

Questa e-mail e tutti i suoi allegati sono da intendersi inviati in via

riservata all'effettivo destinatario e possono essere soggetti a

restrizioni legali. Se non siete l'effettivo destinatario o avete ricevuto

il messaggio per errore siete pregati di cancellarlo dal vostro sistema e

di avvisare il mittente. E' vietata la duplicazione, l'uso a qualsiasi

titolo, la divulgazione o la distribuzione dei contenuti di questa e-mail

a qualunque altro soggetto.

Prima di stampare questa comunicazione consideratene, per favore,

l'impatto ambientale

Please consider the environment before printing this email

0 Kudos