Everything is mirrored on omapzoom.org. Some of the code is also mirrored on github.

Contacts is here for example.

Since December 2019, you can use the new official public code search tool for AOSP: cs.android.com. There's also the Android official source browser (based on Gitiles) has a web view of many of the different parts that make up android. Some of the projects (such as Kernel) have been removed and it now only points you to clonable git repositories.

To get all the code locally, you can use the repo helper program, or you can just clone individual repositories.

And others:

  • Downloading the Source Tree
Answer from richq on Stack Overflow
🌐
Google Code
code.google.com › archive › p › android-source-browsing › source
Google Code Archive - Long-term storage for Google Code Project Hosting.
Archive · Skip to content · The Google Code Archive requires JavaScript to be enabled in your browser · Google · About Google · Privacy · Terms
Discussions

html - How do I view source code in an Android web browser? - Android Enthusiasts Stack Exchange
Is there a way to view the source HTML in an Android web browser? More on android.stackexchange.com
🌐 android.stackexchange.com
open source - Offline code browser for Android - Software Recommendations Stack Exchange
Sometimes I'd like to use time during commuting etc. for investigating bugs or issues in some of my projects. Is there a tool for Android that'd allow me to clone a git repository (or another VCS) ... More on softwarerecs.stackexchange.com
🌐 softwarerecs.stackexchange.com
October 12, 2015
Which is the best open source code editor for an Android OS mobile phone?
Download Termux and install nvim. You can have a full blown code editor like this. More on reddit.com
🌐 r/androidapps
4
9
November 2, 2024
Read Android Source Code Online, Support Android 16.0
You should upgrade or use an alternative browser. ... View Android source code references. Support Andrdoid 1.6 ~ 16.0. Support Android Kernel 2.6 ~ 6.6. More on xdaforums.com
🌐 xdaforums.com
12
May 9, 2024
🌐
Android Open Source Project
source.android.com › docs › setup › contribute › code-search
Android Code Search | Android Open Source Project
Android Code Search is a tool that helps you view the Android source code as it's laid out when you actually use it.
Find elsewhere
🌐
XDA Forums
xdaforums.com › home › general development › android development and hacking › android general
Read Android Source Code Online, Support Android 16.0 | XDA Forums
May 9, 2024 - XRefAndroid View Android source code references. Support Andrdoid 1.6 ~ 16.0. Support Android Kernel 2.6 ~ 6.6. Support Open Harmony 3.0.8 ~ 5.0. Web Address http://xrefandroid.com/ Why Use XRefAndroid ? 1.Supports indexing different versions...
🌐
GitHub
github.com › scoute-dich › browser
scoute-dich/browser: A simple Android webbrowser based ...
Contribute to scoute-dich/browser development by creating an account on GitHub.
Author   scoute-dich
🌐
ProTech
protechtraining.com › blog › post › tutorial-diving-into-android-source-code-721
Tutorial: Diving into Android Source Code - ProTech Training
December 17, 2013 - If your daily browser preferences lie elsewhere, I'm hopeful that exposure to these tools will cause you to reconsider (at least while you are developing). The first tool is the Android SDK Reference Search by Roman Nurik.
🌐
Reddit
reddit.com › r/androiddev › several ways to read android source code online
r/androiddev on Reddit: Several ways to read Android source code online
December 20, 2024 -

1. https://cs.android.com/

Google official.

Advantages: Fast speed, supports the latest code, and can view historical modification records.

Disadvantage: It is not very convenient to read the specified version.

2. http://androidxref.com/

Advantages: Easy to use, can specify branches.

Disadvantage: Only supports up to 9.0

3. http://xrefandroid.com/

Advantages: Same as AndroidXref, but supports up to 15.0

Disadvantage: I think this is the best one, the only downside is that it doesn't support Android Master branch.

🌐
Codester
codester.com › home › app templates › android › applications › webview
Fast Browser - Full Android Source Code by SourceNoman
March 22, 2021 - Fast Browser - Full Android Source Code. Fast Browser is a free and professional fast browser android .
🌐
Google
android.googlesource.com › platform › packages › apps › Browser
platform/packages/apps/Browser - Git at Google
Sign in · android / platform / packages / apps / Browser · Clone this repo: · Branches · donut-release · donut-release2 · eclair-passion-release · eclair-release · eclair-sholes-release · eclair-sholes-release2
🌐
Google Groups
groups.google.com › g › android-platform › c › e-FmxaMyCB8
Good IDE for code browsing
Have you tried Android Studio? https://stackoverflow.com/questions/16727607/can-we-use-android-studio-for-aosp-development tells how to pull in all the sources from AOSP into Android studio.
🌐
Trevor Fox
trevorfox.com › tools › source-viewer
HTML Source Viewer (view-source: on Mobile) • Trevor Fox
February 3, 2026 - View a website’s HTML source code on mobile devices, including Chrome on Android and iOS. Just paste a URL to view the page source. In 2026, Google’s Chrome mobile browser no longer supports the traditional view-source: behavior. I built this tool to make it quick and easy to view a page’s ...
🌐
GitHub
github.com › kiwibrowser › src
GitHub - kiwibrowser/src: Source-code used in Kiwi Browser for Android · GitHub
Kiwi Browser is a fully open-source web browser for Android. Kiwi is based on Chromium. Easily switch to Kiwi without having to painstakingly learn a new interface or break your existing browsing habits.
Starred by 3K users
Forked by 441 users
🌐
Google
android-developers.googleblog.com › 2019 › 12 › code-search-with-cross-references-for-aosp.html
Android Developers Blog: Code Search with Cross References for the Android Open Source Project
December 10, 2019 - In partnership with our colleagues who run Google’s internal Code Search and Kythe, we’re pleased to present a code search tool that presents a view of all of the Android source code as you actually use it.