[Ubuntu-phonedations-bugs] [Bug 1505012] Re: Cannot receive calls or text messages with 3G Enabled in Italy on BQ Aquaris E4.5

2015-10-26 Thread Alfonso Sanchez-Beato
@Nicola, I see a call in the radio log that is apparently hang up from
the user side, so apparently all is normal. Please try this:

adb shell
sudo su
stop ofono
OFONO_RIL_DEVICE=mtk OFONO_RIL_NUM_SIM_SLOTS=2 OFONO_RIL_HEX_TRACE="" 
OFONO_RIL_TRACE=""  ofonod -nd -P stktest,provision,sap,udev,dun,smart,hfp &> 
/tmp/ofono.txt

* Wait to see you have 3G coverage and make the call. After it fails:

* Press Ctrl+C

exit
adb pull /tmp/ofono.txt /tmp/

and attach /tmp/ofono.txt to the bug. Please just make one call to have
a clean log. If at a first try you cannot reproduce the error, press
ctrl+c and follow these steps from the beginning.

Finally, just reboot to return your phone to a good state.

-- 
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/1505012

Title:
  Cannot receive calls or text messages with 3G Enabled in Italy on BQ
  Aquaris E4.5

Status in Canonical System Image:
  Incomplete
Status in ofono package in Ubuntu:
  Incomplete

Bug description:
  After running some test on my BQ Aquaris E4.5 I have finally found it!

  This is WHY some incoming calls are not shown and the phone don't
  ring! ( so you receive the message of a miss call by your mobile
  operator)

  Here the procedure:

  - Turn on your BQ Aquaris E4.5
  - At first you will connected with 2G
  - Ask someone to call you: it will work
  - Wait some second for the 3G connection
  - Ask someone to call you again: don't work! ( so you will be only notified 
by your mobile operator of a missed call)

  How to solve:

  - Go in your connection settings
  - Choose to use only 2G connection
  - Ask someone to call you: it will always work!

  Please work on IT! Thanks from Italy!

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

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1504992] Re: Cannot connect to Simple Mobile APN

2015-10-26 Thread Alfonso Sanchez-Beato
@delete, I have attached a tarball with 2 new versions of the binary.
Please extract with "tar xf" and then follow the instructions in comment
#10 again, but using ofonod.1 and ofonod.2 instead of the ofonod binary.
Just change slightly the execution command and use:

# OFONO_RIL_DEVICE=mtk OFONO_RIL_HEX_TRACE="" OFONO_RIL_TRACE=""
/tmp/ofonod.X -nd -P stktest,provision,sap,udev,dun,smart,hfp &>
/tmp/ofonoX.txt&

so you collect more traces. Please attach the 2 new trace files.

** Attachment added: "ofonod.tar.gz"
   
https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1504992/+attachment/4505301/+files/ofonod.tar.gz

-- 
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/1504992

Title:
  Cannot connect to Simple Mobile APN

Status in ofono package in Ubuntu:
  New

Bug description:
  phablet@ubuntu-phablet:~$ system-image-cli -i
  current build number: 4
  device name: arale
  channel: ubuntu-touch/stable/meizu.en
  last update: 2015-09-06 05:21:39
  version version: 4
  version ubuntu: 20150825.1
  version device: 20150818-0b38025
  version custom: 20150814-887-8-46

  The APN settings provided by the carrier are:
  FIELD SETTINGS
  APN   SIMPLE
  MMSC  HTTP://SMPL.MMS.MSG.ENG.T-MOBILE.COM/MMS/WAPENC
  MMS_APN   SIMPLE
  which is exactly what I see listed in the cellular settings on my phone.

  phablet@ubuntu-phablet:~$ /usr/share/ofono/scripts/list-contexts
  [ /ril_0 ]
  [ /ril_0/context1 ]
  MessageProxy =
  Type = internet
  Name = SIMPLE
  Active = 0
  AccessPointName = simple
  Username =
  Preferred = 1
  Protocol = ip
  IPv6.Settings = { }
  Password =
  Settings = { Method=dhcp }
  MessageCenter = http://smpl.mms.msg.eng.t-mobile.com/mms/wapenc

  I noticed that the above command returns "Type = internet", even
  though in cellular settings the APN is set as "Internet and MMS".

  Perhaps this has been fixed in a development version of Touch, but I
  don't know how to find / install said version for Meizu MX4.

  UPDATE :: I found out how I can switch to more up-to-date versions of
  touch. I am now using rc. The issue persists. Here's the updated OS
  info:

  current build number: 6
  device name: arale
  channel: ubuntu-touch/rc/meizu.en
  last update: 2015-10-11 15:15:25
  version version: 6
  version ubuntu: 20150825.1
  version device: 20150818-0b38025
  version custom: 20150814-887-8-46

  UPDATE #2 :: I bit the bullet and updated to devel-proposed. The issue
  persists.

  current build number: 136
  device name: arale
  channel: ubuntu-touch/devel-proposed/meizu.en
  last update: 2015-10-11 15:51:30
  version version: 136
  version ubuntu: 20151011
  version device: 20150818-0b38025
  version custom: 20150925-900-8-47

  The related context now looks like this:

  [ /ril_0 ]
  [ /ril_0/context1 ]
  Password =
  MessageCenter = http://smpl.mms.msg.eng.t-mobile.com/mms/wapenc
  Settings = { }
  Active = 0
  Type = internet
  Name = SIMPLE
  IPv6.Settings = { }
  AccessPointName = simple
  MessageProxy =
  Preferred = 1
  Protocol = ip
  AuthenticationMethod = chap
  Username =

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1504992/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1504992] Re: Cannot connect to Simple Mobile APN

2015-10-26 Thread delete
Done.

** Attachment added: "ofonod.tar.gz"
   
https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1504992/+attachment/4506148/+files/ofonod.tar.gz

-- 
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/1504992

Title:
  Cannot connect to Simple Mobile APN

Status in ofono package in Ubuntu:
  New

Bug description:
  phablet@ubuntu-phablet:~$ system-image-cli -i
  current build number: 4
  device name: arale
  channel: ubuntu-touch/stable/meizu.en
  last update: 2015-09-06 05:21:39
  version version: 4
  version ubuntu: 20150825.1
  version device: 20150818-0b38025
  version custom: 20150814-887-8-46

  The APN settings provided by the carrier are:
  FIELD SETTINGS
  APN   SIMPLE
  MMSC  HTTP://SMPL.MMS.MSG.ENG.T-MOBILE.COM/MMS/WAPENC
  MMS_APN   SIMPLE
  which is exactly what I see listed in the cellular settings on my phone.

  phablet@ubuntu-phablet:~$ /usr/share/ofono/scripts/list-contexts
  [ /ril_0 ]
  [ /ril_0/context1 ]
  MessageProxy =
  Type = internet
  Name = SIMPLE
  Active = 0
  AccessPointName = simple
  Username =
  Preferred = 1
  Protocol = ip
  IPv6.Settings = { }
  Password =
  Settings = { Method=dhcp }
  MessageCenter = http://smpl.mms.msg.eng.t-mobile.com/mms/wapenc

  I noticed that the above command returns "Type = internet", even
  though in cellular settings the APN is set as "Internet and MMS".

  Perhaps this has been fixed in a development version of Touch, but I
  don't know how to find / install said version for Meizu MX4.

  UPDATE :: I found out how I can switch to more up-to-date versions of
  touch. I am now using rc. The issue persists. Here's the updated OS
  info:

  current build number: 6
  device name: arale
  channel: ubuntu-touch/rc/meizu.en
  last update: 2015-10-11 15:15:25
  version version: 6
  version ubuntu: 20150825.1
  version device: 20150818-0b38025
  version custom: 20150814-887-8-46

  UPDATE #2 :: I bit the bullet and updated to devel-proposed. The issue
  persists.

  current build number: 136
  device name: arale
  channel: ubuntu-touch/devel-proposed/meizu.en
  last update: 2015-10-11 15:51:30
  version version: 136
  version ubuntu: 20151011
  version device: 20150818-0b38025
  version custom: 20150925-900-8-47

  The related context now looks like this:

  [ /ril_0 ]
  [ /ril_0/context1 ]
  Password =
  MessageCenter = http://smpl.mms.msg.eng.t-mobile.com/mms/wapenc
  Settings = { }
  Active = 0
  Type = internet
  Name = SIMPLE
  IPv6.Settings = { }
  AccessPointName = simple
  MessageProxy =
  Preferred = 1
  Protocol = ip
  AuthenticationMethod = chap
  Username =

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1504992/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1510131] [NEW] ofono leaks memory when reading SIM files

2015-10-26 Thread Alfonso Sanchez-Beato
Public bug reported:

These leaks has been reported by valgrind (bq aquaris 4.5, 2 SIMs
inserted) after ofono exits:

==8700== 2 bytes in 2 blocks are definitely lost in loss record 3 of 172
==8700==at 0x483E358: malloc (vg_replace_malloc.c:296)
==8700==by 0x48D4CC1: g_malloc (gmem.c:97)
==8700==by 0x48E5CF1: g_memdup (gstrfuncs.c:384)
==8700==by 0xA2129: sim_efest_read_cb (sim.c:1699)
==8700==by 0xB7DCB: sim_fs_op_read_block_cb (simfs.c:407)
==8700==by 0x2EC7F: ril_file_io_cb (sim.c:283)
==8700==by 0x20F03: handle_response (gril.c:386)
==8700==by 0x20F03: dispatch (gril.c:547)
==8700==by 0x20F03: new_bytes (gril.c:641)
==8700==by 0x21A37: received_data (grilio.c:125)
==8700==by 0x48D0E8F: g_main_dispatch (gmain.c:3122)
==8700==by 0x48D0E8F: g_main_context_dispatch (gmain.c:3737)
==8700==by 0x48D1113: g_main_context_iterate.isra.29 (gmain.c:3808)
==8700==by 0x48D13AF: g_main_loop_run (gmain.c:4002)
==8700==by 0x1D865: main (main.c:247)
==8700== 
==8700== 24 bytes in 2 blocks are definitely lost in loss record 89 of 172
==8700==at 0x4840A6C: calloc (vg_replace_malloc.c:623)
==8700==by 0x48D4D05: g_malloc0 (gmem.c:127)
==8700==by 0xAB2C1: __ofono_watchlist_new (watch.c:33)
==8700==by 0xA0FA1: sim_initialize_after_pin (sim.c:1858)
==8700==by 0xA1103: sim_pin_query_cb (sim.c:2859)
==8700==by 0x2F4D5: ril_query_passwd_state (sim.c:967)
==8700==by 0x2F68D: sim_status_cb (sim.c:804)
==8700==by 0x20F03: handle_response (gril.c:386)
==8700==by 0x20F03: dispatch (gril.c:547)
==8700==by 0x20F03: new_bytes (gril.c:641)
==8700==by 0x21A37: received_data (grilio.c:125)
==8700==by 0x48D0E8F: g_main_dispatch (gmain.c:3122)
==8700==by 0x48D0E8F: g_main_context_dispatch (gmain.c:3737)
==8700==by 0x48D1113: g_main_context_iterate.isra.29 (gmain.c:3808)
==8700==by 0x48D13AF: g_main_loop_run (gmain.c:4002)
==8700== 
==8700== 24 bytes in 2 blocks are definitely lost in loss record 90 of 172
==8700==at 0x483E358: malloc (vg_replace_malloc.c:296)
==8700==by 0x48D4CC1: g_malloc (gmem.c:97)
==8700==by 0x48E5CF1: g_memdup (gstrfuncs.c:384)
==8700==by 0xA0E43: sim_efust_read_cb (sim.c:1744)
==8700==by 0xB7DCB: sim_fs_op_read_block_cb (simfs.c:407)
==8700==by 0x2EC7F: ril_file_io_cb (sim.c:283)
==8700==by 0x20F03: handle_response (gril.c:386)
==8700==by 0x20F03: dispatch (gril.c:547)
==8700==by 0x20F03: new_bytes (gril.c:641)
==8700==by 0x21A37: received_data (grilio.c:125)
==8700==by 0x48D0E8F: g_main_dispatch (gmain.c:3122)
==8700==by 0x48D0E8F: g_main_context_dispatch (gmain.c:3737)
==8700==by 0x48D1113: g_main_context_iterate.isra.29 (gmain.c:3808)
==8700==by 0x48D13AF: g_main_loop_run (gmain.c:4002)
==8700==by 0x1D865: main (main.c:247)
==8700== 
==8700== 32 bytes in 2 blocks are definitely lost in loss record 101 of 172
==8700==at 0x483E358: malloc (vg_replace_malloc.c:296)
==8700==by 0x48D4CC1: g_malloc (gmem.c:97)
==8700==by 0x48E5CD1: g_strdup (gstrfuncs.c:356)
==8700==by 0xA120F: sim_imsi_obtained (sim.c:1442)
==8700==by 0x2E971: ril_imsi_cb (sim.c:559)
==8700==by 0x20F03: handle_response (gril.c:386)
==8700==by 0x20F03: dispatch (gril.c:547)
==8700==by 0x20F03: new_bytes (gril.c:641)
==8700==by 0x21A37: received_data (grilio.c:125)
==8700==by 0x48D0E8F: g_main_dispatch (gmain.c:3122)
==8700==by 0x48D0E8F: g_main_context_dispatch (gmain.c:3737)
==8700==by 0x48D1113: g_main_context_iterate.isra.29 (gmain.c:3808)
==8700==by 0x48D13AF: g_main_loop_run (gmain.c:4002)
==8700==by 0x1D865: main (main.c:247)

** Affects: ofono (Ubuntu)
 Importance: Undecided
 Status: New

-- 
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/1510131

Title:
  ofono leaks memory when reading SIM files

Status in ofono package in Ubuntu:
  New

Bug description:
  These leaks has been reported by valgrind (bq aquaris 4.5, 2 SIMs
  inserted) after ofono exits:

  ==8700== 2 bytes in 2 blocks are definitely lost in loss record 3 of 172
  ==8700==at 0x483E358: malloc (vg_replace_malloc.c:296)
  ==8700==by 0x48D4CC1: g_malloc (gmem.c:97)
  ==8700==by 0x48E5CF1: g_memdup (gstrfuncs.c:384)
  ==8700==by 0xA2129: sim_efest_read_cb (sim.c:1699)
  ==8700==by 0xB7DCB: sim_fs_op_read_block_cb (simfs.c:407)
  ==8700==by 0x2EC7F: ril_file_io_cb (sim.c:283)
  ==8700==by 0x20F03: handle_response (gril.c:386)
  ==8700==by 0x20F03: dispatch (gril.c:547)
  ==8700==by 0x20F03: new_bytes (gril.c:641)
  ==8700==by 0x21A37: received_data (grilio.c:125)
  ==8700==by 0x48D0E8F: g_main_dispatch (gmain.c:3122)
  ==8700==by 0x48D0E8F: g_main_context_dispatch (gmain.c:3737)
  ==8700==by 0x48D1113: g_main_context_iterate.isra.29 (gmain.c:3808)
  ==8700==by 0x48D13AF: