← Back to team overview

ubuntu-phonedations-bugs team mailing list archive

[Bug 1613327] Re: [Pro5] Mobile data setting not remembered between reboots

 

While this isn't a real fix, I have found a workaround for this bug so
people can at least use their Pro5 without getting annoyed too much by
this:

create a file /home/phablet/bin/swithto3g with this content (create the "bin" directory and make sure the file is executable):
----------------------------------------
#!/bin/sh

pref=`/usr/share/ofono/scripts/get-tech-preference | cut -d " " -f 3`
while [ "$pref" != "lte" ]; do
    /usr/share/ofono/scripts/set-tech-preference lte
    sleep 5
    pref=`/usr/share/ofono/scripts/get-tech-preference | cut -d " " -f 3`
done
echo $pref
-----------------------------------------

Then, create another file /home/phablet/.config/upstart/3gfix.conf with this content:
-----------------------------------------
$ cat .config/upstart/3gfix.conf 
start on started unity8
exec /home/phablet/bin/switchto3g
-----------------------------------------

This will, on every reboot, run the script which will in turn will set
the tech preference to 4G. Seems to work well for me so far.

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to ofono in Ubuntu.
https://bugs.launchpad.net/bugs/1613327

Title:
  [Pro5] Mobile data setting not remembered between reboots

Status in Canonical System Image:
  Confirmed
Status in turbo:
  New
Status in ofono package in Ubuntu:
  Confirmed
Status in ubuntu-system-settings package in Ubuntu:
  Incomplete

Bug description:
  Pro 5 on rc-proposed.

  Steps to reproduce:
  1. Go to mobile settings
  2. Change connection type to 2G/3G/4G
  3. Reboot device
  4. Go to mobile settings again and connection type has reverted to 2G only

  I guess this is not an intended feature. If so, I strongly suggest
  that the user is able to choose the default setting.

  From the duplicate bug user first experienced in rc-proposed system image 153, release date August 9th 2016 which contained
  ofono (1.17.bzr6919+15.04.20160719.1-0ubuntu1)
  Title: ofono support for automatically switching the 4g sim slot capability ( vs. the method used for krillin which required a MTK-specific DBus call to switch the 3g capability between SIM slots ).

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1613327/+subscriptions