<?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: Soham Pal</title>
    <description>The latest articles on DEV Community by Soham Pal (@soham_pal).</description>
    <link>https://dev.to/soham_pal</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%2F1598216%2F599be4d4-c637-4dd5-863b-e5b7ce6eb012.png</url>
      <title>DEV Community: Soham Pal</title>
      <link>https://dev.to/soham_pal</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/soham_pal"/>
    <language>en</language>
    <item>
      <title>I Turned an Old $60 Android Phone into a 24/7 Edge AI and S3 Server (4.2W Draw)</title>
      <dc:creator>Soham Pal</dc:creator>
      <pubDate>Sat, 05 Sep 2026 19:48:56 +0000</pubDate>
      <link>https://dev.to/soham_pal/i-turned-an-old-60-android-phone-into-a-247-edge-ai-and-s3-server-42w-draw-4g9i</link>
      <guid>https://dev.to/soham_pal/i-turned-an-old-60-android-phone-into-a-247-edge-ai-and-s3-server-42w-draw-4g9i</guid>
      <description>&lt;p&gt;instead of buying another raspberry pi or letting an old xiaomi redmi 9i rot in a drawer, i turned it into a 24/7 edge ai node and local s3/sqlite storage server running on about 1.2w idle and 4.2w peak.&lt;/p&gt;

&lt;p&gt;hardware:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;mediatek helio g25 (8x cortex-a53 cores)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;4gb lpddr4x ram&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;emmc 5.1 internal flash + microsd&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;built-in 5000mah battery acting as a zero-cost ups&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;the software stack:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;rooted android base running a linux chroot with partial wakelocks so android's aggressive lowmemorykiller daemon and doze mode don't quietly murder background processes.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;speech-to-text: whisper.cpp (base.en) compiled with arm neon simd vector instructions on the a53 cores.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;llm: llama.cpp running quantized qwen 2.5 (0.5b instruct q4_k_m).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;memory governor: an in-process jit governor that automatically evicts idle models back to disk after 75 seconds so the 4gb ram never gets oom-killed.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;storage &amp;amp; db: project-isolated sqlite in wal mode plus an s3-compatible blob store with an in-memory hot ram index.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;the real headache: grid outages &amp;amp; zombie tunnels&lt;/p&gt;

&lt;p&gt;the power cuts out roughly once a day here. the phone’s battery means the node itself never shuts down, but downstream chaos was the real killer: the router dies, wi-fi drops, and temporary cloudflare quick tunnels would instantly get killed with http 530s or freeze on stale tcp sockets once the connection returned.&lt;/p&gt;

&lt;p&gt;to make it genuinely self-healing, i moved to a named tunnel with a persistent domain and wrote a background supervisor watchdog. the second wi-fi comes back up post-outage, it flushes dead socket states, tears down zombie listeners, and resyncs the cloudflare edge worker so the database, storage, and inference endpoints recover without me ever touching the phone.&lt;/p&gt;

&lt;p&gt;actual numbers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;qwen 2.5: ~7 tok/sec&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;local sqlite / s3: sub-millisecond on lan&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;thermals: sits around 32-34°c with no active cooling &lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbipvajf9q68y5eevrxza.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbipvajf9q68y5eevrxza.png" alt="Testing Qwen Locally On Edge Server" width="800" height="327"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>selfhosted</category>
      <category>ai</category>
      <category>linux</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
