HTC: Secret Codes and Tricks for All Vintage Models — Complete Guide 2026

This is the definitive guide to HTC secret codes for vintage phones. HTC — the Taiwanese company founded in 1997 — was a pioneer of touchscreen smartphones in Europe, producing the first Windows Mobile devices and then the first reference Android handsets. The HTC code system is divided into two families: Android codes (*#*#XXXX#*#*) for Desire, Wildfire, Legend and later models, and Windows Mobile codes (*#XXXX#) for Touch Diamond, Touch Pro, HD2 and similar. This guide covers both families with all verified codes.


How the HTC Code System Works — Read First

Android models (Desire, Wildfire, Legend, Sensation, One):

  • Format *#*#XXXX#*#* — type directly on the dialpad, code executes automatically without pressing Call

Windows Mobile models (Touch Diamond, Touch Pro, HD2, Touch HD):

  • Format *#XXXX# — press OK/Call to confirm
  • Format ##XXXX# — EPST codes for CDMA operators (less common in Europe)

Important: *#*#XXXX#*#* codes work only on Android. For Windows Mobile models use *#XXXX# codes.


HTC Android Codes — Full Verified List

Code Function
*#06# Display IMEI code
*#*#4636#*#* Info menu — phone info, battery, WiFi, usage statistics
*#*#3424#*#* HTC diagnostic test program (DIAG) — full hardware test
*#*#7262626#*#* Field test network — real-time GSM/3G parameters
*#*#8255#*#* GTalk Service Monitor
*#*#2222#*#* Hardware version
*#*#1111#*#* FTA software version
*#*#3264#*#* RAM version
*#*#2637643#*#* HTC Service Menu
*#*#232338#*#* WiFi MAC address
*#*#232337#*#* Bluetooth MAC address
*#*#34971539#*#* Camera information — firmware version, update counter
*#*#7780#*#* Soft reset — reset settings without deleting personal data
*2767*3855# Hard reset — delete all data ⚠️
*#*#197328640#*#* Service activity test mode
*#*#2664#*#* Touchscreen test
*#*#0588#*#* Proximity sensor test
*#*#273283*255*663282*#*#* Quick backup of media files
*#*#7594#*#* Change end call/power button action
*#*#8351#*#* Enable voice dialling log
*#*#4772579#*#* GPS reset

Most Important Code: *#*#4636#*#* — HTC Info Menu

This is the most useful and complete code on HTC Android devices. It opens a menu with four sections:

1. Phone information:

  • Phone number (MSISDN)
  • Device IMEI
  • Software version
  • Current radio band
  • SIM status
  • IMEI status
  • Network type (GSM/WCDMA/LTE)
  • Signal strength in dBm
  • Ability to manually change the preferred network type

2. Usage statistics:

  • Usage time of every application
  • Last time each app was used

3. WiFi information:

  • WiFi MAC address
  • Connection status
  • Frequency
  • Connection speed

4. Battery information:

  • Charge level in percentage
  • Real voltage in mV
  • Battery temperature in °C
  • Battery technology (Li-ion/Li-pol)
  • Charge status (charging/discharging/full)
  • Charge source (USB/AC/wireless)

How to change network type from *#*#4636#*#*: in the "Phone information" section there's a dropdown "Set preferred network type". You can force the phone to GSM only mode (battery saving), WCDMA only (pure 3G) or set to automatic. Useful for solving connectivity problems.


The *#*#3424#*#* Code — HTC Diagnostic Test Program

This code opens the HTC diagnostic test program (identified by the abbreviation DIAG — 3424 corresponds to the letters D-I-A-G on the keypad). It allows testing:

  • Display (pixel test, colours)
  • Touchscreen (touch precision)
  • Physical buttons/keys
  • Microphone
  • Speaker and earpiece
  • Vibrator
  • LED
  • Brightness sensor
  • Proximity sensor
  • Accelerometer/gyroscope
  • Camera (front and rear)
  • WiFi
  • Bluetooth
  • GPS

How to use the test: select "Auto" mode to run all tests automatically, or "Manual" to choose which tests to run individually.


Windows Mobile HTC Codes — Touch Diamond, Touch Pro, HD2

For Windows Mobile models, the codes are different:

Code Function
*#06# Display IMEI
*#0011# Service menu
*#0228# Battery Status
*#0283# Receiver Packet loopback
*#0782# RTC Time Read
*#147852# Alternative service menu

HTC Touch Diamond — Full Secret Codes

The HTC Touch Diamond (2008) was HTC's first premium touchscreen smartphone — iconic diamond-pattern back, TouchFLO 3D, Windows Mobile 6.1. Direct competitor to the original iPhone in 2008.

IMEI: *#06#

System: Windows Mobile 6.1

Service menu: *#0011#

Battery Status: *#0228#

Touch Diamond network unlock: The Touch Diamond was frequently locked to European operators (T-Mobile, Vodafone, Orange). Unlock procedure:

  1. Insert non-accepted SIM
  2. Switch phone on
  3. Code entry screen appears
  4. Enter 8-digit NCK code

Collector note Touch Diamond: The diamond-pattern back was CNC-milled — an HTC patent. The TouchFLO 3D system was the first fluid touchscreen launcher on the European market, surpassing even the iPhone for some functions (copy/paste, MMS, third-party apps).

👉 View HTC Touch Diamond available at Infosate


HTC HD2 — Full Secret Codes

The HTC HD2 (2009, codename "Leo") is arguably the most legendary phone in HTC history — 4.7-inch WVGA display, 1GHz Snapdragon processor. Officially runs Windows Mobile 6.5 and unofficially: Windows Phone, Android, Firefox OS, MeeGo, Ubuntu. That's 7 operating systems — a world record never broken.

IMEI: *#06#

System: Windows Mobile 6.5

Service menu: *#0011#

Battery Status: *#0228#

Receiver loopback: *#0283#

HD2 network unlock:

  1. Insert non-accepted SIM
  2. Switch on → unlock code request appears
  3. Enter NCK code

Collector note HD2: The HD2 is the only phone in history to have run 7 different operating systems — a record still unbroken today. The Qualcomm Snapdragon QSD8250 processor was so advanced for its time that the XDA community installed Android on it years after release. A working unit with Android installed is worth considerably more than one with original Windows Mobile.

👉 View HTC HD2 available at Infosate


HTC Touch Pro and Touch Pro 2 — Secret Codes

The HTC Touch Pro (2008) and Touch Pro 2 (2009) were HTC's business smartphones — sliding QWERTY keyboard, Windows Mobile, WVGA display.

IMEI: *#06# | System: Windows Mobile 6.1/6.5

Service menu: *#0011# | Battery Status: *#0228#

Network unlock: Non-accepted SIM → switch on → enter NCK code


HTC Touch HD — Secret Codes

The HTC Touch HD (2008, codename "Blackstone") was the first HTC with a 3.8-inch 800×480 display — double the resolution of other phones at the time. 5 megapixel camera.

IMEI: *#06# | System: Windows Mobile 6.1

Service menu: *#0011# | Battery Status: *#0228#

Network unlock: Non-accepted SIM → NCK

👉 View HTC Touch HD available at Infosate


HTC Desire — Full Secret Codes

The HTC Desire (2010) was HTC's first major Android success — the phone that directly challenged the Samsung Galaxy S. 1GHz Snapdragon processor, Android 2.1, 3.7-inch AMOLED display.

IMEI: *#06#

System: Android 2.1 (upgradeable to 2.3)

Info menu: *#*#4636#*#*

Diagnostic test: *#*#3424#*#*

Field test network: *#*#7262626#*#*

WiFi MAC: *#*#232338#*#*

Bluetooth MAC: *#*#232337#*#*

Camera info: *#*#34971539#*#*

Soft reset: *#*#7780#*#*

Hard reset: *2767*3855# ⚠️

Touchscreen test: *#*#2664#*#*

GPS reset: *#*#4772579#*#*

Desire network unlock:

  1. Insert non-accepted SIM
  2. Switch on → unlock code request appears
  3. Enter NCK code

Collector note Desire: The Desire convinced millions of Nokia/Sony Ericsson users to switch to Android. The XDA community developed custom ROMs for years. With CyanogenMod (now LineageOS) installed, the Desire still works as a backup phone today.

👉 View HTC Desire available at Infosate


HTC Wildfire and Legend — Secret Codes

The HTC Wildfire (2010) was HTC's entry-level Android — small, affordable, Sense UI. The Legend was the mid-range with aluminium unibody casing.

System: Android 2.1

IMEI: *#06# | Info menu: *#*#4636#*#* | Diagnostic: *#*#3424#*#*

WiFi MAC: *#*#232338#*#* | Soft reset: *#*#7780#*#* | Hard reset: *2767*3855# ⚠️


HTC Network Unlock — General Procedure

The procedure is common to almost all HTC models:

For Android models:

  1. Insert non-accepted SIM
  2. Switch the phone on
  3. "SIM network unlock PIN" or similar appears
  4. Enter the 8-digit NCK code
  5. Press OK

For Windows Mobile models:

  1. Insert non-accepted SIM
  2. Switch the phone on
  3. "SIM Locked" or "Enter Network Unlock Code" appears
  4. Enter the NCK code
  5. Press OK/Enter

How to get the HTC NCK code: the code is calculated from the IMEI using the HTC algorithm. No universal code exists. Available from online unlocking services by providing the IMEI and original operator.


Universal GSM Codes — Valid for All HTC GSM

PIN and PUK management:

  • Change PIN: **04*[old]*[new]*[new]#
  • Change PIN2: **042*[old]*[new]*[new]#
  • Unlock with PUK: **05*[PUK]*[new PIN]*[new PIN]#

Call forwarding:

Code Function
##002# Cancel all call forwarding
##004# Cancel conditional forwarding
*#21# Check unconditional forwarding
*#61# Check "no answer" forwarding
*#62# Check "not reachable" forwarding
*#67# Check "busy" forwarding
**21*[number]# Activate unconditional forwarding

Call barring (default password 0000):

  • *33*(password)# → bar outgoing calls
  • *353*(password)# → bar incoming calls
  • *43# / #43# → activate/deactivate call waiting

Frequently Asked Questions

Why doesn't *#*#4636#*#* work on my HTC? This code only works on HTC with Android. If your HTC runs Windows Mobile (Touch Diamond, Touch Pro, HD2), use the *#XXXX# codes specific to Windows Mobile instead.

Can the HD2 really run Android? Yes — the XDA community ported Android to the HD2 starting in 2010. The Snapdragon processor was compatible with Android and the community developed working ports up to Android 4.x. It holds the record for the most operating systems ever run on a single phone (7).

How do I verify which operating system my HTC runs? Go to Settings → About phone → Software information. If you see "Windows Mobile" or "Windows Phone" it's WM. If you see "Android X.X" it's Android. The codes to use are different.

What exactly does *#*#7780#*#* (soft reset) do? It removes Google account settings, system and application settings, but does NOT delete personal data (contacts, photos, music on SD card). It's different from the hard reset (*2767*3855#) which erases everything.

What's the difference between *#*#4636#*#* and *#*#3424#*#*? *#*#4636#*#* = information menu — shows data about phone, battery, WiFi (reading/viewing). *#*#3424#*#* = diagnostic test program — actively tests hardware components (action/testing).


Original Vintage HTC at Infosate

At Infosate you'll find a selection of original vintage HTC phones — Touch Diamond, HD2, Touch Pro, Desire and other iconic models that made smartphone history, all verified before shipping.

👉 Explore the HTC collection at Infosate

Back to blog