Showing posts with label Termux. Show all posts
Showing posts with label Termux. Show all posts

Mar 14, 2025

[UPDATE] Crypto : Duino Coin

[UPDATE] CRYPTO : DUINO COIN.

An updated tutorial on how to mine Duino Coin (DUCO) on an Android Mobile Device. For more information please refer to my previous post (https://danielcheah.blogspot.com/search/label/Duino-Coin)

This new method have been successfully tested on the latest version of Termux and Ubuntu-in-Termux system.


(A) INSTALL F-DROID.
  1. Download and Install F-Droid Store (https://f-droid.org/en/)
  2. You need to allow installation from "Unknown Sources" option.
  3. Once installed, open F-Droid Apps.
  4. It will automatically update its own repositories, wait for it to complete.

(B) INSTALL TERMUX (TERMINAL EMULATOR).
  1. Inside F-Droid Store, search for --> Termux (Terminal Emulator).
  2. Download and install it.
  3. You need to allow installation from "Unknown Sources" option.

(C) INSTALL UBUNTU IN TERMUX.
  1. pkg upgrade
  2. pkg install wget
  3. pkg install proot
  4. pkg install git
  5. termux-setup-storage     # Allow the access when prompted.
  6. git clone https://github.com/MFDGaming/ubuntu-in-termux.git
  7. cd /ubuntu-in-termux
  8. chmod +x ubuntu.sh
  9. ./ubuntu.sh     #wait for the installation to complete.
  10. ./startubuntu.sh

(D) INSTALL DUINO MINER IN UBUNTU.
  1. apt update && apt upgrade -y
  2. apt install wget -y
  3. apt install proot -y
  4. apt install git -y
  5. apt install python3 -y
  6. apt install python3-pip -y
  7. apt install python3-dev -y
  8. git clone https://github.com/revoxhere/duino-coin.git
  9. cd duino-coin
  10. pip install requests --break-system-packages
  11. pip install colorama --break-system-packages
  12. pip install py-cpuinfo --break-system-packages
  13. pip install psutil --break-system-packages
  14. pip install pypresence --break-system-packages

* Note : The option "--break-system-packages" is only required should you encountered any error during "pip" installations. Thus run the command without these option first.

* Note : If you still encountered errors, try install full Python3 by using "apt install python3-full" method.


(E) START DUINO MINER.
  1. python3 PC_Miner.py
  2. You will be prompted to key-in your Duino e-Wallet Username & Mining Key.
  3. You will be prompted to select the Intensity, Cores and Donation level.
  4. You can also specify the Miner's Hostname when prompted.
  5. Wait for 1-2 minutes and the new miner will be reflected in your Duino e-Wallet website.

EDIT : 4-Apr-2025
For Ubuntu Server v.24.04.1 LTS or later. For some unknown reasons, either due to latest Python3 version or due to latest Duino v.4.3 version, it seems to the below command will works.

1. sudo pip3 install requests --break-system-packages
2. sudo pip3 install colorama --break-system-packages
3. sudo pip3 install py-cpuinfo --break-system-packages
4. sudo pip3 install psutil --break-system-packages
5. sudo pip3 install pypresence --break-system-packages

OR

1. sudo python3 -m install requests --break-system-packages
2. sudo python3 -m install colorama --break-system-packages
3. sudo python3 -m install py-cpuinfo --break-system-packages
4. sudo python3 -m install psutil --break-system-packages
5. sudo python3 -m install pypresence --break-system-packages



!!! HAPPY COMPUTING !!!


May 18, 2023

Android : Install Ubuntu via Termux

Install Ubuntu in Android Phone with Termux (No Root).

Official GitHub MFDGaming: https://github.com/MFDGaming/ubuntu-in-termux


Termux Terminal

  1. pkg upgrade -y
  2. pkg install wget -y
  3. pkg install proot -y
  4. pkg install git -y
  5. git clone https://github.com/MFDGaming/ubuntu-in-termux.git
  6. cd ubuntu-in-termux
  7. chmod +x ubuntu.sh
  8. ./ubuntu.sh
  9. ./startubuntu.sh

Once Ubuntu have started, just use it as normal such as updating the repositories

10. apt update && apt upgrade -y

After update, you can proceed to use as normal and install any packages you want.




!!! HAPPY COMPUTING !!!


Mar 15, 2023

Android : Install Termux Terminal Apps

Termux is a "Terminal Emulator" but due to its functions its been banned by Google Play Store and thus was no longer available for download.

But there is another way to do this via another store apps called "F-Droid" and can be easily done.

1) Open any web browser and type-in the following link (https://f-droid.org/en/).

2) At main page (shown below), click on the --> Download F-Droid button.



3) Your mobile or Android may display some warning messages, proceed to Allow the download.

4) Once download completed, it will try to auto-install but another warning message will be displayed. Just allow the installation or Enabled --> Allow installation from unknown source.

5) Once "F-Droid" have completed the installation, on your home screen or more apps screen the "F-Droid" icon will be shown. Now tap to Open the apps.

6) At the first start, there will nothing to display but don't be alarmed as the apps is now "Updating Repositories" and may take while to complete. Just leave as it until everything is updated.

7) Once the repositories is updated, the screen will shows you some popular apps. Tap on the "Search" icon and type-in --> Termux

8) There are many apps named "Termux" but look for the descriptions that says "Terminal....", select that apps and proceed to download and install.

9) As usual, your phone will prompt you some warning, proceed to Allow download and install as usual.

10) Once everything completed, you will now have "Termux" installed and the icon will be displayed at the Home screen or inside More Apps screen.


Edited : 18-May-2023, add video link.





!!! HAPPY COMPUTING !!!