• Stars
    star
    296
  • Rank 140,464 (Top 3 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created about 11 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Secret Codes is an Open Source application that allows you to browse through hidden codes of your Android phone.

Android-SecretCodes ####Secret Codes is an Open Source application that allows you to browse through hidden codes of your Android phone.

This application will scan through all available secret codes on your device.
Then you will be able to executes these secret codes a discover hidden functionalities.

Android-SecretCodes on Google Play Store
Android-SecretCodes on F-Droid

Screenshots

Screenshot Screenshot

Video

Youtube Video

What is a secret code?

In Android a secret code is defined by this pattern: *#*#<code>#*#*.
If such a secret code is executed, the system Dialer app will trigger this code: (Source AOSP)

static private boolean handleSecretCode(Context context, String input) {
    int len = input.length();
    if (len > 8 && input.startsWith("*#*#") && input.endsWith("#*#*")) {
        Intent intent = new Intent(TelephonyIntents.SECRET_CODE_ACTION,
                Uri.parse("android_secret_code://" + input.substring(4, len - 4)));
        context.sendBroadcast(intent);
        return true;
    }

    return false;
}

How to execute a secret code?

There are two ways to execute a secret code:


Directly through the dialer application of your Android device.

Simply write the secret code like: *#*#123456789#*#*.


String secretCode = "123456789";
Intent intent = new Intent(Intent.ACTION_DIAL);    
intent.setData(Uri.parse("tel:*#*#" + secretCode + "#*#*"));
startActivity(intent);

String secretCode = "123456789";
String action = "android.provider.Telephony.SECRET_CODE";
Uri uri = Uri.parse("android_secret_code://" + secretCode);
Intent intent = new Intent(action, uri);
sendBroadcast(intent);

How to create your own secret code?

Add these lines in your AndroidManifest.xml
And whenever *#*#123456789#*#* is submitted, your receiver will be notified.

<receiver android:name=".MySecretCodeReceiver">
    <intent-filter>
        <action android:name="android.provider.Telephony.SECRET_CODE" />
        <data android:scheme="android_secret_code" android:host="123456789" />
	</intent-filter>
</receiver>

Pull requests

Feel free to contribute to Android-SecretCodes.
Either you found a bug or have created a new and awesome feature, just create a pull request.
If you want to start to create a new feature or have any other questions regarding Android-SecretCodes, file an issue.

Developed By

License

Copyright (C) 2016 Simon Marquis (http://www.simon-marquis.fr)

Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.

More Repositories

1

InternalAppStore

📦 Manage your own internal Android App Store.
Kotlin
511
star
2

FCM-toolbox

📲 Firebase Cloud Messaging toolbox
Kotlin
388
star
3

AR-Toolbox

🧰 ARCore & Sceneform Playground
Kotlin
282
star
4

Android-PreferencesManager

⚙️ Preferences Manager is an Open Source application that allows you to seamlessly edit application's preferences.
Java
157
star
5

Android-App-Linking

🔗 The ultimate developer guide to Android application linking methods
Kotlin
93
star
6

SleepTimer

💤 Simplest Sleep Timer
Kotlin
90
star
7

Android-InstallReferrer

Install Referrer is an Open Source application that allows you to test the referrer attribute on the Google Play Store
Java
79
star
8

Android-Spans

Kotlin and Java wrappers around SpannableStringBuilder (Inspired by JakeWharton's Truss and Kotlin's kotlinx.html)
Java
71
star
9

QrCode

🏁 Scan and create QR Codes.
Kotlin
62
star
10

Android-UrlSchemeInterceptor

Intercept and debug url scheme on Android
Java
33
star
11

Android-SoundQuickSettings

🔊 A simple Quick Settings Tile to control the sound volume.
Kotlin
28
star
12

SealedObjectInstances

A Kotlin Symbol Processor to list sealed object instances.
Kotlin
26
star
13

Maven-Dependency-Tree

🌲 Kotlin script to list transitive dependencies of a Maven artifact.
Kotlin
21
star
14

Android-Snippets

Snippets for Android developers
19
star
15

Android-Version-Distribution

Kotlin
7
star
16

svg2avd

⚙️ Kotlin script to convert SVG files to AVD (Android Vector Drawable)
Kotlin
4
star
17

TIL

🗓️ Today I Learned
HTML
3
star
18

FTL-segfault

Kotlin
3
star
19

Preferences-filtering

🔎 Search through Android's Preferences screens
Kotlin
2
star
20

Firebase-Test-Lab-Devices

2
star
21

kotlinx.serialization-2385

Reproducer for https://github.com/Kotlin/kotlinx.serialization/issues/2385
Kotlin
1
star
22

GitHub-Actions-Playground

🛝 Playground for GitHub Actions
Kotlin
1
star
23

advent-of-code-2023

🎄
Kotlin
1
star
24

mkdocs-material-7044

Reproducer for https://github.com/squidfunk/mkdocs-material/issues/7044
1
star
25

JavaAgent

👮 Detect suppressed exceptions in unit tests.
Kotlin
1
star
26

Firebase-Remote-Config-Changes-Notifier

🔥 Notify changes in Firebase Remote Config in real time through Slack Webhooks.
JavaScript
1
star
27

ci-gradle-properties-action

🐘 Copy Gradle properties file to the CI's home directory.
1
star
28

android-accept-licenses

Accept Android licenses with `sdkmanager`.
1
star