Author

Topic: Android Mk802 + ubuntu 12.04 + bitmain Antminer u2 (Read 6304 times)

full member
Activity: 121
Merit: 100


Runs blizzards and fury's
full member
Activity: 121
Merit: 100
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.

Will probly start new thread for new project.
full member
Activity: 121
Merit: 100
cool.... let me make a few calls....
full member
Activity: 175
Merit: 113
Basically I'm interested! But it would depend on your shipping rate and options - esp. for international buyers (EU in my case)...
full member
Activity: 121
Merit: 100
Just a question guys, but i wanna know what you think.

 If i was able to get a lot of mk802's or compatible, would anyone be interested in buying?

Im thinking of building a wide range of alternates to rasberry pi, and was thinking about marketing about 5 different kinds of controller cards, and accessories too...

I also came up with a really good idea, converting a tablet over to linux touch, and building a dock setup for it so you have a lcd attached to your controller card.

I will be doing a lot of programming and testing, what do you think?
full member
Activity: 121
Merit: 100
Been a little busy guys but still working on this project... Only problem is i think i have a defective wifi chip in mine... It turns on/off intermittently, so instead of givving up i bought a ethernet to usb adapter...

I actually have a practical use for this now since i got a zeusminer... So i have a bit more work to do...

I actually managed to take the case apart and cut a hole into it and put a heatsink in it... Looks perfect too...

I need a wifi router and ill be re-arrainging my hardwares location around the house... And adding the mk802 to the pool....

Keep watching!!!
full member
Activity: 121
Merit: 100
I've just sent you a 0.02 BTC donation because I really like what you do here!
Keep up the work an if you archive any significant steps please let us know and/or publish guides (i'd even pay for it if they are well done and guaranteed to work)...

if you like what I've done so far keep watching I have a secret weapon that I have yet to bring out...

thank you Kindly for the donation
full member
Activity: 175
Merit: 113
I've just sent you a 0.02 BTC donation because I really like what you do here!
Keep up the work an if you archive any significant steps please let us know and/or publish guides (i'd even pay for it if they are well done and guaranteed to work)...
full member
Activity: 121
Merit: 100
im looking into buying a new miner... the ants are cool and they are openwrt powered... so no using them for my quad/octa core tv project..

i was looking at an dragon miner or terraminer... one of them uses a rpi setup, and i was thinking about custom swapping that out if i get that specific unit...

the tronsmart tv box is cool, i had to dump the stupid stock loader and installed adw loader... much better...  i dont like androids that look like microsoft windows...

has some really good specs on it... im trying to get android miner app on it so i can run a few tests....

maybe a cool update soon... im not sure if i can get linux on this thing, its to new for any hacks to have come out... but i have heard you can ssh into a linux shell.... not sure yet...
sr. member
Activity: 399
Merit: 250
Hi,

I've had mining controllers  running on Quad core for a few months now(RK3188). The main issue is that  with 'cheap' kit, you will require hardware modifications as well.

The biggest issue is that many of the Rockchip products from China are not capable of hitting the frequencies they advertise, more specifically when they state '1.xx Ghz' they mean yes the  Rockchip CPU is speced at that frequency… but they then shove in cheap/copy DDR memory chips (because those are expensive, so they use job lots from the market) in some cases even the same product from the same supplier are different spec DDR memory chips….

In many cases the CPU quad cores are only running at a few hundred  MHZ even though the damned chip is speced at >1ghz

Another issue is that you may have to split open the products and get a much larger heatsink onto the rockchip CPU , because many of these products don't even have a heatsink or the copper area to pull the heat correctly!! ( had one desolder itself from the pcb when the frequency was ramped up, one reason why I had not posted the details )

Then to top it off you have the idiot companies that have put hardware 'bugs' into the products, so that changing/replacing the kernel deliberately cuts functionality or causes the  HDMI display to collapse in an endless flashing cycle( also looks like it has been done to stop their kernels being used on other products)

However once you get the quad core things setup and the 'right' product then they make fine mining controllers…..

The other product I threw together was a 'bridge board' that allows the quad cores/ Raspberry pi's to pull the current they need from the metal hubs I sell, basically a single hub/integral psu to power the miner & controller all from a single supply.

RF
full member
Activity: 121
Merit: 100
got 2 ants now, and i can access one thru wifi, but think there is a big problem with it... cause it wont get online and i have a netgear wireless to cable connector setup.  these things are very painfully hard to configure sometimes....


i also bought a killawatt


i also exchanged my thermaltake and got a corsair 1050hx, the corsair seems alot better

still got problems... i think the wifi card in the new antminer is defective... it says connected to router but wont hash to server...

i also bought a new android tv, but i havent got around to setting it up....
full member
Activity: 121
Merit: 100
updated install instructions to build everything! enjoy!

1usd - 0.00205 BTC: 185DzHCwvuRmymLvBkNDYiteP9SssY1nbK donations accepted!
full member
Activity: 121
Merit: 100
They do get a little warm... Might need diy cooling... And wireless keyboards are nice too!
full member
Activity: 175
Merit: 113
This seems very interesting to me (as I currently run 2x U1 and 6x U2+ with an old VIA EPIA 600Mhz board and as I'm looking for smaller solutions at the moment)! Thank you for the thread and infos!

To me this "package" looks way nicer then a Raspberry PI (lower power consumption, less DIY casing, full fledged Linux)...
hero member
Activity: 826
Merit: 1000
°^°
yeah, im not alone Cheesy

ordered some of them 3 weeks ago, still in transit
but want to use them for Scripta
full member
Activity: 224
Merit: 100
Yeah I considered gentoo... But ultimately went with ubuntu... I was gonna try linux box style, but figured you could login to your pool and watch stats, run api software, hardware monitors on screen, and wallet stuff if you had to... Built in ticker...

In short.. Yes it wasconsidered, but a customizable graphical interface seemed good...

This version im running has 0% lag... And is quick to respond... Even for a 1ghz i was supprised... It runs better than the stock android..

Lol pretty much any linux runs better than stock android. At least that is my experience.

But yeah I see your point for going with graphical. I mean the android stick isn't doing much anyways beyond running the mining software and communicating with the pool.
full member
Activity: 121
Merit: 100
Yeah I considered gentoo... But ultimately went with ubuntu... I was gonna try linux box style, but figured you could login to your pool and watch stats, run api software, hardware monitors on screen, and wallet stuff if you had to... Built in ticker...

In short.. Yes it wasconsidered, but a customizable graphical interface seemed good...

This version im running has 0% lag... And is quick to respond... Even for a 1ghz i was supprised... It runs better than the stock android..
full member
Activity: 224
Merit: 100
Looks like it is coming along nicely.

I wondered: Have you considered using a more configurable distro, like debian or even gentoo, in order to have a very lightweight linux installation that is tailored to the purpose?

Like only the kernel with networking stuff, hardware drivers and mining software along with whatever is needed to provide a webinterface for the mining software and no X11 or desktop (Gnome,KDE).
full member
Activity: 121
Merit: 100
Im a truck driver, and i left my antminer u2 running at home since i left thursday, and its been running since the day i got it working... i am monitoring it thru api access, and its still going like the little energizer bunny....

i managed to travel all the way to michigan from california, and im on my way back to california, and like i said.. its still going.. pretty stable...

ive heard you can do this with an android phone and an otg cable, within android, but you have to rebuild a kernel to allow usbtty access... this just seems a little easier.... plus android os wont let you use a usb hub... i think you can only plug one device in.... so this way it just seems more logical
full member
Activity: 121
Merit: 100
if bfgminer or cgminer is capable with the hardware all you have to do i think is change the command line to scrypt..

its a very good idea, 300mah is very low running cost... its why i came up with it... i was hoping maybe i could sell a couple eventually...

but right now im working on getting btc's for my antminers so i can get a quadcore android mk802iv ...

i guess i should accept btc donations if anyone wants to support my idea...
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

Jump to: