<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kb.uplexa.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Prankst3r</id>
	<title>uPlexa Knowledgebase - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://kb.uplexa.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Prankst3r"/>
	<link rel="alternate" type="text/html" href="https://kb.uplexa.com/index.php?title=Special:Contributions/Prankst3r"/>
	<updated>2026-05-07T07:01:41Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.32.2</generator>
	<entry>
		<id>https://kb.uplexa.com/index.php?title=XMRigCC_on_TX3_mini_Android_TV_Box&amp;diff=124</id>
		<title>XMRigCC on TX3 mini Android TV Box</title>
		<link rel="alternate" type="text/html" href="https://kb.uplexa.com/index.php?title=XMRigCC_on_TX3_mini_Android_TV_Box&amp;diff=124"/>
		<updated>2019-07-04T12:28:35Z</updated>

		<summary type="html">&lt;p&gt;Prankst3r: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About this guide ==&lt;br /&gt;
This guide covers the installation of Ubuntu(Armbian) on a TX3 mini Android TV Box and how to mine UPX using XMRigCC. For other Adrdoid TV boxes the installation and usage is similar. The mining part is the same as on a normal PC using Ubuntu.&lt;br /&gt;
&lt;br /&gt;
== About the TX3 mini ==&lt;br /&gt;
* Amlogic S905W quadcore SoC&lt;br /&gt;
* 2GB RAM&lt;br /&gt;
* Wifi/LAN&lt;br /&gt;
Link to seller: https://www.geekbuying.com/item/TANIX-TX3-MINI-H-S905W-Android-7-1-2GB-16GB-TV-Box-403629.html&lt;br /&gt;
&lt;br /&gt;
== What do you need? ==&lt;br /&gt;
* min. 16GB sd card/USB flash drive&lt;br /&gt;
* a needle or similar (for resetting/firs time boot Ubuntu)&lt;br /&gt;
* Ubuntu image for Amlogic S9*** SoCs: https://yadi.sk/d/srrtn6kpnsKz2/Linux/ARMBIAN&lt;br /&gt;
I used this for the TX3 mini:&lt;br /&gt;
 Armbian_5.44_S9xxx_Ubuntu_xenial_3.14.29_server_20180515.img&lt;br /&gt;
but you can use one with a desktop-environment aswell:&lt;br /&gt;
 Armbian_5.44_S9xxx_Ubuntu_xenial_3.14.29_mate_20180515.img&lt;br /&gt;
'''For Windows:'''&lt;br /&gt;
* Etcher: https://www.balena.io/etcher/&lt;br /&gt;
* PuTTY: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
'''Step 1)'''&lt;br /&gt;
Download the tools and the image you need, after that install Etcher and PuTTY.&lt;br /&gt;
&lt;br /&gt;
'''Step 2)'''&lt;br /&gt;
Start Etcher, select the image, select the sd card/USB flash drive and click '''Flash!'''.&lt;br /&gt;
&lt;br /&gt;
'''Step 3)'''&lt;br /&gt;
Remove the sd card/USB flash drive and place it in your TX3 mini (I used the left usb port). &lt;br /&gt;
&lt;br /&gt;
'''Step 4)'''&lt;br /&gt;
Remove the power connector of the TX3 mini. Press the reset button (on the bottom of the box) with a needle for 10s, then connect the power again and it should boot into Ubuntu.&amp;lt;br&amp;gt;&lt;br /&gt;
There are other ways to first time boot, but this worked the best for me.&lt;br /&gt;
&lt;br /&gt;
== Connecting through SSH to the Android box and setting up Ubuntu ==&lt;br /&gt;
'''Step 1)'''&lt;br /&gt;
Find out your Android boxes IP address. I looked it up at my router. ''You can skip this and the 2. step by connecting your box to a TV via HDMI and connecting a mouse and keyboard.''&lt;br /&gt;
&lt;br /&gt;
'''Step 2)'''&lt;br /&gt;
Start PuTTY and enter the IP. Hit '''Open'''&lt;br /&gt;
&lt;br /&gt;
'''Step 3)'''&lt;br /&gt;
Enter '''root''' as username and '''1234''' as password.&amp;lt;br&amp;gt;&lt;br /&gt;
Then create a new user by following the steps in PuTTY. The system automatically reboots.&lt;br /&gt;
&lt;br /&gt;
'''Step 4)'''&lt;br /&gt;
Now we change the IP address to a static one. Enter:&lt;br /&gt;
 sudo armbian-config&lt;br /&gt;
Go to '''Network''' -&amp;gt; '''IP''' -&amp;gt; Select '''Static''' -&amp;gt; and enter a static IP for your TX3 mini. Select '''OK''' and exit armbian-config.&lt;br /&gt;
&lt;br /&gt;
'''Step 5)'''&lt;br /&gt;
Enter in PuTTY:&lt;br /&gt;
 sudo apt-get update -y &amp;amp;&amp;amp; sudo apt-get upgrade -y&lt;br /&gt;
After that enter:&lt;br /&gt;
 sudo reboot&lt;br /&gt;
&lt;br /&gt;
== Installing XMRigCC and editing the config ==&lt;br /&gt;
'''Step 1)'''&lt;br /&gt;
Reconnect through PuTTY and login as the user you created before.&lt;br /&gt;
Enter:&lt;br /&gt;
 sudo mkdir /home/&amp;quot;your_username&amp;quot;/xmrigcc&lt;br /&gt;
 sudo wget -c https://github.com/Bendr0id/xmrigCC/releases/download/1.9.3/xmrigCC-1.9.3-with_tls-gcc7-linux-static-miner_only-arm64.tar.gz -O - | sudo tar -xz -C /home/&amp;quot;your_username&amp;quot;/xmrigcc/&lt;br /&gt;
&lt;br /&gt;
'''Step 2)'''&lt;br /&gt;
Now we edit the miner config:&lt;br /&gt;
 cd xmrigcc&lt;br /&gt;
 sudo nano config.json&lt;br /&gt;
You can delete everything and c&amp;amp;p following:&lt;br /&gt;
 {&lt;br /&gt;
    &amp;quot;algo&amp;quot;: &amp;quot;cryptonight-extremelite&amp;quot;,          // cryptonight (default), cryptonight-lite, cryptonight-ultralite, cryptonight-extremelite or cryptonight-heavy&lt;br /&gt;
    &amp;quot;aesni&amp;quot;: 0,                                 // selection of AES-NI mode (0 auto, 1 on, 2 off)&lt;br /&gt;
    &amp;quot;threads&amp;quot;: 2,                               // number of miner threads (not set or 0 enables automatic selection of optimal thread count)&lt;br /&gt;
    &amp;quot;multihash-factor&amp;quot;: 0,                      // number of hash blocks to process at a time (not set or 0 enables automatic selection of optimal number of hash blocks)&lt;br /&gt;
    &amp;quot;multihash-thread-mask&amp;quot; : null,             // for multihash-factors&amp;gt;0 only, limits multihash to given threads (mask), mask &amp;quot;0x3&amp;quot; means run multihash on thread 0 and 1 only (default: all threads)&lt;br /&gt;
    &amp;quot;pow-variant&amp;quot; : &amp;quot;upx2&amp;quot;,                     // specificy the PoW variat to use: -&amp;gt; auto (default), '0', '1', '2', 'ipbc', 'xao', 'xtl', 'rto', 'xfh', 'upx', 'turtle', 'hosp', 'r', 'wow', 'double (xcash)', 'zls' (zelerius), 'rwz' (graft), 'upx2'&lt;br /&gt;
                                                // for further help see: https://github.com/Bendr0id/xmrigCC/wiki/Coin-configurations&lt;br /&gt;
    &amp;quot;asm-optimization&amp;quot; : &amp;quot;auto&amp;quot;,                // specificy the ASM optimization to use: -&amp;gt; auto (default), intel, ryzen, bulldozer, off&lt;br /&gt;
    &amp;quot;background&amp;quot;: false,                        // true to run the miner in the background (Windows only, for *nix plase use screen/tmux or systemd service instead)&lt;br /&gt;
    &amp;quot;colors&amp;quot;: true,                             // false to disable colored output&lt;br /&gt;
    &amp;quot;cpu-affinity&amp;quot;: null,                       // set process affinity to CPU core(s), mask &amp;quot;0x3&amp;quot; for cores 0 and 1&lt;br /&gt;
    &amp;quot;cpu-priority&amp;quot;: 5,                          // set process priority (0 idle, 2 normal to 5 highest)&lt;br /&gt;
    &amp;quot;donate-level&amp;quot;: 1,                          // donate level, mininum 1%&lt;br /&gt;
    &amp;quot;log-file&amp;quot;: null,                           // log all output to a file, example: &amp;quot;c:/some/path/xmrig.log&amp;quot;&lt;br /&gt;
    &amp;quot;max-cpu-usage&amp;quot;: 100,                       // maximum CPU usage for automatic mode, usually limiting factor is CPU cache not this option.&lt;br /&gt;
    &amp;quot;print-time&amp;quot;: 60,                           // print hashrate report every N seconds&lt;br /&gt;
    &amp;quot;retries&amp;quot;: 5,                               // number of times to retry before switch to backup server&lt;br /&gt;
    &amp;quot;retry-pause&amp;quot;: 5,                           // time to pause between retries&lt;br /&gt;
    &amp;quot;safe&amp;quot;: false,                              // true to safe adjust threads and av settings for current CPU&lt;br /&gt;
    &amp;quot;syslog&amp;quot;: false,                            // use system log for output messages&lt;br /&gt;
    &amp;quot;reboot-cmd&amp;quot; : &amp;quot;&amp;quot;,                          // command to execute to reboot the OS&lt;br /&gt;
    &amp;quot;force-pow-variant&amp;quot; : false,                // force pow variant, dont parse pow/variant from pool job&lt;br /&gt;
    &amp;quot;skip-self-check&amp;quot; : false,                  // skip the self check on startup&lt;br /&gt;
    &amp;quot;pools&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;url&amp;quot;: &amp;quot;YOUR_POOL:POOL_PORT&amp;quot;,       // URL of mining server&lt;br /&gt;
            &amp;quot;user&amp;quot;: &amp;quot;YOUR_WALLET&amp;quot;,              // username for mining server&lt;br /&gt;
            &amp;quot;pass&amp;quot;: &amp;quot;YOUR_WORKERNAME&amp;quot;,          // password for mining server&lt;br /&gt;
            &amp;quot;use-tls&amp;quot; : false,                  // enable tls for pool communication (need pool support)&lt;br /&gt;
            &amp;quot;keepalive&amp;quot;: true,                  // send keepalived for prevent timeout (need pool support)&lt;br /&gt;
            &amp;quot;nicehash&amp;quot;: false                   // enable nicehash/xmrig-proxy support&lt;br /&gt;
        }&lt;br /&gt;
    ],&lt;br /&gt;
    &amp;quot;cc-client&amp;quot;: null,&lt;br /&gt;
 }&lt;br /&gt;
''Dont forget to edit the pool, wallet and maybe the user/workername!''&amp;lt;br&amp;gt;&lt;br /&gt;
Exit via '''ctrl+X''', press '''Y''' to save the config and hit '''enter'''&lt;br /&gt;
&lt;br /&gt;
== Start mining ==&lt;br /&gt;
Start mining with the following commands:&lt;br /&gt;
 sudo sysctl -w vm.nr_hugepages=128&lt;br /&gt;
 screen -S 1 ./xmrigDaemon&lt;br /&gt;
Mining should start and there shouldn't be a huge pages error (because we set the huge pages earlier to 128 [''sudo sysctl -w vm.nr_hugepages=128'']).&amp;lt;br&amp;gt;&lt;br /&gt;
Now press '''ctrl+A''' and then '''ctrl+D''' and you can now close PuTTY without stopping the miner.&amp;lt;br&amp;gt;&lt;br /&gt;
To open the miner again, connect through PuTTY with your user and password and enter:&lt;br /&gt;
 screen -r 1&lt;br /&gt;
&lt;br /&gt;
==== '''Closing the miner and shutting down Ubuntu''' ==== &lt;br /&gt;
When connected and the miner is open and working you can kill it with '''ctrl+C''' and then enter:&lt;br /&gt;
 sudo poweroff&lt;br /&gt;
&lt;br /&gt;
==== '''Start the Android box again and resume mining''' ====&lt;br /&gt;
Connect the box to the power again, hit the power on button on the remote and Ubuntu will boot.&amp;lt;br&amp;gt;&lt;br /&gt;
Then start over at '''Start mining''', but before starting XMRigCC you have to enter:&lt;br /&gt;
 cd xmrigcc&lt;br /&gt;
&lt;br /&gt;
==== '''Persistent huge pages''' ====&lt;br /&gt;
Connect to the box as '''root''' and enter the following:&lt;br /&gt;
 sudo echo 'vm.nr_hugepages=128' &amp;gt;&amp;gt; /etc/sysctl.conf&lt;br /&gt;
To check it:&lt;br /&gt;
 sudo sysctl -p&lt;br /&gt;
This makes entering ''sudo sysctl -w vm.nr_hugepages=128'' every time you want to start mining again obsolete&lt;br /&gt;
&lt;br /&gt;
== Known bugs ==&lt;br /&gt;
* Android won't boot anymore&lt;br /&gt;
&lt;br /&gt;
== Tested devices ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Device !! Hashrate !! Threads !! Power consumption !! Linux version &lt;br /&gt;
|-&lt;br /&gt;
| '''TX3 mini''' || 1030 H/s || 2 || '''Idle:''' 1,5W '''Mining''': 2,1W || Armbian_5.44_S9xxx_Ubuntu_xenial_3.14.29_server_20180515 &lt;br /&gt;
|-&lt;br /&gt;
| '''Nintendo Switch''' || 3405 H/s || 4 || ''not tested yet'' || l4t Ubuntu v. 1.3.1&lt;br /&gt;
|-&lt;br /&gt;
| '''A95X F2''' || 2049 H/s || 4 || '''Idle:''' 0,9W '''Mining''': 1,6W || Armbian_5.90_Aml-s905_Ubuntu_bionic_default_5.1.0_20190701&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Screens ==&lt;br /&gt;
=== Nintendo Switch ===&lt;br /&gt;
&amp;lt;img src=&amp;quot;https://cdn.discordapp.com/attachments/481429679488892929/591237374231707669/switch_4t_50.PNG&amp;quot; style=&amp;quot;max-width: 600px;&amp;quot;/&amp;gt;&lt;br /&gt;
* Link to l4t Ubuntu: https://gbatemp.net/threads/noob-friendly-l4t-ubuntu.539817/&lt;br /&gt;
&lt;br /&gt;
=== TX3 mini ===&lt;br /&gt;
&amp;lt;img src=&amp;quot;https://abload.de/img/unbenanntq0jeh.png&amp;quot; style=&amp;quot;max-width: 600px;&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== A95X F2 ===&lt;br /&gt;
&amp;lt;img src=&amp;quot;https://cdn.discordapp.com/attachments/531061823613435915/596312525948321819/a95x_f2.PNG&amp;quot; style=&amp;quot;max-width: 600px;&amp;quot;/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Prankst3r</name></author>
		
	</entry>
	<entry>
		<id>https://kb.uplexa.com/index.php?title=XMRigCC_on_TX3_mini_Android_TV_Box&amp;diff=122</id>
		<title>XMRigCC on TX3 mini Android TV Box</title>
		<link rel="alternate" type="text/html" href="https://kb.uplexa.com/index.php?title=XMRigCC_on_TX3_mini_Android_TV_Box&amp;diff=122"/>
		<updated>2019-06-28T12:54:07Z</updated>

		<summary type="html">&lt;p&gt;Prankst3r: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About this guide ==&lt;br /&gt;
This guide covers the installation of Ubuntu(Armbian) on a TX3 mini Android TV Box and how to mine UPX using XMRigCC. For other Adrdoid TV boxes the installation and usage is similar. The mining part is the same as on a normal PC using Ubuntu.&lt;br /&gt;
&lt;br /&gt;
== About the TX3 mini ==&lt;br /&gt;
* Amlogic S905W quadcore SoC&lt;br /&gt;
* 2GB RAM&lt;br /&gt;
* Wifi/LAN&lt;br /&gt;
Link to seller: https://www.geekbuying.com/item/TANIX-TX3-MINI-H-S905W-Android-7-1-2GB-16GB-TV-Box-403629.html&lt;br /&gt;
&lt;br /&gt;
== What do you need? ==&lt;br /&gt;
* min. 16GB sd card/USB flash drive&lt;br /&gt;
* a needle or similar (for resetting/firs time boot Ubuntu)&lt;br /&gt;
* Ubuntu image for Amlogic S9*** SoCs: https://yadi.sk/d/srrtn6kpnsKz2/Linux/ARMBIAN&lt;br /&gt;
I used this for the TX3 mini:&lt;br /&gt;
 Armbian_5.44_S9xxx_Ubuntu_xenial_3.14.29_server_20180515.img&lt;br /&gt;
but you can use one with a desktop-environment aswell:&lt;br /&gt;
 Armbian_5.44_S9xxx_Ubuntu_xenial_3.14.29_mate_20180515.img&lt;br /&gt;
'''For Windows:'''&lt;br /&gt;
* Etcher: https://www.balena.io/etcher/&lt;br /&gt;
* PuTTY: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
'''Step 1)'''&lt;br /&gt;
Download the tools and the image you need, after that install Etcher and PuTTY.&lt;br /&gt;
&lt;br /&gt;
'''Step 2)'''&lt;br /&gt;
Start Etcher, select the image, select the sd card/USB flash drive and click '''Flash!'''.&lt;br /&gt;
&lt;br /&gt;
'''Step 3)'''&lt;br /&gt;
Remove the sd card/USB flash drive and place it in your TX3 mini (I used the left usb port). &lt;br /&gt;
&lt;br /&gt;
'''Step 4)'''&lt;br /&gt;
Remove the power connector of the TX3 mini. Press the reset button (on the bottom of the box) with a needle for 10s, then connect the power again and it should boot into Ubuntu.&amp;lt;br&amp;gt;&lt;br /&gt;
There are other ways to first time boot, but this worked the best for me.&lt;br /&gt;
&lt;br /&gt;
== Connecting through SSH to the Android box and setting up Ubuntu ==&lt;br /&gt;
'''Step 1)'''&lt;br /&gt;
Find out your Android boxes IP address. I looked it up at my router. ''You can skip this and the 2. step by connecting your box to a TV via HDMI and connecting a mouse and keyboard.''&lt;br /&gt;
&lt;br /&gt;
'''Step 2)'''&lt;br /&gt;
Start PuTTY and enter the IP. Hit '''Open'''&lt;br /&gt;
&lt;br /&gt;
'''Step 3)'''&lt;br /&gt;
Enter '''root''' as username and '''1234''' as password.&amp;lt;br&amp;gt;&lt;br /&gt;
Then create a new user by following the steps in PuTTY. The system automatically reboots.&lt;br /&gt;
&lt;br /&gt;
'''Step 4)'''&lt;br /&gt;
Now we change the IP address to a static one. Enter:&lt;br /&gt;
 sudo armbian-config&lt;br /&gt;
Go to '''Network''' -&amp;gt; '''IP''' -&amp;gt; Select '''Static''' -&amp;gt; and enter a static IP for your TX3 mini. Select '''OK''' and exit armbian-config.&lt;br /&gt;
&lt;br /&gt;
'''Step 5)'''&lt;br /&gt;
Enter in PuTTY:&lt;br /&gt;
 sudo apt-get update -y &amp;amp;&amp;amp; sudo apt-get upgrade -y&lt;br /&gt;
After that enter:&lt;br /&gt;
 sudo reboot&lt;br /&gt;
&lt;br /&gt;
== Installing XMRigCC and editing the config ==&lt;br /&gt;
'''Step 1)'''&lt;br /&gt;
Reconnect through PuTTY and login as the user you created before.&lt;br /&gt;
Enter:&lt;br /&gt;
 sudo mkdir /home/&amp;quot;your_username&amp;quot;/xmrigcc&lt;br /&gt;
 sudo wget -c https://github.com/Bendr0id/xmrigCC/releases/download/1.9.3/xmrigCC-1.9.3-with_tls-gcc7-linux-static-miner_only-arm64.tar.gz -O - | sudo tar -xz -C /home/&amp;quot;your_username&amp;quot;/xmrigcc/&lt;br /&gt;
&lt;br /&gt;
'''Step 2)'''&lt;br /&gt;
Now we edit the miner config:&lt;br /&gt;
 cd xmrigcc&lt;br /&gt;
 sudo nano config.json&lt;br /&gt;
You can delete everything and c&amp;amp;p following:&lt;br /&gt;
 {&lt;br /&gt;
    &amp;quot;algo&amp;quot;: &amp;quot;cryptonight-extremelite&amp;quot;,          // cryptonight (default), cryptonight-lite, cryptonight-ultralite, cryptonight-extremelite or cryptonight-heavy&lt;br /&gt;
    &amp;quot;aesni&amp;quot;: 0,                                 // selection of AES-NI mode (0 auto, 1 on, 2 off)&lt;br /&gt;
    &amp;quot;threads&amp;quot;: 2,                               // number of miner threads (not set or 0 enables automatic selection of optimal thread count)&lt;br /&gt;
    &amp;quot;multihash-factor&amp;quot;: 0,                      // number of hash blocks to process at a time (not set or 0 enables automatic selection of optimal number of hash blocks)&lt;br /&gt;
    &amp;quot;multihash-thread-mask&amp;quot; : null,             // for multihash-factors&amp;gt;0 only, limits multihash to given threads (mask), mask &amp;quot;0x3&amp;quot; means run multihash on thread 0 and 1 only (default: all threads)&lt;br /&gt;
    &amp;quot;pow-variant&amp;quot; : &amp;quot;upx2&amp;quot;,                     // specificy the PoW variat to use: -&amp;gt; auto (default), '0', '1', '2', 'ipbc', 'xao', 'xtl', 'rto', 'xfh', 'upx', 'turtle', 'hosp', 'r', 'wow', 'double (xcash)', 'zls' (zelerius), 'rwz' (graft), 'upx2'&lt;br /&gt;
                                                // for further help see: https://github.com/Bendr0id/xmrigCC/wiki/Coin-configurations&lt;br /&gt;
    &amp;quot;asm-optimization&amp;quot; : &amp;quot;auto&amp;quot;,                // specificy the ASM optimization to use: -&amp;gt; auto (default), intel, ryzen, bulldozer, off&lt;br /&gt;
    &amp;quot;background&amp;quot;: false,                        // true to run the miner in the background (Windows only, for *nix plase use screen/tmux or systemd service instead)&lt;br /&gt;
    &amp;quot;colors&amp;quot;: true,                             // false to disable colored output&lt;br /&gt;
    &amp;quot;cpu-affinity&amp;quot;: null,                       // set process affinity to CPU core(s), mask &amp;quot;0x3&amp;quot; for cores 0 and 1&lt;br /&gt;
    &amp;quot;cpu-priority&amp;quot;: 5,                          // set process priority (0 idle, 2 normal to 5 highest)&lt;br /&gt;
    &amp;quot;donate-level&amp;quot;: 1,                          // donate level, mininum 1%&lt;br /&gt;
    &amp;quot;log-file&amp;quot;: null,                           // log all output to a file, example: &amp;quot;c:/some/path/xmrig.log&amp;quot;&lt;br /&gt;
    &amp;quot;max-cpu-usage&amp;quot;: 100,                       // maximum CPU usage for automatic mode, usually limiting factor is CPU cache not this option.&lt;br /&gt;
    &amp;quot;print-time&amp;quot;: 60,                           // print hashrate report every N seconds&lt;br /&gt;
    &amp;quot;retries&amp;quot;: 5,                               // number of times to retry before switch to backup server&lt;br /&gt;
    &amp;quot;retry-pause&amp;quot;: 5,                           // time to pause between retries&lt;br /&gt;
    &amp;quot;safe&amp;quot;: false,                              // true to safe adjust threads and av settings for current CPU&lt;br /&gt;
    &amp;quot;syslog&amp;quot;: false,                            // use system log for output messages&lt;br /&gt;
    &amp;quot;reboot-cmd&amp;quot; : &amp;quot;&amp;quot;,                          // command to execute to reboot the OS&lt;br /&gt;
    &amp;quot;force-pow-variant&amp;quot; : false,                // force pow variant, dont parse pow/variant from pool job&lt;br /&gt;
    &amp;quot;skip-self-check&amp;quot; : false,                  // skip the self check on startup&lt;br /&gt;
    &amp;quot;pools&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;url&amp;quot;: &amp;quot;YOUR_POOL:POOL_PORT&amp;quot;,       // URL of mining server&lt;br /&gt;
            &amp;quot;user&amp;quot;: &amp;quot;YOUR_WALLET&amp;quot;,              // username for mining server&lt;br /&gt;
            &amp;quot;pass&amp;quot;: &amp;quot;YOUR_WORKERNAME&amp;quot;,          // password for mining server&lt;br /&gt;
            &amp;quot;use-tls&amp;quot; : false,                  // enable tls for pool communication (need pool support)&lt;br /&gt;
            &amp;quot;keepalive&amp;quot;: true,                  // send keepalived for prevent timeout (need pool support)&lt;br /&gt;
            &amp;quot;nicehash&amp;quot;: false                   // enable nicehash/xmrig-proxy support&lt;br /&gt;
        }&lt;br /&gt;
    ],&lt;br /&gt;
    &amp;quot;cc-client&amp;quot;: null,&lt;br /&gt;
 }&lt;br /&gt;
''Dont forget to edit the pool, wallet and maybe the user/workername!''&amp;lt;br&amp;gt;&lt;br /&gt;
Exit via '''ctrl+X''', press '''Y''' to save the config and hit '''enter'''&lt;br /&gt;
&lt;br /&gt;
== Start mining ==&lt;br /&gt;
Start mining with the following commands:&lt;br /&gt;
 sudo sysctl -w vm.nr_hugepages=128&lt;br /&gt;
 screen -S 1 ./xmrigDaemon&lt;br /&gt;
Mining should start and there shouldn't be a huge pages error (because we set the huge pages earlier to 128 [''sudo sysctl -w vm.nr_hugepages=128'']).&amp;lt;br&amp;gt;&lt;br /&gt;
Now press '''ctrl+A''' and then '''ctrl+D''' and you can now close PuTTY without stopping the miner.&amp;lt;br&amp;gt;&lt;br /&gt;
To open the miner again, connect through PuTTY with your user and password and enter:&lt;br /&gt;
 screen -r 1&lt;br /&gt;
&lt;br /&gt;
==== '''Closing the miner and shutting down Ubuntu''' ==== &lt;br /&gt;
When connected and the miner is open and working you can kill it with '''ctrl+C''' and then enter:&lt;br /&gt;
 sudo poweroff&lt;br /&gt;
&lt;br /&gt;
==== '''Start the Android box again and resume mining''' ====&lt;br /&gt;
Connect the box to the power again, hit the power on button on the remote and Ubuntu will boot.&amp;lt;br&amp;gt;&lt;br /&gt;
Then start over at '''Start mining''', but before starting XMRigCC you have to enter:&lt;br /&gt;
 cd xmrigcc&lt;br /&gt;
&lt;br /&gt;
==== '''Persistent huge pages''' ====&lt;br /&gt;
Connect to the box as '''root''' and enter the following:&lt;br /&gt;
 sudo echo 'vm.nr_hugepages=128' &amp;gt;&amp;gt; /etc/sysctl.conf&lt;br /&gt;
To check it:&lt;br /&gt;
 sudo sysctl -p&lt;br /&gt;
This makes entering ''sudo sysctl -w vm.nr_hugepages=128'' every time you want to start mining again obsolete&lt;br /&gt;
&lt;br /&gt;
== Known bugs ==&lt;br /&gt;
* Android won't boot anymore&lt;br /&gt;
&lt;br /&gt;
== Tested devices ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Device !! Hashrate !! Power consumption !! Linux version&lt;br /&gt;
|-&lt;br /&gt;
| '''TX3 mini''' || 1030 H/s || '''Idle:''' 1,5W '''Mining''': 2,1W || Armbian_5.44_S9xxx_Ubuntu_xenial_3.14.29_server_20180515&lt;br /&gt;
|-&lt;br /&gt;
| '''Nintendo Switch''' || 3405 H/s || ''not tested yet'' || l4t Ubuntu v. 1.3.1&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Screens ==&lt;br /&gt;
=== Nintendo Switch ===&lt;br /&gt;
&amp;lt;img src=&amp;quot;https://cdn.discordapp.com/attachments/481429679488892929/591237374231707669/switch_4t_50.PNG&amp;quot; style=&amp;quot;max-width: 600px;&amp;quot;/&amp;gt;&lt;br /&gt;
* Link to l4t Ubuntu: https://gbatemp.net/threads/noob-friendly-l4t-ubuntu.539817/&lt;br /&gt;
&lt;br /&gt;
=== TX3 mini ===&lt;br /&gt;
&amp;lt;img src=&amp;quot;https://abload.de/img/unbenanntq0jeh.png&amp;quot; style=&amp;quot;max-width: 600px;&amp;quot;/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Prankst3r</name></author>
		
	</entry>
	<entry>
		<id>https://kb.uplexa.com/index.php?title=XMRigCC_on_TX3_mini_Android_TV_Box&amp;diff=120</id>
		<title>XMRigCC on TX3 mini Android TV Box</title>
		<link rel="alternate" type="text/html" href="https://kb.uplexa.com/index.php?title=XMRigCC_on_TX3_mini_Android_TV_Box&amp;diff=120"/>
		<updated>2019-06-23T14:50:50Z</updated>

		<summary type="html">&lt;p&gt;Prankst3r: /* Start the Android box again and resume mining */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About this guide ==&lt;br /&gt;
This guide covers the installation of Ubuntu(Armbian) on a TX3 mini Android TV Box and how to mine UPX using XMRigCC. For other Adrdoid TV boxes the installation and usage is similar. The mining part is the same as on a normal PC using Ubuntu.&lt;br /&gt;
&lt;br /&gt;
== About the TX3 mini ==&lt;br /&gt;
* Amlogic S905W quadcore SoC&lt;br /&gt;
* 2GB RAM&lt;br /&gt;
* Wifi/LAN&lt;br /&gt;
Link to seller: https://www.geekbuying.com/item/TANIX-TX3-MINI-H-S905W-Android-7-1-2GB-16GB-TV-Box-403629.html&lt;br /&gt;
&lt;br /&gt;
== What do you need? ==&lt;br /&gt;
* min. 16GB sd card/USB flash drive&lt;br /&gt;
* a needle or similar (for resetting/firs time boot Ubuntu)&lt;br /&gt;
* Ubuntu image for Amlogic S9*** SoCs: https://yadi.sk/d/srrtn6kpnsKz2/Linux/ARMBIAN&lt;br /&gt;
I used this for the TX3 mini:&lt;br /&gt;
 Armbian_5.44_S9xxx_Ubuntu_xenial_3.14.29_server_20180515.img&lt;br /&gt;
but you can use one with a desktop-environment aswell:&lt;br /&gt;
 Armbian_5.44_S9xxx_Ubuntu_xenial_3.14.29_mate_20180515.img&lt;br /&gt;
'''For Windows:'''&lt;br /&gt;
* Etcher: https://www.balena.io/etcher/&lt;br /&gt;
* PuTTY: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
'''Step 1)'''&lt;br /&gt;
Download the tools and the image you need, after that install Etcher and PuTTY.&lt;br /&gt;
&lt;br /&gt;
'''Step 2)'''&lt;br /&gt;
Start Etcher, select the image, select the sd card/USB flash drive and click '''Flash!'''.&lt;br /&gt;
&lt;br /&gt;
'''Step 3)'''&lt;br /&gt;
Remove the sd card/USB flash drive and place it in your TX3 mini (I used the left usb port). &lt;br /&gt;
&lt;br /&gt;
'''Step 4)'''&lt;br /&gt;
Remove the power connector of the TX3 mini. Press the reset button (on the bottom of the box) with a needle for 10s, then connect the power again and it should boot into Ubuntu.&amp;lt;br&amp;gt;&lt;br /&gt;
There are other ways to first time boot, but this worked the best for me.&lt;br /&gt;
&lt;br /&gt;
== Connecting through SSH to the Android box and setting up Ubuntu ==&lt;br /&gt;
'''Step 1)'''&lt;br /&gt;
Find out your Android boxes IP address. I looked it up at my router. ''You can skip this and the 2. step by connecting your box to a TV via HDMI and connecting a mouse and keyboard.''&lt;br /&gt;
&lt;br /&gt;
'''Step 2)'''&lt;br /&gt;
Start PuTTY and enter the IP. Hit '''Open'''&lt;br /&gt;
&lt;br /&gt;
'''Step 3)'''&lt;br /&gt;
Enter '''root''' as username and '''1234''' as password.&amp;lt;br&amp;gt;&lt;br /&gt;
Then create a new user by following the steps in PuTTY. The system automatically reboots.&lt;br /&gt;
&lt;br /&gt;
'''Step 4)'''&lt;br /&gt;
Now we change the IP address to a static one. Enter:&lt;br /&gt;
 sudo armbian-config&lt;br /&gt;
Go to '''Network''' -&amp;gt; '''IP''' -&amp;gt; Select '''Static''' -&amp;gt; and enter a static IP for your TX3 mini. Select '''OK''' and exit armbian-config.&lt;br /&gt;
&lt;br /&gt;
'''Step 5)'''&lt;br /&gt;
Enter in PuTTY:&lt;br /&gt;
 sudo apt-get update -y &amp;amp;&amp;amp; sudo apt-get upgrade -y&lt;br /&gt;
After that enter:&lt;br /&gt;
 sudo reboot&lt;br /&gt;
&lt;br /&gt;
== Installing XMRigCC and editing the config ==&lt;br /&gt;
'''Step 1)'''&lt;br /&gt;
Reconnect through PuTTY and login as the user you created before.&lt;br /&gt;
Enter:&lt;br /&gt;
 sudo mkdir /home/&amp;quot;your_username&amp;quot;/xmrigcc&lt;br /&gt;
 sudo wget -c https://github.com/Bendr0id/xmrigCC/releases/download/1.9.3/xmrigCC-1.9.3-with_tls-gcc7-linux-static-miner_only-arm64.tar.gz -O - | sudo tar -xz -C /home/&amp;quot;your_username&amp;quot;/xmrigcc/&lt;br /&gt;
&lt;br /&gt;
'''Step 2)'''&lt;br /&gt;
Now we edit the miner config:&lt;br /&gt;
 cd xmrigcc&lt;br /&gt;
 sudo nano config.json&lt;br /&gt;
You can delete everything and c&amp;amp;p following:&lt;br /&gt;
 {&lt;br /&gt;
    &amp;quot;algo&amp;quot;: &amp;quot;cryptonight-extremelite&amp;quot;,          // cryptonight (default), cryptonight-lite, cryptonight-ultralite, cryptonight-extremelite or cryptonight-heavy&lt;br /&gt;
    &amp;quot;aesni&amp;quot;: 0,                                 // selection of AES-NI mode (0 auto, 1 on, 2 off)&lt;br /&gt;
    &amp;quot;threads&amp;quot;: 2,                               // number of miner threads (not set or 0 enables automatic selection of optimal thread count)&lt;br /&gt;
    &amp;quot;multihash-factor&amp;quot;: 0,                      // number of hash blocks to process at a time (not set or 0 enables automatic selection of optimal number of hash blocks)&lt;br /&gt;
    &amp;quot;multihash-thread-mask&amp;quot; : null,             // for multihash-factors&amp;gt;0 only, limits multihash to given threads (mask), mask &amp;quot;0x3&amp;quot; means run multihash on thread 0 and 1 only (default: all threads)&lt;br /&gt;
    &amp;quot;pow-variant&amp;quot; : &amp;quot;upx2&amp;quot;,                     // specificy the PoW variat to use: -&amp;gt; auto (default), '0', '1', '2', 'ipbc', 'xao', 'xtl', 'rto', 'xfh', 'upx', 'turtle', 'hosp', 'r', 'wow', 'double (xcash)', 'zls' (zelerius), 'rwz' (graft), 'upx2'&lt;br /&gt;
                                                // for further help see: https://github.com/Bendr0id/xmrigCC/wiki/Coin-configurations&lt;br /&gt;
    &amp;quot;asm-optimization&amp;quot; : &amp;quot;auto&amp;quot;,                // specificy the ASM optimization to use: -&amp;gt; auto (default), intel, ryzen, bulldozer, off&lt;br /&gt;
    &amp;quot;background&amp;quot;: false,                        // true to run the miner in the background (Windows only, for *nix plase use screen/tmux or systemd service instead)&lt;br /&gt;
    &amp;quot;colors&amp;quot;: true,                             // false to disable colored output&lt;br /&gt;
    &amp;quot;cpu-affinity&amp;quot;: null,                       // set process affinity to CPU core(s), mask &amp;quot;0x3&amp;quot; for cores 0 and 1&lt;br /&gt;
    &amp;quot;cpu-priority&amp;quot;: 5,                          // set process priority (0 idle, 2 normal to 5 highest)&lt;br /&gt;
    &amp;quot;donate-level&amp;quot;: 1,                          // donate level, mininum 1%&lt;br /&gt;
    &amp;quot;log-file&amp;quot;: null,                           // log all output to a file, example: &amp;quot;c:/some/path/xmrig.log&amp;quot;&lt;br /&gt;
    &amp;quot;max-cpu-usage&amp;quot;: 100,                       // maximum CPU usage for automatic mode, usually limiting factor is CPU cache not this option.&lt;br /&gt;
    &amp;quot;print-time&amp;quot;: 60,                           // print hashrate report every N seconds&lt;br /&gt;
    &amp;quot;retries&amp;quot;: 5,                               // number of times to retry before switch to backup server&lt;br /&gt;
    &amp;quot;retry-pause&amp;quot;: 5,                           // time to pause between retries&lt;br /&gt;
    &amp;quot;safe&amp;quot;: false,                              // true to safe adjust threads and av settings for current CPU&lt;br /&gt;
    &amp;quot;syslog&amp;quot;: false,                            // use system log for output messages&lt;br /&gt;
    &amp;quot;reboot-cmd&amp;quot; : &amp;quot;&amp;quot;,                          // command to execute to reboot the OS&lt;br /&gt;
    &amp;quot;force-pow-variant&amp;quot; : false,                // force pow variant, dont parse pow/variant from pool job&lt;br /&gt;
    &amp;quot;skip-self-check&amp;quot; : false,                  // skip the self check on startup&lt;br /&gt;
    &amp;quot;pools&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;url&amp;quot;: &amp;quot;YOUR_POOL:POOL_PORT&amp;quot;,       // URL of mining server&lt;br /&gt;
            &amp;quot;user&amp;quot;: &amp;quot;YOUR_WALLET&amp;quot;,              // username for mining server&lt;br /&gt;
            &amp;quot;pass&amp;quot;: &amp;quot;YOUR_WORKERNAME&amp;quot;,          // password for mining server&lt;br /&gt;
            &amp;quot;use-tls&amp;quot; : false,                  // enable tls for pool communication (need pool support)&lt;br /&gt;
            &amp;quot;keepalive&amp;quot;: true,                  // send keepalived for prevent timeout (need pool support)&lt;br /&gt;
            &amp;quot;nicehash&amp;quot;: false                   // enable nicehash/xmrig-proxy support&lt;br /&gt;
        }&lt;br /&gt;
    ],&lt;br /&gt;
    &amp;quot;cc-client&amp;quot;: null,&lt;br /&gt;
 }&lt;br /&gt;
''Dont forget to edit the pool, wallet and maybe the user/workername!''&amp;lt;br&amp;gt;&lt;br /&gt;
Exit via '''ctrl+X''', press '''Y''' to save the config and hit '''enter'''&lt;br /&gt;
&lt;br /&gt;
== Start mining ==&lt;br /&gt;
Start mining with the following commands:&lt;br /&gt;
 sudo sysctl -w vm.nr_hugepages=128&lt;br /&gt;
 screen -S 1 ./xmrigDaemon&lt;br /&gt;
Mining should start and there shouldn't be a huge pages error (because we set the huge pages earlier to 128 [''sudo sysctl -w vm.nr_hugepages=128'']).&amp;lt;br&amp;gt;&lt;br /&gt;
Now press '''ctrl+A''' and then '''ctrl+D''' and you can now close PuTTY without stopping the miner.&amp;lt;br&amp;gt;&lt;br /&gt;
To open the miner again, connect through PuTTY with your user and password and enter:&lt;br /&gt;
 screen -r 1&lt;br /&gt;
&lt;br /&gt;
==== '''Closing the miner and shutting down Ubuntu''' ==== &lt;br /&gt;
When connected and the miner is open and working you can kill it with '''ctrl+C''' and then enter:&lt;br /&gt;
 sudo poweroff&lt;br /&gt;
&lt;br /&gt;
==== '''Start the Android box again and resume mining''' ====&lt;br /&gt;
Connect the box to the power again, hit the power on button on the remote and Ubuntu will boot.&amp;lt;br&amp;gt;&lt;br /&gt;
Then start over at '''Start mining''', but before starting XMRigCC you have to enter:&lt;br /&gt;
 cd xmrigcc&lt;br /&gt;
&lt;br /&gt;
== Known bugs ==&lt;br /&gt;
* Android won't boot anymore&lt;br /&gt;
&lt;br /&gt;
== Tested devices ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Device !! Hashrate !! Power consumption !! Linux version&lt;br /&gt;
|-&lt;br /&gt;
| '''TX3 mini''' || 1030 H/s || '''Idle:''' 1,5W '''Mining''': 2,1W || Armbian_5.44_S9xxx_Ubuntu_xenial_3.14.29_server_20180515&lt;br /&gt;
|-&lt;br /&gt;
| '''Nintendo Switch''' || 3405 H/s || ''not tested yet'' || l4t Ubuntu v. 1.3.1&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Screens ==&lt;br /&gt;
=== Nintendo Switch ===&lt;br /&gt;
&amp;lt;img src=&amp;quot;https://cdn.discordapp.com/attachments/481429679488892929/591237374231707669/switch_4t_50.PNG&amp;quot; style=&amp;quot;max-width: 600px;&amp;quot;/&amp;gt;&lt;br /&gt;
* Link to l4t Ubuntu: https://gbatemp.net/threads/noob-friendly-l4t-ubuntu.539817/&lt;br /&gt;
&lt;br /&gt;
=== TX3 mini ===&lt;br /&gt;
&amp;lt;img src=&amp;quot;https://abload.de/img/unbenanntq0jeh.png&amp;quot; style=&amp;quot;max-width: 600px;&amp;quot;/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Prankst3r</name></author>
		
	</entry>
	<entry>
		<id>https://kb.uplexa.com/index.php?title=XMRigCC_on_TX3_mini_Android_TV_Box&amp;diff=118</id>
		<title>XMRigCC on TX3 mini Android TV Box</title>
		<link rel="alternate" type="text/html" href="https://kb.uplexa.com/index.php?title=XMRigCC_on_TX3_mini_Android_TV_Box&amp;diff=118"/>
		<updated>2019-06-23T03:05:52Z</updated>

		<summary type="html">&lt;p&gt;Prankst3r: /* Start the Android box again and resume mining */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About this guide ==&lt;br /&gt;
This guide covers the installation of Ubuntu(Armbian) on a TX3 mini Android TV Box and how to mine UPX using XMRigCC. For other Adrdoid TV boxes the installation and usage is similar. The mining part is the same as on a normal PC using Ubuntu.&lt;br /&gt;
&lt;br /&gt;
== About the TX3 mini ==&lt;br /&gt;
* Amlogic S905W quadcore SoC&lt;br /&gt;
* 2GB RAM&lt;br /&gt;
* Wifi/LAN&lt;br /&gt;
Link to seller: https://www.geekbuying.com/item/TANIX-TX3-MINI-H-S905W-Android-7-1-2GB-16GB-TV-Box-403629.html&lt;br /&gt;
&lt;br /&gt;
== What do you need? ==&lt;br /&gt;
* min. 16GB sd card/USB flash drive&lt;br /&gt;
* a needle or similar (for resetting/firs time boot Ubuntu)&lt;br /&gt;
* Ubuntu image for Amlogic S9*** SoCs: https://yadi.sk/d/srrtn6kpnsKz2/Linux/ARMBIAN&lt;br /&gt;
I used this for the TX3 mini:&lt;br /&gt;
 Armbian_5.44_S9xxx_Ubuntu_xenial_3.14.29_server_20180515.img&lt;br /&gt;
but you can use one with a desktop-environment aswell:&lt;br /&gt;
 Armbian_5.44_S9xxx_Ubuntu_xenial_3.14.29_mate_20180515.img&lt;br /&gt;
'''For Windows:'''&lt;br /&gt;
* Etcher: https://www.balena.io/etcher/&lt;br /&gt;
* PuTTY: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
'''Step 1)'''&lt;br /&gt;
Download the tools and the image you need, after that install Etcher and PuTTY.&lt;br /&gt;
&lt;br /&gt;
'''Step 2)'''&lt;br /&gt;
Start Etcher, select the image, select the sd card/USB flash drive and click '''Flash!'''.&lt;br /&gt;
&lt;br /&gt;
'''Step 3)'''&lt;br /&gt;
Remove the sd card/USB flash drive and place it in your TX3 mini (I used the left usb port). &lt;br /&gt;
&lt;br /&gt;
'''Step 4)'''&lt;br /&gt;
Remove the power connector of the TX3 mini. Press the reset button (on the bottom of the box) with a needle for 10s, then connect the power again and it should boot into Ubuntu.&amp;lt;br&amp;gt;&lt;br /&gt;
There are other ways to first time boot, but this worked the best for me.&lt;br /&gt;
&lt;br /&gt;
== Connecting through SSH to the Android box and setting up Ubuntu ==&lt;br /&gt;
'''Step 1)'''&lt;br /&gt;
Find out your Android boxes IP address. I looked it up at my router. ''You can skip this and the 2. step by connecting your box to a TV via HDMI and connecting a mouse and keyboard.''&lt;br /&gt;
&lt;br /&gt;
'''Step 2)'''&lt;br /&gt;
Start PuTTY and enter the IP. Hit '''Open'''&lt;br /&gt;
&lt;br /&gt;
'''Step 3)'''&lt;br /&gt;
Enter '''root''' as username and '''1234''' as password.&amp;lt;br&amp;gt;&lt;br /&gt;
Then create a new user by following the steps in PuTTY. The system automatically reboots.&lt;br /&gt;
&lt;br /&gt;
'''Step 4)'''&lt;br /&gt;
Now we change the IP address to a static one. Enter:&lt;br /&gt;
 sudo armbian-config&lt;br /&gt;
Go to '''Network''' -&amp;gt; '''IP''' -&amp;gt; Select '''Static''' -&amp;gt; and enter a static IP for your TX3 mini. Select '''OK''' and exit armbian-config.&lt;br /&gt;
&lt;br /&gt;
'''Step 5)'''&lt;br /&gt;
Enter in PuTTY:&lt;br /&gt;
 sudo apt-get update -y &amp;amp;&amp;amp; sudo apt-get upgrade -y&lt;br /&gt;
After that enter:&lt;br /&gt;
 sudo reboot&lt;br /&gt;
&lt;br /&gt;
== Installing XMRigCC and editing the config ==&lt;br /&gt;
'''Step 1)'''&lt;br /&gt;
Reconnect through PuTTY and login as the user you created before.&lt;br /&gt;
Enter:&lt;br /&gt;
 sudo mkdir /home/&amp;quot;your_username&amp;quot;/xmrigcc&lt;br /&gt;
 sudo wget -c https://github.com/Bendr0id/xmrigCC/releases/download/1.9.3/xmrigCC-1.9.3-with_tls-gcc7-linux-static-miner_only-arm64.tar.gz -O - | sudo tar -xz -C /home/&amp;quot;your_username&amp;quot;/xmrigcc/&lt;br /&gt;
&lt;br /&gt;
'''Step 2)'''&lt;br /&gt;
Now we edit the miner config:&lt;br /&gt;
 cd xmrigcc&lt;br /&gt;
 sudo nano config.json&lt;br /&gt;
You can delete everything and c&amp;amp;p following:&lt;br /&gt;
 {&lt;br /&gt;
    &amp;quot;algo&amp;quot;: &amp;quot;cryptonight-extremelite&amp;quot;,          // cryptonight (default), cryptonight-lite, cryptonight-ultralite, cryptonight-extremelite or cryptonight-heavy&lt;br /&gt;
    &amp;quot;aesni&amp;quot;: 0,                                 // selection of AES-NI mode (0 auto, 1 on, 2 off)&lt;br /&gt;
    &amp;quot;threads&amp;quot;: 2,                               // number of miner threads (not set or 0 enables automatic selection of optimal thread count)&lt;br /&gt;
    &amp;quot;multihash-factor&amp;quot;: 0,                      // number of hash blocks to process at a time (not set or 0 enables automatic selection of optimal number of hash blocks)&lt;br /&gt;
    &amp;quot;multihash-thread-mask&amp;quot; : null,             // for multihash-factors&amp;gt;0 only, limits multihash to given threads (mask), mask &amp;quot;0x3&amp;quot; means run multihash on thread 0 and 1 only (default: all threads)&lt;br /&gt;
    &amp;quot;pow-variant&amp;quot; : &amp;quot;upx2&amp;quot;,                     // specificy the PoW variat to use: -&amp;gt; auto (default), '0', '1', '2', 'ipbc', 'xao', 'xtl', 'rto', 'xfh', 'upx', 'turtle', 'hosp', 'r', 'wow', 'double (xcash)', 'zls' (zelerius), 'rwz' (graft), 'upx2'&lt;br /&gt;
                                                // for further help see: https://github.com/Bendr0id/xmrigCC/wiki/Coin-configurations&lt;br /&gt;
    &amp;quot;asm-optimization&amp;quot; : &amp;quot;auto&amp;quot;,                // specificy the ASM optimization to use: -&amp;gt; auto (default), intel, ryzen, bulldozer, off&lt;br /&gt;
    &amp;quot;background&amp;quot;: false,                        // true to run the miner in the background (Windows only, for *nix plase use screen/tmux or systemd service instead)&lt;br /&gt;
    &amp;quot;colors&amp;quot;: true,                             // false to disable colored output&lt;br /&gt;
    &amp;quot;cpu-affinity&amp;quot;: null,                       // set process affinity to CPU core(s), mask &amp;quot;0x3&amp;quot; for cores 0 and 1&lt;br /&gt;
    &amp;quot;cpu-priority&amp;quot;: 5,                          // set process priority (0 idle, 2 normal to 5 highest)&lt;br /&gt;
    &amp;quot;donate-level&amp;quot;: 1,                          // donate level, mininum 1%&lt;br /&gt;
    &amp;quot;log-file&amp;quot;: null,                           // log all output to a file, example: &amp;quot;c:/some/path/xmrig.log&amp;quot;&lt;br /&gt;
    &amp;quot;max-cpu-usage&amp;quot;: 100,                       // maximum CPU usage for automatic mode, usually limiting factor is CPU cache not this option.&lt;br /&gt;
    &amp;quot;print-time&amp;quot;: 60,                           // print hashrate report every N seconds&lt;br /&gt;
    &amp;quot;retries&amp;quot;: 5,                               // number of times to retry before switch to backup server&lt;br /&gt;
    &amp;quot;retry-pause&amp;quot;: 5,                           // time to pause between retries&lt;br /&gt;
    &amp;quot;safe&amp;quot;: false,                              // true to safe adjust threads and av settings for current CPU&lt;br /&gt;
    &amp;quot;syslog&amp;quot;: false,                            // use system log for output messages&lt;br /&gt;
    &amp;quot;reboot-cmd&amp;quot; : &amp;quot;&amp;quot;,                          // command to execute to reboot the OS&lt;br /&gt;
    &amp;quot;force-pow-variant&amp;quot; : false,                // force pow variant, dont parse pow/variant from pool job&lt;br /&gt;
    &amp;quot;skip-self-check&amp;quot; : false,                  // skip the self check on startup&lt;br /&gt;
    &amp;quot;pools&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;url&amp;quot;: &amp;quot;YOUR_POOL:POOL_PORT&amp;quot;,       // URL of mining server&lt;br /&gt;
            &amp;quot;user&amp;quot;: &amp;quot;YOUR_WALLET&amp;quot;,              // username for mining server&lt;br /&gt;
            &amp;quot;pass&amp;quot;: &amp;quot;YOUR_WORKERNAME&amp;quot;,          // password for mining server&lt;br /&gt;
            &amp;quot;use-tls&amp;quot; : false,                  // enable tls for pool communication (need pool support)&lt;br /&gt;
            &amp;quot;keepalive&amp;quot;: true,                  // send keepalived for prevent timeout (need pool support)&lt;br /&gt;
            &amp;quot;nicehash&amp;quot;: false                   // enable nicehash/xmrig-proxy support&lt;br /&gt;
        }&lt;br /&gt;
    ],&lt;br /&gt;
    &amp;quot;cc-client&amp;quot;: null,&lt;br /&gt;
 }&lt;br /&gt;
''Dont forget to edit the pool, wallet and maybe the user/workername!''&amp;lt;br&amp;gt;&lt;br /&gt;
Exit via '''ctrl+X''', press '''Y''' to save the config and hit '''enter'''&lt;br /&gt;
&lt;br /&gt;
== Start mining ==&lt;br /&gt;
Start mining with the following commands:&lt;br /&gt;
 sudo sysctl -w vm.nr_hugepages=128&lt;br /&gt;
 screen -S 1 ./xmrigDaemon&lt;br /&gt;
Mining should start and there shouldn't be a huge pages error (because we set the huge pages earlier to 128 [''sudo sysctl -w vm.nr_hugepages=128'']).&amp;lt;br&amp;gt;&lt;br /&gt;
Now press '''ctrl+A''' and then '''ctrl+D''' and you can now close PuTTY without stopping the miner.&amp;lt;br&amp;gt;&lt;br /&gt;
To open the miner again, connect through PuTTY with your user and password and enter:&lt;br /&gt;
 screen -r 1&lt;br /&gt;
&lt;br /&gt;
==== '''Closing the miner and shutting down Ubuntu''' ==== &lt;br /&gt;
When connected and the miner is open and working you can kill it with '''ctrl+C''' and then enter:&lt;br /&gt;
 sudo poweroff&lt;br /&gt;
&lt;br /&gt;
==== '''Start the Android box again and resume mining''' ====&lt;br /&gt;
Connect the box to the power again, hit the power on buttion on the remote and Ubuntu will boot.&amp;lt;br&amp;gt;&lt;br /&gt;
Then start over at '''Start mining''', but before starting XMRigCC you have to enter:&lt;br /&gt;
 cd xmrigcc&lt;br /&gt;
&lt;br /&gt;
== Known bugs ==&lt;br /&gt;
* Android won't boot anymore&lt;br /&gt;
&lt;br /&gt;
== Tested devices ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Device !! Hashrate !! Power consumption !! Linux version&lt;br /&gt;
|-&lt;br /&gt;
| '''TX3 mini''' || 1030 H/s || '''Idle:''' 1,5W '''Mining''': 2,1W || Armbian_5.44_S9xxx_Ubuntu_xenial_3.14.29_server_20180515&lt;br /&gt;
|-&lt;br /&gt;
| '''Nintendo Switch''' || 3405 H/s || ''not tested yet'' || l4t Ubuntu v. 1.3.1&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Screens ==&lt;br /&gt;
=== Nintendo Switch ===&lt;br /&gt;
&amp;lt;img src=&amp;quot;https://cdn.discordapp.com/attachments/481429679488892929/591237374231707669/switch_4t_50.PNG&amp;quot; style=&amp;quot;max-width: 600px;&amp;quot;/&amp;gt;&lt;br /&gt;
* Link to l4t Ubuntu: https://gbatemp.net/threads/noob-friendly-l4t-ubuntu.539817/&lt;br /&gt;
&lt;br /&gt;
=== TX3 mini ===&lt;br /&gt;
&amp;lt;img src=&amp;quot;https://abload.de/img/unbenanntq0jeh.png&amp;quot; style=&amp;quot;max-width: 600px;&amp;quot;/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Prankst3r</name></author>
		
	</entry>
	<entry>
		<id>https://kb.uplexa.com/index.php?title=XMRigCC_on_TX3_mini_Android_TV_Box&amp;diff=117</id>
		<title>XMRigCC on TX3 mini Android TV Box</title>
		<link rel="alternate" type="text/html" href="https://kb.uplexa.com/index.php?title=XMRigCC_on_TX3_mini_Android_TV_Box&amp;diff=117"/>
		<updated>2019-06-22T20:12:21Z</updated>

		<summary type="html">&lt;p&gt;Prankst3r: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About this guide ==&lt;br /&gt;
This guide covers the installation of Ubuntu(Armbian) on a TX3 mini Android TV Box and how to mine UPX using XMRigCC. For other Adrdoid TV boxes the installation and usage is similar. The mining part is the same as on a normal PC using Ubuntu.&lt;br /&gt;
&lt;br /&gt;
== About the TX3 mini ==&lt;br /&gt;
* Amlogic S905W quadcore SoC&lt;br /&gt;
* 2GB RAM&lt;br /&gt;
* Wifi/LAN&lt;br /&gt;
Link to seller: https://www.geekbuying.com/item/TANIX-TX3-MINI-H-S905W-Android-7-1-2GB-16GB-TV-Box-403629.html&lt;br /&gt;
&lt;br /&gt;
== What do you need? ==&lt;br /&gt;
* min. 16GB sd card/USB flash drive&lt;br /&gt;
* a needle or similar (for resetting/firs time boot Ubuntu)&lt;br /&gt;
* Ubuntu image for Amlogic S9*** SoCs: https://yadi.sk/d/srrtn6kpnsKz2/Linux/ARMBIAN&lt;br /&gt;
I used this for the TX3 mini:&lt;br /&gt;
 Armbian_5.44_S9xxx_Ubuntu_xenial_3.14.29_server_20180515.img&lt;br /&gt;
but you can use one with a desktop-environment aswell:&lt;br /&gt;
 Armbian_5.44_S9xxx_Ubuntu_xenial_3.14.29_mate_20180515.img&lt;br /&gt;
'''For Windows:'''&lt;br /&gt;
* Etcher: https://www.balena.io/etcher/&lt;br /&gt;
* PuTTY: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
'''Step 1)'''&lt;br /&gt;
Download the tools and the image you need, after that install Etcher and PuTTY.&lt;br /&gt;
&lt;br /&gt;
'''Step 2)'''&lt;br /&gt;
Start Etcher, select the image, select the sd card/USB flash drive and click '''Flash!'''.&lt;br /&gt;
&lt;br /&gt;
'''Step 3)'''&lt;br /&gt;
Remove the sd card/USB flash drive and place it in your TX3 mini (I used the left usb port). &lt;br /&gt;
&lt;br /&gt;
'''Step 4)'''&lt;br /&gt;
Remove the power connector of the TX3 mini. Press the reset button (on the bottom of the box) with a needle for 10s, then connect the power again and it should boot into Ubuntu.&amp;lt;br&amp;gt;&lt;br /&gt;
There are other ways to first time boot, but this worked the best for me.&lt;br /&gt;
&lt;br /&gt;
== Connecting through SSH to the Android box and setting up Ubuntu ==&lt;br /&gt;
'''Step 1)'''&lt;br /&gt;
Find out your Android boxes IP address. I looked it up at my router. ''You can skip this and the 2. step by connecting your box to a TV via HDMI and connecting a mouse and keyboard.''&lt;br /&gt;
&lt;br /&gt;
'''Step 2)'''&lt;br /&gt;
Start PuTTY and enter the IP. Hit '''Open'''&lt;br /&gt;
&lt;br /&gt;
'''Step 3)'''&lt;br /&gt;
Enter '''root''' as username and '''1234''' as password.&amp;lt;br&amp;gt;&lt;br /&gt;
Then create a new user by following the steps in PuTTY. The system automatically reboots.&lt;br /&gt;
&lt;br /&gt;
'''Step 4)'''&lt;br /&gt;
Now we change the IP address to a static one. Enter:&lt;br /&gt;
 sudo armbian-config&lt;br /&gt;
Go to '''Network''' -&amp;gt; '''IP''' -&amp;gt; Select '''Static''' -&amp;gt; and enter a static IP for your TX3 mini. Select '''OK''' and exit armbian-config.&lt;br /&gt;
&lt;br /&gt;
'''Step 5)'''&lt;br /&gt;
Enter in PuTTY:&lt;br /&gt;
 sudo apt-get update -y &amp;amp;&amp;amp; sudo apt-get upgrade -y&lt;br /&gt;
After that enter:&lt;br /&gt;
 sudo reboot&lt;br /&gt;
&lt;br /&gt;
== Installing XMRigCC and editing the config ==&lt;br /&gt;
'''Step 1)'''&lt;br /&gt;
Reconnect through PuTTY and login as the user you created before.&lt;br /&gt;
Enter:&lt;br /&gt;
 sudo mkdir /home/&amp;quot;your_username&amp;quot;/xmrigcc&lt;br /&gt;
 sudo wget -c https://github.com/Bendr0id/xmrigCC/releases/download/1.9.3/xmrigCC-1.9.3-with_tls-gcc7-linux-static-miner_only-arm64.tar.gz -O - | sudo tar -xz -C /home/&amp;quot;your_username&amp;quot;/xmrigcc/&lt;br /&gt;
&lt;br /&gt;
'''Step 2)'''&lt;br /&gt;
Now we edit the miner config:&lt;br /&gt;
 cd xmrigcc&lt;br /&gt;
 sudo nano config.json&lt;br /&gt;
You can delete everything and c&amp;amp;p following:&lt;br /&gt;
 {&lt;br /&gt;
    &amp;quot;algo&amp;quot;: &amp;quot;cryptonight-extremelite&amp;quot;,          // cryptonight (default), cryptonight-lite, cryptonight-ultralite, cryptonight-extremelite or cryptonight-heavy&lt;br /&gt;
    &amp;quot;aesni&amp;quot;: 0,                                 // selection of AES-NI mode (0 auto, 1 on, 2 off)&lt;br /&gt;
    &amp;quot;threads&amp;quot;: 2,                               // number of miner threads (not set or 0 enables automatic selection of optimal thread count)&lt;br /&gt;
    &amp;quot;multihash-factor&amp;quot;: 0,                      // number of hash blocks to process at a time (not set or 0 enables automatic selection of optimal number of hash blocks)&lt;br /&gt;
    &amp;quot;multihash-thread-mask&amp;quot; : null,             // for multihash-factors&amp;gt;0 only, limits multihash to given threads (mask), mask &amp;quot;0x3&amp;quot; means run multihash on thread 0 and 1 only (default: all threads)&lt;br /&gt;
    &amp;quot;pow-variant&amp;quot; : &amp;quot;upx2&amp;quot;,                     // specificy the PoW variat to use: -&amp;gt; auto (default), '0', '1', '2', 'ipbc', 'xao', 'xtl', 'rto', 'xfh', 'upx', 'turtle', 'hosp', 'r', 'wow', 'double (xcash)', 'zls' (zelerius), 'rwz' (graft), 'upx2'&lt;br /&gt;
                                                // for further help see: https://github.com/Bendr0id/xmrigCC/wiki/Coin-configurations&lt;br /&gt;
    &amp;quot;asm-optimization&amp;quot; : &amp;quot;auto&amp;quot;,                // specificy the ASM optimization to use: -&amp;gt; auto (default), intel, ryzen, bulldozer, off&lt;br /&gt;
    &amp;quot;background&amp;quot;: false,                        // true to run the miner in the background (Windows only, for *nix plase use screen/tmux or systemd service instead)&lt;br /&gt;
    &amp;quot;colors&amp;quot;: true,                             // false to disable colored output&lt;br /&gt;
    &amp;quot;cpu-affinity&amp;quot;: null,                       // set process affinity to CPU core(s), mask &amp;quot;0x3&amp;quot; for cores 0 and 1&lt;br /&gt;
    &amp;quot;cpu-priority&amp;quot;: 5,                          // set process priority (0 idle, 2 normal to 5 highest)&lt;br /&gt;
    &amp;quot;donate-level&amp;quot;: 1,                          // donate level, mininum 1%&lt;br /&gt;
    &amp;quot;log-file&amp;quot;: null,                           // log all output to a file, example: &amp;quot;c:/some/path/xmrig.log&amp;quot;&lt;br /&gt;
    &amp;quot;max-cpu-usage&amp;quot;: 100,                       // maximum CPU usage for automatic mode, usually limiting factor is CPU cache not this option.&lt;br /&gt;
    &amp;quot;print-time&amp;quot;: 60,                           // print hashrate report every N seconds&lt;br /&gt;
    &amp;quot;retries&amp;quot;: 5,                               // number of times to retry before switch to backup server&lt;br /&gt;
    &amp;quot;retry-pause&amp;quot;: 5,                           // time to pause between retries&lt;br /&gt;
    &amp;quot;safe&amp;quot;: false,                              // true to safe adjust threads and av settings for current CPU&lt;br /&gt;
    &amp;quot;syslog&amp;quot;: false,                            // use system log for output messages&lt;br /&gt;
    &amp;quot;reboot-cmd&amp;quot; : &amp;quot;&amp;quot;,                          // command to execute to reboot the OS&lt;br /&gt;
    &amp;quot;force-pow-variant&amp;quot; : false,                // force pow variant, dont parse pow/variant from pool job&lt;br /&gt;
    &amp;quot;skip-self-check&amp;quot; : false,                  // skip the self check on startup&lt;br /&gt;
    &amp;quot;pools&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;url&amp;quot;: &amp;quot;YOUR_POOL:POOL_PORT&amp;quot;,       // URL of mining server&lt;br /&gt;
            &amp;quot;user&amp;quot;: &amp;quot;YOUR_WALLET&amp;quot;,              // username for mining server&lt;br /&gt;
            &amp;quot;pass&amp;quot;: &amp;quot;YOUR_WORKERNAME&amp;quot;,          // password for mining server&lt;br /&gt;
            &amp;quot;use-tls&amp;quot; : false,                  // enable tls for pool communication (need pool support)&lt;br /&gt;
            &amp;quot;keepalive&amp;quot;: true,                  // send keepalived for prevent timeout (need pool support)&lt;br /&gt;
            &amp;quot;nicehash&amp;quot;: false                   // enable nicehash/xmrig-proxy support&lt;br /&gt;
        }&lt;br /&gt;
    ],&lt;br /&gt;
    &amp;quot;cc-client&amp;quot;: null,&lt;br /&gt;
 }&lt;br /&gt;
''Dont forget to edit the pool, wallet and maybe the user/workername!''&amp;lt;br&amp;gt;&lt;br /&gt;
Exit via '''ctrl+X''', press '''Y''' to save the config and hit '''enter'''&lt;br /&gt;
&lt;br /&gt;
== Start mining ==&lt;br /&gt;
Start mining with the following commands:&lt;br /&gt;
 sudo sysctl -w vm.nr_hugepages=128&lt;br /&gt;
 screen -S 1 ./xmrigDaemon&lt;br /&gt;
Mining should start and there shouldn't be a huge pages error (because we set the huge pages earlier to 128 [''sudo sysctl -w vm.nr_hugepages=128'']).&amp;lt;br&amp;gt;&lt;br /&gt;
Now press '''ctrl+A''' and then '''ctrl+D''' and you can now close PuTTY without stopping the miner.&amp;lt;br&amp;gt;&lt;br /&gt;
To open the miner again, connect through PuTTY with your user and password and enter:&lt;br /&gt;
 screen -r 1&lt;br /&gt;
&lt;br /&gt;
==== '''Closing the miner and shutting down Ubuntu''' ==== &lt;br /&gt;
When connected and the miner is open and working you can kill it with '''ctrl+C''' and then enter:&lt;br /&gt;
 sudo poweroff&lt;br /&gt;
&lt;br /&gt;
==== '''Start the Android box again and resume mining''' ====&lt;br /&gt;
Connect the box to the power again, hit the power on buttion on the remote and Ubuntu will boot.&amp;lt;br&amp;gt;&lt;br /&gt;
Then start over at '''Start mining'''&lt;br /&gt;
&lt;br /&gt;
== Known bugs ==&lt;br /&gt;
* Android won't boot anymore&lt;br /&gt;
&lt;br /&gt;
== Tested devices ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Device !! Hashrate !! Power consumption !! Linux version&lt;br /&gt;
|-&lt;br /&gt;
| '''TX3 mini''' || 1030 H/s || '''Idle:''' 1,5W '''Mining''': 2,1W || Armbian_5.44_S9xxx_Ubuntu_xenial_3.14.29_server_20180515&lt;br /&gt;
|-&lt;br /&gt;
| '''Nintendo Switch''' || 3405 H/s || ''not tested yet'' || l4t Ubuntu v. 1.3.1&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Screens ==&lt;br /&gt;
=== Nintendo Switch ===&lt;br /&gt;
&amp;lt;img src=&amp;quot;https://cdn.discordapp.com/attachments/481429679488892929/591237374231707669/switch_4t_50.PNG&amp;quot; style=&amp;quot;max-width: 600px;&amp;quot;/&amp;gt;&lt;br /&gt;
* Link to l4t Ubuntu: https://gbatemp.net/threads/noob-friendly-l4t-ubuntu.539817/&lt;br /&gt;
&lt;br /&gt;
=== TX3 mini ===&lt;br /&gt;
&amp;lt;img src=&amp;quot;https://abload.de/img/unbenanntq0jeh.png&amp;quot; style=&amp;quot;max-width: 600px;&amp;quot;/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Prankst3r</name></author>
		
	</entry>
	<entry>
		<id>https://kb.uplexa.com/index.php?title=XMRigCC_on_TX3_mini_Android_TV_Box&amp;diff=116</id>
		<title>XMRigCC on TX3 mini Android TV Box</title>
		<link rel="alternate" type="text/html" href="https://kb.uplexa.com/index.php?title=XMRigCC_on_TX3_mini_Android_TV_Box&amp;diff=116"/>
		<updated>2019-06-22T19:46:56Z</updated>

		<summary type="html">&lt;p&gt;Prankst3r: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About this guide ==&lt;br /&gt;
This guide covers the installation of Ubuntu(Armbian) on an TX3 mini Android TV Box and how to mine UPX using XMRigCC. For other Adrdoid TV boxes the installation and usage is similar. The mining part is the same as on a normal PC using Ubuntu.&lt;br /&gt;
&lt;br /&gt;
== About the TX3 mini ==&lt;br /&gt;
* Amlogic S905W quadcore SoC&lt;br /&gt;
* 2GB RAM&lt;br /&gt;
* Wifi/LAN&lt;br /&gt;
Link to seller: https://www.geekbuying.com/item/TANIX-TX3-MINI-H-S905W-Android-7-1-2GB-16GB-TV-Box-403629.html&lt;br /&gt;
&lt;br /&gt;
== What do you need? ==&lt;br /&gt;
* min. 16GB sd card/USB flash drive&lt;br /&gt;
* a needle or similar (for resetting/firs time boot Ubuntu)&lt;br /&gt;
* Ubuntu image for Amlogic S9*** SoCs: https://yadi.sk/d/srrtn6kpnsKz2/Linux/ARMBIAN&lt;br /&gt;
I used this for the TX3 mini:&lt;br /&gt;
 Armbian_5.44_S9xxx_Ubuntu_xenial_3.14.29_server_20180515.img&lt;br /&gt;
but you can use one with a desktop-environment aswell:&lt;br /&gt;
 Armbian_5.44_S9xxx_Ubuntu_xenial_3.14.29_mate_20180515.img&lt;br /&gt;
'''For Windows:'''&lt;br /&gt;
* Etcher: https://www.balena.io/etcher/&lt;br /&gt;
* PuTTY: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
'''Step 1)'''&lt;br /&gt;
Download the tools and the image you need, after that install Etcher and PuTTY.&lt;br /&gt;
&lt;br /&gt;
'''Step 2)'''&lt;br /&gt;
Start Etcher, select the image, select the sd card/USB flash drive and click '''Flash!'''.&lt;br /&gt;
&lt;br /&gt;
'''Step 3)'''&lt;br /&gt;
Remove the sd card/USB flash drive and place it in your TX3 mini (I used the left usb port). &lt;br /&gt;
&lt;br /&gt;
'''Step 4)'''&lt;br /&gt;
Remove the power connector of the TX3 mini. Press the reset button (on the bottom of the box) with a needle for 10s, then connect the power again and it should boot into Ubuntu.&amp;lt;br&amp;gt;&lt;br /&gt;
There are other ways to first time boot, but this worked the best for me.&lt;br /&gt;
&lt;br /&gt;
== Connecting through SSH to the Android box and setting up Ubuntu ==&lt;br /&gt;
'''Step 1)'''&lt;br /&gt;
Find out your Android boxes IP address. I looked it up at my router. ''You can skip this and the 2. step by connecting your box to a TV via HDMI and connecting a mouse and keyboard.''&lt;br /&gt;
&lt;br /&gt;
'''Step 2)'''&lt;br /&gt;
Start PuTTY and enter the IP. Hit '''Open'''&lt;br /&gt;
&lt;br /&gt;
'''Step 3)'''&lt;br /&gt;
Enter '''root''' as username and '''1234''' as password.&amp;lt;br&amp;gt;&lt;br /&gt;
Then create a new user by following the steps in PuTTY. The system automatically reboots.&lt;br /&gt;
&lt;br /&gt;
'''Step 4)'''&lt;br /&gt;
Now we change the IP address to a static one. Enter:&lt;br /&gt;
 sudo armbian-config&lt;br /&gt;
Go to '''Network''' -&amp;gt; '''IP''' -&amp;gt; Select '''Static''' -&amp;gt; and enter a static IP for your TX3 mini. Select '''OK''' and exit armbian-config.&lt;br /&gt;
&lt;br /&gt;
'''Step 5)'''&lt;br /&gt;
Enter in PuTTY:&lt;br /&gt;
 sudo apt-get update -y &amp;amp;&amp;amp; sudo apt-get upgrade -y&lt;br /&gt;
After that enter:&lt;br /&gt;
 sudo reboot&lt;br /&gt;
&lt;br /&gt;
== Installing XMRigCC and editing the config ==&lt;br /&gt;
'''Step 1)'''&lt;br /&gt;
Reconnect through PuTTY and login as the user you created before.&lt;br /&gt;
Enter:&lt;br /&gt;
 sudo mkdir /home/&amp;quot;your_username&amp;quot;/xmrigcc&lt;br /&gt;
 sudo wget -c https://github.com/Bendr0id/xmrigCC/releases/download/1.9.3/xmrigCC-1.9.3-with_tls-gcc7-linux-static-miner_only-arm64.tar.gz -O - | sudo tar -xz -C /home/&amp;quot;your_username&amp;quot;/xmrigcc/&lt;br /&gt;
&lt;br /&gt;
'''Step 2)'''&lt;br /&gt;
Now we edit the miner config:&lt;br /&gt;
 cd xmrigcc&lt;br /&gt;
 sudo nano config.json&lt;br /&gt;
You can delete everything and c&amp;amp;p following:&lt;br /&gt;
 {&lt;br /&gt;
    &amp;quot;algo&amp;quot;: &amp;quot;cryptonight-extremelite&amp;quot;,          // cryptonight (default), cryptonight-lite, cryptonight-ultralite, cryptonight-extremelite or cryptonight-heavy&lt;br /&gt;
    &amp;quot;aesni&amp;quot;: 0,                                 // selection of AES-NI mode (0 auto, 1 on, 2 off)&lt;br /&gt;
    &amp;quot;threads&amp;quot;: 2,                               // number of miner threads (not set or 0 enables automatic selection of optimal thread count)&lt;br /&gt;
    &amp;quot;multihash-factor&amp;quot;: 0,                      // number of hash blocks to process at a time (not set or 0 enables automatic selection of optimal number of hash blocks)&lt;br /&gt;
    &amp;quot;multihash-thread-mask&amp;quot; : null,             // for multihash-factors&amp;gt;0 only, limits multihash to given threads (mask), mask &amp;quot;0x3&amp;quot; means run multihash on thread 0 and 1 only (default: all threads)&lt;br /&gt;
    &amp;quot;pow-variant&amp;quot; : &amp;quot;upx2&amp;quot;,                     // specificy the PoW variat to use: -&amp;gt; auto (default), '0', '1', '2', 'ipbc', 'xao', 'xtl', 'rto', 'xfh', 'upx', 'turtle', 'hosp', 'r', 'wow', 'double (xcash)', 'zls' (zelerius), 'rwz' (graft), 'upx2'&lt;br /&gt;
                                                // for further help see: https://github.com/Bendr0id/xmrigCC/wiki/Coin-configurations&lt;br /&gt;
    &amp;quot;asm-optimization&amp;quot; : &amp;quot;auto&amp;quot;,                // specificy the ASM optimization to use: -&amp;gt; auto (default), intel, ryzen, bulldozer, off&lt;br /&gt;
    &amp;quot;background&amp;quot;: false,                        // true to run the miner in the background (Windows only, for *nix plase use screen/tmux or systemd service instead)&lt;br /&gt;
    &amp;quot;colors&amp;quot;: true,                             // false to disable colored output&lt;br /&gt;
    &amp;quot;cpu-affinity&amp;quot;: null,                       // set process affinity to CPU core(s), mask &amp;quot;0x3&amp;quot; for cores 0 and 1&lt;br /&gt;
    &amp;quot;cpu-priority&amp;quot;: 5,                          // set process priority (0 idle, 2 normal to 5 highest)&lt;br /&gt;
    &amp;quot;donate-level&amp;quot;: 1,                          // donate level, mininum 1%&lt;br /&gt;
    &amp;quot;log-file&amp;quot;: null,                           // log all output to a file, example: &amp;quot;c:/some/path/xmrig.log&amp;quot;&lt;br /&gt;
    &amp;quot;max-cpu-usage&amp;quot;: 100,                       // maximum CPU usage for automatic mode, usually limiting factor is CPU cache not this option.&lt;br /&gt;
    &amp;quot;print-time&amp;quot;: 60,                           // print hashrate report every N seconds&lt;br /&gt;
    &amp;quot;retries&amp;quot;: 5,                               // number of times to retry before switch to backup server&lt;br /&gt;
    &amp;quot;retry-pause&amp;quot;: 5,                           // time to pause between retries&lt;br /&gt;
    &amp;quot;safe&amp;quot;: false,                              // true to safe adjust threads and av settings for current CPU&lt;br /&gt;
    &amp;quot;syslog&amp;quot;: false,                            // use system log for output messages&lt;br /&gt;
    &amp;quot;reboot-cmd&amp;quot; : &amp;quot;&amp;quot;,                          // command to execute to reboot the OS&lt;br /&gt;
    &amp;quot;force-pow-variant&amp;quot; : false,                // force pow variant, dont parse pow/variant from pool job&lt;br /&gt;
    &amp;quot;skip-self-check&amp;quot; : false,                  // skip the self check on startup&lt;br /&gt;
    &amp;quot;pools&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;url&amp;quot;: &amp;quot;YOUR_POOL:POOL_PORT&amp;quot;,       // URL of mining server&lt;br /&gt;
            &amp;quot;user&amp;quot;: &amp;quot;YOUR_WALLET&amp;quot;,              // username for mining server&lt;br /&gt;
            &amp;quot;pass&amp;quot;: &amp;quot;YOUR_WORKERNAME&amp;quot;,          // password for mining server&lt;br /&gt;
            &amp;quot;use-tls&amp;quot; : false,                  // enable tls for pool communication (need pool support)&lt;br /&gt;
            &amp;quot;keepalive&amp;quot;: true,                  // send keepalived for prevent timeout (need pool support)&lt;br /&gt;
            &amp;quot;nicehash&amp;quot;: false                   // enable nicehash/xmrig-proxy support&lt;br /&gt;
        }&lt;br /&gt;
    ],&lt;br /&gt;
    &amp;quot;cc-client&amp;quot;: null,&lt;br /&gt;
 }&lt;br /&gt;
''Dont forget to edit the pool, wallet and maybe the user/workername!''&amp;lt;br&amp;gt;&lt;br /&gt;
Exit via '''ctrl+X''', press '''Y''' to save the config and hit '''enter'''&lt;br /&gt;
&lt;br /&gt;
== Start mining ==&lt;br /&gt;
Start mining with the following commands:&lt;br /&gt;
 sudo sysctl -w vm.nr_hugepages=128&lt;br /&gt;
 screen -S 1 ./xmrigDaemon&lt;br /&gt;
Mining should start and there shouldn't be a huge pages error (because we set the huge pages earlier to 128 [''sudo sysctl -w vm.nr_hugepages=128'']).&amp;lt;br&amp;gt;&lt;br /&gt;
Now press '''ctrl+A''' and then '''ctrl+D''' and you can now close PuTTY without stopping the miner.&amp;lt;br&amp;gt;&lt;br /&gt;
To open the miner again, connect through PuTTY with your user and password and enter:&lt;br /&gt;
 screen -r 1&lt;br /&gt;
&lt;br /&gt;
==== '''Closing the miner and shutting down Ubuntu''' ==== &lt;br /&gt;
When connected and the miner is open and working you can kill it with '''ctrl+C''' and then enter:&lt;br /&gt;
 sudo poweroff&lt;br /&gt;
&lt;br /&gt;
==== '''Start the Android box again and resume mining''' ====&lt;br /&gt;
Connect the box to the power again, hit the power on buttion on the remote and Ubuntu will boot.&amp;lt;br&amp;gt;&lt;br /&gt;
Then start over at '''Start mining'''&lt;br /&gt;
&lt;br /&gt;
== Known bugs ==&lt;br /&gt;
* Android won't boot anymore&lt;br /&gt;
&lt;br /&gt;
== Tested devices ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Device !! Hashrate !! Power consumption !! Linux version&lt;br /&gt;
|-&lt;br /&gt;
| '''TX3 mini''' || 1030 H/s || '''Idle:''' 1,5W '''Mining''': 2,1W || Armbian_5.44_S9xxx_Ubuntu_xenial_3.14.29_server_20180515&lt;br /&gt;
|-&lt;br /&gt;
| '''Nintendo Switch''' || 3405 H/s || ''not tested yet'' || l4t Ubuntu v. 1.3.1&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Screens ==&lt;br /&gt;
=== Nintendo Switch ===&lt;br /&gt;
&amp;lt;img src=&amp;quot;https://cdn.discordapp.com/attachments/481429679488892929/591237374231707669/switch_4t_50.PNG&amp;quot; style=&amp;quot;max-width: 600px;&amp;quot;/&amp;gt;&lt;br /&gt;
* Link to l4t Ubuntu: https://gbatemp.net/threads/noob-friendly-l4t-ubuntu.539817/&lt;br /&gt;
&lt;br /&gt;
=== TX3 mini ===&lt;br /&gt;
&amp;lt;img src=&amp;quot;https://abload.de/img/unbenanntq0jeh.png&amp;quot; style=&amp;quot;max-width: 600px;&amp;quot;/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Prankst3r</name></author>
		
	</entry>
	<entry>
		<id>https://kb.uplexa.com/index.php?title=Main_Page&amp;diff=114</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://kb.uplexa.com/index.php?title=Main_Page&amp;diff=114"/>
		<updated>2019-06-22T19:30:13Z</updated>

		<summary type="html">&lt;p&gt;Prankst3r: /* IoT CPU Miners */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Welcome to the uPlexa Knowledgebase&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
uPlexa (UPX) is an anonymous peer-to-peer electronic payment system powered by the billions of IoT devices within our world.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* [[UPlexa_Knowledgebase:What_is_uPlexa|What is uPlexa?]]&lt;br /&gt;
* [[UPlexa_Knowledgebase:Steadfast_Storm_Information|Steadfast Storm Release information (Masternodes, VPNs, Instant transactions, and more)]]&lt;br /&gt;
* [https://uplexa.com/content/uPlexa-Whitepaper-EN.pdf Whitepaper]&lt;br /&gt;
* [[UPlexa_Knowledgebase:Wallets|Setting up uPlexa Wallets]]&lt;br /&gt;
* [[UPlexa_Knowledgebase:Troubleshooting_Wallets|Troubleshooting uPlexa Wallets]]&lt;br /&gt;
* [[UPlexa_Knowledgebase:Anonymous_Contributors|Anonymous Contributors]]&lt;br /&gt;
&lt;br /&gt;
== eCommerce &amp;amp; Merchants Integration ==&lt;br /&gt;
* [[UPlexa_Knowledgebase:uPlexa_Merchants|List of Merchants Accepting uPlexa]]&lt;br /&gt;
* [https://github.com/uPlexa/uplexa-wordpress#uplexa-gateway-for-woocommerce WooCommerce/Wordpress Payment Gateway for UPX]&lt;br /&gt;
* [https://github.com/uPlexa/uplexa-magento#uplexa-for-magento Magento Payment Gateway for UPX]&lt;br /&gt;
* [https://github.com/uPlexa/uplexa-prestashop#uplexa-prestashop PrestaShop Payment Gateway for UPX]&lt;br /&gt;
* [https://github.com/uPlexa/uplexa-opencart#uplexa-opencart-plugin-for-opencart-3x OpenCart Payment Gateway for UPX]&lt;br /&gt;
* [https://github.com/uPlexa/uplexa-WHMCS#uplexa-whmcs WHMCS Payment Gateway for UPX]&lt;br /&gt;
&lt;br /&gt;
== IoT CPU Miners ==&lt;br /&gt;
* [[UPlexa_Knowledgebase:uPlexa_Android_Miner|uPlexa Android Miner]]&lt;br /&gt;
* [[UPlexa_Knowledgebase:uPlexa_Raspberry|XMRig-UPX on Raspberry Pi]]&lt;br /&gt;
* [[UPlexa_Knowledgebase:uPlexa_SoC_Mining|XMRigCC on TX3 mini Android TV Box]]&lt;br /&gt;
&lt;br /&gt;
== Desktop CPU Miners ==&lt;br /&gt;
* [[UPlexa_Knowledgebase:XMRig-UPX|XMRig-UPX]]&lt;br /&gt;
* [[UPlexa_Knowledgebase:XMRigCC|XMRigCC (Windows)]]&lt;br /&gt;
&lt;br /&gt;
== Desktop GPU Miners == &lt;br /&gt;
* [[UPlexa_Knowledgebase:XMRigCC-AMD|XMRigCC-AMD]]&lt;br /&gt;
* [[UPlexa_Knowledgebase:XMRigCC-AMD|XMRigCC-NVIDIA]]&lt;br /&gt;
&lt;br /&gt;
== Bounties ==&lt;br /&gt;
* [https://medium.com/@uplexa/uplexa-adoption-bounty-1-100-usd-in-prizes-f5cd5442408 Adoption Bounty (Active until June 21/2019)]&lt;br /&gt;
&lt;br /&gt;
== Contact/Community Links == &lt;br /&gt;
* [https://discord.gg/VEPkMnM Discord]&lt;br /&gt;
* [https://t.me/uplexaOfficial Telegram]&lt;br /&gt;
* [https://twitter.com/uPlexaCoin Twitter]&lt;br /&gt;
* [https://www.facebook.com/uPlexa/ Facebook]&lt;br /&gt;
* [https://medium.com/@uplexa Medium]&lt;br /&gt;
* [https://www.reddit.com/r/uPlexa/ Reddit]&lt;br /&gt;
* [https://bitcointalk.org/index.php?topic=5058404.0 BitcoinTalk]&lt;br /&gt;
* [https://github.com/uPlexa/ Github]&lt;br /&gt;
&lt;br /&gt;
== Exchanges == &lt;br /&gt;
* [https://app.stex.com/en/basic-trade/pair/BTC/UPX STEX]&lt;br /&gt;
* [https://graviex.net/markets/upxbtc Graviex]&lt;br /&gt;
&lt;br /&gt;
== GitHub Libraries == &lt;br /&gt;
* [https://github.com/uPlexa/uplexa uPlexa Core]&lt;br /&gt;
* [https://github.com/uPlexa/uplexa-gui uPlexa GUI]&lt;br /&gt;
* [https://github.com/uPlexa/uplexa-nodejs uPlexa NodeJS Library]&lt;br /&gt;
* [https://github.com/uPlexa/uplexa-php uPlexa PHP Library]&lt;br /&gt;
* [https://github.com/uPlexa/uplexa-python uPlexa Python Library]&lt;br /&gt;
* [https://github.com/uPlexa/upx-android-miner uPlexa Android Miner]&lt;br /&gt;
* [https://github.com/uPlexa/android-wallet uPlexa Android Wallet]&lt;br /&gt;
* [https://github.com/uPlexa/node-cryptonight-hashing Node CryptoNight Hashing with UPXTWO Support]&lt;br /&gt;
* [https://github.com/uPlexa/toaster-miner Toaster Miner]&lt;/div&gt;</summary>
		<author><name>Prankst3r</name></author>
		
	</entry>
	<entry>
		<id>https://kb.uplexa.com/index.php?title=XMRigCC_on_TX3_mini_Android_TV_Box&amp;diff=113</id>
		<title>XMRigCC on TX3 mini Android TV Box</title>
		<link rel="alternate" type="text/html" href="https://kb.uplexa.com/index.php?title=XMRigCC_on_TX3_mini_Android_TV_Box&amp;diff=113"/>
		<updated>2019-06-22T19:27:04Z</updated>

		<summary type="html">&lt;p&gt;Prankst3r: Created page with &amp;quot;== About this guide == This guide covers the installation of Ubuntu(Armbian) on an TX3 mini Android TV Box and how to mine UPX using XMRigCC. For other Adrdoid TV boxes the in...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About this guide ==&lt;br /&gt;
This guide covers the installation of Ubuntu(Armbian) on an TX3 mini Android TV Box and how to mine UPX using XMRigCC. For other Adrdoid TV boxes the installation and usage is similar. The mining part is the same as on a normal PC using Ubuntu.&lt;br /&gt;
&lt;br /&gt;
== About the TX3 mini ==&lt;br /&gt;
* Amlogic S905W quadcore SoC&lt;br /&gt;
* 2GB RAM&lt;br /&gt;
* Wifi/LAN&lt;br /&gt;
Link to seller: https://www.geekbuying.com/item/TANIX-TX3-MINI-H-S905W-Android-7-1-2GB-16GB-TV-Box-403629.html&lt;br /&gt;
&lt;br /&gt;
== What do you need? ==&lt;br /&gt;
* min. 16GB sd card/USB flash drive&lt;br /&gt;
* a needle or similar (for resetting/firs time boot Ubuntu)&lt;br /&gt;
* Ubuntu image for Amlogic S9*** SoCs: https://yadi.sk/d/srrtn6kpnsKz2/Linux/ARMBIAN&lt;br /&gt;
I used this for the TX3 mini:&lt;br /&gt;
 Armbian_5.44_S9xxx_Ubuntu_xenial_3.14.29_server_20180515.img&lt;br /&gt;
but you can use one with a desktop-environment aswell:&lt;br /&gt;
 Armbian_5.44_S9xxx_Ubuntu_xenial_3.14.29_mate_20180515.img&lt;br /&gt;
'''For Windows:'''&lt;br /&gt;
* Etcher: https://www.balena.io/etcher/&lt;br /&gt;
* PuTTY: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
'''Step 1)'''&lt;br /&gt;
Download the tools and the image you need, after that install Etcher and PuTTY.&lt;br /&gt;
&lt;br /&gt;
'''Step 2)'''&lt;br /&gt;
Start Etcher, select the image, select the sd card/USB flash drive and click '''Flash!'''.&lt;br /&gt;
&lt;br /&gt;
'''Step 3)'''&lt;br /&gt;
Remove the sd card/USB flash drive and place it in your TX3 mini (I used the left usb port). &lt;br /&gt;
&lt;br /&gt;
'''Step 4)'''&lt;br /&gt;
Remove the power connector of the TX3 mini. Press the reset button (on the bottom of the box) with a needle for 10s, then connect the power again and it should boot into Ubuntu.&amp;lt;br&amp;gt;&lt;br /&gt;
There are other ways to first time boot, but this worked the best for me.&lt;br /&gt;
&lt;br /&gt;
== Connecting through SSH to the Android box and setting up Ubuntu ==&lt;br /&gt;
'''Step 1)'''&lt;br /&gt;
Find out your Android boxes IP address. I looked it up at my router. ''You can skip this and the 2. step by connecting your box to a TV via HDMI and connecting a mouse and keyboard.''&lt;br /&gt;
&lt;br /&gt;
'''Step 2)'''&lt;br /&gt;
Start PuTTY and enter the IP. Hit '''Open'''&lt;br /&gt;
&lt;br /&gt;
'''Step 3)'''&lt;br /&gt;
Enter '''root''' as username and '''1234''' as password.&amp;lt;br&amp;gt;&lt;br /&gt;
Then create a new user by following the steps in PuTTY. The system automatically reboots.&lt;br /&gt;
&lt;br /&gt;
'''Step 4)'''&lt;br /&gt;
Now we change the IP address to a static one. Enter:&lt;br /&gt;
 sudo armbian-config&lt;br /&gt;
Go to '''Network''' -&amp;gt; '''IP''' -&amp;gt; Select '''Static''' -&amp;gt; and enter a static IP for your TX3 mini. Select '''OK''' and exit armbian-config.&lt;br /&gt;
&lt;br /&gt;
'''Step 5)'''&lt;br /&gt;
Enter in PuTTY:&lt;br /&gt;
 sudo apt-get update -y &amp;amp;&amp;amp; sudo apt-get upgrade -y&lt;br /&gt;
After that enter:&lt;br /&gt;
 sudo reboot&lt;br /&gt;
&lt;br /&gt;
== Installing XMRigCC and editing the config ==&lt;br /&gt;
'''Step 1)'''&lt;br /&gt;
Reconnect through PuTTY and login as the user you created before.&lt;br /&gt;
Enter:&lt;br /&gt;
 sudo mkdir /home/&amp;quot;your_username&amp;quot;/xmrigcc&lt;br /&gt;
 sudo wget -c https://github.com/Bendr0id/xmrigCC/releases/download/1.9.3/xmrigCC-1.9.3-with_tls-gcc7-linux-static-miner_only-arm64.tar.gz -O - | sudo tar -xz -C /home/&amp;quot;your_username&amp;quot;/xmrigcc/&lt;br /&gt;
&lt;br /&gt;
'''Step 2)'''&lt;br /&gt;
Now we edit the miner config:&lt;br /&gt;
 cd xmrigcc&lt;br /&gt;
 sudo nano config.json&lt;br /&gt;
You can delete everything and c&amp;amp;p following:&lt;br /&gt;
 {&lt;br /&gt;
    &amp;quot;algo&amp;quot;: &amp;quot;cryptonight-extremelite&amp;quot;,          // cryptonight (default), cryptonight-lite, cryptonight-ultralite, cryptonight-extremelite or cryptonight-heavy&lt;br /&gt;
    &amp;quot;aesni&amp;quot;: 0,                                 // selection of AES-NI mode (0 auto, 1 on, 2 off)&lt;br /&gt;
    &amp;quot;threads&amp;quot;: 2,                               // number of miner threads (not set or 0 enables automatic selection of optimal thread count)&lt;br /&gt;
    &amp;quot;multihash-factor&amp;quot;: 0,                      // number of hash blocks to process at a time (not set or 0 enables automatic selection of optimal number of hash blocks)&lt;br /&gt;
    &amp;quot;multihash-thread-mask&amp;quot; : null,             // for multihash-factors&amp;gt;0 only, limits multihash to given threads (mask), mask &amp;quot;0x3&amp;quot; means run multihash on thread 0 and 1 only (default: all threads)&lt;br /&gt;
    &amp;quot;pow-variant&amp;quot; : &amp;quot;upx2&amp;quot;,                     // specificy the PoW variat to use: -&amp;gt; auto (default), '0', '1', '2', 'ipbc', 'xao', 'xtl', 'rto', 'xfh', 'upx', 'turtle', 'hosp', 'r', 'wow', 'double (xcash)', 'zls' (zelerius), 'rwz' (graft), 'upx2'&lt;br /&gt;
                                                // for further help see: https://github.com/Bendr0id/xmrigCC/wiki/Coin-configurations&lt;br /&gt;
    &amp;quot;asm-optimization&amp;quot; : &amp;quot;auto&amp;quot;,                // specificy the ASM optimization to use: -&amp;gt; auto (default), intel, ryzen, bulldozer, off&lt;br /&gt;
    &amp;quot;background&amp;quot;: false,                        // true to run the miner in the background (Windows only, for *nix plase use screen/tmux or systemd service instead)&lt;br /&gt;
    &amp;quot;colors&amp;quot;: true,                             // false to disable colored output&lt;br /&gt;
    &amp;quot;cpu-affinity&amp;quot;: null,                       // set process affinity to CPU core(s), mask &amp;quot;0x3&amp;quot; for cores 0 and 1&lt;br /&gt;
    &amp;quot;cpu-priority&amp;quot;: 5,                          // set process priority (0 idle, 2 normal to 5 highest)&lt;br /&gt;
    &amp;quot;donate-level&amp;quot;: 1,                          // donate level, mininum 1%&lt;br /&gt;
    &amp;quot;log-file&amp;quot;: null,                           // log all output to a file, example: &amp;quot;c:/some/path/xmrig.log&amp;quot;&lt;br /&gt;
    &amp;quot;max-cpu-usage&amp;quot;: 100,                       // maximum CPU usage for automatic mode, usually limiting factor is CPU cache not this option.&lt;br /&gt;
    &amp;quot;print-time&amp;quot;: 60,                           // print hashrate report every N seconds&lt;br /&gt;
    &amp;quot;retries&amp;quot;: 5,                               // number of times to retry before switch to backup server&lt;br /&gt;
    &amp;quot;retry-pause&amp;quot;: 5,                           // time to pause between retries&lt;br /&gt;
    &amp;quot;safe&amp;quot;: false,                              // true to safe adjust threads and av settings for current CPU&lt;br /&gt;
    &amp;quot;syslog&amp;quot;: false,                            // use system log for output messages&lt;br /&gt;
    &amp;quot;reboot-cmd&amp;quot; : &amp;quot;&amp;quot;,                          // command to execute to reboot the OS&lt;br /&gt;
    &amp;quot;force-pow-variant&amp;quot; : false,                // force pow variant, dont parse pow/variant from pool job&lt;br /&gt;
    &amp;quot;skip-self-check&amp;quot; : false,                  // skip the self check on startup&lt;br /&gt;
    &amp;quot;pools&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;url&amp;quot;: &amp;quot;YOUR_POOL:POOL_PORT&amp;quot;,       // URL of mining server&lt;br /&gt;
            &amp;quot;user&amp;quot;: &amp;quot;YOUR_WALLET&amp;quot;,              // username for mining server&lt;br /&gt;
            &amp;quot;pass&amp;quot;: &amp;quot;YOUR_WORKERNAME&amp;quot;,          // password for mining server&lt;br /&gt;
            &amp;quot;use-tls&amp;quot; : false,                  // enable tls for pool communication (need pool support)&lt;br /&gt;
            &amp;quot;keepalive&amp;quot;: true,                  // send keepalived for prevent timeout (need pool support)&lt;br /&gt;
            &amp;quot;nicehash&amp;quot;: false                   // enable nicehash/xmrig-proxy support&lt;br /&gt;
        }&lt;br /&gt;
    ],&lt;br /&gt;
    &amp;quot;cc-client&amp;quot;: null,&lt;br /&gt;
 }&lt;br /&gt;
''Dont forget to edit the pool, wallet and maybe the user/workername!''&amp;lt;br&amp;gt;&lt;br /&gt;
Exit via '''ctrl+X''', press '''Y''' to save the config and hit '''enter'''&lt;br /&gt;
&lt;br /&gt;
== Start mining ==&lt;br /&gt;
Start mining with the following commands:&lt;br /&gt;
 sudo sysctl -w vm.nr_hugepages=128&lt;br /&gt;
 screen -S 1 ./xmrigDaemon&lt;br /&gt;
Mining should start and there shouldn't be a huge pages error (because we set the huge pages earlier to 128 [''sudo sysctl -w vm.nr_hugepages=128'']).&amp;lt;br&amp;gt;&lt;br /&gt;
Now press '''ctrl+A''' and then '''ctrl+D''' and you can now close PuTTY without stopping the miner.&amp;lt;br&amp;gt;&lt;br /&gt;
To open the miner again, connect through PuTTY with your user and password and enter:&lt;br /&gt;
 screen -r 1&lt;br /&gt;
&lt;br /&gt;
=== '''Closing the miner and shutting down Ubuntu''' === &lt;br /&gt;
When connected and the miner is open and working you can kill it with '''ctrl+C''' and then enter:&lt;br /&gt;
 sudo poweroff&lt;br /&gt;
&lt;br /&gt;
=== '''Start the Android box again and resume mining''' ===&lt;br /&gt;
Connect the box to the power again, hit the power on buttion on the remote and Ubuntu will boot.&amp;lt;br&amp;gt;&lt;br /&gt;
Then start over at '''Start mining'''&lt;br /&gt;
&lt;br /&gt;
== Known bugs ==&lt;br /&gt;
* Android won't boot anymore&lt;br /&gt;
&lt;br /&gt;
== Tested devices ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Device !! Hashrate !! Power consumption&lt;br /&gt;
|-&lt;br /&gt;
| '''TX3 mini''' || 1030 H/s || '''Idle:''' 1,5W '''Mining''': 2,1W&lt;br /&gt;
|-&lt;br /&gt;
| '''Nintendo Switch''' || 3405 H/s || ''not tested yet''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Screens ==&lt;br /&gt;
=== Nintendo Switch ===&lt;br /&gt;
&amp;lt;img src=&amp;quot;https://cdn.discordapp.com/attachments/481429679488892929/591237374231707669/switch_4t_50.PNG&amp;quot; style=&amp;quot;max-width: 600px;&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== TX3 mini ===&lt;br /&gt;
&amp;lt;img src=&amp;quot;https://abload.de/img/unbenanntq0jeh.png&amp;quot; style=&amp;quot;max-width: 600px;&amp;quot;/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Prankst3r</name></author>
		
	</entry>
</feed>