GithubHelp home page GithubHelp logo

adigest / androidstresstest Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aystshen/androidstresstest

1.0 0.0 0.0 10.58 MB

This is an Android system stress test app that supports cpu, memory, video, wifi, bluetooth, airplane mode, reboot, sleep, factory reset and other tests.

License: Apache License 2.0

Java 9.56% CMake 0.54% C++ 9.55% C 45.20% Makefile 3.85% M4 0.38% Shell 4.64% Roff 0.40% HTML 7.56% CSS 0.46% JavaScript 0.37% Assembly 14.37% Rich Text Format 0.01% Objective-C 0.01% PHP 3.01% Batchfile 0.09%

androidstresstest's Introduction

AndroidStressTest

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

image

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, 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

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.

androidstresstest's People

Contributors

aystshen avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.