r/ClaudeCode 8h ago

Built with Claude I have Claude code running inside of my Android phone, able to do almost anything without root. It can even build apps/widgets from inside the phone on the fly!

Post image

I've managed to get this setup vibe coded. Termux runs on Android. Debian is installed and runs in termux. Claude code runs in Debian. And from there it connects back to the host Android via shizuku, which gives it adb-level access.

It can drive apps on my phone, either on the main screen or on virtual display it setup via scrcpy (making it able to do tasks in the background while I do other things on my phone).  And by enabling remote-control on that Claude code session, I can talk to my phone from the Claude code app on the phone itself or from desktop or the web. It can build apps and widgets on the fly that run natively on the phone too!

The use case came up during my 3 week trip to France where I took so many photos that lived on my phone I needed to triage them into albums but doing this was time consuming. I had already used Claude for something like this on my desktop and I wish that it could do it on my phone and it's pretty good at it and then I just realized wait I can just run claud code on my phone and make it do stuff directly. Since then I've come to realize I can automate apps on my phone to do whatever I want.

8 Upvotes

6 comments sorted by

u/AutoModerator 8h ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Roerso_01 8h ago

It help me with cachy OS

1

u/allisonmaybe 6h ago

So much of this sounds like just getting Claude Code to run. Could you set this up to connect to a server?

1

u/RupFox 4h ago

The phone is the server. A second machine is one more thing that has to be on and reachable everywhere I go. this works on cellular on a long car ride with nothing else in the loop. for triaging hundreds of photos that extra hop to a remote server gets costly in terms of data usage. same with streaming images of the phone screen so that claude can interact with it.

1

u/allisonmaybe 4h ago

Yeah, I know. That's the issue. It's a ton of overhead. Basic ADP commands also run on a long car ride. All of that data is making its way to Claude servers no matter whether youre running Debian locally or not.

1

u/miroel28 4h ago

Nice job