Fix reboot after 120 seconds on WLAN tethering enable.
Fix "target device is connected but no internet" issue.
Move ipacm-related sections from rootdir/etc/init.qcom.rc to data-ipa-cfg-mgr/ipacm/src/ipacm.rc
Make ipacm.rc look like vendor/qcom/opensource/data-ipa-cfg-mgr/ipacm/src/ipacm.rc but add
writepid /dev/cpuset/system-background/tasks to the service definition.
This let ipacm start after data decryption (it got killed on data decrypt and not respawned,
because was disabled).
This fixes following errors:
04-01 14:35:57.525 591 17586 W libc : Unable to set property "ctl.interface_start" to "android.hardware.tetheroffload.config@1.0::IOffloadConfig/default": error code: 0x20
04-01 14:35:57.526 2665 3190 I ServiceManagement: getService: Trying again for android.hardware.tetheroffload.config@1.0::IOffloadConfig/default...
04-01 14:35:57.526 591 17586 E hwservicemanager: Failed to set property for starting android.hardware.tetheroffload.config@1.0::IOffloadConfig/default
Set wifi.active.interface context to exported_wifi_prop and allow hal_wifi_default to set it.
I don't know why context definition was not embedded to the contexts file, but now it is.
This fixes following errors:
[163263.846522] selinux: avc: denied { set } for property=wifi.active.interface pid=2733 uid=1010 gid=1010 scontext=u:r:hal_wifi_default:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0
Signed-off-by: TheSync <repo-sync@outlook.com>
41 lines
1.9 KiB
Plaintext
41 lines
1.9 KiB
Plaintext
vendor.ril. u:object_r:vendor_radio_prop:s0
|
|
vendor.rmnet_vnd.rps_mask u:object_r:vendor_usb_prop:s0
|
|
|
|
ro.boot.adb_early u:object_r:moto_boot_prop:s0
|
|
ro.boot.secure_hardware u:object_r:moto_boot_prop:s0
|
|
ro.boot.radio u:object_r:moto_boot_prop:s0
|
|
ro.boot.device u:object_r:moto_boot_prop:s0
|
|
ro.boot.dualsim u:object_r:moto_boot_prop:s0
|
|
ro.boot.hardware.sku u:object_r:moto_boot_prop:s0
|
|
ro.boot.carrier u:object_r:moto_boot_prop:s0
|
|
ro.boot.cid u:object_r:moto_boot_prop:s0
|
|
ro.boot.fsg-id u:object_r:moto_boot_prop:s0
|
|
ro.boot.hwrev u:object_r:moto_boot_prop:s0
|
|
ro.boot.powerup_reason u:object_r:moto_boot_prop:s0
|
|
ro.boot.bl_state u:object_r:moto_boot_prop:s0
|
|
ro.boot.revision u:object_r:moto_boot_prop:s0
|
|
ro.vendor.hw.dualsim u:object_r:moto_boot_prop:s0
|
|
ro.vendor.hw.device u:object_r:moto_boot_prop:s0
|
|
ro.vendor.hw.radio u:object_r:moto_boot_prop:s0
|
|
ro.vendor.hw.revision u:object_r:moto_boot_prop:s0
|
|
ro.vendor.boot.radio u:object_r:moto_boot_prop:s0
|
|
ro.vendor.bootreason u:object_r:moto_boot_prop:s0
|
|
ro.vendor.boot.powerup_reason u:object_r:moto_boot_prop:s0
|
|
ro.vendor.boot.bl_state u:object_r:moto_boot_prop:s0
|
|
ro.vendor.boot.serialno u:object_r:moto_boot_prop:s0
|
|
ro.vendor.carrier u:object_r:moto_boot_prop:s0
|
|
ro.vendor.boot.cid u:object_r:moto_boot_prop:s0
|
|
ro.vendor.fsg-id u:object_r:moto_boot_prop:s0
|
|
ro.vendor.zygote u:object_r:moto_boot_prop:s0
|
|
vendor.boot_completed u:object_r:moto_boot_prop:s0
|
|
|
|
ro.vendor.hw.hwrev u:object_r:hwrev_prop:s0
|
|
ro.vendor.boot.hwrev u:object_r:hwrev_prop:s0
|
|
|
|
ro.vendor.fm. u:object_r:vendor_fm_prop:s0
|
|
|
|
persist.vendor.camera. u:object_r:camera_prop:s0
|
|
persist.vendor.dolby.loglevel u:object_r:vendor_dolby_loglevel_prop:s0
|
|
|
|
wifi.active.interface u:object_r:exported_wifi_prop:s0
|