land: Clean up unused stuffs

Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
This commit is contained in:
Darshan Manjrekar 2017-07-23 15:34:21 +02:00
parent 4f9c0bc174
commit a63bb106bf
3 changed files with 52 additions and 215 deletions

View file

@ -5,6 +5,4 @@ PRODUCT_PACKAGES += \
# Properties # Properties
PRODUCT_PROPERTY_OVERRIDES += \ PRODUCT_PROPERTY_OVERRIDES += \
ro.am.reschedule_service=true \ ro.am.reschedule_service=true \
ro.vendor.at_library=libqti-at.so \ ro.vendor.extension_library=libqti-perfd-client.so
ro.vendor.extension_library=libqti-perfd-client.so \
ro.vendor.gt_library=libqti-gt.so

View file

@ -61,20 +61,6 @@ vendor/lib64/soundfx/libqcreverb.so
vendor/lib64/soundfx/libqcvirt.so vendor/lib64/soundfx/libqcvirt.so
# Audio ACDB - from santoni # Audio ACDB - from santoni
etc/acdbdata/MTP/msm8952-tasha-snd-card/MTP_WCD9335_Bluetooth_cal.acdb
etc/acdbdata/MTP/msm8952-tasha-snd-card/MTP_WCD9335_General_cal.acdb
etc/acdbdata/MTP/msm8952-tasha-snd-card/MTP_WCD9335_Global_cal.acdb
etc/acdbdata/MTP/msm8952-tasha-snd-card/MTP_WCD9335_Handset_cal.acdb
etc/acdbdata/MTP/msm8952-tasha-snd-card/MTP_WCD9335_Hdmi_cal.acdb
etc/acdbdata/MTP/msm8952-tasha-snd-card/MTP_WCD9335_Headset_cal.acdb
etc/acdbdata/MTP/msm8952-tasha-snd-card/MTP_WCD9335_Speaker_cal.acdb
etc/acdbdata/MTP/MTP_Bluetooth_cal.acdb
etc/acdbdata/MTP/MTP_General_cal.acdb
etc/acdbdata/MTP/MTP_Global_cal.acdb
etc/acdbdata/MTP/MTP_Handset_cal.acdb
etc/acdbdata/MTP/MTP_Hdmi_cal.acdb
etc/acdbdata/MTP/MTP_Headset_cal.acdb
etc/acdbdata/MTP/MTP_Speaker_cal.acdb
etc/acdbdata/QRD/msm8952-sku2-snd-card/QRD_SKU2_Bluetooth_cal.acdb etc/acdbdata/QRD/msm8952-sku2-snd-card/QRD_SKU2_Bluetooth_cal.acdb
etc/acdbdata/QRD/msm8952-sku2-snd-card/QRD_SKU2_General_cal.acdb etc/acdbdata/QRD/msm8952-sku2-snd-card/QRD_SKU2_General_cal.acdb
etc/acdbdata/QRD/msm8952-sku2-snd-card/QRD_SKU2_Global_cal.acdb etc/acdbdata/QRD/msm8952-sku2-snd-card/QRD_SKU2_Global_cal.acdb
@ -92,7 +78,6 @@ etc/acdbdata/QRD/QRD_Speaker_cal.acdb
# Bluetooth - from santoni # Bluetooth - from santoni
bin/btnvtool bin/btnvtool
bin/dun-server
bin/hci_qcomm_init bin/hci_qcomm_init
bin/wcnss_filter bin/wcnss_filter
vendor/lib/libbtnv.so vendor/lib/libbtnv.so
@ -1103,7 +1088,7 @@ vendor/lib64/libtzdrmgenprov.so
-etc/qdcm_calib_data_ili9881c_HD720p_video_Tianma.xml -etc/qdcm_calib_data_ili9881c_HD720p_video_Tianma.xml
-etc/qdcm_calib_data_nt35521s_HD720p_video_EBBG.xml -etc/qdcm_calib_data_nt35521s_HD720p_video_EBBG.xml
# Fingerprint - from land # Fingerprint - from santoni
bin/gx_fpcmd bin/gx_fpcmd
bin/gx_fpd bin/gx_fpd
lib/hw/fingerprint.default.so:lib/hw/fingerprint.msm8937.so lib/hw/fingerprint.default.so:lib/hw/fingerprint.msm8937.so
@ -1334,14 +1319,12 @@ vendor/lib/libQtiTether.so
vendor/lib64/libconnctrl.so vendor/lib64/libconnctrl.so
vendor/lib64/libQtiTether.so vendor/lib64/libQtiTether.so
# Perf - from santoni & vendor/lib64/libqti-gt.so - from land # Perf - from santoni
bin/iop bin/iop
bin/msm_irqbalance bin/msm_irqbalance
vendor/bin/perfd vendor/bin/perfd
vendor/lib/libqti-iop-client.so vendor/lib/libqti-iop-client.so
vendor/lib/libqti-perfd-client.so vendor/lib/libqti-perfd-client.so
vendor/lib64/libqti-at.so
vendor/lib64/libqti-gt.so
vendor/lib64/libqti-iop-client.so vendor/lib64/libqti-iop-client.so
vendor/lib64/libqti-perfd-client.so vendor/lib64/libqti-perfd-client.so
@ -1357,32 +1340,12 @@ vendor/bin/mm-pp-dpps
vendor/lib/libdisp-aba.so vendor/lib/libdisp-aba.so
vendor/lib64/libdisp-aba.so vendor/lib64/libdisp-aba.so
# QMI - from land
# QMI - from garlic
bin/ATFWD-daemon
bin/irsc_util bin/irsc_util
etc/data/dsi_config.xml
etc/data/netmgr_config.xml
etc/data/qmi_config.xml
etc/permissions/qti_permissions.xml etc/permissions/qti_permissions.xml
vendor/lib/libdiag.so vendor/lib64/lib_rsu.so
vendor/lib/libdsi_netctrl.so
vendor/lib/libdsutils.so
vendor/lib/libidl.so
vendor/lib/libqcci_legacy.so
vendor/lib/libqcmaputils.so
vendor/lib/libqdi.so
vendor/lib/libqdp.so
vendor/lib/libqmi.so
vendor/lib/libqmi_cci.so
vendor/lib/libqmi_client_helper.so
vendor/lib/libqmi_client_qmux.so
vendor/lib/libqmi_common_so.so
vendor/lib/libqmi_csi.so
vendor/lib/libqmi_encdec.so
vendor/lib/libqmiservices.so
vendor/lib/libqti-wl.so
vendor/lib/libquipc_os_api.so
vendor/lib/libsmemlog.so
vendor/lib/libvqzip.so
vendor/lib64/libdiag.so vendor/lib64/libdiag.so
vendor/lib64/libdsi_netctrl.so vendor/lib64/libdsi_netctrl.so
vendor/lib64/libdsutils.so vendor/lib64/libdsutils.so
@ -1402,47 +1365,74 @@ vendor/lib64/libqmiservices.so
vendor/lib64/libqti-wl.so vendor/lib64/libqti-wl.so
vendor/lib64/libquipc_os_api.so vendor/lib64/libquipc_os_api.so
vendor/lib64/libsmemlog.so vendor/lib64/libsmemlog.so
vendor/lib/lib_rsu.so
vendor/lib/libdiag.so
vendor/lib/libdsi_netctrl.so
vendor/lib/libdsutils.so
vendor/lib/libidl.so
vendor/lib/libqcci_legacy.so
vendor/lib/libqcmaputils.so
vendor/lib/libqdi.so
vendor/lib/libqdp.so
vendor/lib/libqmi.so
vendor/lib/libqmi_cci.so
vendor/lib/libqmi_client_helper.so
vendor/lib/libqmi_client_qmux.so
vendor/lib/libqmi_common_so.so
vendor/lib/libqmi_csi.so
vendor/lib/libqmi_encdec.so
vendor/lib/libqmiservices.so
vendor/lib/libquipc_os_api.so
vendor/lib/libsmemlog.so
# Radio - from land # Radio - from garlic
-app/datastatusnotification/datastatusnotification.apk -app/datastatusnotification/datastatusnotification.apk
-app/fastdormancy/fastdormancy.apk -app/fastdormancy/fastdormancy.apk
-app/QtiTelephonyService/QtiTelephonyService.apk
-app/shutdownlistener/shutdownlistener.apk -app/shutdownlistener/shutdownlistener.apk
-framework/embmslibrary.jar
-framework/qcrilhook.jar
-framework/qti-telephony-common.jar|37d692fb171d0ee3269676a9e9998d2e3bfd9488
-framework/QtiTelephonyServicelibrary.jar
-priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk
bin/netmgrd bin/netmgrd
bin/qmuxd
bin/radish bin/radish
bin/rmt_storage bin/rmt_storage
bin/tftp_server bin/tftp_server
etc/permissions/qcnvitems.xml etc/data/dsi_config.xml
etc/data/netmgr_config.xml
etc/permissions/embms.xml
etc/permissions/qcrilhook.xml etc/permissions/qcrilhook.xml
-framework/qcnvitems.jar etc/permissions/telephonyservice.xml
-framework/qcrilhook.jar
-priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk
vendor/bin/qti vendor/bin/qti
vendor/lib/liblqe.so
vendor/lib/libmdmdetect.so
vendor/lib64/libconfigdb.so vendor/lib64/libconfigdb.so
vendor/lib64/libdatactrl.so
vendor/lib64/liblqe.so vendor/lib64/liblqe.so
vendor/lib64/libmdmdetect.so vendor/lib64/libmdmdetect.so
vendor/lib64/libnetmgr.so vendor/lib64/libnetmgr.so
vendor/lib64/libril-qc-ltedirectdisc.so
vendor/lib64/libril-qc-qmi-1.so vendor/lib64/libril-qc-qmi-1.so
vendor/lib64/libril-qc-radioconfig.so vendor/lib64/libril-qc-radioconfig.so
vendor/lib64/libril-qcril-hook-oem.so vendor/lib64/libril-qcril-hook-oem.so
vendor/lib64/librilqmiservices.so
vendor/lib64/libsettings.so
vendor/lib64/libsystem_health_mon.so vendor/lib64/libsystem_health_mon.so
vendor/lib/libmdmdetect.so
vendor/qcril.db vendor/qcril.db
# Radio - IMS - from santoni # Radio - IMS - from garlic
-framework/imscmlibrary.jar
-priv-app/ims/ims.apk|66fa3ab695d7be55a334cbee6e9c94d60089ac2a
-vendor/app/imssettings/imssettings.apk
-vendor/framework/qti-vzw-ims-internal.jar
bin/ims_rtp_daemon bin/ims_rtp_daemon
bin/imscmservice bin/imscmservice
bin/imsdatadaemon bin/imsdatadaemon
bin/imsqmidaemon bin/imsqmidaemon
etc/permissions/imscm.xml etc/permissions/imscm.xml
-framework/imscmlibrary.jar etc/permissions/qti-vzw-ims-internal.xml
-framework/rcsimssettings.jar
-vendor/app/ims/ims.apk
-vendor/app/imssettings/imssettings.apk
vendor/lib64/lib-dplmedia.so vendor/lib64/lib-dplmedia.so
vendor/lib64/lib-ims-rcscmjni.so vendor/lib64/lib-ims-rcscmjni.so
vendor/lib64/lib-imsSDP.so
vendor/lib64/lib-imscamera.so vendor/lib64/lib-imscamera.so
vendor/lib64/lib-imsdpl.so vendor/lib64/lib-imsdpl.so
vendor/lib64/lib-imsqimf.so vendor/lib64/lib-imsqimf.so
@ -1451,6 +1441,7 @@ vendor/lib64/lib-imsrcscm.so
vendor/lib64/lib-imsrcscmclient.so vendor/lib64/lib-imsrcscmclient.so
vendor/lib64/lib-imsrcscmservice.so vendor/lib64/lib-imsrcscmservice.so
vendor/lib64/lib-imss.so vendor/lib64/lib-imss.so
vendor/lib64/lib-imsSDP.so
vendor/lib64/lib-imsvt.so vendor/lib64/lib-imsvt.so
vendor/lib64/lib-imsxml.so vendor/lib64/lib-imsxml.so
vendor/lib64/lib-rcsimssjni.so vendor/lib64/lib-rcsimssjni.so
@ -1512,15 +1503,10 @@ etc/ft5336_biel_720p.ini
etc/ft5336_lens_720p.ini etc/ft5336_lens_720p.ini
etc/ft5336_oufei_720p.ini etc/ft5336_oufei_720p.ini
# USB - from santoni
etc/firmware/ice40.bin
# Widevine - from mido # Widevine - from mido
vendor/lib/libWVStreamControlAPI_L3.so|61673304827483d44b735a3dd08f0783d10ce92d vendor/lib/libWVStreamControlAPI_L3.so|61673304827483d44b735a3dd08f0783d10ce92d
vendor/lib/libwvdrm_L3.so|7e77482481197997294a834bfbc817a01b6075cd vendor/lib/libwvdrm_L3.so|7e77482481197997294a834bfbc817a01b6075cd
vendor/lib/mediadrm/libwvdrmengine.so|70419ce1f8eb6bd3aa36234f8d7e8003569efc9c vendor/lib/mediadrm/libwvdrmengine.so|70419ce1f8eb6bd3aa36234f8d7e8003569efc9c
# Wi-Fi - from santoni # Wi-Fi - from santoni
bin/cnss-daemon
bin/cnss_diag
bin/wcnss_service bin/wcnss_service

View file

@ -92,10 +92,6 @@ on post-fs-data
mkdir /data/misc/dhcp 0770 dhcp dhcp mkdir /data/misc/dhcp 0770 dhcp dhcp
chown dhcp dhcp /data/misc/dhcp chown dhcp dhcp /data/misc/dhcp
#create port-bridge log dir
mkdir /data/misc/port_bridge 0770 radio radio
chmod 0770 /data/misc/port_bridge
#create netmgr log dir #create netmgr log dir
mkdir /data/misc/netmgr 0770 radio radio mkdir /data/misc/netmgr 0770 radio radio
chmod 0770 /data/misc/netmgr chmod 0770 /data/misc/netmgr
@ -348,6 +344,7 @@ on boot
# bond0 used by FST Manager # bond0 used by FST Manager
chown wifi wifi /sys/class/net/bond0/bonding/queue_id chown wifi wifi /sys/class/net/bond0/bonding/queue_id
# Goodix Fingerprint # Goodix Fingerprint
chown system system /dev/goodix_fp chown system system /dev/goodix_fp
chmod 0644 /dev/goodix_fp chmod 0644 /dev/goodix_fp
@ -383,19 +380,6 @@ on property:sys.boot_completed=1
write /dev/kmsg "Boot completed " write /dev/kmsg "Boot completed "
#WDSP FW boot sysfs node used by STHAL #WDSP FW boot sysfs node used by STHAL
chown media audio /sys/kernel/wdsp0/boot chown media audio /sys/kernel/wdsp0/boot
# CPE fw_name used by sound trigger HAL
chown media audio /sys/kernel/wcd_cpe0/fw_name
on property:persist.radio.atfwd.start=false
stop atfwd
on property:radio.atfwd.start=false
stop atfwd
# corefile limit
on property:persist.debug.trace=1
mkdir /data/core 0777 root root
write /proc/sys/kernel/core_pattern "/data/core/%E.%p.%e"
#bug156417 zhaoqf_sh add Allow usb charging to be disabled peristently #bug156417 zhaoqf_sh add Allow usb charging to be disabled peristently
on property:persist.sys.chgdisabled=1 on property:persist.sys.chgdisabled=1
@ -403,25 +387,10 @@ on property:persist.sys.chgdisabled=1
on property:persist.sys.chgdisabled=0 on property:persist.sys.chgdisabled=0
write /sys/class/power_supply/battery/charging_enabled 1 write /sys/class/power_supply/battery/charging_enabled 1
on property:bluetooth.sap.status=running
start bt-sap
on property:bluetooth.sap.status=stopped
stop bt-sap
on property:bluetooth.dun.status=running
start bt-dun
on property:bluetooth.dun.status=stopped
stop bt-dun
on property:ro.bluetooth.ftm_enabled=true
start ftmd
on property:vold.decrypt=trigger_restart_framework on property:vold.decrypt=trigger_restart_framework
start config_bt_addr start config_bt_addr
start cnss_diag start config_bluetooth
start wcnss-service
on property:persist.env.fastdorm.enabled=true on property:persist.env.fastdorm.enabled=true
setprop persist.radio.data_no_toggle 1 setprop persist.radio.data_no_toggle 1
@ -445,11 +414,6 @@ service rmt_storage /system/bin/rmt_storage
user root user root
group wakelock group wakelock
service rfs_access /system/bin/rfs_access
class core
user root
group system net_raw
service tftp_server /system/bin/tftp_server service tftp_server /system/bin/tftp_server
class main class main
user root user root
@ -478,40 +442,6 @@ on property:hw.fm.init=0
on property:hw.fm.init=1 on property:hw.fm.init=1
write /sys/module/radio_iris_transport/parameters/fmsmd_set 1 write /sys/module/radio_iris_transport/parameters/fmsmd_set 1
service bt-dun /system/bin/dun-server /dev/smd7 /dev/rfcomm0
class late_start
user bluetooth
group bluetooth net_bt_admin inet
disabled
oneshot
service ftmd /system/bin/logwrapper /system/bin/ftmdaemon
class late_start
user root
group bluetooth net_bt_admin misc net_bt_stack qcom_diag net_bt
disabled
oneshot
service port-bridge /system/bin/port-bridge
class main
user radio system
group radio system inet
oneshot
# FM
on property:hw.fm.init=0
write /sys/module/radio_iris_transport/parameters/fmsmd_set 0
on property:hw.fm.init=1
write /sys/module/radio_iris_transport/parameters/fmsmd_set 1
# QMUX must be in multiple groups to support external process connections
service qmuxd /system/bin/qmuxd
class main
user root
group radio audio bluetooth gps nfc qcom_diag wakelock
# 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
@ -564,46 +494,6 @@ service wpa_supplicant /system/bin/wpa_supplicant \
disabled disabled
oneshot oneshot
# FST Manager can be started by property_set("ctl.start", "fstman:<hostap ctrl iface>");
service fstman /system/bin/fstman -B -ddd -c /data/misc/wifi/fstman.ini
user wifi
group wifi net_admin net_raw
class main
disabled
oneshot
on property:netd.fstman.start=true
start fstman
on property:netd.fstman.start=false
stop fstman
service ptt_socket_app /system/bin/ptt_socket_app -d
class main
user root
group root
oneshot
service ptt_ffbm /system/bin/ptt_socket_app -f -d
user root
group root
disabled
oneshot
service cnss_diag /system/bin/cnss_diag -q -f
class main
user system
group system wifi inet net_admin sdcard_rw media_rw diag
oneshot
service cnss-daemon /system/bin/cnss-daemon -n -l
class late_start
user system
group system inet net_admin wifi
on property:sys.shutdown.requested=*
stop cnss-daemon
service loc_launcher /system/bin/loc_launcher service loc_launcher /system/bin/loc_launcher
#loc_launcher will start as root and set its uid to gps #loc_launcher will start as root and set its uid to gps
class late_start class late_start
@ -614,11 +504,6 @@ service qcom-sh /system/bin/sh /init.qcom.sh
user root user root
oneshot oneshot
service atfwd /system/bin/ATFWD-daemon
class late_start
user system
group system radio
service hostapd /system/bin/hostapd -dd /data/hostapd/hostapd.conf service hostapd /system/bin/hostapd -dd /data/hostapd/hostapd.conf
class late_start class late_start
user root user root
@ -656,12 +541,6 @@ service charger /charger
group graphics system group graphics system
seclabel u:r:healthd:s0 seclabel u:r:healthd:s0
service ssr_diag /system/bin/ssr_diag
class late_start
user system
group system
disabled
service qbcharger /charger -m 1 service qbcharger /charger -m 1
disabled disabled
oneshot oneshot
@ -680,20 +559,6 @@ on property:sys.installed.running=0
write /sys/power/wake_unlock InstalldWakeLock write /sys/power/wake_unlock InstalldWakeLock
#-first boot,jiangtao.wt,add 20150810 #-first boot,jiangtao.wt,add 20150810
service diag_mdlog_start /system/bin/diag_mdlog -s 200 -n 10
class late_start
user shell
group system qcom_diag sdcard_rw sdcard_r media_rw
disabled
oneshot
service diag_mdlog_stop /system/bin/diag_mdlog -k
class late_start
user shell
group system qcom_diag sdcard_rw sdcard_r media_rw
disabled
oneshot
on property:persist.radio.otaconfig=0 on property:persist.radio.otaconfig=0
setprop persist.radio.start_ota_daemon 0 setprop persist.radio.start_ota_daemon 0
on property:persist.radio.otaconfig=1 on property:persist.radio.otaconfig=1
@ -714,18 +579,6 @@ service wfdservice /system/bin/wfdservice
disabled disabled
oneshot oneshot
on property:sys.wfdservice=enable
start wfdservice
on property:sys.wfdservice=disable
stop wfdservice
on property:sys.dbg.coresight.enable=1
write /persist/coresight/enable 1
on property:sys.dbg.coresight.enable=0
write /persist/coresight/enable 0
service qseeproxydaemon /system/vendor/bin/qseeproxydaemon service qseeproxydaemon /system/vendor/bin/qseeproxydaemon
class late_start class late_start
user system user system