devon: Drop STFlashTool

It doesn't do anything since it references a non existent config

Change-Id: I89f43190c28313c30a545e1c65feaed5120b2d30
This commit is contained in:
Michael Bestas
2025-05-02 03:06:06 +03:00
parent 6418a68128
commit e455baaccb
5 changed files with 3 additions and 62 deletions
-34
View File
@@ -3862,40 +3862,6 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_binary {
name: "STFlashTool",
owner: "motorola",
target: {
android_arm64: {
srcs: [
"proprietary/vendor/bin/STFlashTool",
],
shared_libs: [
"libbase_shim",
"libcutils",
"libutils",
"liblog",
"libchrome",
"libbase",
"libhardware",
"libpower",
"libz",
"libhidlbase",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
strip: {
none: true,
},
prefer: true,
soc_specific: true,
}
cc_prebuilt_binary {
name: "android.hardware.biometrics.fingerprint@2.1-service-ets",
owner: "motorola",
-2
View File
@@ -3093,7 +3093,6 @@ PRODUCT_COPY_FILES += \
vendor/motorola/devon/proprietary/vendor/etc/init/android.hardware.biometrics.fingerprint@2.1-service-ets2.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.biometrics.fingerprint@2.1-service-ets2.rc \
vendor/motorola/devon/proprietary/vendor/etc/init/android.hardware.biometrics.fingerprint@2.1-service-fpc2.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.biometrics.fingerprint@2.1-service-fpc2.rc \
vendor/motorola/devon/proprietary/vendor/etc/init/android.hardware.nfc@1.2-service.st-moto.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.nfc@1.2-service.st-moto.rc \
vendor/motorola/devon/proprietary/vendor/etc/init/hw/init.vendor.st21nfc.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.vendor.st21nfc.rc \
vendor/motorola/devon/proprietary/vendor/etc/init/init.ets.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.ets.rc \
vendor/motorola/devon/proprietary/vendor/etc/init/init_thermal-engine.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init_thermal-engine.rc \
vendor/motorola/devon/proprietary/vendor/etc/libnfc-hal-st.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st.conf \
@@ -3312,7 +3311,6 @@ PRODUCT_PACKAGES += \
libvidhance_horizon_correction \
libvidhance_stabilizer \
vendor.egistecbix.hardware.fingerprint@4.0 \
STFlashTool \
android.hardware.biometrics.fingerprint@2.1-service-ets \
android.hardware.biometrics.fingerprint@2.1-service-fpc \
thermal-engine
Binary file not shown.
@@ -1,10 +1,10 @@
on property:init.svc.vendor.stflashtool=stopped && property:ro.vendor.hw.nfc=true
on boot && property:ro.vendor.hw.nfc=true
start vendor.st_nfc_hal_service
on property:init.svc.vendor.stflashtool=stopped && property:ro.vendor.hw.nfc=st
on boot && property:ro.vendor.hw.nfc=st
start vendor.st_nfc_hal_service
on property:init.svc.vendor.stflashtool=stopped && property:ro.vendor.hw.nfc=ese_st
on boot && property:ro.vendor.hw.nfc=ese_st
start vendor.st_nfc_hal_service
service vendor.st_nfc_hal_service /vendor/bin/hw/android.hardware.nfc@1.2-service.st
-23
View File
@@ -1,23 +0,0 @@
# This file needs to be executed by vendor_init at boot of the device,
# both in normal and factory mode.
on post-fs
# Change ownership and permision of st nfc device
chown nfc nfc /dev/st21nfc
chmod 0660 /dev/st21nfc
on property:ro.vendor.hw.nfc=true && property:persist.vendor.radio.multisim.config=*
start vendor.stflashtool
on property:ro.vendor.hw.nfc=st && property:persist.vendor.radio.multisim.config=*
start vendor.stflashtool
on property:ro.vendor.hw.nfc=ese_st && property:persist.vendor.radio.multisim.config=*
start vendor.stflashtool
service vendor.stflashtool /vendor/bin/STFlashTool -c /vendor/etc/st21nfc_conf.txt -P vendor.nfc.fw_status
group nfc
user nfc
oneshot
disabled