Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to fix netmgrd crashes #1

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions rootdir/etc/init.qcom.rc
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ service qmuxd /system/bin/qmuxd

service netmgrd /system/bin/netmgrd
class main
group system wakelock

service sensord /system/bin/sensord
class main
Expand Down Expand Up @@ -370,3 +371,9 @@ service set_sn /system/bin/adjust_serialno setsn

on property:sys.sn_set=1
start set_sn

# This fixes broken data connection on netmgrd crash
on property:sys.boot_completed=1
restart ril-daemon
restart ril-daemon2
restart netmgrd
4 changes: 4 additions & 0 deletions sepolicy/rild.te
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
allow rild self:capability dac_override;

allow rild proc_net:file write;
allow rild system_app_data_file:dir search;