su -c tcpdump says permission denied . Solution: Check Magisk → Superuser. Is Termux listed? If yes, long-press and revoke, then re-grant. If no, you may need to install a su binary. Try pkg install tsu (a wrapper script).
pkg list-repositories You should see an entry like: root https://packages.termux.org/apt/termux-root root stable Try installing tcpdump , a classic network diagnostic tool. root repo termux
But remember: One mistyped command could mean re-flashing your firmware. Use it wisely, back up your data, and always double-check your su -c commands. su -c tcpdump says permission denied
pkg update && pkg upgrade -y This package doesn’t install actual tools—it adds the repository URL and GPG key to Termux’s sources list. long-press and revoke