diff --git a/.github/workflows/by511.yml b/.github/workflows/by511.yml index 10a562e..fa638e8 100644 --- a/.github/workflows/by511.yml +++ b/.github/workflows/by511.yml @@ -49,6 +49,7 @@ jobs: mka -j$(nproc --all) recoveryimage export twrp_version=$(cat bootable/recovery/variables.h | grep "define TW_MAIN_VERSION_STR" | cut -d '"' -f2) cp out/target/product/sl8521e_1h10ll_sw761/recovery.img ../twrp-${twrp_version}_0-sl8521e_1h10ll_sw761.img + cp $(find out -name adf_test | xargs) ../ || true lunch omni_sl8521e_1h10ll_sw763-eng mka -j$(nproc --all) recoveryimage cp out/target/product/sl8521e_1h10ll_sw763/recovery.img ../twrp-${twrp_version}_0-sl8521e_1h10ll_sw763.img @@ -67,3 +68,7 @@ jobs: with: name: TWRP Image for MiKids6x path: 'twrp-*_sw771.img' + - uses: actions/upload-artifact@v3 + with: + name: adf_test + path: 'adf_test' diff --git a/sl8521e_1h10ll-common/0001-Add-adf_test.patch b/sl8521e_1h10ll-common/0001-Add-adf_test.patch index 73bc87e..c47b6ff 100644 --- a/sl8521e_1h10ll-common/0001-Add-adf_test.patch +++ b/sl8521e_1h10ll-common/0001-Add-adf_test.patch @@ -1,4 +1,4 @@ -From f075046e0f3de5036bd42c78346bb5ecfefb3009 Mon Sep 17 00:00:00 2001 +From 4d99d56d1e31ebcb76c55a10777c40f34ce91f2d Mon Sep 17 00:00:00 2001 From: xunmod <116288337+xunmod@users.noreply.github.com> Date: Tue, 27 Aug 2024 14:24:24 +0800 Subject: [PATCH] Add adf_test @@ -7,7 +7,8 @@ Subject: [PATCH] Add adf_test Android.mk | 2 + adf_test/Android.mk | 28 +++ adf_test/adf_test.c | 405 ++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 435 insertions(+) + prebuilt/Android.mk | 1 + + 4 files changed, 436 insertions(+) create mode 100644 adf_test/Android.mk create mode 100644 adf_test/adf_test.c @@ -476,6 +477,18 @@ index 0000000..4ac4c5f + teardown(); + return 0; +} +diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk +index 17636ae..ee9b36e 100644 +--- a/prebuilt/Android.mk ++++ b/prebuilt/Android.mk +@@ -11,6 +11,7 @@ LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES + LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin + + # Manage list ++RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/adf_test + RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/dump_image + RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/flash_image + RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/erase_image -- 2.46.0