Skip to content

Latest commit

Β 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“± PhoneIDE

The most advanced Android IDE that runs entirely on your phone.
Write code. Build APKs. Run terminal. Deploy β€” all from your pocket. No PC needed.


πŸš€ What is PhoneIDE?

PhoneIDE is a full-featured, production-grade Android development environment that runs 100% on your Android phone. It's not a toy editor β€” it's a real IDE with a code editor, build system, terminal, file manager, and an AI-powered coding agent that can write, edit, debug, and build your code autonomously.

Build real Android apps. On your phone. Anywhere.


πŸ“Š Feature Status

βœ… Available Now | πŸ”„ In Progress | πŸ“… Coming Soon

Feature Status Description
πŸ“ Code Editor βœ… Available Syntax highlighting, 6 themes, find & replace, multi-tab
πŸ”¨ Build System βœ… Available Gradle builds, error parsing, build remedies, APK signing
πŸ€– AI Agent βœ… Available 6 modes, 15 tools, 4 providers, sandboxed permissions
πŸ’» Terminal βœ… Available Full Linux terminal (proot), multi-tab, background service
πŸ“ File Manager βœ… Available Project tree, search, workspace, file operations
πŸ“¦ SDK & Toolchain βœ… Available JDK, Gradle, Android SDK, Flutter, NDK, CMake management
🎨 Theme Engine βœ… Available 6 editor themes, light/dark app, Material 3
πŸ“± Onboarding βœ… Available Welcome wizard, environment picker, tool setup
πŸ” Project-wide Search βœ… Available Fuzzy file search + full-text content search
πŸ“‹ Project Templates βœ… Available Java, Kotlin, Compose, Flutter templates
🧩 Workspace View βœ… Available Open files, recent projects, quick access
πŸ“Š IDE Logs βœ… Available Full IDE log viewer with filters
πŸ‘€ User Profile βœ… Available Profile setup with avatar
πŸ”„ Git Clone πŸ”„ In Progress Clone repositories directly into the IDE
πŸ§ͺ Unit Testing πŸ”„ In Progress Run tests from IDE with results
πŸ“ Layout Preview πŸ”„ In Progress Preview XML layouts visually
πŸ—„οΈ Database Viewer πŸ”„ In Progress View & query SQLite databases
πŸ“Š Performance Profiler πŸ“… Coming Soon CPU, memory, network monitoring
🌐 Network Inspector πŸ“… Coming Soon HTTP requests, API debugging
🎭 Emulator Support πŸ“… Coming Soon Run apps in virtual device
πŸ“¦ ADB Integration πŸ“… Coming Soon Full ADB commands from IDE
πŸ”— Dependency Manager πŸ“… Coming Soon Visual Gradle dependency graph
πŸ“ Live Templates πŸ“… Coming Soon Code snippets & shortcuts
🌍 Multi-language πŸ“… Coming Soon UI in Hindi, Spanish, Arabic, etc.
πŸ“± Widget Support πŸ“… Coming Soon Quick actions from home screen

✨ Features

πŸ“ Code Editor

  • Syntax highlighting for Java, Kotlin, XML, Gradle, JSON, Dart
  • Line numbers, code folding, magnifier cursor
  • Undo/redo with full history
  • Find & replace with regex support
  • Symbol input bar (brackets, arrows, operators)
  • 6 built-in themes: Default, Monokai, Dracula, GitHub Dark, One Dark, Solarized Dark & Light
  • Pinch-to-zoom font resizing
  • Multi-tab editing with session persistence

πŸ”¨ Build System

  • One-tap Gradle builds (assembleDebug, assembleRelease, clean, test, lint)
  • Real-time error parsing β€” click any error to jump to the exact line
  • Smart build remedies β€” auto-suggests fixes for common build failures
  • Background builds with foreground service (keeps running with screen off)
  • APK signing, installation & sharing β€” all in-app
  • Full Gradle console with scrollback

πŸ€– AI Agent β€” The Most Powerful Feature

PhoneIDE ships with a fully autonomous AI coding agent that can understand your project, write code, fix bugs, and verify its own work β€” all inside the app.

🧠 6 AI Modes

Mode What it does
πŸ’¬ Chat Ask questions about your code. Read-only β€” nothing is changed.
πŸ€– Agent Multi-step autonomous work: reads files, edits code, runs builds, verifies output.
✏️ Edit Targeted code changes to the selection or open file.
πŸ› Debug Diagnoses build failures, applies fixes, re-runs the build automatically.
πŸ“‹ Plan Breaks work into a checklist of tasks before doing anything.
πŸ“– Explain Walks through how code works, step by step.

πŸ› οΈ 15 Professional Tools

The agent has access to 15 professional-grade tools β€” just like a real developer:

Tool Capability
read_file Read any file with line numbers
list_files Browse project directories
search_code Full-text search across all files
search_files Fuzzy file-name search
create_file Create new files with content
edit_file Precise snippet-level edits (preferred)
write_file Full file rewrites
apply_patch Multi-file unified diffs
delete_file Remove files & folders
terminal Run shell commands in Linux environment
run_build Trigger Gradle builds with click-to-fix errors
diagnostics Read build errors with file & line info
git_status Check modified/staged/untracked files
git_diff View uncommitted changes
open_in_editor Jump to a specific file & line in the editor

πŸ” Sandboxed Permission System

The AI agent runs inside a sandboxed permission system β€” it cannot do anything without your approval:

  • Granular permissions β€” control file read, file modify, file delete, terminal, and build access independently
  • Command risk classification β€” every shell command is auto-classified as Safe / Build / Install / Git / Destructive before execution
  • Destructive command blocking β€” rm -rf, git reset --hard, curl | sh etc. are always blocked without explicit user approval
  • Workspace trust β€” untrusted projects require approval before running any build scripts
  • Auto-apply modes β€” choose between Always Ask, Safe Auto-apply, or Full Auto-apply
  • Session-scoped grants β€” permissions reset every session
  • Diff preview β€” see exactly what will change before approving any edit

🌐 Multi-Provider Support

Connect the AI to any LLM provider:

Provider Description
OpenCode Zen Curated coding models (Claude, Qwen) with one key
OpenRouter Hundreds of models behind one API
Custom Endpoint Any OpenAI-compatible server
Local Server llama.cpp, Ollama, LM Studio β€” runs on-device or LAN
  • Streaming responses β€” text appears token by token
  • Reasoning/thinking display β€” see the model's chain-of-thought
  • Context-aware β€” agent reads your project structure, file contents, and build output automatically
  • Session persistence β€” conversations survive screen rotations and tab switches

πŸ’» Terminal

  • Full Linux terminal via proot (Ubuntu or Termux environment)
  • Run apt, gradle, flutter, git, npm, and any CLI tool
  • Multi-tab sessions β€” each running independently in the background
  • Foreground service keeps shells alive with screen off
  • Pinch-to-zoom, copy/paste, extra keys bar
  • Start terminal from any project directory ("Open terminal here")

πŸ“ File Manager & Workspace

  • Visual project tree with file-type icons (SVG-rendered)
  • Project-wide search β€” by filename (fuzzy) and by content
  • Workspace view β€” see all open files, recent projects
  • Create, rename, delete files & folders
  • Clone Git repositories

πŸ“¦ SDK & Toolchain Management

  • One-tap install for JDK, Gradle, Android SDK, Flutter, NDK, CMake
  • Automatic version management & environment variable setup
  • Device compatibility checks (ABI, libc, API level)
  • Storage analysis β€” see how much space each tool uses
  • Remote catalog β€” new tool versions without app updates

🎨 Theme Engine

  • 6 editor themes: Default, Monokai, Dracula, GitHub Dark, One Dark, Solarized
  • Light & dark app themes
  • Material 3 dynamic colors
  • Persistent theme preference

πŸ“‹ Requirements

Requirement Minimum
Android 7.0 (API 24)
Processor ARM64 (arm64-v8a)
Storage ~500 MB for tools & Linux environment
RAM 2 GB recommended

πŸ“₯ Installation

  1. Go to Releases
  2. Download the latest APK
  3. Enable "Install from unknown sources" if prompted
  4. Install & launch PhoneIDE
  5. Complete onboarding β€” choose your environment & install tools

πŸ—οΈ Architecture

PhoneIDE/
β”œβ”€β”€ 🧠 AI Agent         β†’ Autonomous coding (15 tools, 6 modes, 4 providers)
β”œβ”€β”€ πŸ“ Code Editor      β†’ sora-editor with syntax highlighting & themes
β”œβ”€β”€ πŸ”¨ Build System     β†’ Gradle integration with error parsing & remedies
β”œβ”€β”€ πŸ’» Terminal          β†’ proot-based Linux (Ubuntu/Termux)
β”œβ”€β”€ πŸ“ File Manager     β†’ Project tree, search, workspace
β”œβ”€β”€ πŸ“¦ Toolchain        β†’ JDK, Gradle, SDK, Flutter, NDK, CMake management
β”œβ”€β”€ 🎨 UI               β†’ Jetpack Compose + Material 3
└── πŸ”§ Engine           β†’ Kotlin coroutines, zero external HTTP library

πŸ™ Acknowledgements

PhoneIDE was built using AndroStudio β€” an Android IDE for building Android apps on your phone.

Open-Source Libraries

Library License Purpose
sora-editor LGPL-3.0 Code editor surface
Termux Terminal GPL-3.0 PTY + VT100/xterm rendering
Apache Commons Compress Apache 2.0 Archive extraction
XZ for Java Public Domain Compression
Coil Apache 2.0 Image & SVG loading
Kotlin Coroutines Apache 2.0 Async programming
AndroidX / Jetpack Apache 2.0 UI framework
Material Components Apache 2.0 Material Design
Guava ListenableFuture Apache 2.0 Concurrency

Full license details in THIRD_PARTY_NOTICES.txt


πŸ‘¨β€πŸ’» Developer


Sandeep Bedia

Creator of PhoneIDE
πŸ™ GitHub @Sandeepbedia
πŸ’¬ Telegram @phoneide
πŸ“’ Channel PhoneIDE Channel
πŸ“¦ Repo Sandeepbedia/PhoneIDE

πŸ“„ License

Copyright Β© 2025 Sandeep Bedia. All Rights Reserved.

This is proprietary software. No part of this software may be copied,
modified, distributed, sublicensed, or used in any form without the
prior written consent of the copyright holder.

See LICENSE for full details.


Built with ❀️ entirely on Android
Powered by AndroStudio

About

πŸ“± A full-featured Android IDE that runs entirely on your phone. Code editor, build system, terminal, AI agent & more β€” no PC needed.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors