Skip to content

Instantly share code, notes, and snippets.

@lduboeuf
Last active December 9, 2022 16:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lduboeuf/3ea0c743674b1c81a1d29751030f4908 to your computer and use it in GitHub Desktop.
Save lduboeuf/3ea0c743674b1c81a1d29751030f4908 to your computer and use it in GitHub Desktop.
ofono debug logs Ubuntu Touch
[XENIAL]
debug ofono:
sudo mount -o remount,rw /
sudo service ofono stop
Add `-d *` to the exec line in /etc/init/ofono.override => `exec ofonod -d *`
sudo service ofono start
It logs to `syslog`
If not possible to edit `ofono.override`,
Drop the files /userdata/.writable_image and /userdata/.writable_device_image
Or create them if they not exist
Reboot
in realtime:
sudo service ofono stop
sudo OFONO_RIL_DEVICE=ril OFONO_RIL_NUM_SIM_SLOTS=1 OFONO_RIL_TRACE=y ofonod -d -n *
[FOCAL]
add "-d" to the ExecStart command in /usr/lib/systemd/system/ofono.service.d/lxc-android-config.conf
Realtime:
/usr/sbin/ofonod -d -P stktest,provision,sap,udev,dun,smart,hfp --nodetach
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment