<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Stawa</title>
    <description>The latest articles on DEV Community by Stawa (@stawa).</description>
    <link>https://dev.to/stawa</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4224591%2F56cae71b-ead6-4d30-8cb2-2d2600d0b7ab.jpg</url>
      <title>DEV Community: Stawa</title>
      <link>https://dev.to/stawa</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/stawa"/>
    <language>en</language>
    <item>
      <title>I built an Android miner that cares more about your phone than your hashrate</title>
      <dc:creator>Stawa</dc:creator>
      <pubDate>Tue, 03 Nov 2026 15:45:24 +0000</pubDate>
      <link>https://dev.to/stawa/i-built-an-android-miner-that-cares-more-about-your-phone-than-your-hashrate-4o9b</link>
      <guid>https://dev.to/stawa/i-built-an-android-miner-that-cares-more-about-your-phone-than-your-hashrate-4o9b</guid>
      <description>&lt;p&gt;I built AndroMiner, an open-source Android app that runs XMRig on your phone's CPU.&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/Stawa/AndroMiner" rel="noopener noreferrer"&gt;https://github.com/Stawa/AndroMiner&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Set up a coin, wallet, worker and pool (plain TCP or TLS)&lt;/li&gt;
&lt;li&gt;Pick a CPU profile, or set threads, priority and core affinity yourself&lt;/li&gt;
&lt;li&gt;Shows live hashrate, accepted/rejected shares and raw miner output&lt;/li&gt;
&lt;li&gt;Stops mining when battery temperature hits your limit, Android reports severe thermal throttling, or required sensor readings go missing&lt;/li&gt;
&lt;li&gt;Session timer that Android enforces even when the app is in the background&lt;/li&gt;
&lt;li&gt;Local session history with JSON export&lt;/li&gt;
&lt;li&gt;Pool connection test that checks DNS/TCP/TLS without sending your wallet&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Vue 3 + TypeScript + Vite + Tailwind for the UI&lt;/li&gt;
&lt;li&gt;Capacitor 8 to bridge into native Android code&lt;/li&gt;
&lt;li&gt;XMRig compiled from source for arm64-v8a with the Android NDK&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The UI is a web app, but mining and device monitoring run natively. That's why the timer and the protection checks keep working when the UI is closed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three APKs
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;tls&lt;/code&gt;: bundled miner with TLS support (most people want this one)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;notls&lt;/code&gt;: bundled miner, plain TCP pools only&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;download&lt;/code&gt;: no bundled miner. It asks before downloading one and verifies the SHA-256 hash against the value built into the APK&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every release ships with a &lt;code&gt;SHA256SUMS&lt;/code&gt; file.&lt;/p&gt;

&lt;h2&gt;
  
  
  Requirements
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Android 7.0+&lt;/li&gt;
&lt;li&gt;ARM64 device&lt;/li&gt;
&lt;li&gt;Notifications enabled (each run shows an ongoing notification with a Stop button)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Being honest
&lt;/h2&gt;

&lt;p&gt;Phone mining won't make you money. It heats up your phone and wears down the battery. Use a spare device and watch it while it runs. The app doesn't estimate earnings, on purpose.&lt;/p&gt;

&lt;p&gt;I built this to see how far a Capacitor app can go with a native process underneath. It turned out to be a good test case.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;APKs: &lt;a href="https://github.com/Stawa/AndroMiner/releases" rel="noopener noreferrer"&gt;https://github.com/Stawa/AndroMiner/releases&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Issues, bug reports and translations are welcome. Include your device model and Android version if something breaks.&lt;/p&gt;

</description>
      <category>android</category>
      <category>opensource</category>
      <category>cryptocurrency</category>
      <category>minero</category>
    </item>
  </channel>
</rss>
