I was installing ubuntu-sdk
on my device, accidently I run sudo apt-get update
and it broke some links and my phone become unusable. So i reinstall ubuntu OS on it.
In order to install ubuntu or to upgrade its channel, follow this tutorial.
Open the Terminal on Ubuntu Desktop.
The ubuntu-device-flash
package is main tool for installing Ubuntu for devices. Install the package:
sudo apt-get install ubuntu-device-flash
The phablet-tools
package provides a Desktop tools useful when working with a USB-connected Ubuntu device.
sudo apt-get install phablet-tools
Installing ubuntu-device-flash
also adds two important Android tools you frequently use: adb
and fastboot
Supply a recovery image with adb
enabled, which ubuntu-device-flash
will use temporarily while doing its work
For BQ Aquaris E5 Ubuntu Edition (aka vegetahd), use recovery-vegetahd.img
ubuntu-device-flash
can then be supplied with the --recovery-image argument
, eg:
ubuntu-device-flash touch --channel ubuntu-touch/stable/bq-aquaris.en --bootstrap --recovery-image path/to/downloaded/recovery.img
Note that when the command prompts you with:
Expecting the device to be in the bootloader... waiting
You can put a Aquaris E5 in the bootloader
by holding down Power
+ Volume Up
for a few seconds, releasing the Power
button when the red LED lights as the machine reboots, and then selecting fastboot
from the device's boot menu.
And its done !!
UbuntuTouch (also called UbuntuPhone) is new and under active development. One usual expectation from any user is to be able to sync data with services. As of today, it comes with the ability sync with Google only. Problem is Google is really deep and evil when it comes to surveillance. So I tried to sync with my ownCloud and here is what I had to do:
Open the Terminal App on your UbuntuTouch device.
Tell SyncEvolution about your ownCloud server and its details:
syncevolution --configure --keyring=no --template webdav username=USERNAME password='PASSWORD' syncurl="YOURSERVER.COM/owncloud" target-config@owncloud
If you are using a self signed certificate, you can use the SSLVerifyServer="0"
option to ignore its verification (although this is a security risk):
syncevolution --configure --keyring=no --template webdav username=USERNAME password='PASSWORD' syncurl="YOURSERVER.COM/owncloud" SSLVerifyServer="0" target-config@owncloud
Another alternate is to download the certificate and place it in on your UbuntuTouch device. Add the SSLServerCertificates
switch to specify the location of the certificate:
syncevolution --configure --keyring=no --template webdav username=USERNAME password='PASSWORD' syncurl="YOURSERVER.COM/owncloud" SSLServerCertificates="/home/phablet/YOURCERTIFICATE.crt" target-config@owncloud
Now tell SyncEvolution about your phone
syncevolution --configure --template SyncEvolution_Client sync=none syncURL=local://@owncloud username= password= owncloud
To configure synchronization for:
a. Contacts:
syncevolution --configure --template webdav database=https://YOURSERVER.COM/owncloud/remote.php/carddav/addressbooks/USERNAME/contacts backend=carddav target-config@owncloud contacts
syncevolution --configure sync=two-way backend=contacts database=Personal owncloud contacts
syncevolution --sync slow owncloud contacts
b. Calendar:
syncevolution --configure --template webdav database=https://YOURSERVER.COM/owncloud/remote.php/caldav/calendars/USERNAME/personal backend=caldav target-config@owncloud calendar
syncevolution --configure sync=two-way backend=calendar database=Personal owncloud calendar
syncevolution --sync slow owncloud calendar
Once the data is synchronized for the first time, you can use the normal commands:
syncevolution owncloud contacts
syncevolution owncloud calendar
I prefer putting all there commands in a script file on my PC and then copy/execute it on the UbuntuTouch device. 👍
Let me know what worked for you 😊