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:
-
Xiaomi Mi 10T Lite 5G
(Android 11.0) -
Samsung Galaxy S7 Exynos
(Android 8.0) -
Gigaset GS370 Plus
(Android 8.1.0)
There are a few dependecies you need. When running the script, those dependencies will be installed automatically.
- python 3.6x
- python pip
- adb
- fastboot-tools
- pure-python-adb module:
- [module](https://pypi.org/project/pure-python-adb/) - packaging module
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.
1. Enter developer options
2. Enable usb-debugging
(3.) On some devices you also need to activate "Installation over usb"
- Clone git repo to your computer.
git clone https://github.com/Frxhb/python_adb.git
- Change diretory to ./python_adb
cd ./python_adb
- Give python_adb.py permissions
chmod 777 python_adb.py
- Run Python Program
python3 python_adb.py
- Finito!