cd /news/large-language-models/my-gemma-4-phone-setup-is-now-on-git… · home topics large-language-models article
[ARTICLE · art-23493] src=dev.to pub= topic=large-language-models verified=true sentiment=↑ positive

My Gemma 4 Phone Setup Is Now on GitHub

A developer named Dexter has published a GitHub repository containing a setup script and documentation for running Gemma 4 locally on an Android phone using Termux and Ollama. The repo includes an automated setup.sh script and a README with clear replication instructions. Dexter also released a separate RAG pipeline repository that runs entirely on a phone with native API calls, persistent memory, and support for Gemma 4 E4B.

read1 min publishedJun 6, 2026

A while back, I wrote a guide on running Gemma 4 locally on an Android phone using Termux and Ollama. It got some traction. People asked for the code.

There wasn't much code to share—just a setup script and documentation. But I realized that's still worth putting in one place.

So I did.

What's in the Repo

github.com/Dexter2344/gemma4-phone-setup

· A README explaining the whole project and linking back to the original guide

· A setup.sh script that automates the install process in Termux

· Clear instructions so anyone can replicate what I built

Why This Matters to Me

When I wrote the original post, I was just documenting what I learned. I didn't think of it as a "project." But putting it on GitHub changes how I see my own work. It's not just a tutorial anymore. It's a reference. Something someone can clone, run, and build on.

What Else I've Been Building

I also shipped a RAG pipeline that runs entirely on a phone—native API calls, persistent memory, upgraded to Gemma 4 E4B. That one has real Python code, a proper README, and setup instructions:

github.com/Dexter2344/rag-pipeline-phone

── more in #large-language-models 4 stories · sorted by recency
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/my-gemma-4-phone-set…] indexed:0 read:1min 2026-06-06 ·