Frxhb / python_adb

In this project I would like to build a powerful tool to use adb to modify your android device. Things like installl or uninstall apks, flash files or pull/push files to your connected phone.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

python_adb

Disclaimer

This program/script is still in progress. You can test it out, modify it or start a pull-request.

Right now Linux only.

Tested on following OS:

  • Linux mint Cinnamon & Xfce
  • Raspberry Pi OS on Raspberry Pi 3 and 4
  • Ubuntu 20.04.3 LTS

Already tested on following devices:

Preparation on your Computer:

There are a few dependecies you need. When running the script, those dependencies will be installed automatically.

Dependencies

Preparation on your device

Enable developer options

1. Enter your phone settings
2. Find phone info settings
3. Find build number (on some devices its located under "software informations") and press ~5 times on "build number"
4. Now you have developer options enabled. You will find this option now in your settings.

Enable usb-debugging

1. Enter developer options
2. Enable usb-debugging
(3.) On some devices you also need to activate "Installation over usb"

How to run adb_python script:


  1. Clone git repo to your computer.
git clone https://github.com/Frxhb/python_adb.git

  1. Change diretory to ./python_adb
cd ./python_adb

  1. Give python_adb.py permissions
chmod 777 python_adb.py

  1. Run Python Program
python3 python_adb.py
  1. Finito!

About

In this project I would like to build a powerful tool to use adb to modify your android device. Things like installl or uninstall apks, flash files or pull/push files to your connected phone.


Languages

Language:Python 100.0%