From 60da3cd56648780122ebb08504b0bfe89aff530e Mon Sep 17 00:00:00 2001 From: SamarV-121 Date: Mon, 21 Jun 2021 09:15:15 +0530 Subject: [PATCH] universal7885: Switch to more open source blobs Change-Id: I9c56d013e4b38bb4ec84d3f613df16458fbe1bed Signed-off-by: SamarV-121 --- extract-files.sh | 4 -- libshims/Android.mk | 2 +- manifest.xml | 10 ---- proprietary-files.txt | 127 ---------------------------------------- universal7904-common.mk | 73 ++++++++++++++++++++--- 5 files changed, 66 insertions(+), 150 deletions(-) diff --git a/extract-files.sh b/extract-files.sh index 6f40b96..09fa827 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -66,10 +66,6 @@ fi BLOB_ROOT="${LINEAGE_ROOT}/vendor/${VENDOR}/${DEVICE_COMMON}/proprietary" -patchelf --replace-needed "libkeymaster_portable.so" "libkeymaster_portable-v29.so" "${BLOB_ROOT}/vendor/lib64/libkeymaster3device.so" -patchelf --replace-needed "libkeymaster_portable.so" "libkeymaster_portable-v29.so" "${BLOB_ROOT}/vendor/lib/libkeymaster3device.so" -patchelf --replace-needed "libpuresoftkeymasterdevice.so" "libpuresoftkeymasterdevice-v29.so" "${BLOB_ROOT}/vendor/lib64/libkeymaster3device.so" -patchelf --replace-needed "libpuresoftkeymasterdevice.so" "libpuresoftkeymasterdevice-v29.so" "${BLOB_ROOT}/vendor/lib/libkeymaster3device.so" patchelf --add-needed "libshim_stagefright_foundation.so" "${BLOB_ROOT}/vendor/lib/libstagefright_omx_utils.so" "${MY_DIR}/setup-makefiles.sh" diff --git a/libshims/Android.mk b/libshims/Android.mk index 9189ee1..6fa2453 100644 --- a/libshims/Android.mk +++ b/libshims/Android.mk @@ -9,4 +9,4 @@ LOCAL_MODULE_TAGS := optional LOCAL_MODULE_CLASS := SHARED_LIBRARIES LOCAL_VENDOR_MODULE := true -include $(BUILD_SHARED_LIBRARY) \ No newline at end of file +include $(BUILD_SHARED_LIBRARY) diff --git a/manifest.xml b/manifest.xml index e7402aa..58a6e38 100644 --- a/manifest.xml +++ b/manifest.xml @@ -312,16 +312,6 @@ @1.2::ISupplicant/default - - vendor.samsung.hardware.audio - hwbinder - 1.0 - - ISehDevicesFactory - default - - @1.0::ISehDevicesFactory/default - vendor.samsung.hardware.biometrics.fingerprint hwbinder diff --git a/proprietary-files.txt b/proprietary-files.txt index 2646417..305a3e5 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -27,24 +27,8 @@ vendor/app/mcRegistry/ffffffffd00000000000000000000045.drbin vendor/bin/argosd vendor/bin/cass vendor/bin/cbd -vendor/bin/hw/android.hardware.audio@2.0-service -vendor/bin/hw/android.hardware.bluetooth@1.0-service -vendor/bin/hw/android.hardware.cas@1.1-service -vendor/bin/hw/android.hardware.configstore@1.1-service -vendor/bin/hw/android.hardware.drm@1.0-service -vendor/bin/hw/android.hardware.drm@1.2-service.clearkey vendor/bin/hw/android.hardware.drm@1.2-service.widevine -vendor/bin/hw/android.hardware.gatekeeper@1.0-service -vendor/bin/hw/android.hardware.graphics.allocator@2.0-service -vendor/bin/hw/android.hardware.graphics.composer@2.1-service vendor/bin/hw/android.hardware.health@2.0-service.samsung -vendor/bin/hw/android.hardware.keymaster@3.0-service -vendor/bin/hw/android.hardware.media.omx@1.0-service -vendor/bin/hw/android.hardware.memtrack@1.0-service -vendor/bin/hw/android.hardware.power@1.0-service -vendor/bin/hw/android.hardware.sensors@1.0-service -vendor/bin/hw/android.hardware.thermal@1.0-service -vendor/bin/hw/android.hardware.usb@1.1-service.exynos7885 vendor/bin/hw/android.hardware.wifi@1.0-service vendor/bin/hw/gpsd vendor/bin/hw/hostapd @@ -107,24 +91,8 @@ vendor/etc/fstab.exynos7904 vendor/etc/gnss/ca.pem vendor/etc/gnss/gps.cfg vendor/etc/hearing_aid_audio_policy_configuration.xml -vendor/etc/init/android.hardware.audio@2.0-service.rc -vendor/etc/init/android.hardware.bluetooth@1.0-service.rc -vendor/etc/init/android.hardware.cas@1.1-service.rc -vendor/etc/init/android.hardware.configstore@1.1-service.rc -vendor/etc/init/android.hardware.drm@1.0-service.rc -vendor/etc/init/android.hardware.drm@1.2-service.clearkey.rc vendor/etc/init/android.hardware.drm@1.2-service.widevine.rc -vendor/etc/init/android.hardware.gatekeeper@1.0-service.rc -vendor/etc/init/android.hardware.graphics.allocator@2.0-service.rc -vendor/etc/init/android.hardware.graphics.composer@2.1-service.rc vendor/etc/init/android.hardware.health@2.0-service.samsung.rc -vendor/etc/init/android.hardware.keymaster@3.0-service.rc -vendor/etc/init/android.hardware.media.omx@1.0-service.rc -vendor/etc/init/android.hardware.memtrack@1.0-service.rc -vendor/etc/init/android.hardware.power@1.0-service.rc -vendor/etc/init/android.hardware.sensors@1.0-service.rc -vendor/etc/init/android.hardware.thermal@1.0-service.rc -vendor/etc/init/android.hardware.usb@1.1-service.exynos7885.rc vendor/etc/init/android.hardware.wifi@1.0-service.rc vendor/etc/init/hostapd.android.rc vendor/etc/init/init.baseband.rc @@ -308,46 +276,21 @@ vendor/firmware/mfc_fw.bin vendor/firmware/setfile_3l6.bin vendor/firmware/setfile_4ha.bin vendor/firmware/setfile_5e9.bin -vendor/lib/android.hardware.audio.common-util.so -vendor/lib/android.hardware.audio.common@2.0-util.so -vendor/lib/android.hardware.camera.provider@2.4-legacy.so -vendor/lib/android.hardware.camera.provider@2.5-legacy.so -vendor/lib/android.hardware.gatekeeper@1.0-impl.so vendor/lib/camera.device@1.0-impl.so vendor/lib/camera.device@3.2-impl.so vendor/lib/camera.device@3.3-impl.so vendor/lib/camera.device@3.4-impl.so vendor/lib/camera.device@3.5-impl.so vendor/lib/egl/libGLES_mali.so -vendor/lib/hw/android.hardware.audio.effect@2.0-impl.so -vendor/lib/hw/android.hardware.audio@2.0-impl.so -vendor/lib/hw/android.hardware.bluetooth@1.0-impl.so -vendor/lib/hw/android.hardware.drm@1.0-impl.so -vendor/lib/hw/android.hardware.graphics.allocator@2.0-impl.so -vendor/lib/hw/android.hardware.graphics.composer@2.1-impl.so -vendor/lib/hw/android.hardware.graphics.mapper@2.0-impl.so -vendor/lib/hw/android.hardware.keymaster@3.0-impl.so -vendor/lib/hw/android.hardware.memtrack@1.0-impl.so -vendor/lib/hw/android.hardware.power@1.0-impl.so -vendor/lib/hw/android.hardware.renderscript@1.0-impl.so -vendor/lib/hw/android.hardware.sensors@1.0-impl.so -vendor/lib/hw/android.hardware.soundtrigger@2.0-impl.so -vendor/lib/hw/android.hardware.thermal@1.0-impl.so -vendor/lib/hw/audio.primary.default.so vendor/lib/hw/audio.primary.exynos7904.so -vendor/lib/hw/audio.r_submix.default.so vendor/lib/hw/audio.sec_primary.default.so -vendor/lib/hw/audio.usb.default.so vendor/lib/hw/camera.exynos7904.so vendor/lib/hw/fingerprint.default.so vendor/lib/hw/gatekeeper.exynos7904.so -vendor/lib/hw/gralloc.default.so vendor/lib/hw/gralloc.exynos7904.so vendor/lib/hw/hwcomposer.exynos7904.so vendor/lib/hw/lights.universal7904.so -vendor/lib/hw/local_time.default.so vendor/lib/hw/memtrack.exynos7904.so -vendor/lib/hw/power.default.so vendor/lib/hw/power.universal7904.so vendor/lib/hw/sensors.universal7904.so vendor/lib/hw/thermal.universal7904.so @@ -355,7 +298,6 @@ vendor/lib/hw/vendor.samsung.hardware.audio@1.0-impl.so vendor/lib/hw/vendor.samsung.hardware.camera.provider@3.0-impl.so vendor/lib/hw/vendor.samsung.hardware.light@3.0-impl.so vendor/lib/hw/vendor.samsung.hardware.snap@1.1-impl.so -vendor/lib/hw/vibrator.default.so vendor/lib/libDLInterface.camera.samsung.so vendor/lib/libExynosHWCService.so vendor/lib/libExynosOMX_Core.so @@ -375,13 +317,10 @@ vendor/lib/libapex_utils.so vendor/lib/libaudio-ril.so vendor/lib/libaudio_soundtrigger.so vendor/lib/libaudioroute.so -vendor/lib/libavservices_minijail_vendor.so vendor/lib/libbauthserver.so vendor/lib/libbauthtzcommon.so vendor/lib/libbt-vendor.so vendor/lib/libcsc.so -vendor/lib/libeffects.so -vendor/lib/libeffectsconfig.so vendor/lib/libegis_fp_normal_sensor_test.so vendor/lib/libexynoscamera.so vendor/lib/libexynoscamera3.so @@ -393,7 +332,6 @@ vendor/lib/libexynosv4l2.so vendor/lib/libfloatingfeature.so vendor/lib/libgf_in_system_lib.so vendor/lib/libgiantmscl.so -vendor/lib/libgui_vendor.so vendor/lib/libhifills.so vendor/lib/libhifills_interface.so vendor/lib/libhigh_dynamic_range.so @@ -401,7 +339,6 @@ vendor/lib/libhwc2on1adapter.so vendor/lib/libhwc2onfbadapter.so vendor/lib/libhwjpeg.so vendor/lib/libion_exynos.so -vendor/lib/libkeymaster3device.so vendor/lib/libmfhdr_interface.so vendor/lib/libmpbase.so vendor/lib/libnbaio_mono.so @@ -435,25 +372,20 @@ vendor/lib/libstagefright_omx_utils.so vendor/lib/libstagefright_omx_vendor.so vendor/lib/libstagefright_soft_ac4dec.so vendor/lib/libstagefright_soft_ddpdec.so -vendor/lib/libstagefright_xmlparser.so vendor/lib/libstagefrighthw.so vendor/lib/libswldc_capture_core.camera.samsung.so vendor/lib/libsynaFpSensorTestNwd.so vendor/lib/libtinyalsa.so -vendor/lib/libtinycompress.so vendor/lib/libuniapi.so vendor/lib/libuniplugin.so vendor/lib/libvideobeauty_interface.so vendor/lib/libvndsecril-client.so -vendor/lib/libwebrtc_audio_preprocessing.so vendor/lib/libwifi-hal.so vendor/lib/libwpa_client.so vendor/lib/libwrappergps.so vendor/lib/libwvhidl.so vendor/lib/libxcv.camera.samsung.so vendor/lib/libyasalgo.so -vendor/lib/mediacas/libclearkeycasplugin.so -vendor/lib/mediadrm/libdrmclearkeyplugin.so vendor/lib/mediadrm/libwvdrmengine.so vendor/lib/omx/libOMX.Exynos.AVC.Decoder.so vendor/lib/omx/libOMX.Exynos.AVC.Encoder.so @@ -466,21 +398,6 @@ vendor/lib/omx/libOMX.Exynos.VP8.Encoder.so vendor/lib/omx/libOMX.Exynos.VP9.Decoder.so vendor/lib/omx/libOMX.Exynos.WMV.Decoder.so vendor/lib/soundfx/libaudioeffectoffload.so -vendor/lib/soundfx/libaudiopreprocessing.so -vendor/lib/soundfx/libaudiosaplus_sec.so -vendor/lib/soundfx/libbundlewrapper.so -vendor/lib/soundfx/libdownmix.so -vendor/lib/soundfx/libdynproc.so -vendor/lib/soundfx/libeffectproxy.so -vendor/lib/soundfx/libgearvr.so -vendor/lib/soundfx/libldnhncr.so -vendor/lib/soundfx/libmysound.so -vendor/lib/soundfx/libmyspace.so -vendor/lib/soundfx/libplaybackrecorder.so -vendor/lib/soundfx/libreverbwrapper.so -vendor/lib/soundfx/libsamsungSoundbooster_plus.so -vendor/lib/soundfx/libswdap.so -vendor/lib/soundfx/libvisualizer.so vendor/lib/vendor.samsung.camera.device@1.0-impl.so vendor/lib/vendor.samsung.camera.device@4.0-impl.so vendor/lib/vendor.samsung.hardware.audio@1.0.so @@ -513,44 +430,22 @@ vendor/lib/vendor.samsung_slsi.hardware.configstore-utils.so vendor/lib/vendor.samsung_slsi.hardware.configstore@1.0.so vendor/lib/vendor.trustonic.tee@1.0.so vendor/lib/vendor.trustonic.teeregistry@1.0.so -vendor/lib64/android.hardware.audio.common-util.so -vendor/lib64/android.hardware.audio.common@2.0-util.so -vendor/lib64/android.hardware.camera.provider@2.4-legacy.so -vendor/lib64/android.hardware.gatekeeper@1.0-impl.so vendor/lib64/camera.device@1.0-impl.so vendor/lib64/camera.device@3.2-impl.so vendor/lib64/camera.device@3.3-impl.so vendor/lib64/camera.device@3.4-impl.so vendor/lib64/camera.device@3.5-impl.so vendor/lib64/egl/libGLES_mali.so -vendor/lib64/hw/android.hardware.audio.effect@2.0-impl.so -vendor/lib64/hw/android.hardware.audio@2.0-impl.so -vendor/lib64/hw/android.hardware.bluetooth@1.0-impl.so vendor/lib64/hw/android.hardware.gnss@2.0-impl.so -vendor/lib64/hw/android.hardware.graphics.allocator@2.0-impl.so -vendor/lib64/hw/android.hardware.graphics.composer@2.1-impl.so -vendor/lib64/hw/android.hardware.graphics.mapper@2.0-impl.so -vendor/lib64/hw/android.hardware.keymaster@3.0-impl.so -vendor/lib64/hw/android.hardware.memtrack@1.0-impl.so -vendor/lib64/hw/android.hardware.power@1.0-impl.so -vendor/lib64/hw/android.hardware.renderscript@1.0-impl.so -vendor/lib64/hw/android.hardware.sensors@1.0-impl.so -vendor/lib64/hw/android.hardware.thermal@1.0-impl.so -vendor/lib64/hw/audio.primary.default.so -vendor/lib64/hw/audio.r_submix.default.so vendor/lib64/hw/audio.sec_primary.default.so -vendor/lib64/hw/audio.usb.default.so vendor/lib64/hw/camera.exynos7904.so vendor/lib64/hw/fingerprint.default.so vendor/lib64/hw/gatekeeper.exynos7904.so -vendor/lib64/hw/gralloc.default.so vendor/lib64/hw/gralloc.exynos7904.so vendor/lib64/hw/hwcomposer.exynos7904.so vendor/lib64/hw/keystore.mdfpp.so vendor/lib64/hw/lights.universal7904.so -vendor/lib64/hw/local_time.default.so vendor/lib64/hw/memtrack.exynos7904.so -vendor/lib64/hw/power.default.so vendor/lib64/hw/power.universal7904.so vendor/lib64/hw/sensors.universal7904.so vendor/lib64/hw/thermal.universal7904.so @@ -559,7 +454,6 @@ vendor/lib64/hw/vendor.samsung.hardware.camera.provider@3.0-impl.so vendor/lib64/hw/vendor.samsung.hardware.gnss@2.0-impl.so vendor/lib64/hw/vendor.samsung.hardware.light@3.0-impl.so vendor/lib64/hw/vendor.samsung.hardware.snap@1.1-impl.so -vendor/lib64/hw/vibrator.default.so vendor/lib64/libDLInterface.camera.samsung.so vendor/lib64/libExynosHWCService.so vendor/lib64/libExynosOMX_Core.so @@ -578,8 +472,6 @@ vendor/lib64/libbauthserver.so vendor/lib64/libbauthtzcommon.so vendor/lib64/libbt-vendor.so vendor/lib64/libcsc.so -vendor/lib64/libeffects.so -vendor/lib64/libeffectsconfig.so vendor/lib64/libegis_fp_normal_sensor_test.so vendor/lib64/libexynoscamera.so vendor/lib64/libexynoscamera3.so @@ -600,7 +492,6 @@ vendor/lib64/libhwjpeg.so vendor/lib64/libhwminijail.so vendor/lib64/libion_exynos.so vendor/lib64/libkeymaster2_mdfpp.so -vendor/lib64/libkeymaster3device.so vendor/lib64/libkeymaster_helper_vendor.so vendor/lib64/libkeystore-engine-wifi-hidl.so vendor/lib64/libkeystore-wifi-hidl.so @@ -638,14 +529,11 @@ vendor/lib64/libvideobeauty_interface.so vendor/lib64/libvkmanager_vendor.so vendor/lib64/libvkservice.so vendor/lib64/libvndsecril-client.so -vendor/lib64/libwebrtc_audio_preprocessing.so vendor/lib64/libwifi-hal.so vendor/lib64/libwpa_client.so vendor/lib64/libwrappergps.so vendor/lib64/libxcv.camera.samsung.so vendor/lib64/libyasalgo.so -vendor/lib64/mediacas/libclearkeycasplugin.so -vendor/lib64/mediadrm/libdrmclearkeyplugin.so vendor/lib64/omx/libOMX.Exynos.AVC.Decoder.so vendor/lib64/omx/libOMX.Exynos.AVC.Encoder.so vendor/lib64/omx/libOMX.Exynos.HEVC.Decoder.so @@ -657,21 +545,6 @@ vendor/lib64/omx/libOMX.Exynos.VP8.Encoder.so vendor/lib64/omx/libOMX.Exynos.VP9.Decoder.so vendor/lib64/omx/libOMX.Exynos.WMV.Decoder.so vendor/lib64/soundfx/libaudioeffectoffload.so -vendor/lib64/soundfx/libaudiopreprocessing.so -vendor/lib64/soundfx/libaudiosaplus_sec.so -vendor/lib64/soundfx/libbundlewrapper.so -vendor/lib64/soundfx/libdownmix.so -vendor/lib64/soundfx/libdynproc.so -vendor/lib64/soundfx/libeffectproxy.so -vendor/lib64/soundfx/libgearvr.so -vendor/lib64/soundfx/libldnhncr.so -vendor/lib64/soundfx/libmysound.so -vendor/lib64/soundfx/libmyspace.so -vendor/lib64/soundfx/libplaybackrecorder.so -vendor/lib64/soundfx/libreverbwrapper.so -vendor/lib64/soundfx/libsamsungSoundbooster_plus.so -vendor/lib64/soundfx/libswdap.so -vendor/lib64/soundfx/libvisualizer.so vendor/lib64/vendor.samsung.camera.device@1.0-impl.so vendor/lib64/vendor.samsung.camera.device@4.0-impl.so vendor/lib64/vendor.samsung.hardware.audio@1.0.so diff --git a/universal7904-common.mk b/universal7904-common.mk index cf21a8b..cf51f79 100644 --- a/universal7904-common.mk +++ b/universal7904-common.mk @@ -8,6 +8,15 @@ PRODUCT_AAPT_PREF_CONFIG := xxhdpi # Audio TARGET_EXCLUDES_AUDIOFX := true +PRODUCT_PACKAGES += \ + android.hardware.audio@2.0-impl \ + android.hardware.audio.service \ + android.hardware.audio.effect@2.0-impl \ + libeffects \ + libtinycompress \ + audio.r_submix.default \ + audio.usb.default + PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/configs/audio_policy_configuration.xml:$(TARGET_COPY_OUT_PRODUCT)/vendor_overlay/29/etc/audio_policy_configuration.xml \ $(LOCAL_PATH)/configs/audio_policy_configuration.xml:$(TARGET_COPY_OUT_PRODUCT)/vendor_overlay/30/etc/audio_policy_configuration.xml \ @@ -16,16 +25,42 @@ PRODUCT_COPY_FILES += \ # Bluetooth PRODUCT_PACKAGES += \ + android.hardware.bluetooth@1.0-impl \ + android.hardware.bluetooth@1.0-service \ audio.a2dp.default # Boot animation TARGET_SCREEN_HEIGHT := 2340 TARGET_SCREEN_WIDTH := 1080 +# Camera +PRODUCT_PACKAGES += \ + android.hardware.camera.provider@2.4-legacy \ + android.hardware.camera.provider@2.5-legacy + +# DRM +PRODUCT_PACKAGES += \ + android.hardware.drm@1.0-impl \ + android.hardware.drm@1.0-service \ + android.hardware.drm@1.2-service.clearkey + # FastCharge PRODUCT_PACKAGES += \ lineage.fastcharge@1.0-service.samsung +# Gatekeeper +PRODUCT_PACKAGES += \ + android.hardware.gatekeeper@1.0-impl \ + android.hardware.gatekeeper@1.0-service + +# Graphics +PRODUCT_PACKAGES += \ + android.hardware.graphics.allocator@2.0-impl \ + android.hardware.graphics.allocator@2.0-service \ + android.hardware.graphics.composer@2.1-impl \ + android.hardware.graphics.composer@2.1-service \ + android.hardware.graphics.mapper@2.0-impl + # HIDL PRODUCT_PACKAGES += \ libhidltransport \ @@ -41,11 +76,15 @@ PRODUCT_PACKAGES += \ init.exynos7904.rc # Keymaster -PRODUCT_COPY_FILES += \ - prebuilts/vndk/v29/arm64/arch-arm64-armv8-a/shared/vndk-core/libkeymaster_portable.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libkeymaster_portable-v29.so \ - prebuilts/vndk/v29/arm64/arch-arm-armv8-a/shared/vndk-core/libkeymaster_portable.so:$(TARGET_COPY_OUT_VENDOR)/lib/libkeymaster_portable-v29.so \ - prebuilts/vndk/v29/arm64/arch-arm64-armv8-a/shared/vndk-core/libpuresoftkeymasterdevice.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libpuresoftkeymasterdevice-v29.so \ - prebuilts/vndk/v29/arm64/arch-arm-armv8-a/shared/vndk-core/libpuresoftkeymasterdevice.so:$(TARGET_COPY_OUT_VENDOR)/lib/libpuresoftkeymasterdevice-v29.so +PRODUCT_PACKAGES += \ + android.hardware.keymaster@3.0-service \ + android.hardware.keymaster@3.0-impl \ + libkeymaster3device + +# Memtrack +PRODUCT_PACKAGES += \ + android.hardware.memtrack@1.0-impl \ + android.hardware.memtrack@1.0-service # NFC PRODUCT_PACKAGES += \ @@ -93,13 +132,18 @@ PRODUCT_PACKAGES += \ fastbootd \ init.recovery.exynos7904.rc +# Renderscript +PRODUCT_PACKAGES += \ + android.hardware.renderscript@1.0-impl + # SamsungDoze PRODUCT_PACKAGES += \ SamsungDoze # Sensors PRODUCT_PACKAGES += \ - android.hardware.sensors@1.0-impl.samsung-universal7904 + android.hardware.sensors@1.0-impl.samsung \ + android.hardware.sensors@1.0-service # Skip Mount PRODUCT_COPY_FILES += \ @@ -113,6 +157,15 @@ PRODUCT_PACKAGES += \ PRODUCT_SOONG_NAMESPACES += \ $(LOCAL_PATH) +# Soundtrigger +PRODUCT_PACKAGES += \ + android.hardware.soundtrigger@2.0-impl + +# Thermal +PRODUCT_PACKAGES += \ + android.hardware.thermal@1.0-impl \ + android.hardware.thermal@1.0-service + # Trust HAL PRODUCT_PACKAGES += \ lineage.trust@1.0-service @@ -121,9 +174,9 @@ PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \ lineage.touch@1.0-service.samsung -# Wifi +# USB PRODUCT_PACKAGES += \ - TetheringConfigOverlay + android.hardware.usb@1.1-service.typec # VNDK PRODUCT_EXTRA_VNDK_VERSIONS := 29 @@ -132,3 +185,7 @@ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/configs/vndkcore.libraries.29.txt:$(TARGET_COPY_OUT_SYSTEM_EXT)/apex/com.android.vndk.v29/etc/vndkcore.libraries.29.txt \ $(LOCAL_PATH)/configs/vndkprivate.libraries.29.txt:$(TARGET_COPY_OUT_SYSTEM_EXT)/apex/com.android.vndk.v29/etc/vndkprivate.libraries.29.txt \ $(LOCAL_PATH)/configs/placeholder:$(TARGET_COPY_OUT_SYSTEM_EXT)/apex/com.android.vndk.v29/lib/libstagefright_foundation.so + +# Wifi +PRODUCT_PACKAGES += \ + TetheringConfigOverlay