How to mine for bitcoins with a rooted Android


SUBMITTED BY: Guest

DATE: Feb. 8, 2013, 2:36 p.m.

FORMAT: Bash

SIZE: 2.5 kB

HITS: 1609

  1. # How to mine for bitcoins with a rooted Android.
  2. # Download the miner binaries:
  3. #1. Install "AndLTC Miner" from the Google Play store.
  4. #2. Open that application.
  5. #3. Select the minerd called NEON (don't bother with anything else, it's litecoin mining ONLY).
  6. #3. Click "Start".
  7. #4. Wait for the download it talks about to complete and for threads to be started.
  8. #5. Press "Stop".
  9. #6. Exit the application.
  10. #7. Delete any icons for it that are on your desktop. DON'T uninstall the actual application, though!
  11. # Create a miner script:
  12. #1. Install "mount /system (rw / ro)" from the Google Play store.
  13. #2. Install a terminal emulator from the Google Play store.
  14. #3. Open the terminal emulator.
  15. #4. Type the following line to get root access. You only need to give the terminal root this one time.
  16. su
  17. cd /system/xbin
  18. #5. Type the following line to create an empty script file:
  19. echo \#!/system/bin/sh>mine
  20. #6. If you get the error "cannot create mine: read-only file system", switch to the "mount /system" application you just downloaded and click the "Mount r/w" button. Wait for it to remount, then go back to the terminal and try step 5 again.
  21. #7. Create the script by typing the following into the terminal (change the host, port, username, and password to whatever you're supposed to use for your miners):
  22. chmod 755 /system/xbin/mine
  23. echo /data/data/com.simran.andltcminer/minerd-NEON -q -a sha256d -t 4 -o http://api.bitcoin.cz:8332 -O username:password >>mine
  24. #8. Allow the minerd to be run by anyone:
  25. chmod 755 /data/data/com.simran.andltcminer/minerd-NEON
  26. #9. If and ONLY if you followed step #6 to remount /system, go back to the "mount /system" application, press the "Mount r/o" button, and let it remount /system.
  27. # Test it!
  28. #1. Open a terminal.
  29. #2. Type the following to start mining:
  30. mine
  31. #3. To stop mining, close the terminal window. Don't just switch applications! You need to fully close it.
  32. #4. If that failed, you can try these instructions again.
  33. # Cleaning up.
  34. #1. If everything works, uninstall the "mount /system" application.
  35. #2. Starting to mine is as easy as opening a terminal and typing `mine`. You can switch to other applications while that's going.
  36. #3. Stopping mining is as easy as telling the terminal application to close that window.

comments powered by Disqus