Author

Topic: Mining on an Android phone (galaxy nexus) CPU and BFL single (Read 8552 times)

hero member
Activity: 631
Merit: 500
the phone itself gets around 500 KH/s via CPU mining...not something you'd want to run.
legendary
Activity: 952
Merit: 1000
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.
hero member
Activity: 812
Merit: 1000
I <3 VW Beetles
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?
legendary
Activity: 924
Merit: 1004
Firstbits: 1pirata
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.
hero member
Activity: 812
Merit: 1000
I <3 VW Beetles
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)
full member
Activity: 120
Merit: 100
sr. member
Activity: 336
Merit: 250
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?

hero member
Activity: 812
Merit: 1000
I <3 VW Beetles
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?
legendary
Activity: 1792
Merit: 1047
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).



hero member
Activity: 631
Merit: 500
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).


sr. member
Activity: 467
Merit: 250
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?
legendary
Activity: 1795
Merit: 1208
This is not OK.
hero member
Activity: 540
Merit: 500
COINDER
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
hero member
Activity: 631
Merit: 500
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.

sr. member
Activity: 336
Merit: 250
awesome work!
hero member
Activity: 605
Merit: 500
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
sr. member
Activity: 437
Merit: 250
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
legendary
Activity: 952
Merit: 1000
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!
legendary
Activity: 924
Merit: 1004
Firstbits: 1pirata
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
hero member
Activity: 631
Merit: 500
I managed to get cgminer running on Cyanogenmod 9.1.0

http://youtu.be/c9hBRljvZPI


I think the phone uses about ~3 watts.


Jump to: