land: Cleanup ramdisk
* Remove FOTA. * Remove NFC. * Make fpc dirs. * Disable CPUSET. * Attempt to fix FPC & GDX. Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
This commit is contained in:
parent
56b3b2fedd
commit
4eeea3ebb2
1 changed files with 22 additions and 22 deletions
|
@ -156,10 +156,6 @@ on post-fs-data
|
||||||
mkdir /data/shared 0755
|
mkdir /data/shared 0755
|
||||||
chown system system /data/shared
|
chown system system /data/shared
|
||||||
|
|
||||||
#Create directory for FOTA
|
|
||||||
mkdir /data/fota 0771
|
|
||||||
chown system system /data/fota
|
|
||||||
|
|
||||||
#Create directory for hostapd
|
#Create directory for hostapd
|
||||||
mkdir /data/hostapd 0770 system wifi
|
mkdir /data/hostapd 0770 system wifi
|
||||||
|
|
||||||
|
@ -193,10 +189,6 @@ on post-fs-data
|
||||||
mkdir /data/system/perfd 0770 root system
|
mkdir /data/system/perfd 0770 root system
|
||||||
chmod 2770 /data/system/perfd
|
chmod 2770 /data/system/perfd
|
||||||
|
|
||||||
# NFC local data and nfcee xml storage
|
|
||||||
mkdir /data/nfc 0770 nfc nfc
|
|
||||||
mkdir /data/nfc/param 0770 nfc nfc
|
|
||||||
|
|
||||||
#Create IOP deamon related dirs
|
#Create IOP deamon related dirs
|
||||||
mkdir /data/misc/iop 0770 root system
|
mkdir /data/misc/iop 0770 root system
|
||||||
|
|
||||||
|
@ -221,6 +213,10 @@ on post-fs-data
|
||||||
mkdir /data/misc/qti-logkit/socket-public/ 2750 system qcom_diag
|
mkdir /data/misc/qti-logkit/socket-public/ 2750 system qcom_diag
|
||||||
mkdir /data/misc/qti-logkit/logdata/ 2750 system shell
|
mkdir /data/misc/qti-logkit/logdata/ 2750 system shell
|
||||||
|
|
||||||
|
# Fingerprint
|
||||||
|
mkdir /data/fpc 0770 system system
|
||||||
|
mkdir /data/fpc/s 0770 system system
|
||||||
|
|
||||||
# Sensors
|
# Sensors
|
||||||
chmod 0775 /persist/sensors
|
chmod 0775 /persist/sensors
|
||||||
chmod 0664 /persist/sensors/sensors_settings
|
chmod 0664 /persist/sensors/sensors_settings
|
||||||
|
@ -588,24 +584,24 @@ service qmuxd /system/bin/qmuxd
|
||||||
class main
|
class main
|
||||||
user root
|
user root
|
||||||
group radio audio bluetooth gps nfc qcom_diag wakelock
|
group radio audio bluetooth gps nfc qcom_diag wakelock
|
||||||
writepid /dev/cpuset/system-background/tasks
|
# writepid /dev/cpuset/system-background/tasks
|
||||||
|
|
||||||
service netmgrd /system/bin/netmgrd
|
service netmgrd /system/bin/netmgrd
|
||||||
class main
|
class main
|
||||||
group system wakelock
|
group system wakelock
|
||||||
writepid /dev/cpuset/system-background/tasks
|
# writepid /dev/cpuset/system-background/tasks
|
||||||
|
|
||||||
service qti /system/vendor/bin/qti
|
service qti /system/vendor/bin/qti
|
||||||
class main
|
class main
|
||||||
user radio
|
user radio
|
||||||
group radio net_raw qcom_diag usb net_admin
|
group radio net_raw qcom_diag usb net_admin
|
||||||
writepid /dev/cpuset/system-background/tasks
|
# writepid /dev/cpuset/system-background/tasks
|
||||||
|
|
||||||
service sensors /system/bin/sensors.qcom
|
service sensors /system/bin/sensors.qcom
|
||||||
class core
|
class core
|
||||||
user root
|
user root
|
||||||
group root
|
group root
|
||||||
writepid /dev/cpuset/system-background/tasks
|
# writepid /dev/cpuset/system-background/tasks
|
||||||
|
|
||||||
# Adjust socket buffer to enlarge TCP receive window for high bandwidth (e.g. DO-RevB)
|
# Adjust socket buffer to enlarge TCP receive window for high bandwidth (e.g. DO-RevB)
|
||||||
# but only if ro.data.large_tcp_window_size property is set.
|
# but only if ro.data.large_tcp_window_size property is set.
|
||||||
|
@ -781,7 +777,7 @@ service msm_irqbalance /system/bin/msm_irqbalance -f /system/vendor/etc/msm_irqb
|
||||||
class late_start
|
class late_start
|
||||||
user root
|
user root
|
||||||
group root
|
group root
|
||||||
writepid /dev/cpuset/system-background/tasks
|
# writepid /dev/cpuset/system-background/tasks
|
||||||
|
|
||||||
service wfdservice /system/bin/wfdservice
|
service wfdservice /system/bin/wfdservice
|
||||||
class main
|
class main
|
||||||
|
@ -824,20 +820,24 @@ service fingerprintd /system/bin/fingerprintd
|
||||||
group system sdcard_rw
|
group system sdcard_rw
|
||||||
disabled
|
disabled
|
||||||
|
|
||||||
|
on property:ro.boot.fpsensor=fpc
|
||||||
|
setprop persist.sys.fp.goodix 0
|
||||||
|
setprop ro.hardware.fingerprint fpc
|
||||||
|
|
||||||
|
on property:ro.boot.fpsensor=gdx
|
||||||
|
setprop persist.sys.fp.goodix 1
|
||||||
|
setprop ro.hardware.fingerprint gdx
|
||||||
|
|
||||||
service gx_fpd /system/bin/gx_fpd
|
service gx_fpd /system/bin/gx_fpd
|
||||||
class core
|
class core
|
||||||
user root
|
user root
|
||||||
group system system
|
group system system
|
||||||
disabled
|
disabled
|
||||||
|
on property:persist.sys.fp.goodix=0
|
||||||
on property:persist.sys.fp.vendor=switchf
|
|
||||||
stop gx_fpd
|
stop gx_fpd
|
||||||
setprop persist.sys.fp.vendor searchf
|
|
||||||
start fingerprintd
|
|
||||||
setprop ro.boot.fpsensor fpc
|
|
||||||
|
|
||||||
on property:persist.sys.fp.vendor=goodix
|
on property:persist.sys.fp.goodix=1
|
||||||
setprop ro.boot.fpsensor gdx
|
start gx_fpd
|
||||||
|
|
||||||
on property:persist.sys.fp.onstart=1
|
on property:persist.sys.fp.onstart=1
|
||||||
start fingerprintd
|
start fingerprintd
|
||||||
|
@ -847,7 +847,7 @@ service qcamerasvr /system/bin/mm-qcamera-daemon
|
||||||
class late_start
|
class late_start
|
||||||
user camera
|
user camera
|
||||||
group camera system inet input graphics
|
group camera system inet input graphics
|
||||||
writepid /dev/cpuset/system-background/tasks
|
# writepid /dev/cpuset/system-background/tasks
|
||||||
|
|
||||||
# Allow usb charging to be disabled peristently
|
# Allow usb charging to be disabled peristently
|
||||||
on property:persist.usb.chgdisabled=1
|
on property:persist.usb.chgdisabled=1
|
||||||
|
@ -867,7 +867,7 @@ service perfd /system/vendor/bin/perfd
|
||||||
group root readproc
|
group root readproc
|
||||||
socket perfd seqpacket 0666 root system
|
socket perfd seqpacket 0666 root system
|
||||||
disabled
|
disabled
|
||||||
writepid /dev/cpuset/system-background/tasks
|
# writepid /dev/cpuset/system-background/tasks
|
||||||
|
|
||||||
service thermal-engine /system/vendor/bin/thermal-engine
|
service thermal-engine /system/vendor/bin/thermal-engine
|
||||||
class main
|
class main
|
||||||
|
|
Loading…
Reference in a new issue