Sample Header Ad - 728x90

Download file from Android shell

1 vote
1 answer
3264 views
I am making a shell script for Android to run on ADB, however, the script should download a file. Commands like wget and curl aren't available in /system/bin. Here are a few possibble solutions that I thought of, each with its cons: 1. Rooting and installing BusyBox (my target systems are rootless) 2. Downloading file in computer using wget or curl then transferring the file to Android with adb push (the script should be ran on Android, not the computer connected to it) 3. Downloading wget or curl in Android (how can I download a binary without them in first place???) 4. Termux (nope, my script sets some settings in Android which Termux can't) Is it even possile? If yes, how?
Asked by sudoer (159 rep)
Jan 8, 2023, 11:54 AM
Last activity: Feb 8, 2024, 10:05 PM