forget previous result, I tried again (sorry):
>>1. adb into the phone >>2. become root ( sudo -i ) >>3. Run the command 'stop ofono' >>4. Run the command 'script ofono.out' >>5. Run the attached script, this will run ofono in the foreground and output >>a bunch of debug output >>6. Re-run the 'test-phonebook' script ( >>/usr/share/ofono/scripts/test-phonebook ) >>7. Ctrl-C to terminate ofono >>8. Ctrl-D to stop the script command >>9. Grab the ofono.out command from the phone and attach to this bug please In the first terminal : root@ubuntu-phablet:~# cd /home/phablet/Documents/ root@ubuntu-phablet:/home/phablet/Documents# stop ofono stop: Unknown instance: root@ubuntu-phablet:/home/phablet/Documents# script ofono.out Script started, file is ofono.out root@ubuntu-phablet:/home/phablet/Documents# ./debug-ofono.sh Script started, file is ofonod.out ----->here i used the second terminal root@ubuntu-phablet:/home/phablet/Documents# ^C root@ubuntu-phablet:/home/phablet/Documents# exit Script done, file is ofonod.out ofonod[9934]: oFono version 1.12 ofonod[9934]: Excluding udev hardware detection ofonod[9934]: Excluding Sim Access Profile Plugins ofonod[9934]: Excluding Hands-Free Profile Plugins ofonod[9934]: Excluding Provisioning Plugin ofonod[9934]: src/phonebook.c:ofono_phonebook_driver_register() driver: 0xfe74c, name: atmodem ofonod[9934]: src/phonebook.c:ofono_phonebook_driver_register() driver: 0xfdca0, name: isimodem ofonod[9934]: src/phonebook.c:ofono_phonebook_driver_register() driver: 0xfdc28, name: rilmodem ofonod[9934]: RILDEV detected modem type mtk, 1 SIM slot(s) ofonod[9934]: radio_state_changed, /dev/socket/rild, state: SIM_READY ofonod[9934]: Physical slot 0 in socket /dev/socket/rild ofonod[9934]: [slot 0] CONNECTED ofonod[9934]: SMS History Probe for modem: 0x716848 ofonod[9934]: Network time: Registered inteface org.ofono.NetworkTime, path /ril_0 ofonod[9934]: mtk_radio_state_changed, slot 0: state: SIM_NOT_READY md->ofono_online: 1 ofonod[9934]: mtk_radio_state_changed, slot 0: state: SIM_READY md->ofono_online: 1 ofonod[9934]: Requested file structure differs from SIM: 6fb7 ofonod[9934]: Registered handle for channel 13: 0x1000f ofonod[9934]: Registered handle for channel 1: 0x10010 and the output of the second terminal root@ubuntu-phablet:/home/phablet/Documents# /usr/share/ofono/scripts/test-phonebook Traceback (most recent call last): File "/usr/lib/python3/dist-packages/dbus/bus.py", line 175, in activate_name_owner return self.get_name_owner(bus_name) File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner 's', (bus_name,), **keywords) File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.ofono': no such name During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/ofono/scripts/test-phonebook", line 11, in <module> manager = dbus.Interface(bus.get_object('org.ofono', '/'), File "/usr/lib/python3/dist-packages/dbus/bus.py", line 241, in get_object follow_name_owner_changes=follow_name_owner_changes) File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 248, in __init__ self._named_service = conn.activate_name_owner(bus_name) File "/usr/lib/python3/dist-packages/dbus/bus.py", line 180, in activate_name_owner self.start_service_by_name(bus_name) File "/usr/lib/python3/dist-packages/dbus/bus.py", line 278, in start_service_by_name 'su', (bus_name, flags))) File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided by any .service files and attached files : cf. targz ** Attachment added: "varcrashfiles.tar.gz" https://bugs.launchpad.net/ubuntu/+source/address-book-app/+bug/1486004/+attachment/4448939/+files/varcrashfiles.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/1486004 Title: Cannot import contacts from sim card Status in address-book-app package in Ubuntu: New Status in ofono package in Ubuntu: Incomplete 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/ubuntu/+source/address-book-app/+bug/1486004/+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