Bitcoin Forum
December 12, 2017, 11:27:47 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Mining on an Android phone (galaxy nexus) CPU and BFL single  (Read 8369 times)
kaerf
Hero Member
*****
Offline Offline

Activity: 624


View Profile
October 18, 2012, 01:19:32 AM
 #1

I managed to get cgminer running on Cyanogenmod 9.1.0

http://youtu.be/c9hBRljvZPI


I think the phone uses about ~3 watts.


1513078067
Hero Member
*
Offline Offline

Posts: 1513078067

View Profile Personal Message (Offline)

Ignore
1513078067
Reply with quote  #2

1513078067
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513078067
Hero Member
*
Offline Offline

Posts: 1513078067

View Profile Personal Message (Offline)

Ignore
1513078067
Reply with quote  #2

1513078067
Report to moderator
1513078067
Hero Member
*
Offline Offline

Posts: 1513078067

View Profile Personal Message (Offline)

Ignore
1513078067
Reply with quote  #2

1513078067
Report to moderator
paraipan
Legendary
*
Offline Offline

Activity: 924


Firstbits: 1pirata


View Profile WWW
October 18, 2012, 01:32:48 AM
 #2

I managed to get cgminer running on Cyanogenmod 9.1.0

http://youtu.be/c9hBRljvZPI


I think the phone uses about ~3 watts.




That is way too awesome  Smiley I need to change my phone asap

BTCitcoin: An Idea Worth Saving - Q&A with bitcoins on rugatu.com - Check my rep
crazyates
Legendary
*
Offline Offline

Activity: 952



View Profile
October 18, 2012, 03:33:45 AM
 #3

I've seen a lot of people spaming their videos for the BFL contest, but that's the only one I've legit been impressed by. Good Job!

Tips? 1crazy8pMqgwJ7tX7ZPZmyPwFbc6xZKM9
Previous Trade History - Sale Thread
Valalvax
Sr. Member
****
Offline Offline

Activity: 438


View Profile
October 18, 2012, 03:39:49 AM
 #4

I'd change the subject to a much more accurate "using Android phone as BFL host"
Has the benefit of not sounding like one of those "I can use phone as miner cause they use like no power I don't care how efficient they are" noobs
yrtrnc
Hero Member
*****
Offline Offline

Activity: 606



View Profile
October 18, 2012, 07:07:22 AM
 #5

Hey, good job... Grin

Did you post it on the butterfly labs forum, you could win a BFL single SC.


https://forums.butterflylabs.com/showthread.php/37-Article-Contest-Post-a-video-Win-a-BFL-Single-SC!?highlight=android
Zeek_W
Sr. Member
****
Offline Offline

Activity: 336



View Profile
October 18, 2012, 10:05:02 AM
 #6

awesome work!

kaerf
Hero Member
*****
Offline Offline

Activity: 624


View Profile
October 18, 2012, 05:13:40 PM
 #7

Hey, good job... Grin

Did you post it on the butterfly labs forum, you could win a BFL single SC.


https://forums.butterflylabs.com/showthread.php/37-Article-Contest-Post-a-video-Win-a-BFL-Single-SC!?highlight=android

yup, I submitted it to their contest.

Frequency
Hero Member
*****
Offline Offline

Activity: 523


sheeople @COINDERdotCOM


View Profile WWW
October 18, 2012, 07:23:40 PM
 #8

I managed to get cgminer running on Cyanogenmod 9.1.0

http://youtu.be/c9hBRljvZPI


I think the phone uses about ~3 watts.




Very nice vid, .. Wink

Put your money were your mouth is…       #coinderdotcom
P_Shep
Legendary
*
Online Online

Activity: 1134


View Profile WWW
October 18, 2012, 08:46:11 PM
 #9

Nice Smiley
dlasher
Sr. Member
****
Offline Offline

Activity: 417



View Profile WWW
October 19, 2012, 11:07:37 PM
 #10

I managed to get cgminer running on Cyanogenmod 9.1.0

http://youtu.be/c9hBRljvZPI

I think the phone uses about ~3 watts.



Requires :
-- Cyanogen source, compile custom kernel
-- libcurl
-- build files for cgminer
-- tweak cgminer pthread behavior (pthread_cancel)
-- compile ftdi kernel module
-- usb host mode working

Miss anything?
kaerf
Hero Member
*****
Offline Offline

Activity: 624


View Profile
October 20, 2012, 05:11:28 AM
 #11

Requires :
-- Cyanogen source, compile custom kernel
-- libcurl
-- build files for cgminer
-- tweak cgminer pthread behavior (pthread_cancel)
-- compile ftdi kernel module
-- usb host mode working

Miss anything?


had to tweak some function names in cgminer
e.g.
Code:
#if defined(__BIONIC__)
        d64 = betoh64(*data64);
#else
        d64 = be64toh(*data64);
#endif

also removed the pthread check in the cgminer configure script

when I say i modified the pthread_cancel behavior, I basically turned the cancel call into a SIGTERM...i didn't rewrite the code to do the "right" thing (though, i initially tried and failed).

regarding the android build files for cgminer, i had to create the main Android.mk and ones for ccan and jansson.

the tricky part in all this was passing/setting the right build environment variables to "configure" for libcurl and cgminer (there are several blogs and forums describing this stuff, but it's still tricky. the Android.mk file in curl is a pretty good reference).


Sitarow
Legendary
*
Offline Offline

Activity: 1680



View Profile
October 20, 2012, 05:32:06 AM
 #12

Requires :
-- Cyanogen source, compile custom kernel
-- libcurl
-- build files for cgminer
-- tweak cgminer pthread behavior (pthread_cancel)
-- compile ftdi kernel module
-- usb host mode working

Miss anything?


had to tweak some function names in cgminer
e.g.
Code:
#if defined(__BIONIC__)
        d64 = betoh64(*data64);
#else
        d64 = be64toh(*data64);
#endif
Nice work.
also removed the pthread check in the cgminer configure script

when I say i modified the pthread_cancel behavior, I basically turned the cancel call into a SIGTERM...i didn't rewrite the code to do the "right" thing (though, i initially tried and failed).

regarding the android build files for cgminer, i had to create the main Android.mk and ones for ccan and jansson.

the tricky part in all this was passing/setting the right build environment variables to "configure" for libcurl and cgminer (there are several blogs and forums describing this stuff, but it's still tricky. the Android.mk file in curl is a pretty good reference).



kuusj98
Hero Member
*****
Offline Offline

Activity: 798


Why you looking here? Read the goddamn tread!


View Profile
October 20, 2012, 09:21:44 PM
 #13

Is really nice what people can do...
What speed does it get?
and can you mine on the Gpu of it or is it only Cpu?
Zeek_W
Sr. Member
****
Offline Offline

Activity: 336



View Profile
October 21, 2012, 05:53:52 AM
 #14

Is really nice what people can do...
What speed does it get?
and can you mine on the Gpu of it or is it only Cpu?


nick0016
Full Member
***
Offline Offline

Activity: 120



View Profile
October 21, 2012, 06:01:10 AM
 #15



lol, nice work though!

Likes Bitcoins!
kuusj98
Hero Member
*****
Offline Offline

Activity: 798


Why you looking here? Read the goddamn tread!


View Profile
October 21, 2012, 10:49:38 AM
 #16

Is really nice what people can do...
What speed does it get?
and can you mine on the Gpu of it or is it only Cpu?



trolololo is it strange I asked that or something? (Im still a noob in mining, so I may ask stupid questions... Tongue)
paraipan
Legendary
*
Offline Offline

Activity: 924


Firstbits: 1pirata


View Profile WWW
October 21, 2012, 10:59:49 AM
 #17

Is really nice what people can do...
What speed does it get?
and can you mine on the Gpu of it or is it only Cpu?



trolololo is it strange I asked that or something? (Im still a noob in mining, so I may ask stupid questions... Tongue)


Lol, both questions were kind of stupid yeah Smiley

What speed does it get?
It gets to the maximum of BFL Single, +800 Mh/s, as the phone only acts as a controlling device, where the actual miner is functioning.

and can you mine on the Gpu of it or is it only Cpu?
None actually, is the BFL's FPGA that is mining away. You could say some mining is made on the Android phone CPU because the miner that handles all the operation is working on it, but no actual hash calculations are carried on the phone.

Hope it helps.

BTCitcoin: An Idea Worth Saving - Q&A with bitcoins on rugatu.com - Check my rep
kuusj98
Hero Member
*****
Offline Offline

Activity: 798


Why you looking here? Read the goddamn tread!


View Profile
October 21, 2012, 08:27:51 PM
 #18

Is really nice what people can do...
What speed does it get?
and can you mine on the Gpu of it or is it only Cpu?



trolololo is it strange I asked that or something? (Im still a noob in mining, so I may ask stupid questions... Tongue)


Lol, both questions were kind of stupid yeah Smiley

What speed does it get?
It gets to the maximum of BFL Single, +800 Mh/s, as the phone only acts as a controlling device, where the actual miner is functioning.

and can you mine on the Gpu of it or is it only Cpu?
None actually, is the BFL's FPGA that is mining away. You could say some mining is made on the Android phone CPU because the miner that handles all the operation is working on it, but no actual hash calculations are carried on the phone.

Hope it helps.

Oh ok, now its clear to me Cheesy
So the device doesnt mine but controlls the mining devices?
crazyates
Legendary
*
Offline Offline

Activity: 952



View Profile
October 21, 2012, 08:30:40 PM
 #19

Is really nice what people can do...
What speed does it get?
and can you mine on the Gpu of it or is it only Cpu?

trolololo is it strange I asked that or something? (Im still a noob in mining, so I may ask stupid questions... Tongue)
Lol, both questions were kind of stupid yeah Smiley

What speed does it get?
It gets to the maximum of BFL Single, +800 Mh/s, as the phone only acts as a controlling device, where the actual miner is functioning.

and can you mine on the Gpu of it or is it only Cpu?
None actually, is the BFL's FPGA that is mining away. You could say some mining is made on the Android phone CPU because the miner that handles all the operation is working on it, but no actual hash calculations are carried on the phone.

Hope it helps.
Oh ok, now its clear to me Cheesy
So the device doesnt mine but controlls the mining devices?
To be fair, he does actually mine on the CPU on the phone. Then he uses the phone to control the BFL Single, which does the mining. Big difference.

Tips? 1crazy8pMqgwJ7tX7ZPZmyPwFbc6xZKM9
Previous Trade History - Sale Thread
kaerf
Hero Member
*****
Offline Offline

Activity: 624


View Profile
October 23, 2012, 11:25:57 PM
 #20

the phone itself gets around 500 KH/s via CPU mining...not something you'd want to run.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!