← Back to team overview

ubuntu-phone team mailing list archive

Re: Unable to flash M10

 

Hi

Some days back I was reflashing on M10 and faced same issue. "waiting for
recovery"
This happens because in production devices adb is disabled.
Solution is that you need to provide recovery images together with
ubuntu-device-flash.
May be you need to give --bootstrap also.

Recovery image for particular M10 device can be downloaded from here
https://wiki.ubuntu.com/Touch/Devices
and then you can use full command  with recovery image as (plz Adjust
command accoroding to device)
ubuntu-device-flash touch --channel ubuntu-touch/stable/bq-aquaris.en
--bootstrap --recovery-image ./recovery.img

Regards
Santosh


On Thu, Nov 24, 2016 at 2:41 AM, Mitchell Reese <dev@xxxxxxxxxxxxxxxxxxxxx>
wrote:

> Thanks. Tried the tool, doesn't work. Will try ssh, though from memory
> setting it up without adb is a pain. Is there another adb enabled recovery
> I can flash?
>
>
> On Thursday, 24 November 2016 8:04:42 AM AEDT, Michael Zanetti <
> michael.zanetti@xxxxxxxxxxxxx> wrote:
>
>> Hi,
>>
>> I think you need an adb enabled recovery. You can try this, it might get
>> that for you and just works:
>> https://github.com/MariusQuabeck/magic-device-tool
>>
>> If it doesn't, another option is to ssh/adb into the device and use
>> system-image-cli to reflash. Check out --help, you'll want the --switch
>> option and I'd recommend to use -vv so that the tool prints something
>> instead of just appearing to do nothing for a while.
>>
>>
>> Hope this helps,
>> Michael
>>
>> On 23.11.2016 21:37, Mitchell Reese wrote:
>>
>>> Hi, tried the Staging channel out of curiosity, and am now returning my
>>> M10 back to re-proposed. Only now I'm unable to access adb through
>>> enabling developer mode. Have rebooted to bootloader, and am trying to
>>> reflash using fastboot. Everything seems to work, until the device boots
>>> into the recovery, and my computer is no longer able to recognise it.
>>> Just hangs at: "Waiting for device to enter recovery mode..."
>>>
>>> Device is in recovery mode, but not recognised. Eventually the
>>> ubuntu-device-flash tool times out. When I reboot my device I'm back
>>> where I started.
>>>
>>> How do I reflash back to rc-proposed?
>>>
>>> Thanks,
>>>
>>> Mitchell
>>>
>>>
>>>
>>
>
>
> --
> Sent using Dekko from my Ubuntu device
>
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References