All Projects → tananaev → Adblib

tananaev / Adblib

Licence: bsd-3-clause
Java ADB library

Programming Languages

java
68154 projects - #9 most used programming language

Labels

Projects that are alternatives of or similar to Adblib

Python Androidtv
Communicate with an Android TV or Fire TV device via ADB over a network.
Stars: ✭ 58 (-60%)
Mutual labels:  adb
Millionhero
速度快、准确易用-支持各平台的答题助手-图形界面-多权重答案推荐-自动百度高亮答案
Stars: ✭ 106 (-26.9%)
Mutual labels:  adb
Adam
Coroutine-friendly Android Debug Bridge client written in Kotlin
Stars: ✭ 129 (-11.03%)
Mutual labels:  adb
Build fwul
NEW LOCATION *** NEW LOCATION !! https://code.binbash.it:8443/FWUL/build_fwul || . . . . . . . . . . . . FWUL - the most reliable adb/fastboot live system ever - to manage ANY Android without driver hassle
Stars: ✭ 70 (-51.72%)
Mutual labels:  adb
Adb root
Magisk Module that allows you to run "adb root".
Stars: ✭ 97 (-33.1%)
Mutual labels:  adb
Androidcontrol
超强群控,可以实时查看和控制安卓手机的安卓远程控制软件,致力于完成一个高端的安卓群控软件 可以群控,录制运行脚本等等功能......
Stars: ✭ 1,576 (+986.9%)
Mutual labels:  adb
Airfrozengranter
AirFrozen
Stars: ✭ 52 (-64.14%)
Mutual labels:  adb
Python Firetv
Stars: ✭ 142 (-2.07%)
Mutual labels:  adb
Adbserver
Adb Server for Espresso tests
Stars: ✭ 105 (-27.59%)
Mutual labels:  adb
Phonesploit
A tool for remote ADB exploitation in Python3 for all Machines.
Stars: ✭ 122 (-15.86%)
Mutual labels:  adb
Debloat Samsung Android
ADB commands to aggressively de-bloat Samsung Android Phones without root. Make Samsung One UI closer to stock Android.
Stars: ✭ 79 (-45.52%)
Mutual labels:  adb
Logcatch
android adb logcat viewer for Linux/Mac/Windows
Stars: ✭ 95 (-34.48%)
Mutual labels:  adb
Auto add wechat friends py
微信添加好友 批量发送添加请求 脚本 python
Stars: ✭ 112 (-22.76%)
Mutual labels:  adb
Hjmirror
Mirroring you droid device screen to Windows, MacOS and Linux.
Stars: ✭ 67 (-53.79%)
Mutual labels:  adb
Apk Utilities
🛠 Tools and scripts to manipulate Android APKs
Stars: ✭ 134 (-7.59%)
Mutual labels:  adb
Addon Adb
Android Debug Bridge - Home Assistant Community Add-ons
Stars: ✭ 58 (-60%)
Mutual labels:  adb
Uber Adb Tools
A tool that enables advanced features through adb installing and uninstalling apps like wildcards and multi device support. Useful if you want to clean your test device from all company apks or install a lot of apks in one go. Written in Java so it should run on your platform.
Stars: ✭ 106 (-26.9%)
Mutual labels:  adb
Wadb
A simple switch for adb (Android Debug Bridge) over network.
Stars: ✭ 143 (-1.38%)
Mutual labels:  adb
Rogcat
A `adb logcat` wrapper
Stars: ✭ 137 (-5.52%)
Mutual labels:  adb
Droidcast
An experimental demo for capturing and displaying screenshot of an Android device without ROOT permission.
Stars: ✭ 116 (-20%)
Mutual labels:  adb

ADB Library - adblib

Overview

A Java library implementation of the ADB (Android Debug Bridge) network protocol.

This project is a fork of the original library developed by Cameron Gutman.

Usage

Include dependency via Gradle:

compile 'com.tananaev:adblib:1.3'

or Maven:

<dependency>
  <groupId>com.tananaev</groupId>
  <artifactId>adblib</artifactId>
  <version>1.3</version>
</dependency>

To be able to connect to the ADB daemon on Android phone, you need to enable it to listen to TCP connections. To do that, connect your phone via USB cable and run following adb command:

adb tcpip 5555

Disconnect USB cable before trying to connect using the library. Some phones have problems handling TCP connection when they are connected via USB as well.

More info about Android remote debugging can be found on the official Android developer website.

Sample library usage example:

Socket socket = new Socket("192.168.1.42", 5555); // put phone IP address here

AdbCrypto crypto = AdbCrypto.generateAdbKeyPair(new AdbBase64() {
    @Override
    public String encodeToString(byte[] data) {
        return DatatypeConverter.printBase64Binary(data);
    }
});

AdbConnection connection = AdbConnection.create(socket, crypto);
connection.connect();

AdbStream stream = connection.open("shell:logcat");

...

License

Copyright (c) 2013, Cameron Gutman
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

  Redistributions of source code must retain the above copyright notice, this
  list of conditions and the following disclaimer.

  Redistributions in binary form must reproduce the above copyright notice, this
  list of conditions and the following disclaimer in the documentation and/or
  other materials provided with the distribution.

  Neither the name of the {organization} nor the names of its
  contributors may be used to endorse or promote products derived from
  this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].