yashsingh1/xdaforums huggingface dataset:
[Android General] r3pwn:
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.
[Android General] r3pwn:
Screenshot!
[Android General] r3pwn:
I'm surprised I was the first person to post about this.
[Android General] kenshinta:
Since you did, you are an idol. Cheers!
[Android General] GoLfWRC:
Nicely done.
[Android General] r3pwn:
Thanks. And in-progress is a MD4, MD5 checksum verifier app that will require OpenSSL. :)
[Android General] r3pwn:
If anyone cares, the link to the app is http://xdaforums.com/showthread.php?t=2366638.

Enjoy checking checksums!
[Android General] heytcass:
Just tried to install this and didn't seem to get it running.

My purpose for getting curl on Android is so I can have SL4A run a script launched by tasker, but every time I run the script I get "Fatal error: Call to undefined function curl_init() in storage/emulated/0/sl4a/scripts/nest.class.php (a PHP script for controlling my Nest thermostat).

I followed all your steps to install, although I seemed to have to do most through Root Explorer, by pushing to a folder through adb, copying from there into /data/local/ssl (which I had to mkdir for) and /system/bin, then using Root Explorer to change the permissions. Could this install process be the issue? If not, any other tips on getting cURL installed so it can be used?

Thanks.
[Android General] heytcass:
I just installed adbd insecure. Should that help with the install?
[Android General] heytcass:
Alright, so I followed the steps to a T on a freshly formatted phone, and I am still getting the "Call to undefined function curl_init()" Fatal error within sl4a's terminal. In my searching to get this problem resolved by my Nexus 5 getting here, I found this page: http://thesoftwarerogue.blogspot.com/2010/05/porting-of-libcurl-to-android-os-using.html.

It's a bit dated, but it seems like it should work. Is there a better chance that method will work better than this one?
[Android General] heytcass:
No help on this?
[Android General] r3pwn:
Have you tried running it from Android Terminal Emulator or via an adb shell? That is how it's intended to run.
[Android General] heytcass:
I was of the understanding that the terminal within SL4A was a proper terminal emulator. I'll try it with a standalone emulator and see what result that gets me.

Thanks.
[Android General] r3pwn:
Okay.

You're welcome.
[Android General] heytcass:
I reinstalled everything again, and did the dropbox curl test, which worked no problem. But when I run the script through SL4A, I still get the curl_init fatal error. And when I try to run it through either adb shell or terminal emulator, I get a permission denied error. I seem to be doomed in getting this thing going.
[Android General] ogah:
seem like your php not have curl extension.

use this method

$html = shell_exec('/system/bin/curl --url your_target_URL');
echo $html;

for other parameters please follow the curl --help
[Android General] wavrunrx:
will the cURL / openssl binaries survive ROM updates ? ie, cyanogenmod nightly --> cyanogenmod nightly ?
[Android General] ogah:
since you put in /system and /data folder, they will gone if you update the rom
[Android General] jose_ramirez:
Hi! I managed to install curl, and put the /data/local/ssl folder

in /data/local/ssl in my phone, but when I tried to do

curl to an https site, the following error appears:

View attachment 2885033

So, I'm trying to guess what's going wrong. Any hint that can

help me get rid of this error will be appreciated.
[Android General] r3pwn:
Do what it says,

Run "curl -k yoururlhere"
[Android General] jose_ramirez:
just like that? and avoid the verification completely?
[Android General] mac_see:
Somehow I copied the data/local/ssl to /data/local/ssl on the device.

But not data/local/bin to /system/bin. it says operation failed and in adb shell also it is unable to copy with the CAT command.

Please advice.
[Android General] RolluS:
Wow nice find, thanks to r3pwn.

For your problem mac_see, you could try to mount system rw:

adb remount

or

adb shell mount -o rw,remount /system
[Android General] lemoineo:
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

curl https://curl.haxx.se

the respons is

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
[Android General] STcraft:
getting the same error when i install the curl bin into /system/bin (tried /system/xbin too, no luck)
[Android General] dablado:
Same error with CM12.1. Any idea to fix it?
[Android General] phoberus:
I'm on Android 6.0.1 and I get /system/bin/sh: not found after install. Got it anyone to work with newer android versions?
[Android General] dubis999:
Hi

I'm using Android M.

With the compiled package found on this page I've got the same error than Dablado and Stcraft. So I installed the cURL APK package from (Google Play and I've this error when I launched cURL in the terminal :

I compiled very well these sources I meant without error. I didn't find any binaries.

Do have any other issue?

Thanks for any help.
[Android General] ang3l:
Can someone explain this bit please? :)
[Android General] BrownChoco:
chmod to 0755

I do not know that it really means. Someone, please help. I am a newbie. :)

I already coppied the folder and 2 files in the said directory. I am stuck at the "chmod to 0755" the files, I do know how.
[Android General] kriminel:
cd /system/bin

chmod 0755 curl

chmod 0755 openssl
[Android General] kriminel:
while i did all the steps i get permission denied on both curl and openssl, using termux
[Android General] JuneTwo:
Android bin files are actualy missing on curl.haxx.se :(
[Android General] mrbeak:
Yes they have been removed little time ago. Could someone upload the file please? I searched everywhere. The original file name was curl-7.40.0-rtmp-ssh2-ssl-zlib-static-bin-android.tar.gz but I cannot find it on the internet anymore.
[Android General] emrekasikara:
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
[Android General] mark_zukerberg:
thank you.

I installed curl with your instruction. How can I use it now?

When I try use "curl" in terminal I get error: "/system/bin/sh: curl: not found"

ps. after reboot all working OK
[Android General] ScrapMaker:
Curious as well. Not sure where it installs curl.

edit: nm, you have to reboot a second time, (after installing curl.)
[Android General] fipsy:
Thanks a lot! Works great! Even with Android Q. I needed openssl an got it this way. Wonderful. :-)
[Android General] DiamondJohn:
I cant find ccbins module in Magisk?
[Android General] DiamondJohn:
OK, now I see (ie I read a few posts up a little more closely... very embarrased, and sorry.

its called "Cross Compiled Binaries" I was searching for ccbins.

So to clarify the steps.

1. Download & Install "Cross Compiled Binaries" from the Magisk Repo

2. Reboot

3. Open a shell and get an su

4. Run "ccbins"

Spoiler content hidden.

5. Select "Install a Binary" ie "--> 6"

Spoiler content hidden.

6. Install the selected one. "curl" in my case. ie "--> 8"

Spoiler content hidden.

7. Reboot

8. open a shell, get su and curl is now available

Spoiler content hidden.
[Android General] geearf:
Thanks for this!
[HTC Wildfire S] AFN:
Hello my friends today I am going with you to a journey to fix wifi in CM ROMs [9/10]

The fix is for this problem

*Turning WiFi on
*Searching for WiFi networks (Stays here forever)

The fix is

1.Remove the battery and

THE SIM CARD

then insert battery

2.Go into CWM and do a

A CLEAN WIPE

3.Re-flash ROM and reboot

4.WiFi is finally working and you can insert the sim card after the next reboot

Note:if after you inserted the sim card after the next reboot and the problem did come back go into "setttings" => "wifi" => "advanced" => "wifi region code" => "Europe"

And finally the problem is fixed :victory:

Don't forget to smash Thanks​
[HTC Wildfire S] lechicuong:
Hi bro!

my phone was problem with wifi when i tried to downgrade to 4.2.2 and unlock it a few month ago, now could i use CM10 to fix wifi?
[HTC Wildfire S] AFN:
You can try,I think yes
[HTC Wildfire S] ammarsg:
thanks but after insert sim return the problem and every reboot we should change the region code ....same country problem :D if you run jb roms you can try wifix apk it work good with me but not work in kk yet:eek:
[HTC Wildfire S] AFN:
wifix actually works on jb and ics too
[HTC Wildfire S] ammarsg:
yah work with me on 4.2.2 before but in 4.4.2 not work

this link for it maybe help you

http://xdaforums.com/showthread.php?p=21406675
[Motorola Droid RAZR] ricardofago:
Hey guys, I've been away for a while but recently I started trying systems again. Yesteday I was using latest Carbon and decided to try Dirty Unicorns, so I made a backup in BMM. After that I tried rebooting (didn't flashed or changed anything else) but got stuck in bootanimation. I flashed Dirty Unicorns anyway, configured the whole system and now did a backup. After trying to reboot, I got stuck before bootanimation again. Does anyone know what the reason may be? It's the same BMM I've been using for a long time, just changed backup format to tar and set it inside internal memory. Right now I'm charging my XT910 to try restoring these backups and see if they work. Not sure if it's relevant, but I always use JBX-Kernel (right now at 0.7c).
[Micromax A116] Zafar7777:
My wifi is not working like before whenever i start it it stuck on "onn" sometimes it turned on but when i want to turn it off it stuck der too pls help me i want to use wifi ASAP :'(
[Micromax A116] samthechamp:
Flash samHD V2 . it solved the issue for me
[Micromax A116] Zafar7777:
Awk frnd i'll flash this but u r on stock 4.2 before when u get this problem ??
[Micromax A116] samthechamp:
No...i was on stock 4.1...
[Micromax A116] Zafar7777:
The problem persist of WiFi have tried all ROM and WiFi sometimes work in jellyxperia pls help me to solve this ;(
[Micromax A116] samthechamp:
OK....

First format your phone via sp tools and then flash stock firmware
[Micromax A116] Zafar7777:
Okk bro listen me first my problem starts from 4.2stock ROM and after it I flash other Roms but the problem persist so should I go back to 4.1 ?? If yes pls bruh gimme the link and thanks for your reply :)
[Micromax A116] samthechamp:
Your choice
[Micromax A116] Zafar7777:
It didn't help still my wifi/Bluetooth stuck and if wifi starts mac address changed everytime is there any soln to recover original mac address pls let me know if u know anything :) i want my wifi back ASAP :(
[Micromax A116] samthechamp:
There are a lot of chinese programs for that..just google
[Micromax A116] Zafar7777:
Already friend i cant find any have searched half of xda but no soln :/
[Micromax A116] sskullcrusherr:
Please elobrate, can you use net over wifi normally and it's just the wifi button that's not responsive?
[Micromax A116] Zafar7777:
Nope i can't use my WiFi it's stuck at turning on or turning off and sometimes it get turned on then it changes mac address automatically and I've tried everything that's possible from wiping data and cache to flashing every rom ! It just don't turned on , one more thing when i check my wifi in factory test it scan and search my WiFi fast ! So what will be the problem I've search all over xda and some sites too but i can't find any solution.help help help !
[Micromax A116] sskullcrusherr:
You can use this apps, see which one works for you and post it here.

https://play.google.com/store/apps/details?id=org.wahtod.wififixer&hl=en

https://play.google.com/store/apps/details?id=com.brilliapps.wifiandmorefixer

---------- Post added at 08:45 PM ---------- Previous post was at 08:41 PM ----------

If both apps don't work use this guide:-

http://rootzwiki.com/topic/5650-wip-guide-nvs-map-creation-aka-how-i-fixed-my-wifimac-issues/
[Micromax A116] Zafar7777:
Have tried both apps bro didn't worked and this another method don't understand :/
[Micromax A116] Zafar7777:
See this
[Micromax A116] Zafar7777:
See this I've this Mac address before its different like 00:08:22 last 6digits change on every time WiFi on so i replaced this files by downloading from somewhere ! Now it works lil bit then again give problems :confused:
[Micromax A116] ezraqui:
Im having the same problem. Wifi and bluetooth not switching on. wifi MAC address shows unavailable. :(
[Micromax A116] Zafar7777:
Did u done anything or happens on its own ??:confused:
[Micromax A116] ezraqui:
it just happened on its own. i tried flashing different ROms but the problem stays.
[Micromax A116] Zafar7777:
Hmm same here haven't got any solution so I've taken a decision to use it without WiFi and Bluetooth :/ or maybe i will give it for repair after eid :(

If i get any solution it's good
[Micromax A116] sskullcrusherr:
OK, flash the zip I have attached, they are JB files so don't flash it on ICS and than fix permission.

If this does not solve your problem I will try to make the tutorial I have attached easy so that you can follow it.

My advice is that when you reply press reply button under my comment so that I get a notification that you have answered.

View attachment WiFi_Fix.zip
[Micromax A116] Zafar7777:
Still the same bro :( have flashed then fixed permission !
[Micromax A116] ezraqui:
Im having the same problem here. tried to flash the file you attached but didnt work :(
[Micromax A116] sskullcrusherr:
K will try to make a tutorial today to fix it.
[Micromax A116] Zafar7777:
Okk thanks for ya help :)
[Micromax A116] Zafar7777:
Bro Did u find something ?? :)
[Micromax A116] Zafar7777:
Is someone still alive to give answer for this post

Sent from my Micromax A116
[Micromax A116] ezraqui:
Any updates on this issue? ?
[Micromax A116] Zafar7777:
Not yet my WiFi and Bluetooth is still not in use !

Sent from my Micromax A116
[Micromax A116] mehulboricha:
have you installed any MODs

if you have installed any MODs to your phone then flash the new rom this may solve this problem...or if you have previous backup then restore it.......
[Micromax A116] Zafar7777:
This problem come automatically on 4.2.1 when phone is not been rooted have done many flashes I've flashed back to 4.1.2 it also doesn't help then tried mostly all ROM from this forum still the same problem can u pls suggest something different and working soln :)

Sent from my Micromax A116
[Micromax A116] ahesartamboli:
Any 1 Got soln??

I'm also facing same issue any 1 Got soln?? on wifi and bluetooth
[Micromax A116] Zafar7777:
The Problem Is Because Of Lose Connection Of Hardware, That's Y The Bluetooth And Wifi Doesn't Work.
[MDA II, XDA II, 2060 General] LadFromWales85:
Hey all :-)

I have an XDA IIi, which was working totally fine. I bought a windows smartphone, which was to replace the IIi as my main phone, so I took the sim out of the IIi and put it in the new phone. Put another sim in the IIi and attempted to power it on, I got nothing, so I put it on the cradle..all I get is a steady red light from the right LED.

When I was powering the phone off initially to take the sim off, I turned the PDA off, removed the cover, slid the red switch, waited a few seconds, and removed the battery etc....

The red light flashes when the battery is removed, and goes steady again when put back in. Sometimes it goes off when put back in, but nothing else happens.

I have tried soft resetting, hard resetting, hard reset while holding down every key I can think of at the same time, but still no go.

Is my IIi dead forever, or is there something that can be done to get it working again?

Thanks all :)
[MDA II, XDA II, 2060 General] zabes64:
same thing happened to my friends XDA2 and no one ever was able to reply back nor did he ever figure out what happened to it because his warranty was up and he just bought a new one from someone, if you find out whats wrong please let me know because thats the SAME way his went bad, by changing a SIM card
[MDA II, XDA II, 2060 General] deadparrot:
I take my sim out all the time. is yours unlocked? even if it's locked to o2, it might not accept other o2 simcards. have you tried putting the original sim back in? Hard reset? I've never had it show a RED light before. this is interesting...
[MDA II, XDA II, 2060 General] Jargal:
I have same problem after I put device on charge and after five - ten minutes his back to life
[MDA II, XDA II, 2060 General] steverae:
I too had this problem when i left my m1000 in my coat pocket over the weekend. It was completely dead, plugging it into the cradle to charge just gave me nothing, but if i left it, after around 10 minutes, the rred light came on, then changed to amber after around half an hour.

Phew. just dead battery. Have you tried the other battery that came with your xda ?
[MDA II, XDA II, 2060 General] Resonance:
Hi, I had this wierd problem the other day, sorted it with a hard reset :)

Hope this helps.

Ste
[MDA II, XDA II, 2060 General] NightmarE:
my XDA2 is dead like this method lol it goes blank screen after i tried to upgrade to WM2203SE Chines one but i cant get it run untel this moment ,,,,

then i bought i-mate Jam ad tried to upgrade it with ansaky (27MB free storage) and it failed then goes blanke screen (red light when remove battery and plug it rechager) and i give it to service suopport hope thay solve the problem :D

any clue from you guys
[MDA II, XDA II, 2060 General] topspinner:
TRY THIS !!

try to go to the Boot Loader mode

press power button , reset button and in the same time press the middle round key down foe a moment and get the boot loader screen "SERIAL "

or "USB" if connected to the cradle ... Re flash the PDA again and good luck
[MDA II, XDA II, 2060 General] NightmarE:
Re: TRY THIS !!

this wont help for me :evil:
[Galaxy S 4 Q&A, Help & Troubleshooting] ck_:
'ello geeks,

I know Kies has been infamous for just about every reason a piece of software can be..Perhaps before investing in S4 I should have gone through Kies reviews as well and not just phone's.

Anyway, the issue I am facing is since Samsung released the firmware upgrade for Galaxy S4 , I have been trying to upgrade via Kies (I do not have a wife router) and faced with below:

1. While it downloads the firmware data, it randomly shows phone's disconnected and I have to restart the download.

2. On one instances, it did go through the upgrade procedure completely but only firmware ID got updated as none of the features came in...on top of that ability to change unlock effect in settings got disabled for some reason. Post this I had reset the phone.

3. Another question is, for around 350 mb upgrade, Kies keeps on downloading 7 gb+ data,,,is this normal? and why would that be for?

[Ref: Windows 7 Premium, Intel C2D 2.2, 2 gb RAM]

[Ref: GT-I9500 Purchased in India]

Please let me know if you people have a different experience and whether anything can be done to mend it...or this is how the life with Kies is!

Thanks!
[Galaxy S 4 Q&A, Help & Troubleshooting] mihir880:
I am assuming that you are not rooted.

Try updating it manually via Odin

Download the official firmware file from here

http://www.sammobile.com/firmwares/

And follow the step from here

http://androidteen.com/galaxy-s4-i9505-update-xxubmea-android-4-2-2-jelly-bean-official-firmware/

It's done no need
[Sprint Samsung Galaxy S III] michaelg117:
Is there ANY way at all do to this outside of a TW ROM?
[Sprint Samsung Galaxy S III] Ragnar:
Not really, not on the S3.

Sent from the future via Tapatalk 4
[Sprint Samsung Galaxy S III] michaelg117:
No dialer codes?
[Sprint Samsung Galaxy S III] prboy1969:
You could try THIS.
[Sprint Samsung Galaxy S III] janjanrex:
I'll have to bookmark this!
[Galaxy S 4 i9505 Android Development] Crash:
Toscha42 Blue Theme

Joode Theme

Viruslaura

Azazel_dark Tester

jaco98 Tester

Masterkira Uploading the Rom

My Wife

Dsixda

Chainfire

Samsung

HTC Mania

REMOVE IN THIS VERSION

More Modems Here HERE (Thanks to our friend DjeMBeY)

​
[Galaxy S 4 i9505 Android Development] Crash:
Stock look widget weather

TW Launcher 4X5 - 5X6 - 3X4

Disable call buttom from contacts

Disable Crt Off animation

Enable Crt Off animation (use this only if you disable CRT-Off and like to have it again)

SONY FONT

Thanks Arrow for share :ok:

Sony sketch font

Default font

MISSING APPS PACKS

ALL MISSING APPS ZIP

SAMSUNG HERE

ALLSHARE HERE

SHEALTH HERE

POLARIS VIEWER HERE

STORY ALBUM HERE

YAHOO HERE

OTA APPS​
[Galaxy S 4 i9505 Android Development] winwiz:
Welcome OP

lovely to see another Dev
[Galaxy S 4 i9505 Android Development] jonatasneves13:
This is the first Custom ROM when I use on my previous N7000 ...

And I'm happy to see this custom ROM here to my new I9505 :D

big thanks Crash! :victory::victory::victory:
[Galaxy S 4 i9505 Android Development] semakawa:
Can't wait to see a new rom.Thanks in advance.
[Galaxy S 4 i9505 Android Development] Crash:
Awesome :D

Sent from my GT-I9500
[Galaxy S 4 i9505 Android Development] reflexr:
Thank you for your hard work and for sharing this rom!!

Gesendet von meinem GT-I9505 mit Tapatalk 4 Beta
[Galaxy S 4 i9505 Android Development] Crash:
Hope my tester says that everything is ok to start uploading the rom.

Hugs guys

Sent from my GT-I9500
[Galaxy S 4 i9505 Android Development] jonatasneves13:
Waiting! :fingers-crossed:
[Galaxy S 4 i9505 Android Development] muhamet:
Welcone
[Galaxy S 4 i9505 Android Development] sswagonman:
Great to see another top dev here. Welcome crash
[Galaxy S 4 i9505 Android Development] Crash:
Hi mate nice to read you hugs

Sorry guys we have some testing delay hope to upload tomorrow

Hugs
[Galaxy S 4 i9505 Android Development] saywhatt:
always happy to see a new ROM :good: waiting for the link :)
[Galaxy S 4 i9505 Android Development] D.O.C:
Thread will be reopened once the download link is updated. Thanks for your patience.
[Galaxy S 4 i9505 Android Development] Towle:
Thread re-opened.
[Galaxy S 4 i9505 Android Development] Crash:
Thanks im update post 1
[Galaxy S 4 i9505 Android Development] boterkaaseneieren:
Almost forgot about this thread. F8 update or the newest?