SkillAgentSearch skills...

Termuxfree

Run any termux package as real root in your ADB shell

Install / Use

/learn @hansalemaos/Termuxfree
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

termuxfree

Run any Termux package as root (real root!) in your ADB shell

Tutorial in Brazilian Portugues - with a German Accent :)

YT https://www.youtube.com/watch?v=QM_DAcAjBp8

1. Download Termux from GitHub

https://github.com/termux/termux-app/releases/download/v0.118.1/termux-app_v0.118.1+github-debug_x86_64.apk

2. Connect to the device, install termux-app_v0.118.1+github-debug_x86_64.apk and copy the scripts to the sdcard

adb connect 127.0.0.1:5595
adb -s 127.0.0.1:5595 install -g -t "C:\Users\hansc\Downloads\termux-app_v0.118.1+github-debug_x86_64.apk"
adb -s 127.0.0.1:5595 push C:\termuxfree /sdcard

3. open cmd.exe and start an ADB shell

adb -s 127.0.0.1:5595 shell 

4. activate su and run the script termux_configure_termux.sh (do this only ONCE - takes about a minute to complete)

su 
sh /sdcard/termuxfree/termux_configure_termux.sh

5. activate the Termux env in your ADB shell and use any Termux package outside Termux

# each time you open an adb shell, you have to execute 
source /sdcard/tenv.sh

# if you want to make changes to the Termux folder (rw remount), use
sh /sdcard/termuxfree/termux_remountscript.sh;source /sdcard/tenv.sh 

# execute /sdcard/oenv.sh to set the old env (usually not necessary, because adb resets the env automatically each time you start it)
source /sdcard/oenv.sh

6. after sourcing /sdcard/tenv.sh, you can install packages from the ADB shell like this:

# Note that all install commands will open the termux app to install packages.  
# If you install packages as root directly in your adb shell (pkg install), 
# you will mess up your termux installation due to user rights. 
# Termux (user u0_a136 in my case) has no rights to open files created by root (user 0) or shell (user 2000)
# So, if you don't want to run a lot of chmod/chgrp/chown commands to repair your Termux installation, install packages using these commands:
pkginstall python
pkgreinstall python
pkguninstall python
pkgup

#to (un)install python packages 
pipinstall cython
pipuninstall cython

7. run commands like you would in termux

python

Some good Python stuff (Don't use pip for them! It won't work!)

pkginstall python
pkginstall opencv-python
pkginstall python-apsw
pkginstall python-apt
pkginstall python-bcrypt
pkginstall python-contourpy
pkginstall python-cryptography
pkginstall python-ensurepip-wheels
pkginstall python-greenlet
pkginstall python-grpcio
pkginstall python-lameenc
pkginstall python-libsass
pkginstall python-lxml
pkginstall python-msgpack
pkginstall python-numpy
pkginstall python-numpy-static
pkginstall python-pillow
pkginstall python-pip
pkginstall python-pyarrow
pkginstall python-pynvim
pkginstall python-sabyenc3
pkginstall python-static
pkginstall python-tkinter
pkginstall python-tldp
pkginstall python-torch
pkginstall python-torch-static
pkginstall python-torchaudio
pkginstall python-torchvision
pkginstall python-xcbgen
pkginstall python-xlib
pkginstall vim-python
pkginstall python-pandas
pkginstall python-pyqtwebengine
pkginstall python-qscintilla
pkginstall python-scipy

# After installing tur-repro 
pkginstall tur-repo

# you can install (Don't use pip for them! It won't work!)
pkginstall python-pandas
pkginstall python-brotli
pkginstall python-cairo
pkginstall python-fitsio
pkginstall python-future
pkginstall python-kivy
pkginstall python-mitmproxy-wireguard
pkginstall python-opengl
pkginstall python-polars
pkginstall python-pycryptodomex
pkginstall python-pygame
pkginstall python-pywavelets
pkginstall python-scikit-image
pkginstall python-scipy
pkginstall python-seledroid
pkginstall python-selenium-is-seledroid
pkginstall python-tiktoken
pkginstall python-tls-client
pkginstall python-tokenizers

# pip packages that don't compile anything at setup, can be installed using pip
# installing python packages 
pipinstall ptpython
pipinstall Cython
pipinstall exceptdrucker
pipinstall flatten_any_dict_iterable_or_whatsoever
pipinstall setuptools
pipinstall xmlhtml2pandas


Some good packages

pkginstall 7zip
pkginstall aichat
pkginstall android-tools
pkginstall anewer
pkginstall apkeep
pkginstall bat
pkginstall bftpd
pkginstall bmon
pkginstall bore
pkginstall brook
pkginstall c-script
pkginstall chafa
pkginstall cloneit
pkginstall csview
pkginstall fzf
pkginstall recode
pkginstall ripgrep
pkginstall rustscan
pkginstall rw
pkginstall shell2http
pkginstall sing-box
pkginstall speedtest-go
pkginstall srelay
pkginstall strace
pkginstall tesseract
pkginstall tor
pkginstall torsocks
pkginstall vbindiff
pkginstall vim-python
pkginstall x11-repo
pkginstall yazi
pkginstall zsh
pkginstall imagemagick
pkginstall imagemagick-static
pkginstall cpulimit
pkginstall colordiff
pkginstall cmake
pkginstall clifm
pkginstall abduco
pkginstall dvtm
pkginstall glibc-repo
pkginstall glibc-runner

#for tesseract
sh /sdcard/termuxfree/termux_remountscript.sh;source /sdcard/tenv.sh 
pkginstall tesseract
pkginstall cloneit
cd /data/data/com.termux/files/usr/share
rm -f -r tessdata
cloneit https://github.com/tesseract-ocr/tessdata
cloneit https://github.com/tesseract-ocr/tessdata_fast
cloneit https://github.com/tesseract-ocr/tessdata_best

# Good package overview 

https://github.com/Azathothas/Termux-Packages

https://github.com/termux-user-repository/tur
View on GitHub
GitHub Stars14
CategoryDevelopment
Updated27d ago
Forks6

Languages

Shell

Security Score

95/100

Audited on Mar 14, 2026

No findings