I had been working on bug #1492388, and then I came across this bug,
which seems to be the same :-)

The crash seems to happens when a record in EFpbr does not contain any
files types to read. This branch should fix the issue:

https://github.com/rilmodem/ofono/pull/201

I have attached a binary ofonod in case somebody wants to give it a try.
To use it, download and follow these instructions:

$ adb push ofonod /tmp/
$ adb shell
$ sudo su
# stop ofono
# chmod +x /tmp/ofonod

Then, execute as follows:

For BQ phones
# OFONO_RIL_DEVICE=mtk OFONO_RIL_NUM_SIM_SLOTS=2 /tmp/ofonod -nd -P 
stktest,provision,sap,udev,dun,smart,hfp

For MX4:
# OFONO_RIL_DEVICE=mtk /tmp/ofonod -nd -P 
stktest,provision,sap,udev,dun,smart,hfp

For mako:
# /tmp/ofonod -nd -P stktest,provision,sap,udev,dun,smart,hfp

Finally try to import your contacts from the contacts-app. Please attach
the output of ofonod execution if that does still not work. As a bonus,
if importing worked you will not need to wait for the next OTA with the
proper fix, as you will already have the contacts imported.

** Attachment added: "ofonod"
   
https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1486004/+attachment/4460388/+files/ofonod

** Changed in: ofono (Ubuntu)
     Assignee: (unassigned) => Alfonso Sanchez-Beato (alfonsosanchezbeato)

** Changed in: ofono (Ubuntu)
       Status: Confirmed => In Progress

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

Title:
  Cannot import contacts from sim card ( ofono crash )

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to