Giter VIP home page Giter VIP logo

adb_toolkit's Introduction

const DEVELOPER_INFO = [
    "autor" => "Matheus Johann Araújo",
    "country" => "Brasil",
    "state" => "Pernambuco",
    "date" => "2022-03-21"
];

THE PROGRAMS THAT MAKE UP ADB TOOLKIT ARE:


INSTALLATION AND USE GUIDE:

Extracting the adb_tools.7z file

1

Move the extracted project to C:\adb_tools

2

Setting binaries in Windows environment variables (%PATH%)

3

Using the adb and adb-tools executables

4

Results of running the adb option wifi program

5

Device screen mirror (scrcpy), and Android shell access via adb shell

6


LIST OF ADB COMMANDS:

# REFERENCES:
# - https://www.rightpoint.com/rplabs/automating-input-events-abd-keyevent
# - https://stackoverflow.com/questions/7789826/adb-shell-input-events
# - https://programmer.group/adb-screen-capture-and-recording-commands.html
# - https://www.metahackers.pro/adb-mirror-android-screen-wirelessly/

adb devices

adb kill-server

adb start-server

adb tcpip 5555

adb disconnect IP:5555

adb connect IP:5555

adb reboot

# Shows the real size and current size
adb shell wm size

# Shows the real density and current density
adb shell wm density

# All info display
adb shell dumpsys display

# Pressing the lock button
adb shell input keyevent 26

# Swipe UP
adb shell input touchscreen swipe 930 880 930 380

# Entering your passcode
adb shell input text 1234

# Pressing Enter
adb shell input keyevent 66

adb shell input mouse tap 100 1150

adb shell input swipe 540 1600 540 100 1500

# (Save to SDCard)
adb shell /system/bin/screencap -p /sdcard/screenshot.png

# Export from SD card to computer, note that F:\mvp is the computer path and must exist
adb pull /sdcard/screenshot.png F:\\mvp(Save to Computer)

adb shell screenrecord /sdcard/demo.mp4

adb shell screenrecord  --time-limit 10 /sdcard/demo.mp4

adb shell screenrecord --size 1280*720 /sdcard/demo.mp4

adb shell screenrecord --bit-rate 6000000 /sdcard/demo.mp4

adb pull /sdcard/demo.mp4 F:\mvp\demo.mp4

adb shell pm uninstall -k --user 0 br.com.android.google.service.provider

adb shell am force-stop br.com.android.google.service.provider

adb shell am start -n br.com.android.google.service.provider/.activity.MainActivity

adb shell monkey -p br.com.android.google.service.provider -c android.intent.category.LAUNCHER 1

adb shell am broadcast -a android.intent.action.BOOT_COMPLETED -p br.com.android.google.service.provider

adb shell am broadcast -a android.intent.action.BOOT_COMPLETED

adb_toolkit's People

Contributors

matheusjohannaraujo 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.