Skip to main content

An ADB wrapper for Android developers

Project description

An ADB wrapper for Android developers for testing.

# Examples
* Turn doze mode on
`adbe doze on`

* Turn mobile-data off
`adbe mobile-data off`

* Turn on battery saver
`adbe battery saver on`

* Don't keep activities in the background
`adbe dont-keep-activities on`

* Grant storage-related runtime permissions
`adbe permissions grant com.example.android storage`

* Revoke storage-related runtime permissions
`adbe permissions revoke com.example.android storage`

# Usage:
adbe.py [options] rotate (landscape | portrait | left | right)
adbe.py [options] gfx (on | off | lines)
adbe.py [options] overdraw (on | off | deut)
adbe.py [options] layout (on | off)
adbe.py [options] airplane ( on | off ) - This does not work on all the devices as of now.
adbe.py [options] battery level <percentage>
adbe.py [options] battery saver (on | off)
adbe.py [options] battery reset
adbe.py [options] doze (on | off)
adbe.py [options] jank <app_name>
adbe.py [options] devices
adbe.py [options] top-activity
adbe.py [options] force-stop <app_name>
adbe.py [options] clear-data <app_name>
adbe.py [options] mobile-data (on | off)
adbe.py [options] mobile-data saver (on | off)
adbe.py [options] rtl (on | off) - This is not working properly as of now.
adbe.py [options] screenshot <filename.png>
adbe.py [options] dont-keep-activities (on | off)
adbe.py [options] input-text <text>
adbe.py [options] press back
adbe.py [options] permission-groups list all
adbe.py [options] permissions list (all | dangerous)
adbe.py [options] permissions (grant | revoke) <package_name> (calendar | camera | contacts | location | microphone | phone | sensors | sms | storage) - grant and revoke runtime permissions

# Options:
-e, --emulator directs command to the only running emulator
-d, --device directs command to the only connected "USB" device
-s, --serial SERIAL directs command to the device or emulator with the given serial number or qualifier.

See Readme for more details -
https://github.com/ashishb/adb-enhanced/blob/master/README.md

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

adb-enhanced-1.3.tar.gz (6.9 kB view details)

Uploaded Source

File details

Details for the file adb-enhanced-1.3.tar.gz.

File metadata

  • Download URL: adb-enhanced-1.3.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for adb-enhanced-1.3.tar.gz
Algorithm Hash digest
SHA256 35aed9a9c335d2979c97fbe308d1e714ff9fe01c5bf25019ce0dced5f81d81a0
MD5 49cb2822e736046b146df8b1a79b3a45
BLAKE2b-256 c6dc9c589672a6b11cbe6fc954c57abdb51d2b35ec4786cd61f95a0fe8914a95

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page