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

Overview

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.
Comments
  • update to newest version on f-droid / add f-droid button to website

    update to newest version on f-droid / add f-droid button to website

    1. the version on f-droid is slightly behind the play store. please upload the new source code!

    2. please add a "Get it on F-Droid" button next to the Play Store button on your website!

    opened by landry314 5
  • Manifest

    Manifest "uses-sdk"

    I have some problems compiling, may be cause no "use-sdk", "android-support-vX.jar" lib nor "project.properties"

    [2015-03-06 02:37:27 - MainActivity] SecretCodes\src\main\res\layout\row_code.xml:26: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/abc_list_selector_holo_light').
    [2015-03-06 02:37:27 - MainActivity] 
    [2015-03-06 02:37:27 - MainActivity] SecretCodes\src\main\res\drawable\selectable_background.xml:20: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/list_focused').
    [2015-03-06 02:37:27 - MainActivity] 
    [2015-03-06 02:37:27 - MainActivity] SecretCodes\src\main\res\drawable\selectable_background.xml:21: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/list_pressed').
    [2015-03-06 02:37:27 - MainActivity] 
    [2015-03-06 02:37:27 - MainActivity] SecretCodes\src\main\res\menu\main.xml:19: error: No resource identifier found for attribute 'showAsAction' in package 'fr.simon.marquis.secretcodes'
    [2015-03-06 02:37:27 - MainActivity] 
    [2015-03-06 02:37:27 - MainActivity] SecretCodes\src\main\res\menu\main.xml:24: error: No resource identifier found for attribute 'showAsAction' in package 'fr.simon.marquis.secretcodes'
    [2015-03-06 02:37:27 - MainActivity] 
    [2015-03-06 02:37:27 - MainActivity] SecretCodes\src\main\res\menu\main.xml:29: error: No resource identifier found for attribute 'showAsAction' in package 'fr.simon.marquis.secretcodes'
    [2015-03-06 02:37:27 - MainActivity] 
    [2015-03-06 02:37:27 - MainActivity] SecretCodes\src\main\res\menu\main.xml:33: error: No resource identifier found for attribute 'showAsAction' in package 'fr.simon.marquis.secretcodes'
    [2015-03-06 02:37:27 - MainActivity] 
    [2015-03-06 02:37:27 - MainActivity] SecretCodes\src\main\res\menu\main.xml:37: error: No resource identifier found for attribute 'showAsAction' in package 'fr.simon.marquis.secretcodes'
    [2015-03-06 02:37:27 - MainActivity] 
    

    How can i fix it?

    opened by ehooo 4
  • Missing required permission

    Missing required permission

    On Samsung Galaxy Note 3, triggering a secret code leads to:

    W BroadcastQueue: Permission Denial: broadcasting Intent { act=android.provider.Telephony.SECRET_CODE dat=android_secret_code://4636 flg=0x10 } from fr.simon.marquis.secretcodes (pid=32415, uid=10238) requires com.sec.factory.permission.KEYSTRING due to registered receiver BroadcastFilter{4ba1968 u-1 ReceiverList{116b674e 755 system/1000/u-1 local:1f0a0249}}
    W BroadcastQueue: Permission Denial: broadcasting Intent { act=android.provider.Telephony.SECRET_CODE dat=android_secret_code://4636 flg=0x10 } from fr.simon.marquis.secretcodes (pid=32415, uid=10238) requires com.sec.testingsettings.permission.KEYSTRING due to receiver com.android.settings/.TestingSettingsBroadcastReceiver
    

    It seems that Samsung devices requires these extra permissions:

    • com.sec.factory.permission.KEYSTRING
    • com.sec.testingsettings.permission.KEYSTRING

    Declaring these permissions in the manifest may be enough.

    opened by SimonMarquis 4
  • Помогите

    Помогите

    Доброго времени суток. Меня зовут Леонид. Огромное спасибо за внимание которое Вы уделяете. Мой телефон: Samsung Galaxy A51; SM-A515F/N На моём телефоне коды " ## - ## " не работают, даже если нажать на ввод. Помогите пожалуйста. С уважением Леонид.

    opened by vaigar890 0
  • link to AOSP

    link to AOSP

    Hello,

    Please consider including a hyperlink to the method handleSecretCode() in the relevant AOSP code in the README file.

    This way, dev users can get more insights and maybe extend this project, when e.g. this feature changes fundamentally. Also, in general, for cross reference, information should be hyperlinked whenever possible: help your colleagues, avoid them having to search for the info you found. This is how we build on the shoulders of giants.

    thanks.

    opened by axd1967 0
  • secret code format

    secret code format

    I noticed that for many devices the format is different. so you should add a screen to put in the format. like String secretCode = "123456789"; Intent intent = new Intent(Intent.ACTION_DIAL); intent.setData(Uri.parse("tel:AAAA" + secretCode + "AAAA")); startActivity(intent); Wher AAAA is the header foe the secret code

    opened by 123e443 2
  • Use ACTION_DIAL but do not work automatically

    Use ACTION_DIAL but do not work automatically

    Hi I using follow code ,the secret is pasted to the dial UI, But it do not automatically jump to the engineer IMEI UI(if you input #*06# manually from UI it will work)

    Intent intent = new Intent(Intent.ACTION_DIAL,Uri.parse("tel:" + "*%2306%23")); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); context.startActivity(intent);

    is there any solution for this? Thanks. 微信图片_20200304232010

    opened by dalishen99 1
  • LineageOS no secret codes

    LineageOS no secret codes

    Have attached logcat. I think LOS exclude codes from source. I am not sure how to implement. Either android stock app or db? Running LOS 15.1 Oreo on Samsung J5.

    <<< log_count = 8 >>> [10-24 05:15:13.099 2906:2906 D/LT LaunchApp] Launching ComponentInfo{fr.simon.marquis.secretcodes/fr.simon.marquis.secretcodes.MainActivity}

    [10-24 05:15:13.102 728:6967 I/ActivityManager] START u0 {act=android.intent.action.MAIN flg=0x10000000 cmp=fr.simon.marquis.secretcodes/.MainActivity} from uid 10143

    [10-24 05:15:13.191 728:6967 I/ActivityManager] Start proc 31854:fr.simon.marquis.secretcodes/u0a451 for activity fr.simon.marquis.secretcodes/.MainActivity

    [10-24 05:15:13.657 31854:31874 I/fr.simon.marquis.secretcodes] android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0

    [10-24 05:15:13.771 728:773 I/ActivityManager] Displayed fr.simon.marquis.secretcodes/.MainActivity: +589ms

    [10-24 05:15:16.785 31854:31873 W/System.err] at fr.simon.marquis.secretcodes.Crawler.crawl(Crawler.java:65)

    [10-24 05:15:16.785 31854:31873 W/System.err] at fr.simon.marquis.secretcodes.SecretCodeLoader.loadInBackground(SecretCodeLoader.java:31)

    [10-24 05:15:16.785 31854:31873 W/System.err] at fr.simon.marquis.secretcodes.SecretCodeLoader.loadInBackground(SecretCodeLoader.java:15)

    opened by ShadyGaDa 0
  • Adding New Devices

    Adding New Devices

    opened by RalphPfeiffer 0
  • Problem with Android Oreo version

    Problem with Android Oreo version

    I'm running the app on Pixel which is running on Android Oreo, App doesn't list any secret codes but some codes like ##225## is run on dialer app the codes run fine. Is there an issue with the app which runs on Oreo devices??

    opened by Kush19 10
Releases(v2.0)
Whatsapp based Phone number verification.Verify your phone number easily through whatsapp

Whatsapp Based Login Try this to implement fastest phone number verification system [ ⚡ ] Verify your phone number through whatsapp android LinkedIn B

MorningStar 10 Jun 21, 2022
⏺ A simple android app to browse your phone call recordings

⏺ Reky A simple android app to browse your phone call recordings [Under Construction] ✅ TODO Support more file name formats ?? Built-with MVVM with Si

theapache64 12 Feb 8, 2022
Techbee e.U. 62 Jan 31, 2023
Bandicoot an open-source python toolbox to analyze mobile phone metadata

bandicoot is Python toolbox to analyze mobile phone metadata. It provides a complete, easy-to-use environment for data-scientist to analyze mobile phone metadata. With only a few lines of code, load your datasets, visualize the data, perform analyses, and export the results.

Computational Privacy Group @ Imperial College London 231 Sep 12, 2022
A treasure hunt app that uses geofences to mark the place where the treasure is hidden.

Geofencing - Starter code A treasure hunt app Introduction A geofence is a virtual perimeter defined by GPS or RFID around a real world area. Geofence

Omar Eletol 0 Dec 29, 2021
Urban Lore is an app for adventurers who appreciate the hidden gems hiding in plain sight.

Urban Lore Urban Lore is an app for adventurers who appreciate the hidden gems hiding in plain sight. Visit various places and discover their backstor

Jurij Dolenc 3 Jul 18, 2022
Browse your memories without any interruptions with this photo and video gallery

Simple Gallery Simple Gallery Pro is a highly customizable lightweight gallery loved by millions of people for its great user experience. Organize and

Simple Mobile Tools 2.8k Jan 4, 2023
TetaNews - Application to browse news of Ukraine

Teta News Application to browse news of Ukraine Overview App show the scrollable

null 0 Feb 17, 2022
an android app to send private secret SMS while terrorist Islamic republic of Iran banned internet access in Iran.

Mahsa An android application which is designed to deliver safe and encrypted messages using SMS while Islamic republic of Iran banned Iranian people a

null 3 Sep 22, 2022
Acme-app - App to display the best routes for drivers based on a secret algorithm

Acme App App to display the best routes for drivers based on a "secret" algorith

Pablo Baxter 0 Jan 9, 2022
Candash - A simple Android app that turns your phone into an instrument cluster for your Tesla Model 3 and Y

What is CANdash? CANdash is an Android app that turns your Android device into a

Nick Nguyen 31 Nov 5, 2022
An android app to browse KDE Store and other Linux Desktop Environment stores of Pling

A free and open source android application for browsing KDE Store and other Linux Desktop Environment's Stores in Pling. Couldn't check it in different devices so there could be some bugs. Bug Report and Feedbacks are highly appreciated.

null 14 Dec 27, 2022
Firefox Focus: The privacy browser - Browse like no one’s watching.

Firefox Focus for Android Browse like no one’s watching. The new Firefox Focus automatically blocks a wide range of online trackers — from the moment

Mozilla Mobile 2.1k Dec 28, 2022
Oratio Library for Android Studio helps you simplify your Android TTS codes

Oratio Oratio is a library for Android Studio. This library is useful to a number of developers who are currently making apps using android TTS(Text-T

Jacob Lim 1 Oct 28, 2021
A mobile application that allows you to get random information every time you enter the application.

Knowledge Repository A mobile application that allows you to get random information every time you enter the application. Google Play Store : Screensh

Nisa Efendioğlu 2 Jul 10, 2022
This repo provides a sample application that demonstrates how you can speed up the authentication experience for frontline workers on shared devices using QR codes.

Project This repo has been populated by an initial template to help get you started. Please make sure to update the content to build a great experienc

Microsoft 5 Dec 7, 2022
This document will walk you through the steps for creating your Android app that runs a deep learning image classification model trained in Pocket AutoML and exported in TensorFlow Lite format

Pocket AutoML: Tutorial for Creating an Android App for Image Classification with Deep Learning Translations English (this document) Русский Overview

Evgeniy Mamchenko 15 Nov 22, 2022
An open source application to make your own android applications without coding!

Stif An Open source project for building Android Application at a go both with and without coding. This project was inspired from Scratch and Sketchwa

Nethical org 5 Aug 28, 2021
An Android app to watch anime on your phone without ads.

Anime X Stream An Android app to watch anime on your phone without ads. WARNING: THIS IS A BETA VERSION of application, THEREFORE YOU MAY ENCOUNTER BU

Mukul Banga 2.2k Jan 4, 2023