Apk from f-droid or Official PlayStore
pkg upgrade -y
curl -LO https://its-pointless.github.io/setup-pointless-repo.sh
bash setup-pointless-repo.sh
pkg install android-tools python build-essential cmake libjpeg-turbo libpng libxml2 libxslt freetype git -y
pip install wheel
This procedure is slow, use -vvv in pip if you want to see if everything installing alright
git clone https://github.com/gramaddict/bot.git gramaddict
cd gramaddict
pip install -r requirements.txt
You can also install GramAddict using pip, but in that case you won't have the config-example folder ready to go.
python -m uiautomator2 init
python run.py
Read that article https://wiki.termux.com/wiki/Internal_and_external_storage
The easiest solution is to download an storage access framework compatible file manager like FX File Explorer Then you can follow that instructions https://wiki.termux.com/images/e/e5/FX_Termux_Home.jpg Then you can edit and view GramAddict files.
- if you type on termux
adb devices
and you get a blank list try the following:- connect the phone to a PC and get sure you get your device ID in
adb devices
(from pc console) adb tcpip 5555
adb kill-server
and disconnect the cable- get back on termux and write:
adb connect localhost:5555
- now you should be able to see your device ID in
adb devices
- connect the phone to a PC and get sure you get your device ID in
- when I start the bot it looks like it freezes after opening IG and termux shell has been closed
- edit your
accounts/yourusername/config.yml
file and setclose-apps: false
- edit your
All credits to patbengr