From 27d249fe4803d4323b80bd1e826fc765512b7a05 Mon Sep 17 00:00:00 2001 From: Stricted Date: Thu, 10 May 2018 20:13:04 +0200 Subject: [PATCH] more ramdisk cleanup, proprietary-files cleanup and remove obsolete overlay-binaries Change-Id: Id2f81cee97f642ae3cd932c047eb70ca8b9e0ad7 --- overlay-binaries/00permissions | 5 --- overlay-binaries/overlay-binaries.mk | 13 ------- proprietary-files.txt | 56 +--------------------------- ramdisk/init.aee.rc | 10 ----- ramdisk/init.mt8127.rc | 54 --------------------------- 5 files changed, 1 insertion(+), 137 deletions(-) delete mode 100644 overlay-binaries/00permissions delete mode 100644 overlay-binaries/overlay-binaries.mk delete mode 100644 ramdisk/init.aee.rc diff --git a/overlay-binaries/00permissions b/overlay-binaries/00permissions deleted file mode 100644 index 67a5368..0000000 --- a/overlay-binaries/00permissions +++ /dev/null @@ -1,5 +0,0 @@ -#!/system/bin/sh - -/system/bin/chmod 666 /sys/kernel/debug/ion/heaps/* -/system/bin/chmod -R 777 /data/nvram/APCFG/APRDCL - diff --git a/overlay-binaries/overlay-binaries.mk b/overlay-binaries/overlay-binaries.mk deleted file mode 100644 index c3edd56..0000000 --- a/overlay-binaries/overlay-binaries.mk +++ /dev/null @@ -1,13 +0,0 @@ -OVERLAY_BIN := device/alcatel/ttab/overlay-binaries - -# install-recovery.sh used to initialise init.d support -#PRODUCT_COPY_FILES += \ -# $(OVERLAY_BIN)/install-recovery.sh:system/bin/new-install-recovery.sh \ -# $(OVERLAY_BIN)/install-recovery.sh:system/etc/install-recovery-2.sh - -# Install init.d scripts -PRODUCT_COPY_FILES += \ - $(OVERLAY_BIN)/00permissions:system/etc/init.d/00permissions -# $(OVERLAY_BIN)/99exfat-support:system/etc/init.d/99exfat-support \ -# $(OVERLAY_BIN)/99sudaemon:system/etc/init.d/99sudaemon - diff --git a/proprietary-files.txt b/proprietary-files.txt index e6e8527..56ac180 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -3,33 +3,15 @@ bin/6620_launcher bin/6620_wmt_concurrency bin/6620_wmt_lpbk bin/MtkCodecService -bin/aee -bin/aee_archive -bin/aee_core_forwarder -bin/aee_dumpstate bin/akmd09911 bin/akmd8963 bin/audiocmdservice_atci -#bin/boot_logo_updater -#bin/em_svr -#bin/factory -#bin/guiext-server -bin/kisd -bin/kpoc_charger -bin/meta_tst -bin/mmp +bin/guiext-server bin/msensord bin/nvram_agent_binder bin/nvram_daemon bin/pq -#bin/sbchk -#bin/thermal -#bin/thermal_manager -#bin/thermald bin/wmt_loader -etc/.tp/.ht120.mtc -etc/.tp/thermal.conf -etc/.tp/thermal.off.conf etc/bluetooth/auto_pair_blacklist.conf etc/bluetooth/auto_pair_devlist.conf etc/bluetooth/bt_stack.conf @@ -38,7 +20,6 @@ etc/custom.conf etc/dhcpcd/dhcpcd-hooks/20-dns.conf etc/dhcpcd/dhcpcd-hooks/95-configured etc/dhcpcd/dhcpcd-run-hooks -#etc/dongleselect.conf lib/egl/egl.cfg etc/factory.ini etc/firmware/ROMv2_patch_1_0_hdr.bin @@ -64,35 +45,17 @@ etc/wide-dhcpv6/dhcp6c.script etc/wide-dhcpv6/dhcp6cDNS.conf etc/wide-dhcpv6/dhcp6cctlkey etc/wide-dhcpv6/dhcp6s.conf -#framework/com.mediatek.effect.jar -#framework/tedongle-telephony.jar lib/egl/libEGL_mali.so lib/egl/libGLESv1_CM_mali.so lib/egl/libGLESv2_mali.so -lib/hw/audio.primary.default.so lib/hw/audio.primary.mt8127.so -lib/hw/audio.r_submix.default.so -lib/hw/audio.usb.default.so -lib/hw/audio_policy.default.so -lib/hw/audio_policy.stub.so -#lib/hw/bluetooth.default.so lib/hw/camera.mt8127.so -#lib/hw/gps.default.so -lib/hw/gralloc.default.so lib/hw/gralloc.mt8127.so lib/hw/hwcomposer.mt8127.so -#lib/hw/keystore.default.so -#lib/hw/lights.default.so -lib/hw/local_time.default.so lib/hw/power.default.so lib/hw/sensors.mt8127.so -lib/hw/vibrator.default.so lib/lib3a.so lib/libBnMtkCodec.so -#lib/libGLES_trace.so -#lib/libGLESv1_CM.so -#lib/libGLESv2.so -#lib/libGLESv3.so lib/libGdmaScalerPipe.so lib/libJpgDecPipe.so lib/libJpgEncPipe.so @@ -145,13 +108,9 @@ lib/libcam_platform.so lib/libcam_utils.so lib/libcamalgo.so lib/libcamdrv.so -#lib/libcamera_client.so lib/libcamera_client_mtk.so -#lib/libcamera_metadata.so lib/libcameraanalyzer.so lib/libcameracustom.so -#lib/libcameraservice.so -#lib/libcurl.so lib/libcustom_nvram.so lib/libcvsd_mtk.so -lib/libdpframework.so @@ -160,13 +119,8 @@ lib/libdrmmtkwhitelist.so lib/libem_support_jni.so lib/libfeatureio.so lib/libfile_op.so -#lib/libfmcust.so lib/libfmjni.so -#lib/libfmmt6620.so -#lib/libfmmt6627.so -#lib/libfmmt6628.so lib/libgralloc_extra.so -#lib/libgui.so lib/libgui_ext.so lib/libhwm.so lib/libimageio.so @@ -178,7 +132,6 @@ lib/libmatv_cust.so lib/libmemtrack.so lib/libmhalImageCodec.so lib/libmmprofile.so -#lib/libmnl.so lib/libmp2dec_sa.ca7.so lib/libmp4enc_sa.ca7.so lib/libmpo.so @@ -199,7 +152,6 @@ lib/libnvram_platform.so lib/libnvram_sec.so lib/libnvramagentclient.so lib/libperfservicenative.so -#lib/libsbccodec.so lib/libshowlogo.so lib/libspeech_enh_lib.so lib/libstagefright_memutil.so @@ -210,17 +162,11 @@ lib/liburee_meta_drmkeyinstall_v2.so lib/libvc1dec_sa.ca7.so lib/libvcodec_oal.so lib/libvcodec_utility.so -#lib/libgpu_aux.so lib/libvcodecdrv.so lib/libvp8dec_sa.ca7.so lib/libvp9dec_sa.ca7.so -#lib/libwapi.so -#vendor/lib/drm/libdrmwvmplugin.so -#vendor/lib/hw/audio.a2dp.blueangel.so -#vendor/lib/hw/bluetooth.blueangel.so vendor/media/LMspeed_508.emd vendor/media/PFFprec_600.emd -#xbin/mnld # Widevine - from crackling vendor/lib/libwvdrm_L3.so|7e77482481197997294a834bfbc817a01b6075cd diff --git a/ramdisk/init.aee.rc b/ramdisk/init.aee.rc deleted file mode 100644 index ea60170..0000000 --- a/ramdisk/init.aee.rc +++ /dev/null @@ -1,10 +0,0 @@ -on property:ro.build.type=eng - write /proc/sys/fs/suid_dumpable 2 - write /proc/sys/kernel/core_pattern "|/system/bin/aee_core_forwarder /data/core/ %p %s UID=%u GID=%g" - -on property:persist.aee.core.dump=enable - write /proc/sys/fs/suid_dumpable 2 - write /proc/sys/kernel/core_pattern "|/system/bin/aee_core_forwarder /data/core/ %p %s UID=%u GID=%g" - -on init - write /proc/self/coredump_filter 39 diff --git a/ramdisk/init.mt8127.rc b/ramdisk/init.mt8127.rc index ce323bb..e0cf390 100644 --- a/ramdisk/init.mt8127.rc +++ b/ramdisk/init.mt8127.rc @@ -4,7 +4,6 @@ import init.project.rc import init.connectivity.rc import init.charging.rc import init.mt8127usb.rc -import init.aee.rc on init # export LD_PRELOAD "libxlog.so" @@ -205,13 +204,6 @@ on fs write /sys/class/misc/tp_cfg/data_is_mount 1 #change partition permission exec /system/etc/partition_permission.sh - -# RGX init -service pvrsrvctl /system/vendor/bin/pvrsrvctl --start - class core - user root - group root - oneshot on post-fs-data mkdir /data/nvram 2770 root system @@ -394,13 +386,6 @@ service msensord /system/bin/msensord class main oneshot -# -#drm operation server -service kisd /system/bin/kisd - user system - group system media drmrpc - class main - service nvram_daemon /system/bin/nvram_daemon class main user root @@ -436,30 +421,10 @@ service NvRAMAgent /system/bin/nvram_agent_binder user system group system -service akmd8963 /system/bin/akmd8963 - disabled - user system - group system - oneshot - -service akmd09911 /system/bin/akmd09911 - disabled - user system - group system - class main - - # #sensor service (end) # - -service pq /system/bin/pq - class main - user system - group system graphics - oneshot - # # MT6620 related services (Begin) # @@ -501,29 +466,10 @@ service wpa_supplicant /system/bin/wpa_supplicant \ disabled oneshot -service ap_daemon /system/bin/wpa_supplicant \ - -iap0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf -e/data/misc/wifi/entropy.bin -puse_p2p_group_interface=1 -ddd - # we will start as root and wpa_supplicant will switch to user wifi - # after setting up the capabilities required for WEXT - # user wifi - # group wifi inet keystore - class main - disabled - oneshot - # # MT6620 related services (End) # -## mtk printk uart controller -on property:persist.uartconsole.enable=1 - write /proc/mtprintk 1 - -# Update the second boot logo -service bootlogoupdater /system/bin/boot_logo_updater - class core - oneshot - service audio-daemon /system/bin/audiocmdservice_atci class main socket atci-audio stream 660 media system -- 2.20.1