Bitcoin Forum

Other => Beginners & Help => Topic started by: Sohcahtoa on August 17, 2011, 06:00:03 PM



Title: BitCoin miner for Android?
Post by: Sohcahtoa on August 17, 2011, 06:00:03 PM
So in the name of just using every possible resource for mining I thought...why not your Android phone?

Obviously, it should only run while sitting on the charger and at a nearly full charge because it would just absolutely suck your battery dry in less than 2 hours, but if you're at home, your phone is living on the charger anyways, just sitting idle!

The other caveat is that it is going to have horrible performance.  My 2.4 Ghz Core 2 Quad CPU only performs about 1.6 MH/s per core.  So my Droid's 550 Mhz CPU will probably only perform about 0.35 MH/s at a MAXIMUM.

Is it worth it at all?  Would anybody be interested in this?

EDIT: I didn't mention it specifically, but I'm a newbie Java/Android developer, but have some experience with C/C++ so I'm learning the language quickly.  If there's sufficient interest (And perhaps someone paying me), I will develop this.


Title: Re: BitCoin miner for Android?
Post by: ollie0108 on August 17, 2011, 06:05:51 PM
Nope, I won't do this.
It'll probably might break up my phone way before it mined a share :o


Title: Re: BitCoin miner for Android?
Post by: BitcoinSuite on August 17, 2011, 06:50:10 PM
Check out 'ARM' section of this site, Motorola devices for example are running on ARM processors (as are many others)

https://en.bitcoin.it/wiki/Mining_hardware_comparison

there is limited stats there but Nokia N900  running on ARM for example is getting less than 0.36 Mhash per Joule, which is not at all efficient, let alone cost effective (yes, I know, it's not android).





Title: Re: BitCoin miner for Android?
Post by: helloworld on August 18, 2011, 07:32:22 AM
I don't think it would be worth it because even if your phone is on the charger it might drastically affect it's battery life.

(Not sure - Does the battery form part of the circuit at all when the charger is plugged in, or is it completely bypassed?)


Title: Re: BitCoin miner for Android?
Post by: Sohcahtoa on August 19, 2011, 05:14:14 AM
I don't think it would be worth it because even if your phone is on the charger it might drastically affect it's battery life.

(Not sure - Does the battery form part of the circuit at all when the charger is plugged in, or is it completely bypassed?)


Once the battery is charged, it just stops charging and any power usage will come from the battery.  It'll recharge again after it drops a bit.  Somewhere a graph where someone showed the power usage of his charger over time.  Once it was fully charged, the charger stopped using power for like 30 minutes, then came back on for a minute to top the battery off again.


Title: Re: BitCoin miner for Android?
Post by: helloworld on August 19, 2011, 05:52:21 AM
Yeah so that would seriously cut short your battery life.


Title: Re: BitCoin miner for Android?
Post by: film2240 on October 29, 2011, 09:08:36 PM
Check out 'ARM' section of this site, Motorola devices for example are running on ARM processors (as are many others)

https://en.bitcoin.it/wiki/Mining_hardware_comparison

there is limited stats there but Nokia N900  running on ARM for example is getting less than 0.36 Mhash per Joule, which is not at all efficient, let alone cost effective (yes, I know, it's not android).


Speaking of mining on an N900,can somebody please provide me a download link to the mining program for the N900 phone along with setup instructions please as I really want to gte it started asap now for my experiments.Even if it's CPU only,I want the link to it.While I'm on the subject can someone please build a GPU miner on that phone and also an overclocking tool for N900s GPU.Thinsg for people to know:I know that overclocking is risky to the N900,I know that mining is probably worthless on N900.All I care about is that I can carry out my experiments involving multiple devices form multiple platforms in addition to my 2 computers.

Thank you


Title: Re: BitCoin miner for Android?
Post by: Fluttershy on October 30, 2011, 08:00:53 PM
I think you'd be better off pawning your phone and buying another video card.


Title: Re: BitCoin miner for Android?
Post by: bulanula on October 30, 2011, 08:08:00 PM
Check out 'ARM' section of this site, Motorola devices for example are running on ARM processors (as are many others)

https://en.bitcoin.it/wiki/Mining_hardware_comparison

there is limited stats there but Nokia N900  running on ARM for example is getting less than 0.36 Mhash per Joule, which is not at all efficient, let alone cost effective (yes, I know, it's not android).


Speaking of mining on an N900,can somebody please provide me a download link to the mining program for the N900 phone along with setup instructions please as I really want to gte it started asap now for my experiments.Even if it's CPU only,I want the link to it.While I'm on the subject can someone please build a GPU miner on that phone and also an overclocking tool for N900s GPU.Thinsg for people to know:I know that overclocking is risky to the N900,I know that mining is probably worthless on N900.All I care about is that I can carry out my experiments involving multiple devices form multiple platforms in addition to my 2 computers.

Thank you

Hope you are joking right ? I don't even dare OC my laptop and you want to OC a phone GPU lol good luck !


Title: Re: BitCoin miner for Android?
Post by: Anonymous on October 30, 2011, 11:26:51 PM
Yeah I don't think such a miner would work on a telephone  ::) ::)


Title: Re: BitCoin miner for Android?
Post by: likuidxd on October 31, 2011, 04:43:37 AM
Check out 'ARM' section of this site, Motorola devices for example are running on ARM processors (as are many others)

https://en.bitcoin.it/wiki/Mining_hardware_comparison

there is limited stats there but Nokia N900  running on ARM for example is getting less than 0.36 Mhash per Joule, which is not at all efficient, let alone cost effective (yes, I know, it's not android).


Speaking of mining on an N900,can somebody please provide me a download link to the mining program for the N900 phone along with setup instructions please as I really want to gte it started asap now for my experiments.Even if it's CPU only,I want the link to it.While I'm on the subject can someone please build a GPU miner on that phone and also an overclocking tool for N900s GPU.Thinsg for people to know:I know that overclocking is risky to the N900,I know that mining is probably worthless on N900.All I care about is that I can carry out my experiments involving multiple devices form multiple platforms in addition to my 2 computers.

Thank you

Hope you are joking right ? I don't even dare OC my laptop and you want to OC a phone GPU lol good luck !

I've OCed every android phone I've owned for development and quadrant testing, never any problems. Battery life is key in development of new phones, so they are essentially extremely underclocked from the factory. Bumping .2-.4 GHz typically will not damage a phone, but they do get hot with a battery sitting on them.

Edit: I'm not saying you should mine on your phone though. You will seriously depreciate the life expectancy of your device! You may get 2 months out of your phone. It's designed to be small and portable, not for constant use and heat dissipation.


Title: Re: BitCoin miner for Android?
Post by: shivansps on January 27, 2012, 05:26:07 PM
Actually develoment of native and optimised ARM miner is a must for various reasons.

1) Raspberry PI at $25
2) Rhombus-Tech will be offering a AllWinner A10 board for $15 (easily twice as fast as Raspberry)
3) Mali is already supporting Directx11, OpenCL and DC on its new gpus for mobile cpus.


Title: Re: BitCoin miner for Android?
Post by: tiberiandusk on January 28, 2012, 03:34:53 AM
Actually develoment of native and optimised ARM miner is a must for various reasons.

1) Raspberry PI at $25
2) Rhombus-Tech will be offering a AllWinner A10 board for $15 (easily twice as fast as Raspberry)
3) Mali is already supporting Directx11, OpenCL and DC on its new gpus for mobile cpus.

This.


Title: Re: BitCoin miner for Android?
Post by: malcolmv on January 28, 2012, 09:39:35 AM
Has anyone tried this with some stats to tell us? I think it might take some years to get anything from it.


Title: Re: BitCoin miner for Android?
Post by: shivansps on January 28, 2012, 05:10:50 PM
the test with arm hardware was based on a cross-compiles cpuminer, is not optimised for arm.


Title: Re: BitCoin miner for Android?
Post by: jCole on January 28, 2012, 05:29:31 PM
dude, its not even worth it. come on how crazy can you get?


Title: Re: BitCoin miner for Android?
Post by: biqs4zi4f on February 22, 2012, 10:20:39 PM
While it might not be worth doing it on the CPU of the phone I would be really curious of benchmarks on a typical Android GPU.
They are powerful for being integrated in a phone, and their power usage is low probably.


Title: Re: BitCoin miner for Android?
Post by: marked on February 23, 2012, 02:33:01 PM
While it might not be worth doing it on the CPU of the phone I would be really curious of benchmarks on a typical Android GPU.
They are powerful for being integrated in a phone, and their power usage is low probably.

I'm close to buying an Rpi (they are about 45mins away from me) and I have a ZTE blade running cyanogenmod. I'm thinking of doing this, particularly as there has been an opensource gpu driver release for certain Mali cores, and so there could be opencl capable systems.

Just need to find out further what the blade and rpi gpu cores are based on. I think the blade is an adreno200. Also it might be worth it just to get a miner running, and see what a bramble can do (multiple rpi's in a cluster).

If I could get 10btc together I would definitely do it. Anybody interested?


marked
1PtwE6jWrDNAXygPZ5BrPiKFHAPBCzCfHt


Title: Re: BitCoin miner for Android?
Post by: Liberate on February 23, 2012, 08:53:50 PM
Dont think this would be good, maybe for litecoin.


Title: Re: BitCoin miner for Android?
Post by: Red Emerald on February 23, 2012, 09:43:47 PM
While it might not be worth doing it on the CPU of the phone I would be really curious of benchmarks on a typical Android GPU.
They are powerful for being integrated in a phone[/b], and their power usage is low probably.

Added some emphasis for you.

Maybe look at litecoin, but I think you are wasting your time.


Title: Re: BitCoin miner for Android?
Post by: Xenland on March 03, 2012, 08:27:44 PM
Anyone know of just an arm mining app? Maybeh the arm a8 that the beagle
Bone has it would be interesting to see a machine code miner just to get some extra cpu cycles in there.


Title: Re: BitCoin miner for Android?
Post by: marked on March 03, 2012, 09:47:53 PM
Anyone know of just an arm mining app? Maybeh the arm a8 that the beagle
Bone has it would be interesting to see a machine code miner just to get some extra cpu cycles in there.

There's a Litecoin mining app for the android (search for "andltc miner"), which according to pooler is a port of the java miner to dalvik.

Don't think there's a miner for bitcoin for android yet, nor one that works on the GPUs.

Also there's this CuBox : http://www.solid-run.com/

marked


Title: Re: BitCoin miner for Android?
Post by: oxydius on March 03, 2012, 11:43:00 PM
I already have a hard time getting my Android phone through a whole day. Can't imagine battery life with a mining app! :)


Title: Re: BitCoin miner for Android?
Post by: BusmasterDMA on March 05, 2012, 08:26:09 PM
I ported cpuminer to Android over the weekend, mostly as an exercise for learning Android development. 

I haven't fully worked out a UI solution.  Currently you can only view the status output through the debug console.  Having issues with Java callbacks from a native environment.

Perhaps when I get it a bit more polished I'll share if anyone is interested.

Of course it would be impractical to actually mine with it.  Although you never know, perhaps one day someone in some remote village with a solar powered phone, will download an app and run it for an hour or so to earn a few satoshis with which to play.  I'd like to integrate p2ppool and a wallet to make it an easy one-click solution.  Also sooner or later Android is bound to support openCL.


Title: Re: BitCoin miner for Android?
Post by: BlueCorp on March 05, 2012, 08:35:24 PM
would this work on a quad core Android ?


Title: Re: BitCoin miner for Android?
Post by: BusmasterDMA on March 05, 2012, 08:40:49 PM
I would think so, as long as it as an ARM CPU.  And you can manually configure the number of threads to take advantage of multiple cores.


Title: Re: BitCoin miner for Android?
Post by: loadrs2009 on March 05, 2012, 11:15:10 PM
i me minig @

http://bitclockers.com/userbar/910b48e74cb1b731c0ff67e204c7a858 (http://bitclockers.com)

use GPU and some old computer


Title: Re: BitCoin miner for Android?
Post by: kr105 on April 13, 2012, 03:56:06 PM
I'm developing an Android Bitcoin miner that i'll be uploading soon, currently it does around 450khash/s per core on my Galaxy S2, i optimized it a lot as it was giving about 230khash/s using the original cpuminer 'c' algo. I'm looking to optimize it to give at least 500khash/s per core, so i can get 1mh/s on my phone. Yes, all of this is just for fun, not profitable at all. I will let you know when it is ready  :)


Title: Re: BitCoin miner for Android?
Post by: BusmasterDMA on April 13, 2012, 09:19:24 PM
Sounds nice.  Mine was not optimized at all. 

I'm curious to see the code.  Mostly wondering how you solved the problem I was encountering, updating the UI from native threads.


Title: Re: BitCoin miner for Android?
Post by: eurocashbtc on April 13, 2012, 10:19:47 PM
An android miner would actually be a cool but very wasteful way to pay for android software.
Want to play a puzzle? pay by mining in the backgound!
and that would be a sure way for your app to be thrown out of the android market / google play.

But nice thinking ^^

Edit: Please release your code !!


Title: Re: BitCoin miner for Android?
Post by: marked on April 14, 2012, 08:23:53 PM
I'm looking to optimize it to give at least 500khash/s per core, so i can get 1mh/s on my phone. Yes, all of this is just for fun, not profitable at all. I will let you know when it is ready  :)

an arm core optimised release would be useful in other areas as well, so please include source in any release.

Though for 1Mhs you might as well put it on glbse.com in one of the 1Mhs/share mining co.s and have a responsive phone :-)

marked


Title: Re: BitCoin miner for Android?
Post by: jga on April 14, 2012, 11:11:06 PM
As long as your phone is plugged into someone else's power.  (at work, maybe?)


Title: Re: BitCoin miner for Android?
Post by: shivansps on April 30, 2012, 09:57:14 PM
Remember that there is OpenCL supporting gpus already avalibe for ARM cpus...

ARM Gpus from 2012 onward are going to Support full OpenCL, Directx 11, OpenGL 4.0, OpenGL ES 2.0 and some even Directx 9.


Title: Re: BitCoin miner for Android?
Post by: BusmasterDMA on April 30, 2012, 10:28:00 PM
Remember that there is OpenCL supporting gpus already avalibe for ARM cpus...

ARM Gpus from 2012 onward are going to Support full OpenCL, Directx 11, OpenGL 4.0, OpenGL ES 2.0 and some even Directx 9.
Last I checked there was no API yet though, at least not for Android.


Title: Re: BitCoin miner for Android?
Post by: faidsaid on April 30, 2012, 10:49:55 PM
Dont think this would be good, maybe for litecoin.
Bitcoin on ARM suggests that, like other forms of BTC mining, it works best if you simply ignore the math. For example, there's a post here somewhere where someone estimates their payback period on FPGA hardware to be 2 years. Two years to break even on something that will have no resale value in six months? True Believers have to be lining up left and right for a deal like that.


Title: Re: BitCoin miner for Android?
Post by: firstworldproblems on April 30, 2012, 11:13:20 PM
Even if you could do this, you would make so little ... a couple pennies a day or something.


Title: Re: BitCoin miner for Android?
Post by: Red Emerald on April 30, 2012, 11:51:04 PM
Even if you could do this, you would make so little ... a couple pennies a day or something.
You won't make any money. In fact, you will lose it.  There is no way a phone will ever make more in coin than the cost of electricity.


Title: Re: BitCoin miner for Android?
Post by: Spontaneous123 on May 01, 2012, 12:02:09 AM
Cost of a battery to the amount of bitcoins you generate will not be worth it :\
That alongside the possibility of your phone pretty much dying..haha


Title: Re: BitCoin miner for Android?
Post by: Xenland on May 05, 2012, 06:04:47 AM
Lol everyone keeps mentioning phones that would be pointless for sure. Beaglebone (maybe beagleboard might be better) on the other hand might go faster with a mini lunux version no gui, nothing to compute besides btc transactions.


Title: Re: BitCoin miner for Android?
Post by: aspirez on May 05, 2012, 01:49:01 PM
I want to try on my galaxy s2


Title: Re: BitCoin miner for Android?
Post by: astrayred on May 06, 2012, 04:31:41 AM
I would like to try it as well. Plus I have a wattmeter, so I will try to do some empirical measurements of the cost-benefits.

kr105, would love to try your android miner.  ;D


Title: Re: BitCoin miner for Android?
Post by: Yuhfhrh on May 06, 2012, 04:34:32 AM
I would like to try it as well. Plus I have a wattmeter, so I will try to do some empirical measurements of the cost-benefits.

kr105, would love to try your android miner.  ;D

I'm pretty sure it won't be cost effective  :-[

The only benefit of this would be possible further exposure of bitcoins


Title: Re: BitCoin miner for Android?
Post by: astrayred on May 06, 2012, 04:47:45 AM
I would like to try it as well. Plus I have a wattmeter, so I will try to do some empirical measurements of the cost-benefits.

kr105, would love to try your android miner.  ;D

I'm pretty sure it won't be cost effective  :-[

The only benefit of this would be possible further exposure of bitcoins

Well... Since kr105 says that he has one in development, might as well try it right? Otherwise all those man-hours of development would be for naught.


Title: Re: BitCoin miner for Android?
Post by: arby on May 06, 2012, 05:44:33 AM
I do not think this would be profitable, and it may damage your phone, as phones are not designed to operate at that intensity.

Basically, this project would be interesting only, as an experiment, and spreading the news about the bitcoin (as someone mentioned above).


Title: Re: BitCoin miner for Android?
Post by: Yuhfhrh on May 06, 2012, 06:41:45 AM
I would like to try it as well. Plus I have a wattmeter, so I will try to do some empirical measurements of the cost-benefits.

kr105, would love to try your android miner.  ;D

I'm pretty sure it won't be cost effective  :-[

The only benefit of this would be possible further exposure of bitcoins

Well... Since kr105 says that he has one in development, might as well try it right? Otherwise all those man-hours of development would be for naught.

Well of course :)


Title: Re: BitCoin miner for Android?
Post by: sergio on May 13, 2012, 08:48:11 AM
Not a good idea to mine on a phone.
I have the n900 running a very old version of bitcoind, it is very difficult to get to compile bitcoind in arm hardware.
One good thing about software running on n900 is that it will also run on the guruplug, and the openmoko, but none of this platforms are good for mining, might be good for a mining pool where the shares are done by other computers in the case of the guruplug.
In the case of the n900 just by running the bitcoind daemon, the phone gets very hot and drains the battery very quickly, that is running the daemon without any mining gets the phone very hot.
The only reason the daemon was run, was to use the phone as a portable wallet, but it was not a good idea, since it is exactly the same command line daemon that you have on a pc, but on the phone cut and paste from the command line or to the command line can no be done, and typing the bitcoin address with a stylus or keyboard is difficult but not imposible, good for emergencies however.
Also the phone can barely run bitcoind, it lacks resources to run bitcoind properly.



Title: Re: BitCoin miner for Android?
Post by: Wicked.M on May 13, 2012, 10:38:58 AM
I already have a hard time getting my Android phone through a whole day. Can't imagine battery life with a mining app! :)

Well today you have phones that can solar charge themself ;)


Title: Re: BitCoin miner for Android?
Post by: Joshwaa on May 15, 2012, 07:52:16 PM
Did he release the apk for the Galaxy S II yet?  Im dying.. I know its not profitable but what a conversation piece!!


Title: Re: BitCoin miner for Android?
Post by: nyan.kitty1024 on May 16, 2012, 12:48:45 AM
Yeah, the only benefit of doing this I could think of would be as a conversation peice. I mean, you may be able to get say, 500 KHashes/sec(and that's being extremely optimistic- the mining hardware page says only about 200 is to be expected), but still, that's unbelievably slow all things considered. But hey, I'm not going to stop you. It'd be entertaining in the sense of a 'screw it, we're doing this' sense.


Title: Re: BitCoin miner for Android?
Post by: Slushpuppy on August 26, 2012, 09:09:40 AM
I want to mine litecoins on my nook just for the fuck of it


Title: Re: BitCoin miner for Android?
Post by: wario666 on December 28, 2012, 02:55:03 PM
I found a nice bitcoin miner for android with UI app on playstore, the name is CGDROID, some screens
This tool support SSL connections and threaded CPU mode, the cost is low and this very nice..

http://forum.xda-developers.com/attachment.php?attachmentid=1597217&d=1356664050 http://forum.xda-developers.com/attachment.php?attachmentid=1597216&d=1356664050 http://forum.xda-developers.com/attachment.php?attachmentid=1597218&d=1356664050


Title: Re: BitCoin miner for Android?
Post by: soldier24 on December 28, 2012, 03:01:57 PM
Looks good!  ;)
maybe I'm gonna try it.


Title: Re: BitCoin miner for Android?
Post by: BitcoinSuite on January 30, 2013, 06:59:04 PM
Doesn't BFL have an android miner now?


Title: Re: BitCoin miner for Android?
Post by: MaxLAMF on January 30, 2013, 08:27:07 PM
Not wanna hijack this thread,
but does anybody know the hashrates for whatever crypto-currency of the Raspberries or the AllWinner A10 board?
Wanna know it since a few days but canīt really find something...
THX!


Title: Re: BitCoin miner for Android?
Post by: blakbeard on February 03, 2013, 02:28:34 PM
cgdroid says it requires root access.  I'll give it a shot if I end up rooting my phone (which I might end up doing if my carrier doesnt update my HTC one x to jellybean soon.)


Title: Re: BitCoin miner for Android?
Post by: John (John K.) on February 03, 2013, 04:25:34 PM
I'm sure this has been stated before, but you're killing the phone and the battery quickly when you mine on it...


Title: Re: BitCoin miner for Android?
Post by: Xnives99 on February 04, 2013, 12:47:45 AM
I can't get cgdroid to connect to btcguild server. I get the invalid username and password data error.


Title: Re: BitCoin miner for Android?
Post by: anzy on February 04, 2013, 03:53:09 PM
Interesting concept... then again it usually always was easier to buy low sell high than it was to work for the currency itself : P


Title: Re: BitCoin miner for Android?
Post by: shivansps on February 25, 2013, 06:05:59 AM
There are Android devices with OpenCL support right now...


Title: Re: BitCoin miner for Android?
Post by: j05h on February 25, 2013, 07:00:12 AM
I don't think it would be worth it because even if your phone is on the charger it might drastically affect it's battery life.

(Not sure - Does the battery form part of the circuit at all when the charger is plugged in, or is it completely bypassed?)


Once the battery is charged, it just stops charging and any power usage will come from the battery.  It'll recharge again after it drops a bit.  Somewhere a graph where someone showed the power usage of his charger over time.  Once it was fully charged, the charger stopped using power for like 30 minutes, then came back on for a minute to top the battery off again.
Why would this be?
My android phones run fine when theyre plugged without a battery in at all.  So it doesnt make sense that theyed use battery while plugged in. 


Title: Re: BitCoin miner for Android?
Post by: mrmoj on February 25, 2013, 07:34:38 AM
Scary... but heck, I'd make my phone help out if I find a good app!  CGDROID looks totally cool.


Title: Re: BitCoin miner for Android?
Post by: purefusion on February 25, 2013, 08:44:23 AM
You'd definitely have to be REALLY LUCKY if you ever mine any coins on a phone. ;)


Title: Re: BitCoin miner for Android?
Post by: mrmoj on February 25, 2013, 10:06:29 PM
I just tried LTCMiner (CGDROID requires 4.0.3+) on my 600 MHz phone and got, on average, *5* hashes per second :D


Title: Re: BitCoin miner for Android?
Post by: herb on February 25, 2013, 10:22:19 PM
I thought about mining on my laptop when I'm in a hotel and decided that it's not worth it. Still way to slow.


Title: Re: BitCoin miner for Android?
Post by: fifill on February 26, 2013, 02:00:08 AM
Interesting, but still too slow to bother mining on phone :(


Title: Re: BitCoin miner for Android?
Post by: shivansps on February 28, 2013, 01:52:38 AM
Maybe only with the OpenCL capable ones...


Title: Re: BitCoin miner for Android?
Post by: tiberiandusk on February 28, 2013, 06:08:16 AM
I tried the LTC miner but my Mesmerize was too slow to even get a share before the next block came out and it had to start over again.


Title: Re: BitCoin miner for Android?
Post by: snuff on March 10, 2013, 06:09:28 AM
I know everyone says its not worth it on your phone but what about these android PCs they sell now? Still not worth it?

http://www.amazon.com/MK808-Android-Rockchip-RK3066-Cortex-A9/dp/B009OX22B4/ref=sr_1_8?ie=UTF8&qid=1362895691&sr=8-8&keywords=android+pc


Title: Re: BitCoin miner for Android?
Post by: .m. on March 10, 2013, 08:13:01 AM
I saw that, I even tried to compile kernel for android - rk3066, but it still be times slower than average GPU (mine now HD7850@1120MHz - 228Mhash/s) and orders of magnitude slower than ASIC rigs - (butterfly labs etc. - but no experience here).