From fc7ed6c568847ee116035ee12e90f2cfd4c597c7 Mon Sep 17 00:00:00 2001 From: NotNoelChannel <52098241+NotNoelChannel@users.noreply.github.com> Date: Mon, 24 Jun 2024 20:12:01 +0200 Subject: [PATCH] Update device_j13g.mk --- device_j13g.mk | 224 ++++++++++++++++++++++++------------------------- 1 file changed, 111 insertions(+), 113 deletions(-) diff --git a/device_j13g.mk b/device_j13g.mk index b2f5292..7ce61da 100644 --- a/device_j13g.mk +++ b/device_j13g.mk @@ -19,208 +19,206 @@ $(call inherit-product, $(LOCAL_PATH)/device.mk) # Keylayouts KEYLAYOUT_FILES := \ - $(LOCAL_PATH)/keylayouts/sci-keypad.kl \ - $(LOCAL_PATH)/keylayouts/samsung-keypad.kl \ - $(LOCAL_PATH)/keylayouts/ist30xx_ts_input.kl + $(LOCAL_PATH)/keylayouts/sci-keypad.kl \ + $(LOCAL_PATH)/keylayouts/samsung-keypad.kl \ + $(LOCAL_PATH)/keylayouts/ist30xx_ts_input.kl PRODUCT_COPY_FILES += \ - $(foreach f,$(KEYLAYOUT_FILES),$(f):system/usr/keylayout/$(notdir $(f))) + $(foreach f,$(KEYLAYOUT_FILES),$(f):system/usr/keylayout/$(notdir $(f))) # Bluetooth config -#BLUETOOTH_CONFIGS := \ -# $(LOCAL_PATH)/configs/bluetooth/bt_vendor.conf +# BLUETOOTH_CONFIGS := \ +# $(LOCAL_PATH)/configs/bluetooth/bt_vendor.conf -#PRODUCT_COPY_FILES += \ -# $(foreach f,$(BLUETOOTH_CONFIGS),$(f):system/etc/bluetooth/$(notdir $(f))) +# PRODUCT_COPY_FILES += \ +# $(foreach f,$(BLUETOOTH_CONFIGS),$(f):system/etc/bluetooth/$(notdir $(f))) # Media config MEDIA_CONFIGS := \ - $(LOCAL_PATH)/media/media_codecs.xml \ - $(LOCAL_PATH)/media/media_profiles.xml \ - frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml \ - frameworks/av/media/libstagefright/data/media_codecs_google_video.xml \ - frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml + $(LOCAL_PATH)/media/media_codecs.xml \ + $(LOCAL_PATH)/media/media_profiles.xml \ + frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml \ + frameworks/av/media/libstagefright/data/media_codecs_google_video.xml \ + frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml PRODUCT_COPY_FILES += \ - $(foreach f,$(MEDIA_CONFIGS),$(f):system/etc/$(notdir $(f))) + $(foreach f,$(MEDIA_CONFIGS),$(f):system/etc/$(notdir $(f))) # Memtrack PRODUCT_PACKAGES += \ - memtrack.sc8830 + memtrack.sc8830 # Bluetooth PRODUCT_PACKAGES += \ - libbluetooth_jni + libbluetooth_jni # HWC PRODUCT_PACKAGES += \ - gralloc.sc8830 \ - hwcomposer.sc8830 \ - sprd_gsp.sc8830 \ - libion_sprd + gralloc.sc8830 \ + hwcomposer.sc8830 \ + sprd_gsp.sc8830 \ + libion_sprd # Codecs PRODUCT_PACKAGES += \ - libstagefrighthw \ - libstagefright_sprd_mpeg4dec \ - libstagefright_sprd_soft_mpeg4dec \ - libstagefright_sprd_mpeg4enc \ - libstagefright_sprd_h264dec \ - libstagefright_sprd_soft_h264dec \ - libstagefright_sprd_h264enc \ - libstagefright_sprd_vpxdec \ - libstagefright_sprd_aacdec \ - libstagefright_sprd_mp3dec \ - libomx_aacdec_sprd.so \ - libomx_avcdec_hw_sprd.so \ - libomx_avcdec_sw_sprd.so \ - libomx_avcenc_hw_sprd.so \ - libomx_m4vh263dec_hw_sprd.so \ - libomx_m4vh263dec_sw_sprd.so \ - libomx_m4vh263enc_hw_sprd.so \ - libomx_mp3dec_sprd.so \ - libomx_vpxdec_hw_sprd.so + libstagefrighthw \ + libstagefright_sprd_mpeg4dec \ + libstagefright_sprd_soft_mpeg4dec \ + libstagefright_sprd_mpeg4enc \ + libstagefright_sprd_h264dec \ + libstagefright_sprd_soft_h264dec \ + libstagefright_sprd_h264enc \ + libstagefright_sprd_vpxdec \ + libstagefright_sprd_aacdec \ + libstagefright_sprd_mp3dec \ + libomx_aacdec_sprd.so \ + libomx_avcdec_hw_sprd.so \ + libomx_avcdec_sw_sprd.so \ + libomx_avcenc_hw_sprd.so \ + libomx_m4vh263dec_hw_sprd.so \ + libomx_m4vh263dec_sw_sprd.so \ + libomx_m4vh263enc_hw_sprd.so \ + libomx_mp3dec_sprd.so \ + libomx_vpxdec_hw_sprd.so # Lights PRODUCT_PACKAGES += \ - lights.sc8830 + lights.sc8830 # Filesystem management tools PRODUCT_PACKAGES += \ - f2fstat \ - fibmap.f2fs \ - fsck.f2fs \ - mkfs.f2fs \ - setup_fs \ - e2fsck + f2fstat \ + fibmap.f2fs \ + fsck.f2fs \ + mkfs.f2fs \ + setup_fs \ + e2fsck # Misc packages PRODUCT_PACKAGES += \ - com.android.future.usb.accessory + com.android.future.usb.accessory # Device-specific packages PRODUCT_PACKAGES += \ - SamsungServiceMode + SamsungServiceMode # Bluetooth PRODUCT_PACKAGES += \ - bluetooth.default \ - audio.a2dp.default + bluetooth.default \ + audio.a2dp.default # Audio PRODUCT_PACKAGES += \ - audio.primary.sc8830 \ - audio_policy.sc8830 \ - audio.r_submix.default \ - audio.usb.default \ - audio_vbc_eq \ - libaudio-resampler \ - libatchannel \ - libatchannel_wrapper \ - libtinyalsa + audio.primary.sc8830 \ + audio_policy.sc8830 \ + audio.r_submix.default \ + audio.usb.default \ + audio_vbc_eq \ + libaudio-resampler \ + libatchannel \ + libatchannel_wrapper \ + libtinyalsa AUDIO_CONFIGS := \ - $(LOCAL_PATH)/configs/audio/audio_policy.conf \ + $(LOCAL_PATH)/configs/audio/audio_policy.conf PRODUCT_COPY_FILES += \ - $(foreach f,$(AUDIO_CONFIGS),$(f):system/etc/$(notdir $(f))) \ + $(foreach f,$(AUDIO_CONFIGS),$(f):system/etc/$(notdir $(f))) # Common libs PRODUCT_PACKAGES += \ - libstlport \ - libril_shim \ - libgps_shim + libstlport \ + libril_shim \ + libgps_shim # Camera -#PRODUCT_PACKAGES += \ -# camera.sc8830 +# PRODUCT_PACKAGES += \ +# camera.sc8830 # Wifi PRODUCT_PACKAGES += \ - libnetcmdiface \ - dhcpcd.conf \ - wpa_supplicant \ - hostapd + libnetcmdiface \ + dhcpcd.conf \ + wpa_supplicant \ + hostapd WIFI_CONFIGS := \ - $(LOCAL_PATH)/configs/wifi/wpa_supplicant.conf \ - $(LOCAL_PATH)/configs/wifi/wpa_supplicant_overlay.conf \ - $(LOCAL_PATH)/configs/wifi/p2p_supplicant_overlay.conf -# $(LOCAL_PATH)/configs/wifi/nvram_net.txt + $(LOCAL_PATH)/configs/wifi/wpa_supplicant.conf \ + $(LOCAL_PATH)/configs/wifi/wpa_supplicant_overlay.conf \ + $(LOCAL_PATH)/configs/wifi/p2p_supplicant_overlay.conf +# $(LOCAL_PATH)/configs/wifi/nvram_net.txt PRODUCT_COPY_FILES += \ - $(foreach f,$(WIFI_CONFIGS),$(f):system/etc/wifi/$(notdir $(f))) + $(foreach f,$(WIFI_CONFIGS),$(f):system/etc/wifi/$(notdir $(f))) # PowerHAL PRODUCT_PACKAGES += \ - power.sc8830 + power.sc8830 # Charger PRODUCT_PACKAGES += \ - charger \ - charger_res_images + charger \ + charger_res_images # Permissions PERMISSION_XML_FILES := \ - $(LOCAL_PATH)/permissions/platform.xml \ - frameworks/native/data/etc/handheld_core_hardware.xml \ - frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml \ - frameworks/native/data/etc/android.hardware.camera.autofocus.xml \ - frameworks/native/data/etc/android.hardware.camera.front.xml \ - frameworks/native/data/etc/android.hardware.camera.xml \ - frameworks/native/data/etc/android.hardware.bluetooth_le.xml \ - frameworks/native/data/etc/android.hardware.location.xml \ - frameworks/native/data/etc/android.hardware.location.gps.xml \ - frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml \ - frameworks/native/data/etc/android.hardware.touchscreen.multitouch.xml \ - frameworks/native/data/etc/android.hardware.touchscreen.xml \ - frameworks/native/data/etc/android.hardware.telephony.gsm.xml \ - frameworks/native/data/etc/android.hardware.usb.accessory.xml \ - frameworks/native/data/etc/android.software.sip.voip.xml \ - frameworks/native/data/etc/android.software.sip.xml \ - frameworks/native/data/etc/android.hardware.wifi.xml \ - frameworks/native/data/etc/android.hardware.wifi.direct.xml \ - frameworks/native/data/etc/android.software.webview.xml + $(LOCAL_PATH)/permissions/platform.xml \ + frameworks/native/data/etc/handheld_core_hardware.xml \ + frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml \ + frameworks/native/data/etc/android.hardware.camera.autofocus.xml \ + frameworks/native/data/etc/android.hardware.camera.front.xml \ + frameworks/native/data/etc/android.hardware.camera.xml \ + frameworks/native/data/etc/android.hardware.bluetooth_le.xml \ + frameworks/native/data/etc/android.hardware.location.xml \ + frameworks/native/data/etc/android.hardware.location.gps.xml \ + frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml \ + frameworks/native/data/etc/android.hardware.touchscreen.multitouch.xml \ + frameworks/native/data/etc/android.hardware.touchscreen.xml \ + frameworks/native/data/etc/android.hardware.telephony.gsm.xml \ + frameworks/native/data/etc/android.hardware.usb.accessory.xml \ + frameworks/native/data/etc/android.software.sip.voip.xml \ + frameworks/native/data/etc/android.software.sip.xml \ + frameworks/native/data/etc/android.hardware.wifi.xml \ + frameworks/native/data/etc/android.hardware.wifi.direct.xml \ + frameworks/native/data/etc/android.software.webview.xml PRODUCT_COPY_FILES += \ - $(foreach f,$(PERMISSION_XML_FILES),$(f):system/etc/permissions/$(notdir $(f))) + $(foreach f,$(PERMISSION_XML_FILES),$(f):system/etc/permissions/$(notdir $(f))) # Scripts SCRIPTS_FILES := \ - $(LOCAL_PATH)/scripts/set_freq.sh + $(LOCAL_PATH)/scripts/set_freq.sh PRODUCT_COPY_FILES += \ - $(foreach f,$(SCRIPTS_FILES),$(f):system/bin/$(notdir $(f))) - + $(foreach f,$(SCRIPTS_FILES),$(f):system/bin/$(notdir $(f))) # Set default USB interface PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ - persist.sys.usb.config=mtp + persist.sys.usb.config=mtp # FM radio PRODUCT_PACKAGES += \ - FMRadio \ - fm.sc8830 + FMRadio \ + fm.sc8830 # Device props PRODUCT_PROPERTY_OVERRIDES += \ - keyguard.no_require_sim=true \ - ro.kernel.android.checkjni=0 \ - dalvik.vm.checkjni=false + keyguard.no_require_sim=true \ + ro.kernel.android.checkjni=0 \ + dalvik.vm.checkjni=false # ART device props PRODUCT_PROPERTY_OVERRIDES += \ - ro.sys.fw.dex2oat_thread_count=4 \ - dalvik.vm.dex2oat-flags=--no-watch-dog \ - dalvik.vm.dex2oat-filter=interpret-only \ - dalvik.vm.image-dex2oat-filter=speed + ro.sys.fw.dex2oat_thread_count=4 \ + dalvik.vm.dex2oat-flags=--no-watch-dog \ + dalvik.vm.dex2oat-filter=interpret-only \ + dalvik.vm.image-dex2oat-filter=speed # Support for Browser's saved page feature. This allows # for pages saved on previous versions of the OS to be # viewed on the current OS. PRODUCT_PACKAGES += \ - libskia_legacy - + libskia_legacy $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)