diff --git a/config.fs b/config.fs index 93cac61..3442fee 100644 --- a/config.fs +++ b/config.fs @@ -64,6 +64,12 @@ user: AID_GPS group: AID_GPS caps: NET_BIND_SERVICE +[vendor/bin/loc_launcher] +mode: 0755 +user: AID_GPS +group: AID_GPS +caps: SETUID SETGID + [vendor/bin/xtwifi-client] mode: 0755 user: AID_GPS diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 61e994c..9d4f9f2 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -807,9 +807,9 @@ service dhcpcd_bnep4 /system/bin/dhcpcd -BKLG oneshot service vendor.loc_launcher /vendor/bin/loc_launcher - #loc_launcher will start as root and set its uid to gps class late_start - group gps inet oem_2950 wifi + user gps + group gps writepid /dev/cpuset/system-background/tasks service vendor.msm_irqbalance /vendor/bin/msm_irqbalance -f /vendor/etc/msm_irqbalance.conf