← Back to team overview

ubuntu-phone team mailing list archive

Re: Ubuntu flashing reports OK but not booting and android restore fails

 

On Sun, Sep 15, 2013 at 10:12 AM, Visegrádi István <visegradi@xxxxxxxxx>wrote:

> Hi,
>
> Today I've tried to update my Nexus 4 image to a newer touch release (it
> was last updated about 3 weeks ago). The update went "fine" but the phone
> was not able to reboot to Ubuntu after it is finished.
>
> Since the phone was still able to boot the bootloader, I have tried to
> recover the original android to start from scratch again. Unfortunately the
> android flash did resulted an error
>
> "writing 'system'...
> FAILED (remote: flash write failure)".
>

It might be that there's a mismatch of what your bootloader is telling
fastboot and what the partition size really is. This is one of the reasons
I completely removed running fastboot -w from phablet-flash (because
userdata seems to have a lot of issues).

I believe I have seen this in some earlier conversation and the instructed
> next step was to call LG support :-(.
>

>From your log it seems that your system partition has a different size and
would require resizing back to the original. For a really quick recovery
just use a CM zip for android and you'll be ok as it just dumps files onto
/system instead of doing an image write, unless you wanted stock.


> Now, after the long story, my short question is that:
> -Does the phablet-flash can handle the failures correctly?
>

There were no failures from phablet-flash that I see. Can you rerrun with
--debug? Did the spinner show up trying to update? Any errors in logcat? In
/cache/recovery/log ?


> My thinking is here that probably the phablet-flash also run into the
> flash failure but did not reported it... otherwise it would be a pretty BIG
> coincidence that when my ubuntu update fails the next time the android
> restore also fails with flash write...
>

Without those logs I wouldn't know. The image based update recovery system
is a bit more involved than plain zip deploy.

Please see all logs that were reported on screen during flash.
>
>

References