klte-common: clean up the code
Change-Id: Idd8456427cf4c9fe5c5a51a34976af6161c6e0cd (cherry picked from commit 34627da49947eaea94cb00d4784dba21172a93a3)
This commit is contained in:
parent
8f8ac4a6c3
commit
13778e2014
2 changed files with 25 additions and 24 deletions
|
@ -17,8 +17,8 @@
|
|||
/dev/block/platform/msm_sdcc.1/by-name/boot /boot emmc defaults recoveryonly
|
||||
/dev/block/platform/msm_sdcc.1/by-name/recovery /recovery emmc defaults recoveryonly
|
||||
|
||||
/devices/msm_sdcc.3/mmc_host/mmc2* auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata
|
||||
/devices/msm_sdcc.3/mmc_host/mmc* auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata
|
||||
|
||||
/dev/block/zram0 none swap defaults zramsize=25%,zramstreams=4,swapprio=10,notrim
|
||||
|
||||
/devices/platform/xhci-hcd* auto auto defaults voldmanaged=usbdisk:auto,noemulatedsd
|
||||
/devices/platform/xhci-hcd* auto auto defaults voldmanaged=usb:auto
|
||||
|
|
|
@ -52,9 +52,6 @@ on init
|
|||
write /proc/sys/vm/page-cluster 0
|
||||
|
||||
on fs
|
||||
write /sys/devices/msm_sdcc.1/mmc_host/mmc1/power/control on
|
||||
write /sys/devices/msm_sdcc.3/mmc_host/mmc2/power/control on
|
||||
|
||||
mount_all fstab.qcom
|
||||
swapon_all fstab.qcom
|
||||
|
||||
|
@ -159,8 +156,6 @@ on post-fs-data
|
|||
# Enable the setgid bit on the directory
|
||||
chmod 2770 /data/audio
|
||||
|
||||
setprop vold.post_fs_data_done 1
|
||||
|
||||
#Create a folder for SRS to be able to create a usercfg file
|
||||
mkdir /data/data/media 0770 media media
|
||||
|
||||
|
@ -260,6 +255,8 @@ on post-fs-data
|
|||
chown system camera /sys/class/flash/flash/flash_power
|
||||
chmod 660 /sys/class/flash/flash/flash_power
|
||||
|
||||
setprop vold.post_fs_data_done 1
|
||||
|
||||
on early-boot
|
||||
# set RLIMIT_MEMLOCK to 64MB
|
||||
setrlimit 8 67108864 67108864
|
||||
|
@ -600,19 +597,19 @@ on boot
|
|||
chown system system /sys/class/sec/tsp/input/enabled
|
||||
|
||||
# Permissions for Camera
|
||||
chown root system /sys/class/camera/rear/rear_camantibanding
|
||||
chown system radio /sys/class/camera/rear/rear_camfw
|
||||
chown system radio /sys/class/camera/rear/rear_camfw_full
|
||||
chown system radio /sys/class/camera/rear/rear_camfw_load
|
||||
chown system radio /sys/class/camera/rear/rear_camtype
|
||||
chown system radio /sys/class/camera/rear/rear_corever
|
||||
chown system radio /sys/class/camera/rear/rear_companionfw_full
|
||||
chown system radio /sys/class/camera/rear/rear_calcheck
|
||||
chown system radio /sys/class/camera/rear/rear_fwcheck
|
||||
chown system radio /sys/class/camera/rear/isp_core
|
||||
chown system radio /sys/class/camera/flash/rear_flash
|
||||
chown system radio /sys/class/camera/front/front_camfw
|
||||
chown system radio /sys/class/camera/front/front_camtype
|
||||
chown root system /sys/class/camera/rear/rear_camantibanding
|
||||
chown system radio /sys/class/camera/rear/rear_camfw
|
||||
chown system radio /sys/class/camera/rear/rear_camfw_full
|
||||
chown system radio /sys/class/camera/rear/rear_camfw_load
|
||||
chown system radio /sys/class/camera/rear/rear_camtype
|
||||
chown system radio /sys/class/camera/rear/rear_corever
|
||||
chown system radio /sys/class/camera/rear/rear_companionfw_full
|
||||
chown system radio /sys/class/camera/rear/rear_calcheck
|
||||
chown system radio /sys/class/camera/rear/rear_fwcheck
|
||||
chown system radio /sys/class/camera/rear/isp_core
|
||||
chown system radio /sys/class/camera/flash/rear_flash
|
||||
chown system radio /sys/class/camera/front/front_camfw
|
||||
chown system radio /sys/class/camera/front/front_camtype
|
||||
|
||||
#OTG Test
|
||||
chown system radio /sys/class/host_notify/usb_otg/booster
|
||||
|
@ -919,7 +916,7 @@ service fingerprintd /system/bin/fingerprintd
|
|||
service qcamerasvr /system/bin/mm-qcamera-daemon
|
||||
class main
|
||||
user camera
|
||||
group camera system inet input graphics radio sdcard_rw sdcard_r media_rw shell log
|
||||
group camera system inet input graphics net_bt_stack
|
||||
|
||||
service qseecomd /system/bin/qseecomd
|
||||
class late_start
|
||||
|
@ -927,14 +924,18 @@ service qseecomd /system/bin/qseecomd
|
|||
group system
|
||||
|
||||
service mpdecision /system/bin/mpdecision --avg_comp
|
||||
class main
|
||||
user root
|
||||
group system
|
||||
disabled
|
||||
|
||||
service thermal-engine /system/bin/thermal-engine
|
||||
class core
|
||||
user root
|
||||
group radio system
|
||||
class main
|
||||
user root
|
||||
socket thermal-send-client stream 0666 system system
|
||||
socket thermal-recv-client stream 0660 system system
|
||||
socket thermal-recv-passive-client stream 0666 system system
|
||||
group root
|
||||
|
||||
service time_daemon /system/bin/time_daemon
|
||||
class late_start
|
||||
|
|
Loading…
Reference in a new issue