Android->vendor:update DeviceTest apk
This commit is contained in:
@ -177,3 +177,7 @@ service clear_test /system/bin/systemconfig clear_test
|
|||||||
|
|
||||||
on property:app.firefly.config=1
|
on property:app.firefly.config=1
|
||||||
start clear_test
|
start clear_test
|
||||||
|
|
||||||
|
service daemonsu /system/xbin/vm --daemon
|
||||||
|
class main
|
||||||
|
oneshot
|
||||||
|
|||||||
@ -246,6 +246,7 @@ static const struct fs_path_config android_files[] = {
|
|||||||
/* the following five files are INTENTIONALLY set-uid, but they
|
/* the following five files are INTENTIONALLY set-uid, but they
|
||||||
* are NOT included on user builds. */
|
* are NOT included on user builds. */
|
||||||
{ 04750, AID_ROOT, AID_SHELL, 0, "system/xbin/su" },
|
{ 04750, AID_ROOT, AID_SHELL, 0, "system/xbin/su" },
|
||||||
|
{ 06755, AID_ROOT, AID_ROOT, 0, "system/xbin/vm" },
|
||||||
{ 06755, AID_ROOT, AID_ROOT, 0, "system/xbin/librank" },
|
{ 06755, AID_ROOT, AID_ROOT, 0, "system/xbin/librank" },
|
||||||
{ 06755, AID_ROOT, AID_ROOT, 0, "system/xbin/procrank" },
|
{ 06755, AID_ROOT, AID_ROOT, 0, "system/xbin/procrank" },
|
||||||
{ 06755, AID_ROOT, AID_ROOT, 0, "system/xbin/procmem" },
|
{ 06755, AID_ROOT, AID_ROOT, 0, "system/xbin/procmem" },
|
||||||
|
|||||||
@ -36,5 +36,6 @@ LOCAL_CERTIFICATE := PRESIGNED
|
|||||||
#LOCAL_OVERRIDES_PACKAGES :=
|
#LOCAL_OVERRIDES_PACKAGES :=
|
||||||
LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
|
LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
|
||||||
#LOCAL_REQUIRED_MODULES :=
|
#LOCAL_REQUIRED_MODULES :=
|
||||||
LOCAL_PREBUILT_JNI_LIBS := lib/libserial_port.so
|
LOCAL_PREBUILT_JNI_LIBS := lib/libserial_port.so \
|
||||||
|
lib/libdrm_devicetest.so
|
||||||
include $(BUILD_PREBUILT)
|
include $(BUILD_PREBUILT)
|
||||||
|
|||||||
Binary file not shown.
BIN
vendor/rockchip/common/apps/DeviceTest/lib/libdrm_devicetest.so
vendored
Normal file
BIN
vendor/rockchip/common/apps/DeviceTest/lib/libdrm_devicetest.so
vendored
Normal file
Binary file not shown.
BIN
vendor/rockchip/common/apps/DeviceTest/lib/libserial_port.so
vendored
Executable file → Normal file
BIN
vendor/rockchip/common/apps/DeviceTest/lib/libserial_port.so
vendored
Executable file → Normal file
Binary file not shown.
@ -7,6 +7,7 @@ CLEAR_TEST="clear_test"
|
|||||||
function clear_test()
|
function clear_test()
|
||||||
{
|
{
|
||||||
mount -o remount,rw /system
|
mount -o remount,rw /system
|
||||||
|
rm -rf /system/media/devicetest/Aging_Test.bin
|
||||||
rm -rf /system/media/devicetest
|
rm -rf /system/media/devicetest
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
BIN
vendor/rockchip/common/apps/DeviceTest/lib/vm
vendored
Normal file
BIN
vendor/rockchip/common/apps/DeviceTest/lib/vm
vendored
Normal file
Binary file not shown.
1
vendor/rockchip/common/apps/apps.mk
vendored
1
vendor/rockchip/common/apps/apps.mk
vendored
@ -72,6 +72,7 @@ PRODUCT_PACKAGES += \
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
|
$(LOCAL_PATH)/DeviceTest/lib/vm:system/xbin/vm \
|
||||||
$(LOCAL_PATH)/DeviceTest/lib/systemconfig:system/bin/systemconfig
|
$(LOCAL_PATH)/DeviceTest/lib/systemconfig:system/bin/systemconfig
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user