<?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: Richard Anicola</title>
    <description>The latest articles on DEV Community by Richard Anicola (@dphmsdev).</description>
    <link>https://dev.to/dphmsdev</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%2F4103702%2Fd1b0f23f-c2a7-44cf-a37a-6bed8e89273d.png</url>
      <title>DEV Community: Richard Anicola</title>
      <link>https://dev.to/dphmsdev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dphmsdev"/>
    <language>en</language>
    <item>
      <title>I built a no-root Android system optimizer that runs real shell commands via Shizuku — here's how it works</title>
      <dc:creator>Richard Anicola</dc:creator>
      <pubDate>Tue, 01 Sep 2026 05:52:49 +0000</pubDate>
      <link>https://dev.to/dphmsdev/i-built-a-no-root-android-system-optimizer-that-runs-real-shell-commands-via-shizuku-heres-how-2h5a</link>
      <guid>https://dev.to/dphmsdev/i-built-a-no-root-android-system-optimizer-that-runs-real-shell-commands-via-shizuku-heres-how-2h5a</guid>
      <description>&lt;p&gt;Hey DEV community! I'm Richard, a solo developer, and I want to share a project I've been building called &lt;strong&gt;DPHMS&lt;/strong&gt; (Doctor Power House Mobile Solutions) — a Shizuku-powered Android system optimizer that runs real shell commands without root access.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;Most Android "cleaner" and "optimizer" apps are garbage. They kill background processes that just restart immediately, show fake "junk cleaned" numbers, and serve ads. They don't actually do anything meaningful because they don't have the permissions to run real system commands.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Solution: Shizuku
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/RikkaApps/Shizuku" rel="noopener noreferrer"&gt;Shizuku&lt;/a&gt; is an open-source framework that lets apps execute shell commands with ADB-level permissions — &lt;strong&gt;without root&lt;/strong&gt;. It works by running a service with elevated permissions that other apps can communicate with via IPC.&lt;/p&gt;

&lt;p&gt;DPHMS uses Shizuku to run actual &lt;code&gt;pm&lt;/code&gt;, &lt;code&gt;cmd&lt;/code&gt;, &lt;code&gt;settings&lt;/code&gt;, and &lt;code&gt;dumpsys&lt;/code&gt; commands that real system optimizers use. No fake numbers, no placebo effects.&lt;/p&gt;

&lt;h2&gt;
  
  
  What DPHMS Does
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Four tiers:&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Lite (Free)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Force-stop apps&lt;/li&gt;
&lt;li&gt;Clear app cache&lt;/li&gt;
&lt;li&gt;Basic system info&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Pro ($2.99)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Everything in Lite, plus:&lt;/li&gt;
&lt;li&gt;App Ops management (per-app permission control via &lt;code&gt;cmd appops&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Bloatware freezer (&lt;code&gt;pm disable-user&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Cache partition cleaner&lt;/li&gt;
&lt;li&gt;10 tabs of system tools&lt;/li&gt;
&lt;li&gt;Expandable App Ops cards with direct System Settings links&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Pro+ ($4.99)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Everything in Pro, plus:&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dr.PHMS AI Terminal&lt;/strong&gt; — a natural language command interface that translates plain English into Shizuku shell commands&lt;/li&gt;
&lt;li&gt;Optional LLM API key support (Groq/Gemini free, OpenAI paid)&lt;/li&gt;
&lt;li&gt;Falls back to offline pattern matching without a key&lt;/li&gt;
&lt;li&gt;3-layer safety confirmation system for destructive actions&lt;/li&gt;
&lt;li&gt;12 tabs total&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  NetGuard ($1.99)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Standalone firewall/network manager&lt;/li&gt;
&lt;li&gt;Per-app network control&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How the AI Terminal Works
&lt;/h2&gt;

&lt;p&gt;The Dr.PHMS AI Terminal (Pro+ only) accepts natural language like:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"stop all background apps that are draining my battery"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;And translates it into actual shell commands:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="k"&gt;for &lt;/span&gt;pkg &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="si"&gt;$(&lt;/span&gt;pm list packages &lt;span class="nt"&gt;-3&lt;/span&gt; | &lt;span class="nb"&gt;sed&lt;/span&gt; &lt;span class="s1"&gt;'s/package://'&lt;/span&gt;&lt;span class="si"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;do
  &lt;/span&gt;am force-stop &lt;span class="nv"&gt;$pkg&lt;/span&gt;
&lt;span class="k"&gt;done&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It uses a 3-layer confirmation system:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Parse&lt;/strong&gt; the intent&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Classify&lt;/strong&gt; risk level (safe / moderate / dangerous)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Show&lt;/strong&gt; the exact commands for approval before execution&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;With an LLM API key (Groq free tier, Gemini free tier, or OpenAI), it handles complex multi-step commands. Without a key, it falls back to offline pattern matching for common operations.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Native Android&lt;/strong&gt; (Java)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Shizuku&lt;/strong&gt; for elevated shell command execution&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Material Design&lt;/strong&gt; with custom dark theme (#121212)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PayPal&lt;/strong&gt; for in-app purchases&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PWA&lt;/strong&gt; splash page at dphms.vercel.app&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Get It
&lt;/h2&gt;

&lt;p&gt;All versions are available at &lt;strong&gt;&lt;a href="https://dphms.vercel.app" rel="noopener noreferrer"&gt;dphms.vercel.app&lt;/a&gt;&lt;/strong&gt;:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Version&lt;/th&gt;
&lt;th&gt;Price&lt;/th&gt;
&lt;th&gt;Key Features&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Lite&lt;/td&gt;
&lt;td&gt;Free&lt;/td&gt;
&lt;td&gt;Force-stop, clear cache&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Pro&lt;/td&gt;
&lt;td&gt;$2.99&lt;/td&gt;
&lt;td&gt;10 tabs, App Ops, bloatware freezer&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Pro+&lt;/td&gt;
&lt;td&gt;$4.99&lt;/td&gt;
&lt;td&gt;12 tabs, AI Terminal&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;NetGuard&lt;/td&gt;
&lt;td&gt;$1.99&lt;/td&gt;
&lt;td&gt;Firewall/network manager&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Tested on Moto G 2024 Power 5G running Android 15.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's Next
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;F-Droid submission in progress&lt;/li&gt;
&lt;li&gt;More AI Terminal patterns&lt;/li&gt;
&lt;li&gt;Widget support (4x1)&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;This is a solo project built with love and AI assistance. The splash page footer says it all: &lt;em&gt;"Built with love &amp;amp; AI — every line of code, every late night, every breakthrough."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Feedback welcome! 🚀&lt;/p&gt;

</description>
      <category>android</category>
      <category>shizuku</category>
      <category>productivity</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
