init: add some commands to silence gps problems
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
on boot
|
||||
# More aggressive swappiness should be good.
|
||||
write /proc/sys/vm/swappiness 100
|
||||
# For GNSS (GPS)
|
||||
chown system system /dev/subsys_modem
|
||||
chmod 0660 /dev/subsys_modem
|
||||
mkdir /data/misc/location 0770 gps system
|
||||
mkdir /data/misc/location/xtra 0770 gps system
|
||||
mkdir /data/misc/location/gpsone_d 0770 gps system
|
||||
restorecon_recursive /data/misc/location
|
||||
|
||||
|
||||
Reference in New Issue
Block a user