just like that? and avoid the verification completely?
NOTE: YOU MUST BE ROOTED WITH BUSYBOX INSTALLED TO INSTALL cURL AND OpenSSL.
Recently, when looking to see if it was possible to get cURL on Android, I found something posted on June 22nd of 2013 on http://curl.haxx.se/. What was it, you may ask? It was an announcement of the curl binary version 7.31.0. This also came with a nice little surprise. cURL and openssl binaries for android! If you want, you can download them by going to http://curl.haxx.se/download.html and scrolling down until you see Linux - Android. Download the ".tar.gz" file and extract it. Inside, you will see a folder called data. To install, copy the data/local/ssl to /data/local/ssl on the device. Also, push the curl and openssl binaries from data/local/bin to /system/bin on the device. Be sure to chmod them to 0755. Once all that is done, have fun using curl!
I have confirmed this to be working on my Kindle Fire HD running android 4.2.2.
EDIT: Root is needed in order to run OpenSSL, but not cURL.
Sent from my Amazon Kindle Fire HD using xda app-developers app
adb remount
adb shell mount -o rw,remount /system
curl https://curl.haxx.se
Error : only position independent executables (PIE) are supported.
getting the same error when i install the curl bin into /system/bin (tried /system/xbin too, no luck)Hello, it's a good idea ! But how version of Android ?
with the 5.1.1 (rom custom) on my Samsung Galaxy Note 4 (Exynos), when I type exemple
the respons isCode:curl https://curl.haxx.se
Code:Error : only position independent executables (PIE) are supported.
And to compile the source code, it is not very like UNIX, ... the command make does not exist
Olivier
Hello, it's a good idea ! But how version of Android ?
with the 5.1.1 (rom custom) on my Samsung Galaxy Note 4 (Exynos), when I type exemple
the respons isCode:curl https://curl.haxx.se
Code:Error : only position independent executables (PIE) are supported.
And to compile the source code, it is not very like UNIX, ... the command make does not exist
Olivier
CANNOT LINK EXECUTABLE: cannot locate symbol "UI_get_string_type" referenced by "curl"...
I do not know that it really means. Someone, please help. I am a newbie.
there is an easy way to install curl on android;
- install busybox module from magisk,
- install ccbins (cross compiled binaries) module from magisk,
- open/run terminal emulator (e.g. termux),
- get superuser access with "su" command,
- run "ccbins",
- install "curl"
very simple and without any file download and transfer
Thanks a lot! Works great! Even with Android Q. I needed openssl an got it this way. Wonderful.- run "ccbins",
very simple and without any file download and transfer
I cant find ccbins module in Magisk?there is an easy way to install curl on android;
- install busybox module from magisk,
- install ccbins (cross compiled binaries) module from magisk,
- open/run terminal emulator (e.g. termux),
- get superuser access with "su" command,
- run "ccbins",
- install "curl"
very simple and without any file download and transfer
OK, now I see (ie I read a few posts up a little more closely... very embarrased, and sorry.
sunfish:/ $ su
sunfish:/ # ccbins
===============================
Cross Compiled Binaries v7.2(9)
by Zackptg5
===============================
BusyBox v1.31.1-osm0sis
/dev/a7Y7BvR/.magisk/modules/ccbins/busybox
===============================
Testing internet connection [/] - OK
Fetching available binaries
[|] - Done
Checking for mod updates
[\] - Ccbins is up to date
Checking for binary updates
[/] - Installing NCursesw v6.2
[-] - NCursesw has been installed!
[|] - Binaries are up to date
Checking for conflicting modules
[\] - No conflicting mods were found
===============================
Binary Installer ==============
===============================
Current install location: /system/bin
Auto-update binaries at launch: Enabled (recommended)
DOH Server: None
===============================
Choose option =================
===============================
0: Refresh CCbins (remove everything - start fresh)
1: General Information
2: Options/Settings
3: List all installed binaries
4: List all downloadable binaries
5: Remove binary
6: Install binary
7: Install dynamic linked binary
Type 'q' at any time to quit
-->
--> 6
===============================
Install which binary? =========
===============================
Current install location: =====
/system/bin ===================
===============================
0: None, go back to main menu
1: Install all binaries listed below
2: Aria2 (v1.35.0)
3: Bash (v5.1.8)
4: Bc (v1.07.1)
5: Brotli (v1.0.9)
6: Coreutils (v8.32)
7: Cpio (v2.12)
8: Curl (v7.78.0)
9: Diffutils (v3.7)
10: Ed (v1.17)
11: Findutils (v4.8.0)
12: Gawk (v5.1.0)
13: Grep (v3.6)
14: Gzip (v1.10)
15: Htop (v3.0.5)
16: Iw (v5.9)
17: Keycheck (v1.0)
18: Nano (v5.8.0)
19: Nethogs (v0.8.6)
20: Openssl (v1.1.1.11)
21: Patch (v2.7.6)
22: Patchelf (v0.12)
23: Sed (v4.8)
24: Strace (v5.13)
25: Tar (v1.34)
26: Tcpdump (v4.99.1)
27: Vim (v8.2.3095)
28: Wavemon (v0.9.3)
29: Xmlstarlet (v1.0)
30: Xxd (v1.10)
31: Zip (v3.0)
32: Zsh (v5.8.0)
33: Zstd (v1.5.0)
-->
--> 8
Downloading Curl
[|] - Curl has been installed!
Reboot for changes to take effect
sunfish:/ $ su
sunfish:/ # curl--help
/system/bin/sh: curl--help: inaccessible or not found
127|sunfish:/ # curl --help
Usage: curl [options...] <url>
-d, --data <data> HTTP POST data
-f, --fail Fail silently (no output at all) on HTTP errors
-h, --help <category> Get help for commands
-i, --include Include protocol response headers in the output
-o, --output <file> Write to file instead of stdout
-O, --remote-name Write output to a file named as the remote file
-s, --silent Silent mode
-T, --upload-file <file> Transfer local FILE to destination
-u, --user <user:password> Server user and password
-A, --user-agent <name> Send User-Agent <name> to server
-v, --verbose Make the operation more talkative
-V, --version Show version number and quit
This is not the full help, this menu is stripped into categories.
Use "--help category" to get an overview of all categories.
For all options use the manual or "--help all".