touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #101510
[Bug 1486004] Re: Cannot import contacts from sim card ( ofono crash )
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
Touch seeded packages, which is subscribed to address-book-app in
Ubuntu.
https://bugs.launchpad.net/bugs/1486004
Title:
Cannot import contacts from sim card ( ofono crash )
Status in Canonical System Image:
New
Status in address-book-app package in Ubuntu:
Incomplete
Status in ofono package in Ubuntu:
In Progress
Bug description:
I open a new bug as asked from this bug (last comment #14) :
https://bugs.launchpad.net/ubuntu/+source/address-book-
app/+bug/1331346?comments=all
I've got a meizu mx4 ubuntu phone, but i cannot import contacts from
the sim card, it makes some wierd messages but never stop, and no
contact is imported.
As asked in the previous bug repport, the /var/log/syslog file attached and the output :
Warning: Permanently added '[127.0.0.1]:10000' (RSA) to the list of known hosts.
Welcome to Ubuntu 15.04 (GNU/Linux 3.10.35+ armv7l)
* Documentation: https://help.ubuntu.com/
Last login: Mon Jul 20 17:05:07 2015 from localhost.localdomain
phablet@ubuntu-phablet:~$ /usr/share/ofono/scripts/test-phonebook /ril_0
Traceback (most recent call last):
File "/usr/share/ofono/scripts/test-phonebook", line 23, in <module>
print(phonebook.Import(timeout=100))
File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 70, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
**keywords)
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
phablet@ubuntu-phablet:~$ /usr/share/ofono/scripts/test-phonebook /ril_1
Traceback (most recent call last):
File "/usr/share/ofono/scripts/test-phonebook", line 23, in <module>
print(phonebook.Import(timeout=100))
File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 70, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
**keywords)
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownObject: Method "Import" with signature "" on interface "org.ofono.Phonebook" doesn't exist
phablet@ubuntu-phablet:~$
To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1486004/+subscriptions
References