http://pyropus.ca/software/memtester/
下载 memtester-4.3.0.tar.gz
memtester-4.3.0.tar.gz解压到system/core/目录下,并命名为memtester目录
在该目录创建 Android.mk ,内容如下(内容参考Makefile)
nclude $(CLEAR_VARS)
LOCAL_SRC_FILES := memtester.c tests.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)
LOCAL_MODULE := memtester
include $(BUILD_EXECUTABLE)
/system/core/memtester$ mm -j8
device下添加 PRODUCT_PACKAGES += memtester
来源:oschina
链接:https://my.oschina.net/wfy94/blog/4297457