Last active
December 9, 2022 16:33
-
-
Save lduboeuf/3ea0c743674b1c81a1d29751030f4908 to your computer and use it in GitHub Desktop.
ofono debug logs Ubuntu Touch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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