0

I'm trying to follow the instructions to flash my bq phone when I get the following error:

$ubuntu-device-flash touch --channel ubuntu-touch/stable/bq-aquaris.en --bootstrap --recovery-image recovery.img
unknown flag `recovery-image'

I'm guessing this is because the the ubuntu-device-flash package on ubuntu 14.04 is outdated? How do I install the latest version?

  • I think you want to give the complete path to your recovery image to --recovery-image – Ron May 3 '15 at 8:20
  • Ron, that gives the same error. – Merlijn Sebrechts May 3 '15 at 8:39
2

You can install the latest ubuntu-device-flash using the ppa:

 sudo add-apt-repository ppa:ubuntu-sdk-team/ppa
 sudo add-apt-repository ppa:phablet-team/tools 
 sudo apt-get update; sudo apt-get install ubuntu-device-flash

When trying to update, the ubuntu-device-flash might be held back. If this is the case, you can upgrade that package using sudo apt-get dist-upgrade

  • as of june 2016 these instructions do not work, the package does not exist in the supplied ppa's – grandrew Jun 28 '16 at 17:16
  • @grandrew, strange, it seems to work on my device. Are you sure you executed sudo apt-get update? – Merlijn Sebrechts Jun 28 '16 at 20:51
  • 1
    yes sure, I tired everything. At last I just installed a 16.04 chroot to get the latest package. – grandrew Jun 29 '16 at 13:43
1

It's best to do sudo apt-get update after each request for repository. Try the following I Galgalesh, method but did sudo apt-get update after the repository request. See Below:

sudo add-apt-repository ppa:ubuntu-sdk-team/ppa && sudo apt-get update 
sudo add-apt-repository ppa:phablet-team/tools && sudo apt-get update
sudo apt-get install ubuntu-device-flash && sudo apt-get update

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.