Pages:
Author

Topic: Android Mk802 + ubuntu 12.04 + bitmain Antminer u2 - page 2. (Read 6295 times)

newbie
Activity: 26
Merit: 0
You made me think of doing something like this  Grin. I have a gridseed dualminer which mines scrypt coins. I also will buy an android stick mk802ii or mk802 mk808b or something similar. I will also post the results if I get to do it
full member
Activity: 121
Merit: 100
no, it is officially ubuntu 12.04, not picuntu or lubuntu or any other

i tried ubuntu version 10.04 first and it was totally incompatible, the software couldnt find the tty ports to talk to the devices....

i did get it to recognize it, and lsusb would see it.. but bfgminer and cgminer wouldnt do it
newbie
Activity: 26
Merit: 0
I think you are using picuntu am I right?
full member
Activity: 121
Merit: 100
yes I am very sure it will run 20 antminers on a powered hub...

its basically a linux desktop and will work just like a computer
newbie
Activity: 26
Merit: 0
Wow ! Very interested in this.Waiting for the guide. Will it run more than 1 ant miner if you use a powered usb hub ?
full member
Activity: 121
Merit: 100
I'm actually going to build the quad core next, the idea is fully automatic, so all you have to do is turn it on and you don't even need a monitor or screen.

I don't believe anyone else has accomplished this yet and I might have been the first.  I only started mining about a week ago and had a couple things laying around the house that I decided to use to improvise.

when I get home from work next week wait until I post my new idea.. you're gonna love it but you're going to have to wait as well..
full member
Activity: 121
Merit: 100
Why thank you!

Yes i looked up power specs... 300mah

Sound good or what??

If someone is willing to help get those 2 last pieces of code I will post a flashable image and guide to walk you through it. I'm at work right now and won't be available for at least a week to finalize the code but if someone can Help finish it I will do it. When I do have access to my computer. (Im out driving my 18 wheeler i wish i could take muddin!! Lol)
full member
Activity: 224
Merit: 100
This idea is great. Will look into it myself.
full member
Activity: 121
Merit: 100
im pretty sure ill get it, eventually but can anyone help with ubuntu 12.04 autologin, cant get it to work, and also, i need autostart too... (start miner app right after auto login...?!)

last two pieces of code i need...
full member
Activity: 121
Merit: 100
The title says it all: Android Mk802 + ubuntu 12.04 + bitmain Antminer

1usd - 0.00205 BTC: 185DzHCwvuRmymLvBkNDYiteP9SssY1nbK donations accepted!

YouTube VIDEO:
https://www.youtube.com/watch?v=OlkgYfIbwVI&feature=youtu.be

GUIDE :

Grab an 8gb sd micro, and follow this guide to install linux:
Code:
http://rikomagic.co.uk/forum/viewtopic.php?f=2&t=90

After installing ubuntu pull up a terminal and:
Code:
Get all your dependencies and build bfgminer there are several packages,
like libusb1.0.0-dev and jansson-dev that you are going to have to manually
download first, then build, and then install because they are not in the apt-get repo.

depending on what hardware you are running you can customize for specific miners
read the readme for all custom hardware builds:
https://github.com/luke-jr/bfgminer/blob/bfgminer/README
https://github.com/ckolivas/cgminer/blob/master/README

basic build setup:

sudo apt-get install build-essential autoconf automake libtool pkg-config libcurl4-gnutls-dev
libcurl4-openssl-dev libjansson-dev uthash-dev libncurses5-dev libncursesw5-dev libpdcurses
libudev-dev libusb-1.0-0-dev libevent-dev libmicrohttpd-dev hidapi libcurl3-dev

(if you get errors for missing packages, or cannot find, you will have to manually find and download
build and install these seperate before building the bfgminer or cgminer)


Code:
Download bfgminer and cgminer here:
(bfgminer) http://luke.dashjr.org/programs/bitcoin/files/bfgminer/latest/
(cgminer) https://github.com/ckolivas/cgminer/archive/master.zip

then build:

(cgminer)
extract bfgminer into its own dir and navigate to that dir
in terminal:
(you might not need the sudo commands, i used them and it worked fine.
and also read the readme for how to configure the build for different hardware.)

sudo ./autogen.sh
sudo CFLAGS="-O2 -Wall -march=native" ./configure
sudo make

DONE! run bfgminer using:
./cgminer [-DdElmpPQqUsTouOchnV]

(bfgminer)
extract bfgminer into its own dir and navigate to that dir
in terminal:
(you might not need the sudo commands, i used them and it worked fine.
and also read the readme for how to configure the build for different hardware.)

sudo ./autogen.sh
sudo ./configure
sudo make

DONE! run bfgminer using:
./bfgminer [-DdElmpPQqUsTouOchnV]


Notes:
Code:
i would also suggest installing cgminers dependencies before building, and i
will tell you why, i am not exactly sure why either.  i built bfgminer first, didnt work,
then tried cgminer, almost worked, then on a hunch rebuilt bfgminer and it worked,
even ran a little better.  i think some of the dependencies for the different hardware
assists somehow? (but i have also heard the history about how the writer started
bfgminer... he originally worked on cgminer and they split?) you can just watch your
depends when you run ./configure but i tested this 4-5 times and it just seemed
better everytime to build cgminer first then abandon it, if you are going to use bfgminer,
and why not have a copy of cgminer laying around anyways?

took me about a week to come up with the idea, i ordered a antminer u2... and found a couple things laying around the house and put it all together. was kinda hard because no one had done this before and there was no resources, so i put it all together. lots of issues troubleshooting in the beginning, and the last problem from which i hear is a big one, i had a bad usb hub (actually the one in the video, but its changed now)... fixed that!, running great now!

I will advise you to be warned about the usb port, it has been said, pulling energy off it isnt a good idea because the device runs 300mah, the regulator in the device inside has been know to reject drain devices.  do it right and start with a powered hub.

finally got around to doing a little modification... looks nice now!


Update:

8/18/14: http://www.stane1983.com/amlinux/ Linux was finally built for my new android device, it was too new at the time to use, finally there is Linux support so I will be testing my script hardware, I have purchased over $4,000 in asics, Zeus, gawminers, Bitmain, etc, right now I'm running a pcduino for a controller, but would love this more powerful device to power everything. Might be possible to setup a LAMP server (Linux apache mysql php) with p2pool or nomp or mpos as well for solo mining low difficulty coins.

4/26/14: purchased my new android today... not sure its gonna work, but its the most powerful one on the market with a quad core cpu and octa core gpu... not sure what OPENLINUX is, but i guess im gonna find out... hope i can get linux-linux on it...
amazon link:
http://www.amazon.com/Tronsmart-Vega-S89-Android-Amlogic/dp/B00JGGK8II/ref=sr_1_1?ie=UTF8&qid=1398499443&sr=8-1&keywords=s802

4/23/14: havent been home for a week and its still hashing while im at work. it did have one problem and stopped but i think and believe it was a server pool dns problem, not with the unit itself, two hours later it was running at full speed again.

4/17/14: its running great, been going since i made the post, and still going, very stable, i even added cool wallpaper

Pages:
Jump to: