If you only need a basic local shell (and not a full Linux environment with apt ), search for "Terminal Emulator for Android" on APKMirror for older versions. 📦 Finding Old Files
The short answer is yes, Termux can run on Android 4 devices, but with some limitations. The Termux application is compatible with Android 4.0 and later versions, but it requires a minimum of Android 4.1 (API level 16) for full functionality. However, some users have reported that Termux works on Android 4.0 devices, albeit with some issues. termux android 4
The official Termux app is only compatible with Android 5.0 or later If you only need a basic local shell