# AndroidStressTest **Repository Path**: rogmail/AndroidStressTest ## Basic Information - **Project Name**: AndroidStressTest - **Description**: 这是一个Android系统压力测试APP,用于验证系统主要模块的稳定性。适应于Android硬件制造商使用,支持下面模块的压力测试: CPU测试 内存测试 视频测试 WiFi测试 蓝牙测试 飞行模式测试 重启测试 休眠测试 恢复出厂测试 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 13 - **Forks**: 6 - **Created**: 2021-03-23 - **Last Updated**: 2025-03-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # AndroidStressTest [![](https://img.shields.io/badge/downloads-apk-brightgreen.svg)](https://www.pgyer.com/oyhn) This is an Android system stress test app that verifies the reliability of the main modules of the system. It is suitable for Android hardware manufacturers and supports the stress test of the following modules: * CPU test * Memory test * Video test * WIFI test * Bluetooth test * Airplane mode test * Restart test * Sleep test * Restore factory test * Time power-on/off test * Network test * Camera test * UVC Camera test ## Preview ![image](screenshots/preview.png) ![image](screenshots/record.gif) ## Compile You need to use android-ndk-r14b when compiling libuvccamera. If you don't modify the code in libuvccamera, you can also use the pre-compiled library. You can modify it like this: libuvccamera/build.gradle ``` tasks.withType(JavaCompile) { //compileTask -> compileTask.dependsOn ndkBuild } ``` If you want to compile libuvccamera, you first need to download [android-ndk-r14b](https://dl.google.com/android/repository/android-ndk-r14b-windows-x86.zip?utm_source=androiddevtools&utm_medium=website), then you can configure local.properties like this: ``` ndk.dir=F\:\\android\\sdk\\ndk-bundle uvccamera.ndk.dir=F\:\\android\\android-ndk-r11b sdk.dir=F\:\\android\\sdk ``` Regarding the signature key you can configure local.properties like this: ``` keystore.path=xxx keystore.alias=xxx keystore.store_password=xxx keystore.key_password=xxx ``` ## Using AndroidStressTest in your device 1. Download 2. System Signature 3. Installation System signature: $java -jar SignApk.jar platform.x509.pem platform.pk8 AndroidStressTest.apk AndroidStressTest_signed.apk NOTE: * System permissions are required for tests such as rebooting and restoring the factory, because system signature is required * Because the test of restarting and restoring the factory needs to be booted from the boot, and some devices prohibit the booting of the third-party APP, you can push this APP to System/app to solve it. ## Developed By * ayst.shen@foxmail.com ## License Copyright 2019 Bob Shen. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.