So here it is, the first Ubuntu Touch build with working 3G data connection. (please flash using phablet-flash, build id >= 147)

In a big picture, we added data connection support at the oFono RILD modem, and also added oFono support in Network Manager, so you can use NM to also handle your 3G data connections.

Using NM helps us as it's the default stack used by our desktop, and also what is managing our wireless connection in Touch already.

Follows the steps needed to make a data call with your phone, running Ubuntu Touch:

1) Create a mobile broadband connection via NetworkManager on a system running standard Ubuntu Desktop:
1.1) Run 'nm-connection-editor'
1.2) Click Add.
1.3) Select Mobile Broadband
1.4) Follow the steps in the wizard to choose your provider; or edit to specify the correct APN settings for your provider's phone 3G data features.

2) Copy the created file from /etc/NetworkManager/system-connections/<connection> to the mobile device:

You can use adb push <connection> /data/ubuntu/etc/NetworkManager/system-connections/<connection>

Make sure the file is owned by root:root (600 as well) (inside the Ubuntu container):
$ sudo chown root:root /etc/NeworkManager/system-connections/<connection>
$ sudo chmod 600 /etc/NeworkManager/system-connections/<connection>

3) On the device, run:

nmcli con up id "<connection>"

This will activate the connection and bring you online, setting routes and all.

To disconnect:

nmcli con down id "<connection>"

To show status:

nmcli dev

Next week we'll be adding support to easily connect and disconnect via an indicator, which will remove the need of running the command by hand. For proper shell access while using the phone/tablet, please install the ubuntu-terminal-app package.

Example (with my TIM network):
phablet@ubuntu-phablet:~$ sudo cat /etc/NetworkManager/system-connections/TIM\ Default\ 1
id=TIM Default 1




phablet@ubuntu-phablet:~$ nmcli dev
DEVICE     TYPE              STATE
/ril_0     gsm               disconnected
wlan0      802-11-wireless   disconnected
phablet@ubuntu-phablet:~$ nmcli con up id "TIM Default 1"
phablet@ubuntu-phablet:~$ nmcli dev
DEVICE     TYPE              STATE
/ril_0     gsm               connected
wlan0      802-11-wireless   disconnected
phablet@ubuntu-phablet:~$ ifconfig
lo        Link encap:Local Loopback
          inet addr:  Mask:
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:379 errors:0 dropped:0 overruns:0 frame:0
          TX packets:379 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:42892 (42.8 KB)  TX bytes:42892 (42.8 KB)

rmnet_usb0 Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:  Mask:
          inet6 addr: fe80::3f25:a358:dc2d:eb25/64 Scope:Link
          UP RUNNING  MTU:1500  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:961 (961.0 B)  TX bytes:1152 (1.1 KB)

wlan0     Link encap:Ethernet  HWaddr 10:68:3f:fe:09:8f
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

phablet@ubuntu-phablet:~$ ping
PING ( 56(84) bytes of data.
64 bytes from ( icmp_req=1 ttl=52 time=526 ms
64 bytes from ( icmp_req=2 ttl=52 time=530 ms
64 bytes from ( icmp_req=3 ttl=52 time=457 ms
--- ping statistics ---
4 packets transmitted, 3 received, 25% packet loss, time 3168ms
rtt min/avg/max/mdev = 457.638/504.788/530.636/33.402 ms

phablet@ubuntu-phablet:~$ nmcli con down id "TIM Default 1"
phablet@ubuntu-phablet:~$ nmcli dev
DEVICE     TYPE              STATE
/ril_0     gsm               disconnected
wlan0      802-11-wireless   disconnected

Select an image. Preinstalled touch image. The preinstalled-desktop image allows you to unpack a preinstalled version of Ubuntu onto a target device. Please see Touch/Install for detailed installation information. A full list of available files can be found below.
Morten Jensen's profile photoseba “eseceve” contreras's profile photoNeha Upadhyaya (evenikno)'s profile photoGuillermo Reyes's profile photo
So I guess we also want to mention, in case of need for a bug report, doing this will be useful:
apt-get install ofono-scripts

Running that on the phone of course.

Changing ofono and network manager to get debugging logs by editing /etc/init/ofono.conf and adding a -d to the exec line and /etc/init/network-manager.conf with a --log-level=DEBUG ... then just adb shell cat /var/log/syslog | pastebinit after a reboot and some fiddling.
just set mine up. Works great!!!!
+Ricardo Salveti where does it get the uuid from? It would be nice to adapt that config manually
Update: anyway, I was able to do it using this recipe. Thanks :-)
+Cláudio Sampaio The UUID is actually something normally done directly by NetworkManager (via nm_utils_uuid_generate ()), but you can imitate that via a command: 
% uuidgen -r
Will this work on the Verizon network or is it GSM only?
I've noticed that I can't get wifi on with this configuration in place. Is it actually that way, or is there a way to reactivate wifi connections after using (and disconnecting from) GSM? nmcli con up id <wifi connection name> does not work, even with additional parameters like ap and iface.
+Cláudio Sampaio Indeed, sounds like a bug we already know of.. if you disable WiFi, the kernel currently refuses to bring back the interface when you reenable it.
There is currently no support for CDMA devices in Touch, and it's not on our current roadmap.

That said merge proposals are always welcome if someone in the community wants to take this on...
That's pretty disappointing. I was looking forward to using Ubuntu Touch. I guess US users are SOL. That's a pretty big market to leave out.
Good luck, hope its not just a flash in the pan. 
In Spain with Yoigo Carrier I can't activate Mobile Data.... :(
Jack B
Anyone in the states using AT&T have any notes from enabling their 3G?  I'm trying to use my N4 as a daily driver and just need 3G to make that possible...
Have you tried the above instructions?  It should just work.  If not you're probably better off asking for help on the ML or IRC.
cool, i'll try later to build for n7100
WiFi Dont work for me on galaxy nexus GSM does any know how get it working. 
Im getting a "Connection activation failed: The connection was not supported by oFono." when running the nmcli con up id command.  I am on a GSM network with Rogers.  Was hoping to start using this as a daily and start developing.  
Same as the above. I'm on the Orange in the UK. I keep getting this "The connection was not supported by oFono". I've even tried reinstalling and pushing the file from a different pc. Any ideas anyone?
First, the instructions posted on this page are out-dated, as Network Manager should take care of auto-connecting your mobile data connection.   That said, this relies on your operator properly being configured in the mobile-broadband-provider-info database.

Second, this thread is not a good place to seek help with mobile data connections.  I would suggest using the ubuntu-phone mailing list and/or opening an ubuntu-touch-preview bug ( ).

One last suggestion is that installing the 'ofono-scripts' package provides a number of useful scripts that can be helpful in debugging connection issues.
would it be possible to do this on a pc running windows 8 or 7
tenho um cabo MHL, sabe me dzer se posso ativar o X11 ou pra usar como deve igual deveria ser o EGDE?
These instructions are outdated and probably shouldn't be used anymore. 
+Alan Pope Does this mean there isn't a manual configuration required now?  The ReleaseNotes on the main release say 3G is not supported, but links to this page for setup instructions.

I'd rather not flash my Nexus just to find out whether 3G works.
That's correct, there shouldn't be any manual configuration necessary for mobile data connections to work any more.  We've seen occasional hiccups where data connections aren't provisioned due to the mobile-broadband-provider-info being out-of-date for certain operators, for the most part "it should just work".  If you have any problems, you're best bet is to ask on #ubuntu-touch or the ubuntu-phone mailing list, or file a bug on launchpad.   This thread should be deprecated.  I'll also see if I can get someone to address the stale link in the ReleaseNotes.
I am gearing up to purchase a Google Nexus 4 after discovering it does support LTE on BAND 4 AWS in Canada.  Windmobile definitely supports Google Nexus 4 on their network with an unlimited mobile data plan which is why I am interested in the LTE phones particularly, but it was hard to find one compatible with Ubuntu Touch considering only 4 devices are actually supported from Canonical itself.  Here are the relevant links:
PLEASE dis-continue use of this thread.  It is outdated as mentioned above.  Please use the mailing list and/or #ubuntu-touch on IRC.

RE: LTE on the Nexus 4, it will not work, as it would involve updating components ( ie. rild ) that we have no control over.   We will be working on LTE support for newer phones ( eg. Nexus5 ).
Isto faz com que as chamadas e sms funcionem no galaxy s2 ?

Obrigado pelo tópico (;
Add a comment...