Samsung built the setup for Bitcoin mining from the old Galaxy S5