[Nexus 6  Original Android Development] digitalcircuit:
See next post for fix!

Ignore these instructions.

----

I've run into this same issue, and I think I've tracked it down to some SELinux denials for imsdatadaemon…

Workaround (unsafe!):

Enable root access for ADB and connect to your device, or open a Terminal on your device

Get root, disable SELinux enforcing

If not working in a minute, toggle WiFi calling off/on

shamu:/ $ su
shamu:/ # setenforce 0

NOTE: Re-enable SELinux with setenforce 1 when you are done testing/no longer need WiFi calling!

Debugging attempts so far:

I've looked into modifying android_device_moto_shamu-lineage-15.1/sepolicy/ims.te , adding the following, but I don't think this is adequate…

# Needed for imsdatadaemon
allow ims sysfs_esoc:dir r_dir_perms;
allow ims sysfs_esoc:file r_file_perms;

As of right now, I'm 21% into a fresh build of LOS 15.1, and other than making a change and booting the kernel, I'm not sure how best to proceed, especially with the other denials. Any assistance from [MENTION=3383960]Elektroschmock[/MENTION] would be helpful :)

Excerpts of denials:

[40645.969501] type=1404 audit(1564289850.087:8121): enforcing=0 old_enforcing=1 auid=4294967295 ses=4294967295
[40691.364761] type=1404 audit(1564289850.087:8121): enforcing=0 old_enforcing=1 auid=4294967295 ses=4294967295
[40691.364899] type=1400 audit(1564289895.484:8122): avc: denied { search } for pid=31839 comm="imsdatadaemon" name="esoc" dev="sysfs" ino=7634 scontext=u:r:ims:s0 tcontext=u:object_r:sysfs_esoc:s0 tclass=dir permissive=1
[40691.365792] type=1400 audit(1564289895.484:8122): avc: denied { search } for pid=31839 comm="imsdatadaemon" name="esoc" dev="sysfs" ino=7634 scontext=u:r:ims:s0 tcontext=u:object_r:sysfs_esoc:s0 tclass=dir permissive=1
[40691.365931] type=1400 audit(1564289895.484:8123): avc: denied { read } for pid=31839 comm="imsdatadaemon" name="devices" dev="sysfs" ino=7636 scontext=u:r:ims:s0 tcontext=u:object_r:sysfs_esoc:s0 tclass=dir permissive=1
[40691.366490] type=1400 audit(1564289895.484:8123): avc: denied { read } for pid=31839 comm="imsdatadaemon" name="devices" dev="sysfs" ino=7636 scontext=u:r:ims:s0 tcontext=u:object_r:sysfs_esoc:s0 tclass=dir permissive=1
[40691.366622] type=1400 audit(1564289895.484:8124): avc: denied { open } for pid=31839 comm="imsdatadaemon" path="/sys/bus/esoc/devices" dev="sysfs" ino=7636 scontext=u:r:ims:s0 tcontext=u:object_r:sysfs_esoc:s0 tclass=dir permissive=1
[40691.388244] type=1400 audit(1564289895.484:8124): avc: denied { open } for pid=31839 comm="imsdatadaemon" path="/sys/bus/esoc/devices" dev="sysfs" ino=7636 scontext=u:r:ims:s0 tcontext=u:object_r:sysfs_esoc:s0 tclass=dir permissive=1
[40691.388299] type=1400 audit(1564289895.484:8125): avc: denied { read } for pid=31839 comm="imsdatadaemon" name="esoc_name" dev="sysfs" ino=15867 scontext=u:r:ims:s0 tcontext=u:object_r:sysfs_esoc:s0 tclass=file permissive=1
[40691.388475] type=1400 audit(1564289895.484:8125): avc: denied { read } for pid=31839 comm="imsdatadaemon" name="esoc_name" dev="sysfs" ino=15867 scontext=u:r:ims:s0 tcontext=u:object_r:sysfs_esoc:s0 tclass=file permissive=1
[40691.388526] type=1400 audit(1564289895.484:8126): avc: denied { open } for pid=31839 comm="imsdatadaemon" path="/sys/devices/qcom,mdm0.73/esoc0/esoc_name" dev="sysfs" ino=15867 scontext=u:r:ims:s0 tcontext=u:object_r:sysfs_esoc:s0 tclass=file permissive=1
[40691.707793] type=1400 audit(1564289895.484:8126): avc: denied { open } for pid=31839 comm="imsdatadaemon" path="/sys/devices/qcom,mdm0.73/esoc0/esoc_name" dev="sysfs" ino=15867 scontext=u:r:ims:s0 tcontext=u:object_r:sysfs_esoc:s0 tclass=file permissive=1
[40691.707981] type=1400 audit(1564289895.827:8127): avc: denied { create } for pid=31839 comm="imsdatadaemon" scontext=u:r:ims:s0 tcontext=u:r:ims:s0 tclass=netlink_generic_socket permissive=1
[40691.708761] type=1400 audit(1564289895.827:8127): avc: denied { create } for pid=31839 comm="imsdatadaemon" scontext=u:r:ims:s0 tcontext=u:r:ims:s0 tclass=netlink_generic_socket permissive=1
[40691.708883] type=1400 audit(1564289895.827:8128): avc: denied { bind } for pid=31839 comm="imsdatadaemon" scontext=u:r:ims:s0 tcontext=u:r:ims:s0 tclass=netlink_generic_socket permissive=1
[40691.720891] type=1400 audit(1564289895.827:8128): avc: denied { bind } for pid=31839 comm="imsdatadaemon" scontext=u:r:ims:s0 tcontext=u:r:ims:s0 tclass=netlink_generic_socket permissive=1
[40691.721345] type=1400 audit(1564289895.830:8129): avc: denied { read } for pid=32414 comm="imsdatadaemon" name="stat" dev="proc" ino=1831626 scontext=u:r:ims:s0 tcontext=u:r:init:s0 tclass=file permissive=1
[40691.722569] type=1400 audit(1564289895.830:8129): avc: denied { read } for pid=32414 comm="imsdatadaemon" name="stat" dev="proc" ino=1831626 scontext=u:r:ims:s0 tcontext=u:r:init:s0 tclass=file permissive=1
[40691.722660] type=1400 audit(1564289895.830:8130): avc: denied { open } for pid=32414 comm="imsdatadaemon" path="/proc/1/stat" dev="proc" ino=1831626 scontext=u:r:ims:s0 tcontext=u:r:init:s0 tclass=file permissive=1
[40691.722937] type=1400 audit(1564289895.830:8130): avc: denied { open } for pid=32414 comm="imsdatadaemon" path="/proc/1/stat" dev="proc" ino=1831626 scontext=u:r:ims:s0 tcontext=u:r:init:s0 tclass=file permissive=1
[40691.723029] type=1400 audit(1564289895.834:8131): avc: denied { getattr } for pid=32414 comm="imsdatadaemon" path="/proc/1/stat" dev="proc" ino=1831626 scontext=u:r:ims:s0 tcontext=u:r:init:s0 tclass=file permissive=1
[40691.723310] type=1400 audit(1564289895.834:8131): avc: denied { getattr } for pid=32414 comm="imsdatadaemon" path="/proc/1/stat" dev="proc" ino=1831626 scontext=u:r:ims:s0 tcontext=u:r:init:s0 tclass=file permissive=1
[40691.723404] type=1400 audit(1564289895.834:8132): avc: denied { read } for pid=32414 comm="imsdatadaemon" name="stat" dev="proc" ino=1831627 scontext=u:r:ims:s0 tcontext=u:r:kernel:s0 tclass=file permissive=1
[40691.723680] type=1400 audit(1564289895.834:8132): avc: denied { read } for pid=32414 comm="imsdatadaemon" name="stat" dev="proc" ino=1831627 scontext=u:r:ims:s0 tcontext=u:r:kernel:s0 tclass=file permissive=1
[40691.723771] type=1400 audit(1564289895.834:8133): avc: denied { open } for pid=32414 comm="imsdatadaemon" path="/proc/2/stat" dev="proc" ino=1831627 scontext=u:r:ims:s0 tcontext=u:r:kernel:s0 tclass=file permissive=1
[40691.746801] audit: audit_lost=3538 audit_rate_limit=20 audit_backlog_limit=64
[40691.746846] audit: rate limit exceeded
[40691.758968] type=1400 audit(1564289895.834:8133): avc: denied { open } for pid=32414 comm="imsdatadaemon" path="/proc/2/stat" dev="proc" ino=1831627 scontext=u:r:ims:s0 tcontext=u:r:kernel:s0 tclass=file permissive=1
[40691.759048] type=1400 audit(1564289895.834:8134): avc: denied { getattr } for pid=32414 comm="imsdatadaemon" path="/proc/2/stat" dev="proc" ino=1831627 scontext=u:r:ims:s0 tcontext=u:r:kernel:s0 tclass=file permissive=1
[40691.759265] type=1400 audit(1564289895.834:8134): avc: denied { getattr } for pid=32414 comm="imsdatadaemon" path="/proc/2/stat" dev="proc" ino=1831627 scontext=u:r:ims:s0 tcontext=u:r:kernel:s0 tclass=file permissive=1
[40691.759337] type=1400 audit(1564289895.860:8135): avc: denied { read } for pid=32414 comm="imsdatadaemon" name="stat" dev="proc" ino=1831797 scontext=u:r:ims:s0 tcontext=u:r:ueventd:s0 tclass=file permissive=1
[40691.759547] type=1400 audit(1564289895.860:8135): avc: denied { read } for pid=32414 comm="imsdatadaemon" name="stat" dev="proc" ino=1831797 scontext=u:r:ims:s0 tcontext=u:r:ueventd:s0 tclass=file permissive=1
[40691.759615] type=1400 audit(1564289895.860:8136): avc: denied { open } for pid=32414 comm="imsdatadaemon" path="/proc/238/stat" dev="proc" ino=1831797 scontext=u:r:ims:s0 tcontext=u:r:ueventd:s0 tclass=file permissive=1
[40691.759832] type=1400 audit(1564289895.860:8136): avc: denied { open } for pid=32414 comm="imsdatadaemon" path="/proc/238/stat" dev="proc" ino=1831797 scontext=u:r:ims:s0 tcontext=u:r:ueventd:s0 tclass=file permissive=1
[40691.759905] type=1400 audit(1564289895.860:8137): avc: denied { getattr } for pid=32414 comm="imsdatadaemon" path="/proc/238/stat" dev="proc" ino=1831797 scontext=u:r:ims:s0 tcontext=u:r:ueventd:s0 tclass=file permissive=1
[40691.760153] type=1400 audit(1564289895.860:8137): avc: denied { getattr } for pid=32414 comm="imsdatadaemon" path="/proc/238/stat" dev="proc" ino=1831797 scontext=u:r:ims:s0 tcontext=u:r:ueventd:s0 tclass=file permissive=1
[40691.760230] type=1400 audit(1564289895.860:8138): avc: denied { read } for pid=32414 comm="imsdatadaemon" name="stat" dev="proc" ino=1831798 scontext=u:r:ims:s0 tcontext=u:r:servicemanager:s0 tclass=file permissive=1
[40691.760441] type=1400 audit(1564289895.860:8138): avc: denied { read } for pid=32414 comm="imsdatadaemon" name="stat" dev="proc" ino=1831798 scontext=u:r:ims:s0 tcontext=u:r:servicemanager:s0 tclass=file permissive=1
[40691.761372] type=1400 audit(1564289895.860:8139): avc: denied { open } for pid=32414 comm="imsdatadaemon" path="/proc/243/stat" dev="proc" ino=1831798 scontext=u:r:ims:s0 tcontext=u:r:servicemanager:s0 tclass=file permissive=1
[40691.763655] type=1400 audit(1564289895.860:8139): avc: denied { open } for pid=32414 comm="imsdatadaemon" path="/proc/243/stat" dev="proc" ino=1831798 scontext=u:r:ims:s0 tcontext=u:r:servicemanager:s0 tclass=file permissive=1
[40691.763725] type=1400 audit(1564289895.860:8140): avc: denied { getattr } for pid=32414 comm="imsdatadaemon" path="/proc/243/stat" dev="proc" ino=1831798 scontext=u:r:ims:s0 tcontext=u:r:servicemanager:s0 tclass=file permissive=1
[40691.764032] type=1400 audit(1564289895.860:8140): avc: denied { getattr } for pid=32414 comm="imsdatadaemon" path="/proc/243/stat" dev="proc" ino=1831798 scontext=u:r:ims:s0 tcontext=u:r:servicemanager:s0 tclass=file permissive=1
[40691.764100] type=1400 audit(1564289895.860:8141): avc: denied { read } for pid=32414 comm="imsdatadaemon" name="stat" dev="proc" ino=1831799 scontext=u:r:ims:s0 tcontext=u:r:hwservicemanager:s0 tclass=file permissive=1
[40691.764265] type=1400 audit(1564289895.860:8141): avc: denied { read } for pid=32414 comm="imsdatadaemon" name="stat" dev="proc" ino=1831799 scontext=u:r:ims:s0 tcontext=u:r:hwservicemanager:s0 tclass=file permissive=1
[40691.764329] type=1400 audit(1564289895.860:8142): avc: denied { open } for pid=32414 comm="imsdatadaemon" path="/proc/244/stat" dev="proc" ino=1831799 scontext=u:r:ims:s0 tcontext=u:r:hwservicemanager:s0 tclass=file permissive=1
[40691.764500] type=1400 audit(1564289895.860:8142): avc: denied { open } for pid=32414 comm="imsdatadaemon" path="/proc/244/stat" dev="proc" ino=1831799 scontext=u:r:ims:s0 tcontext=u:r:hwservicemanager:s0 tclass=file permissive=1
[40691.764565] type=1400 audit(1564289895.864:8143): avc: denied { getattr } for pid=32414 comm="imsdatadaemon" path="/proc/244/stat" dev="proc" ino=1831799 scontext=u:r:ims:s0 tcontext=u:r:hwservicemanager:s0 tclass=file permissive=1
[40691.764748] type=1400 audit(1564289895.864:8143): avc: denied { getattr } for pid=32414 comm="imsdatadaemon" path="/proc/244/stat" dev="proc" ino=1831799 scontext=u:r:ims:s0 tcontext=u:r:hwservicemanager:s0 tclass=file permissive=1
[40691.764814] type=1400 audit(1564289895.864:8144): avc: denied { read } for pid=32414 comm="imsdatadaemon" name="stat" dev="proc" ino=1831800 scontext=u:r:ims:s0 tcontext=u:r:vndservicemanager:s0 tclass=file permissive=1
[40691.764984] type=1400 audit(1564289895.864:8144): avc: denied { read } for pid=32414 comm="imsdatadaemon" name="stat" dev="proc" ino=1831800 scontext=u:r:ims:s0 tcontext=u:r:vndservicemanager:s0 tclass=file permissive=1
[40691.765048] type=1400 audit(1564289895.864:8145): avc: denied { open } for pid=32414 comm="imsdatadaemon" path="/proc/245/stat" dev="proc" ino=1831800 scontext=u:r:ims:s0 tcontext=u:r:vndservicemanager:s0 tclass=file permissive=1
[40691.765218] type=1400 audit(1564289895.864:8145): avc: denied { open } for pid=32414 comm="imsdatadaemon" path="/proc/245/stat" dev="proc" ino=1831800 scontext=u:r:ims:s0 tcontext=u:r:vndservicemanager:s0 tclass=file permissive=1
[40691.765285] type=1400 audit(1564289895.864:8146): avc: denied { getattr } for pid=32414 comm="imsdatadaemon" path="/proc/245/stat" dev="proc" ino=1831800 scontext=u:r:ims:s0 tcontext=u:r:vndservicemanager:s0 tclass=file permissive=1
[40691.765462] type=1400 audit(1564289895.864:8146): avc: denied { getattr } for pid=32414 comm="imsdatadaemon" path="/proc/245/stat" dev="proc" ino=1831800 scontext=u:r:ims:s0 tcontext=u:r:vndservicemanager:s0 tclass=file permissive=1
[40691.765528] type=1400 audit(1564289895.864:8147): avc: denied { read } for pid=32414 comm="imsdatadaemon" name="stat" dev="proc" ino=1831801 scontext=u:r:ims:s0 tcontext=u:r:tee:s0 tclass=file permissive=1
[40691.765696] type=1400 audit(1564289895.864:8147): avc: denied { read } for pid=32414 comm="imsdatadaemon" name="stat" dev="proc" ino=1831801 scontext=u:r:ims:s0 tcontext=u:r:tee:s0 tclass=file permissive=1
[40691.765758] type=1400 audit(1564289895.864:8148): avc: denied { open } for pid=32414 comm="imsdatadaemon" path="/proc/246/stat" dev="proc" ino=1831801 scontext=u:r:ims:s0 tcontext=u:r:tee:s0 tclass=file permissive=1
[40691.765930] type=1400 audit(1564289895.864:8148): avc: denied { open } for pid=32414 comm="imsdatadaemon" path="/proc/246/stat" dev="proc" ino=1831801 scontext=u:r:ims:s0 tcontext=u:r:tee:s0 tclass=file permissive=1
[40691.765993] type=1400 audit(1564289895.864:8149): avc: denied { getattr } for pid=32414 comm="imsdatadaemon" path="/proc/246/stat" dev="proc" ino=1831801 scontext=u:r:ims:s0 tcontext=u:r:tee:s0 tclass=file permissive=1
[40691.766165] type=1400 audit(1564289895.864:8149): avc: denied { getattr } for pid=32414 comm="imsdatadaemon" path="/proc/246/stat" dev="proc" ino=1831801 scontext=u:r:ims:s0 tcontext=u:r:tee:s0 tclass=file permissive=1
[40691.766228] type=1400 audit(1564289895.864:8150): avc: denied { read } for pid=32414 comm="imsdatadaemon" name="stat" dev="proc" ino=1831809 scontext=u:r:ims:s0 tcontext=u:r:logd:s0 tclass=file permissive=1
[40691.766392] type=1400 audit(1564289895.864:8150): avc: denied { read } for pid=32414 comm="imsdatadaemon" name="stat" dev="proc" ino=1831809 scontext=u:r:ims:s0 tcontext=u:r:logd:s0 tclass=file permissive=1
[40691.766454] type=1400 audit(1564289895.864:8151): avc: denied { open } for pid=32414 comm="imsdatadaemon" path="/proc/262/stat" dev="proc" ino=1831809 scontext=u:r:ims:s0 tcontext=u:r:logd:s0 tclass=file permissive=1
[40691.766622] type=1400 audit(1564289895.864:8151): avc: denied { open } for pid=32414 comm="imsdatadaemon" path="/proc/262/stat" dev="proc" ino=1831809 scontext=u:r:ims:s0 tcontext=u:r:logd:s0 tclass=file permissive=1
[40691.766685] type=1400 audit(1564289895.864:8152): avc: denied { getattr } for pid=32414 comm="imsdatadaemon" path="/proc/262/stat" dev="proc" ino=1831809 scontext=u:r:ims:s0 tcontext=u:r:logd:s0 tclass=file permissive=1
[40691.766851] type=1400 audit(1564289895.864:8152): avc: denied { getattr } for pid=32414 comm="imsdatadaemon" path="/proc/262/stat" dev="proc" ino=1831809 scontext=u:r:ims:s0 tcontext=u:r:logd:s0 tclass=file permissive=1
[40691.766917] type=1400 audit(1564289895.864:8153): avc: denied { read } for pid=32414 comm="imsdatadaemon" name="stat" dev="proc" ino=1831810 scontext=u:r:ims:s0 tcontext=u:r:hal_keymaster_default:s0 tclass=file permissive=1
[40691.767110] type=1400 audit(1564289895.864:8153): avc: denied { read } for pid=32414 comm="imsdatadaemon" name="stat" dev="proc" ino=1831810 scontext=u:r:ims:s0 tcontext=u:r:hal_keymaster_default:s0 tclass=file permissive=1
[40691.767689] type=1400 audit(1564289895.864:8154): avc: denied { open } for pid=32414 comm="imsdatadaemon" path="/proc/264/stat" dev="proc" ino=1831810 scontext=u:r:ims:s0 tcontext=u:r:hal_keymaster_default:s0 tclass=file permissive=1
[40691.767877] type=1400 audit(1564289895.864:8154): avc: denied { open } for pid=32414 comm="imsdatadaemon" path="/proc/264/stat" dev="proc" ino=1831810 scontext=u:r:ims:s0 tcontext=u:r:hal_keymaster_default:s0 tclass=file permissive=1
[40691.767945] type=1400 audit(1564289895.864:8155): avc: denied { getattr } for pid=32414 comm="imsdatadaemon" path="/proc/264/stat" dev="proc" ino=1831810 scontext=u:r:ims:s0 tcontext=u:r:hal_keymaster_default:s0 tclass=file permissive=1
[40691.768122] type=1400 audit(1564289895.864:8155): avc: denied { getattr } for pid=32414 comm="imsdatadaemon" path="/proc/264/stat" dev="proc" ino=1831810 scontext=u:r:ims:s0 tcontext=u:r:hal_keymaster_default:s0 tclass=file permissive=1
[40691.768189] type=1400 audit(1564289895.864:8156): avc: denied { read } for pid=32414 comm="imsdatadaemon" name="stat" dev="proc" ino=1831811 scontext=u:r:ims:s0 tcontext=u:r:surfaceflinger:s0 tclass=file permissive=1
[40691.768358] type=1400 audit(1564289895.864:8156): avc: denied { read } for pid=32414 comm="imsdatadaemon" name="stat" dev="proc" ino=1831811 scontext=u:r:ims:s0 tcontext=u:r:surfaceflinger:s0 tclass=file permissive=1
[40691.768422] type=1400 audit(1564289895.864:8157): avc: denied { open } for pid=32414 comm="imsdatadaemon" path="/proc/265/stat" dev="proc" ino=1831811 scontext=u:r:ims:s0 tcontext=u:r:surfaceflinger:s0 tclass=file permissive=1
[40691.768593] type=1400 audit(1564289895.864:8157): avc: denied { open } for pid=32414 comm="imsdatadaemon" path="/proc/265/stat" dev="proc" ino=1831811 scontext=u:r:ims:s0 tcontext=u:r:surfaceflinger:s0 tclass=file permissive=1
[40691.768659] type=1400 audit(1564289895.864:8158): avc: denied { getattr } for pid=32414 comm="imsdatadaemon" path="/proc/265/stat" dev="proc" ino=1831811 scontext=u:r:ims:s0 tcontext=u:r:surfaceflinger:s0 tclass=file permissive=1
[40691.768831] type=1400 audit(1564289895.864:8158): avc: denied { getattr } for pid=32414 comm="imsdatadaemon" path="/proc/265/stat" dev="proc" ino=1831811 scontext=u:r:ims:s0 tcontext=u:r:surfaceflinger:s0 tclass=file permissive=1
[40691.768897] type=1400 audit(1564289895.864:8159): avc: denied { read } for pid=32414 comm="imsdatadaemon" name="stat" dev="proc" ino=1831812 scontext=u:r:ims:s0 tcontext=u:r:hal_configstore_default:s0 tclass=file permissive=1
[40692.208104] selinux: avc: received setenforce notice (enforcing=0)
[40692.208104]
[40694.388332] type=1400 audit(1564289895.864:8159): avc: denied { read } for pid=32414 comm="imsdatadaemon" name="stat" dev="proc" ino=1831812 scontext=u:r:ims:s0 tcontext=u:r:hal_configstore_default:s0 tclass=file permissive=1