Hello!

With a spare Nexus 5 knocking about, and somehow too much time on my hands, I decided to flash the phone with Ubuntu Touch.

having tweeted said decision I got a response from someone about an annoying bug which will drain your data -

I didn’t get round to blacklisting the url that night. And when I got up the following day I discovered that not only will it drain your data, it will drain your battery - 13 mb of data roughly, and over 60% of the battery (from a full charge) gone.

So following the instructions on XDA forum, I blocked dash.ubuntu.com -

  • In terminal:
    • sudo mount -o remount,rw /
    • Make a backup of the hosts file (optional but very much recommended, chose destination as you please but make sure to keep it):
    • sudo cp /etc/hosts /etc/hosts.bak
    • Edit the file: sudo nano /etc/hosts
    • Keep the defaults and add the blocking stuff after that.
  • Then reboot and the system will be read only again as you haven’t changed fstab.
  • Once edited your file will look like this - image of Ubuntu Touch Phone
In 17 hours I’ve lost only 29% of battery. Massively improved!