Hot topics

Secret Codes for Android Devices: Unlock Hidden Features

Secret Codes
© nextpit

If you happen to be an ardent tech enthusiast, chances are high that you know about most of the secret codes for mobile phones, you know, the ones that usually begin with “*#.” For those unaware, mobile phones have long had hidden codes that can be used to access interesting hidden apps and settings.

These codes can be broadly classified into two main categories USSD codes and MMI codes. While mostly not very useful to the average smartphone owner, these hidden codes can be used once in a while just to satiate your curiosity. The purpose of this article, therefore, is to create a comprehensive list of these secret codes for Android devices.

Before we start, it might be a good idea to learn about what these codes are and what the differences are between MMI and USSD codes. But if you’re in a hurry, you might as well skip to the part where we talk about specific smartphone codes.

Jump to:

What are USSD and MMI codes?

USSD secret code on the dialer app
All it takes to use these codes is typing them into the dialer. / © NextPit by Irina Efremova

While the average user might not even need to know the difference between these two, it is always good to know what the differences are. Both USSD and MMI codes usually begin with an asterisk or a pound symbol/hashtag. These codes are updated regularly as new versions of Android software are released, and some manufacturers have their own additional special codes.

The code entry procedure is very simple and only requires you to bring up your dialer keypad and enter the appropriate number sequence. It's important to note that some codes are carrier-specific, so they won't work on all devices. So if your phone doesn't respond to a code, don't dwell on it, just move on and find another one.

USSD Codes

USSD stands for Unstructured Supplementary Service Data, and these codes are typically used to communicate between your smartphone and your mobile network operator. This also means that you almost always need to be connected to your carrier for USSD codes to work. 

In the past, USSD codes were used to start/stop specific value-added services. They were also helpful in letting you know about the data usage and prepaid balance and accessing a whole lot of carrier-specific information. 

While these are still used by smartphone enthusiasts, USSD codes have largely fallen out of favor among general users because most carriers have their own app/website where most of this information could be easily accessed. USSD codes are typically carrier-specific and will differ from one carrier to another. You will need to contact your carrier for the ones relevant to you.

MMI Codes

As for MMI codes, these are part of something known as the Man-Machine Interface schema and are generally specific to a smartphone brand or model. MMI codes let you access several interesting things on your smartphone – ranging from your IMEI number and SAR values to hidden menus that are generally used by smartphone engineers and repair services. 

For example, several smartphones let users type in an MMI code and let them access a 'test’ menu. This menu lets users quickly perform various tests on their smartphone ranging from the camera and vibration motor tests to speaker and display tests.

Note that there are only a few MMI codes that typically work on all Android smartphones. We have listed the most popular ones in the generic list of codes below.

Generic secret codes for Android devices

These codes are mostly universal and should work on all Android devices, no matter the manufacturer. There might still be carrier restrictions on certain codes, though, so they're not all guaranteed to work.

Generic secret codes for Android phones (Info codes)

*#06#     Show phone's IMEI
*#07# Displays the Specific Absorption Rate (SAR) value of the device
*#*#225#*#* Displays calendar storage info
*#*#426#*#* Google Play Services info or Firebase Cloud Messaging diagnostics (Select devices only)
*#*#759#*#* Access Rlz Debug UI (Select devices only)
*#0*#     Info menu (Select devices only)
*#*#4636#*#*  Info menu (Select devices only)
*#*#34971539#*#* Camera info (Select devices only)
*#*#1111#*#*  FTA software version (Select devices only)
*#*#1234#*#*  PDA software version
*#12580*369#  Software and hardware info
*#7465625#  Device lock status
*#*#232338#*#*  MAC address
*#*#2663#*#*  Touchscreen version
*#*#3264#*#*  RAM version
*#*#232337#*#  Bluetooth address
*#*#2222#*#*  Hardware version
*#*#44336#*#*  Software version and update info
*#*#273282*255*663282*#*#*     Backup all media

Testing codes

Code Function
*#*#197328640#*#* Test mode
*#*#232339#*#* Wi-Fi test
*#*#0842#*#* Brightness and vibration test
*#*#2664#*#* Touchscreen test
*#*#232331#*#* Bluetooth test
*#*#7262626#*#* Field test
*#*#1472365#*#* GPS quick test
*#*#1575#*#* Full GPS test
*#*#0283#*#* Packet loopback test
*#*#0*#*#* LCD display test
*#*#0289#*#* Audio test
*#*#0588#*#* Proximity sensor test

Configuration codes

Code Function
*#9090# Diagnostics settings
*#301279# HSDPA/HSUPA settings
*#872564# USB logging settings

Developer codes

Code Function
*#9900# System dump mode
##778 (+green/call button) EPST menu

Manufacturer-specific codes

Samsung codes

Code Function
*#0*# Access diagnostics
*#011# Network details and serving cell information
*#0228# Battery status
*#0283# Loopback Test menu
*#0808# USB Settings
*#1234# Software version/ Model details
*#2663# Firmware details (Advanced)
*#7353# Quick test menu
*#9090# Advanced debugging tools
*#9900# SysDump
*#2683662# Service mode (Advanced)
*#34971539# Camera firmware details

Xiaomi Codes

Code Function
*#*#64663#*#*   Access test menu

Realme codes

Code Function
*#800# Feedback menu
*#888# Engineer mode - displays PCB number
*#6776# Software version

OnePlus codes

Code Function
*#66# Encrypted IMEI
*#888# Engineer mode - displays PCB number
*#1234# Software version
1+= (In stock calculator app) Displays 'NEVER SETTLE' on the calculator app
*#*#2947322243#*#* Wipes internal memory

Asus codes

Code Function
*#07# Regulatory labels
.12345+= (In calculator) Open engineering mode


Code Function
*#*#2486#*#* Opens engineering mode
*#07# Shows regulatory information
##7764726 Hidden Motorola Droid menu


Code Function
*#*#3424#*#* HTC test program
##786# (Caution!) Phone reset menu
##3282# EPST menu
##3424# Diagnostic mode
##33284# Field test
##8626337# Launch Vocoder
*#*#4636#*#* HTC info menu

Sony codes

Code Function
*#*#73788423#*#* Access service menu
*#07# Certification details

Nokia codes

Code Function
*#*#372733#*#* Open service menu (FQC Menu)

Other codes 

Code Function
*#7780# (Caution!) Factory reset
*2767*3855# (Caution!) Full factory reset
*#*#7594#*#* Power off the phone
*#*#8351#*#* Activate dialer log mode
#*#8350#*#* Deactivate dialer log mode

Stay away from these codes!

Think before using!

Code Function
*#*#7780#*#* (Caution! Risk of data loss and rendering phone useless) Factory data partition reset
*2767*3855# (Caution! Risk of data loss and rendering phone useless) Format device

USSD codes for US carriers

These aren't the secret ones, but they're not so well known. USSD, or Unstructured Supplementary Service Data, codes connect to the phone's network once dialed to perform certain functions, like finding out how much credit you have left on your prepaid phone or how much data you've used this month. They change often, and the codes vary from carrier to carrier. Here are a few you can try for some of the major US carriers, along with links to more carrier-specific codes:


Code Function Code with Spanish reply
*3282# Check your data and messaging (SMS) usage (*DATA# | *DATO#) *3286#
*646# Check your remaining minutes' balance (*MIN# | *USO#) *876#
*225# Check your balance, get the next bill due date, and the last payment received (*BAL# | *SAL#) *725#


Code Function
#3282 Check your data usage (#DATA)
#225 Check your balance (#BAL)
#646 Check your minutes (#MIN)


Code Function
#225# Check your account balance and the last contract payment (#BAL#)
#999# Check prepaid account balance
#646# Check minute usage (#MIN#)
#674# Check message (SMS) usage (#MSG#)
#932# Check data used, data plan, and expiration date (#WEB#)

There's a good chance you'll never need to use most of these codes, but if you do, then now you know where to find them.

Are there any secret codes that you find yourself using all the time? Or are there any we haven't listed here that are really interesting? Let us know in the comments!

Article updated in October 2022 with additional US carrier USSD codes, and a layout cleanup. Comments published before the update were kept and may refer to an outdated version of this page.

nextpit receives a commission for purchases made via the marked links. This has no influence on the editorial content and there are no costs for you. You can find out more about how we make money on our transparency page.
Go to comment (92)
Brittany McGhee

Brittany McGhee

Brittany loves to keep up with the latest technology and innovation, so she is excited to have the opportunity to write about the wonderful world of Android. She thinks spreadsheets and numbers are fun, in addition to reading books and volunteering.

View all articles
Liked this article? Share now!
Recommended articles
Latest articles
Push notification Next article
Write new comment:
All changes will be saved. No drafts are saved when editing
Write new comment:
All changes will be saved. No drafts are saved when editing

  • Phillip makola (makgetsi) 1
    Phillip makola (makgetsi) 11 months ago Link to comment

    Please help me with to unlock pattern for Samsung

  • 1
    Indyguy Feb 10, 2023 Link to comment

    How does one go about finding out if there has been any outside influence on my phone?

  • Airforce king 1
    Airforce king Nov 22, 2022 Link to comment

    how can we get to the key service info on any android phone or Samsung s22 because the OG code of *#*#4636#*#* doesn't work? Thanks

  • 49
    storm Oct 28, 2022 Link to comment

    These were far more useful in the days of dumb phones. With smart phones, this is pretty esoteric or info otherwise available in the app or irrelevant. Most prepaid deals offer unlimited talk and text for the most part anymore.

  • davidkabwe Kateule 1
    davidkabwe Kateule Aug 22, 2022 Link to comment

    LG G8x grey area can't change APN I tried ##3282# with complications asked for code I'm in Zambia

  • 1
    Medo Samuel Aug 22, 2022 Link to comment

    Please help me unlock my Samsung network

    • Fabien Röhlinger 72
      Fabien Röhlinger
      • Admin
      • Staff
      Aug 23, 2022 Link to comment

      You need to check back with your provider.

  • 1
    Medo Samuel Aug 22, 2022 Link to comment

    I'm in ghana 🇬🇭 in west Africa I bought Samsung Galaxy but the network is locked, I need a code for that

  • Kirsten Barco 2
    Kirsten Barco May 27, 2022 Link to comment

    Is there anyway to get the network unlock pin from any of the hidden menus? i have a Motorola on metro pcs


  • Kathryn Clemens 1
    Kathryn Clemens May 24, 2022 Link to comment

    Is there a code to see if someone has access to my camera or microphone? Or access to anything on my phone like google, messages, or anything?

    • 1
      Indyguy Feb 10, 2023 Link to comment

      Did you get any answers? I'd like to know as well.

  • 1
    Justin Johnson May 11, 2022 Link to comment

    I've a Samsung Galaxy a03s. What's the code to see if phones tapped or hacked? And what does it say if it is or isnt

    • 1
      Indyguy Feb 10, 2023 Link to comment

      Did you get any answers to this question?

  • 1
    Cory McEntire May 6, 2022 Link to comment

    How to get to developer options ? Note20

  • Kimberly Basso 1
    Kimberly Basso May 4, 2022 Link to comment

    I need moto codea

  • Mary Ruth Harrill 1
    Mary Ruth Harrill Feb 26, 2022 Link to comment

    I need LG codes

  • 2
    Steve l l Feb 23, 2022 Link to comment

    I have a samsung note 8. I'm looking for codes to detect if my phone is hacked or cloned

    Winston Beck

    • Winston Beck 1
      Winston Beck Apr 15, 2022 Link to comment

      *#21# If it doesnt say not forwarded all across the board, you have a problem.

      • 1
        Lidia Apr 16, 2022 Link to comment

        It doesn't do anything at all for me on my pixel4a.... Is that bad?

      • Emily Amber 1
        Emily Amber Apr 22, 2022 Link to comment

        What is it says call forwarding unconditionally 🤔

    • Emily Amber 1
      Emily Amber Apr 22, 2022 Link to comment

      What if it says call forward unconditionally

      • 1
        Indyguy Feb 10, 2023 Link to comment

        Did you find out what that means. Mine says the same thing?

  • 1
    Cristi Dumitru Feb 15, 2022 Link to comment

    ##7764726 this motorolla code does not work lol

    • 1
      Justin Hubert Mar 2, 2022 Link to comment


  • Sipiras Sipira 1
    Sipiras Sipira Feb 13, 2022 Link to comment

    #31# DETAILS. How can I enable in my phone?

  • 1
    Jai Jan 15, 2022 Link to comment

    What is ##786# mmi code i see in groovypost as one to know if your mobile is p

    • Rubens Eishima 29
      Rubens Eishima
      • Admin
      • Staff
      Jan 17, 2022 Link to comment

      As far as we know, that MMI code does not allow you to check if the device is refurbished.

      Zois Bekios Zannikos

    • Stephanie Leach 1
      Stephanie Leach Jan 21, 2022 Link to comment

      Phone reset

  • Jenessa Blake 3
    Jenessa Blake Dec 7, 2021 Link to comment

    Does the network know when you use these codes??

    Blackmantle11 (Jenn)Stephanie LeachZois Bekios ZannikosCamila RinaldiRubens Eishima

    • Rubens Eishima 29
      Rubens Eishima
      • Admin
      • Staff
      Dec 9, 2021 Link to comment

      theoretically, no.

      The ones related to devices features can even be used without a SIM card

      Zois Bekios ZannikosCamila Rinaldi

    • M. A. Griesser 6
      M. A. Griesser Oct 24, 2022 Link to comment

      Yo Janessa how you doin'?

  • 2
    Melba Nov 10, 2021 Link to comment

    how do i delete temp files on android samsung a10.
    my phone is telling me "too many files have been created on your a factory reset...." this is interferring with my apps and more.
    Is Factory Reset my only option??

    Camila Rinaldi

    • Zois Bekios Zannikos 9
      Zois Bekios Zannikos Nov 10, 2021 Link to comment

      How much free space does your device have? If it still has, probably resetting it would fix the bug. If you do not have enough free space, try deleting some items or bigger apps.

      Camila Rinaldi

  • 2
    Exonica Jul 19, 2019 Link to comment

    I'm curious if doing a format would allow windows to be installed on a phone

    Zois Bekios Zannikos

    • 49
      storm Dec 27, 2019 Link to comment

      Nothing in this article would let you do that.

      Rubens EishimaZois Bekios ZannikosJustinmarco sarli

      • 1
        Justin Sep 29, 2021 Link to comment

        You are right

    • 1
      Technotechnotes Jan 29, 2020 Link to comment

      Windows as your talking about, cannot run on a phone. The architecture is completely different your phone is most likely an arm x86 or in that field and windows cannot run on that by default however there is a version of Windows built for the atom processors which are incredibly terrible in my opinion. However if you would like Linux on your phone there are plenty of ways to get Linux running on your phone

      • Darrellnterilynn Oliver 1
        Darrellnterilynn Oliver Mar 30, 2021 Link to comment

        how would I install linux

      • 49
        storm Sep 30, 2021 Link to comment

        Just google the topic. Plenty of guides out there. Some of it will depend on the target phone, your technical competency and so on.

  • 25
    Deactivated Account Jul 18, 2019 Link to comment

    Thanks for the informative article 😊.

  • Brian Carr 7
    Brian Carr Jul 17, 2019 Link to comment

    nice useful article 👍

    Deactivated Account

  • eSparkBiz 14
    eSparkBiz Jul 17, 2019 Link to comment

    I tried the code for mac address in my phone dialer of Samsung a50, But it didn't give me mac address. I don't know how?

    • Mark G. 28
      Mark G. Jul 17, 2019 Link to comment

      These codes are generic for Android - so for instance a Google device or other devices running the Stock version of Android.
      Whilst some will work on other devices running a manufacturer version of Android, it's a hit or a miss as to what works.

      You can try searching for Samsung specific codes, though again it is not 100% certain that all of them will work. (some may be specific for the Galaxy range, or may change for different years).

      You can download apps from the Google play store that aggregate these settings to a helpful UI.

      Peace 🖖

    • 1
      Justin Sep 29, 2021 Link to comment

      I don't think any of these codes work for anything

  • 1
    Tarek Khaled Apr 6, 2019 Link to comment

    How can i type the code without having the dialer (SUMSUNG Note)

    • Mark G. 28
      Mark G. Jul 17, 2019 Link to comment

      How do you make telephone calls?

      If you can't access the Mobile network or make telephone calls then it won't be possible.

      Peace 🖖

      • 49
        storm Dec 27, 2019 Link to comment

        On Huawei tablets, using these codes in the supplied calculator in Landscape orientation would work the same. I think that's specific to Huawei though. Replace # with parentheses as I recall.

    • 13
      Pat Sep 1, 2020 Link to comment

      I'm sure I'm missing something, but I'm not sure what you mean by not having the dialer. I've had several Note's and have the Note 9 now, and they have all had dialers. It's a phone.

  • Sravani Namburi 10
    Sravani Namburi Nov 19, 2018 Link to comment

    Hi this information helped me a lot nice article

    Mike Nelson

  • 1
    sravan kumar Oct 30, 2018 Link to comment

    max codes not working on mi a1 oreo 8.1 Version mobile

  • The Nib Post 1
    The Nib Post Aug 24, 2018 Link to comment

    thanks for updating these codes i found very useful

  • 2
    Mister Tall Feb 1, 2018 Link to comment

    Sophia, did you even test any of these codes on a phone before publishing, most of them are copied from one website to another ad nauseum and don't actually work... Does androidPit just publish anything as click bait without checking?

    JustinTenente Zureta

    • Jerry's W. 20
      Jerry's W. Aug 28, 2018 Link to comment

      yes they do

    • Mark G. 28
      Mark G. Jul 17, 2019 Link to comment

      These codes are specific to Stock Android, they may work on manufacturer altered versions of Android though it's not guaranteed.

      Peace 🖖

  • Mick Flynn 2
    Mick Flynn Jan 21, 2018 Link to comment

    I tried one of these codes in 2015, it's 2018 now and I have only just arrived back in time again after the code allowed me to travel forward in time to 2023. Luckily I was able to enter the same code into my Trump z5s tablet and it worked fine. Treat these codes with caution.

    JustinJohn Martin

  • 7
    z b Dec 28, 2016 Link to comment

    *#0*# works on Note 2, and Note 4.

  • Diptangshu M. 15
    Diptangshu M. Dec 27, 2016 Link to comment

    Just what I was searching for a long long time!

  • 6
    Mansoor Bozdar Dec 27, 2016 Link to comment

    wow! it is really good . but in backup code work when i have a backup of my data.

  • 2
    john p Sep 22, 2016 Link to comment

    Can someone PLEASE tell me the dialer code to remove the carrier picture that shows when you 1st boot the phone. There is one I found it once but am having a hard time finding it again.. It did work too i just need it again for my replacement phone now.

  • Jeffrey Smith 2
    Jeffrey Smith Sep 5, 2016 Link to comment

    Is there any codes for a nobis nb09 android tablet or any that will work on it please help me and let me know


    • M. A. Griesser 6
      M. A. Griesser Dec 28, 2016 Link to comment

      You're joking right? What a funny guy! Nobis, Ha! I didn't even see Samsung. There was HTC and Motorola. That's it. I've never even heard of nobis and you're looking for a hidden code for an obscure tablet hahahahahahahahahahahahahahahahahahahaha hhahahahahahahahahahahaha hhahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahaha hahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahaha .

      Thanks man I needed that.

      Jessica WagnerzdhikirSorin

      • 2
        Letit Rain Apr 10, 2017 Link to comment

        You're so very helpful. Quite the troll. Thanks for being a doosh and confirming my belief that the internet is simply filled with idiots who have nothing to contribute besides being an anonymous jerk.

        John A

      • 1
        Calbertrick Sep 10, 2018 Link to comment

        Laugh now, cry later...the next time you unzip, I imagine. It's a legitimate question and if you can't be any help, quit wasting oxygen and PLEASE don't reproduce.

      • 2
        Mel Agee Jul 24, 2022 Link to comment

        "D•o•u•c•h•e" by the way just saying. Just thought in the future you might want to know how to spell it before calling people idiots. Just saying.

        Jessica WagnerM. A. Griesser

      • M. A. Griesser 6
        M. A. Griesser Oct 24, 2022 Link to comment

        Anonymous jerk? That's my name and picture. That's the exact opposite of anonymous. As far as jerk? I was pleasant, polite, I even thanked him. I still think his question is hilarious. It's just so quaint and cute and naive. It compelled me to leave my comment. All the responders to me are the jerks. Honestly my intent was to help the guy. I thought maybe next time he might do a bit of critical thinking, look at who's writing the article, look at how broad it is, is there any real technical experts here, what type of comments are being left by others, maybe I ought to try googling my device make and model first then go from there.

        Jessica Wagner

  • ツツツツ 1
    ツツツツ Jul 14, 2016 Link to comment

    This does not work with Verizon HTC Phones! :-(

  • 2
    balajikasinathan Dec 1, 2015 Link to comment

    no code working on my phone model uber avvio794q or mx8562

  • 2
    balajikasinathan Dec 1, 2015 Link to comment

    i have uber avvio794q model mobile all not working ,it showing task locked ,kindly provide any code to complete reset.

  • 2
    Bee Aug 28, 2015 Link to comment

    I tried 6 or 8 of these. None of them did anything. Galaxy Note 4.


    • 24
      Deactivated Account Dec 27, 2016 Link to comment

      Some carriers block some/all of these codes.

    • 1
      Crystal Traner Oct 25, 2018 Link to comment have many useful codes

  • 1
    William Diorio Aug 27, 2015 Link to comment

    Does anyone know how to enable Download booster on Samsung Note 4? I confirmed it should have it but cannot find it anywhere. I already enabled Developer Options but still no luck. Thanks!

    • Chad_Higgins 15
      Chad_Higgins Sep 15, 2015 Link to comment

      If u have a Sprint phone. They took it off. No download booster

  • 5
    radiocycle Aug 26, 2015 Link to comment

    *#*# doesn't do anything on MY HTC M8 :(


  • Barry Dugger 4
    Barry Dugger Jun 11, 2015 Link to comment

    I use *#9900# to delete log files.
    This helps clear out memory, especially when a phone says "not enough memory" after an update.

    tom burk

    • 2
      tom burk Sep 16, 2015 Link to comment

      works for note 3 phone thanks Barry

  • Chad_Higgins 15
    Chad_Higgins May 25, 2015 Link to comment

    will i go back to kit kat if i do the complete phone wipe?

  • 8
    Chris M. May 25, 2015 Link to comment

    Any way to do this on a non-phone tablet? I The VoIP keyboard doesn't work (in spite of a small prayer).

  • 3
    Amir Khan May 22, 2015 Link to comment

    but some code not work...

  • My1 37
    My1 May 22, 2015 Link to comment

    the code for Samsung screen (and other things) test is *#0*#. tested on Note 3

    lindakElfyntom burkAn Droid

  • 3
    Amir Khan May 22, 2015 Link to comment

    All code is not working my Galaxy s3 neo...


  • 7
    donald elmore May 22, 2015 Link to comment

    does anyone have the codes for Motorola MOTO G

    Mehul PanditaChris M.

  • 7
    Martin Neal Burgess May 22, 2015 Link to comment

    Forgot to tick the box ... doh!

  • 7
    Martin Neal Burgess May 22, 2015 Link to comment

    I would like to know also, maybe it will take me back so i can start using the SD card like before !!

  • 8
    Jack Shaw May 21, 2015 Link to comment

    It appears U. S. Cellular does not want me to learn about my GS5. None of the codes work in any fashion. I was able to access the codes on my GS4.


  • 7
    Wallambok K D. May 21, 2015 Link to comment

    Codes for Moto G2, anybody?

    Mehul Pandita

  • Cameron N. 6
    Cameron N. May 21, 2015 Link to comment

    None Of THese Codes Work On ZTE 667T [Tmobile] The Kernel Requires Password To Access These Features.

  • 2
    djedred1 May 21, 2015 Link to comment

    none of the codes will work on Verizon. Is this the case?

  • 1
    Jesenko Plecic May 21, 2015 Link to comment

    You'd prolly have to recover it after a complete wipe, if you do not know how do not play with this feature

  • 2
    Dimitris Zandes May 20, 2015 Link to comment

    With this, (*2767*3855# - Complete phone wipe, including firmware (not to be used lightly!)), does the phone reset to its first version of the OS or after that you dont have any software at all??


    • Carmelo Rivera 20
      Carmelo Rivera May 21, 2015 Link to comment

      Good question. If you don't mind, I'm gonna just write this and if you get a reply I'll know too. Thanks.

Write new comment:
All changes will be saved. No drafts are saved when editing