← Back to team overview

canonical-ci-engineering team mailing list archive

Re: Flashing devices using custom recovery

 

Hello,

the new u-d-f package is in the 12.04 PPA now. Let me know if you test it
or need any help with the new --recovery-image flag.

cheers
Jani

On Wed, Jan 14, 2015 at 10:03 AM, Jani Monoses <jani.monoses@xxxxxxxxxxxxx>
wrote:

> Hello,
>
> this is a heads-up and a request for feedback.
>
> In order to ship with a more secure by default krillin [1],  adb support
> will be soon turned off by in the recovery images included in the device
> tarball. This will stop u-d-f from being able to flash a device, as the
> files are pushed over via adb.
>
> A new flag is being introduced to u-d-f in a pending MR [2] so that the
> flashing can be done via a custom recovery image instead of the one
> included in the device tarball.
>
> We can use any locally available recovery image that is known to work and
> has adb enabled (one from today's device tarball will do) and then change
> the invocation of u-d-f to :
>
> ubuntu-device-flash touch --device krillin --channel
> ubuntu-touch/ubuntu-rtm/14.09-proposed --bootstrap
>  --recovery-image=recovery-with-adb.img
>
> Hopefully providing the recovery image and this change of the script will
> suffice in CI being able to flash krillin devices regardless of adb status
> in the shipped recovery.
>
> Jani
>
> [1] https://bugs.launchpad.net/barajas/+bug/1397023
> [2]
> https://code.launchpad.net/~jani/goget-ubuntu-touch/recovery-image/+merge/245724
>

References