drfone logo
Dr.Fone - Unlock & Repair

Clean iPhone storage & block apps

Dr.Fone - Data Recovery

Recover deleted or lost Android data

HTC Unlock Secret Codes and SIM Unlocking

Alice MJ

Mar 31, 2026 • Filed to: Mobile Tips & Tactics • Proven solutions

Dr.Fone Basic:
Better Control for Your Phone

Manage, transfer, back up, restore, and mirror your device

Free

Many HTC smartphones include hidden dialer commands known as HTC secret codes. These codes allow users to access advanced features, run diagnostic tests, and view system information directly from the phone dialer.

Some HTC users also search for ways to get an HTC unlock code free or learn how to unlock HTC phone network restrictions. While secret codes can reveal hidden settings, SIM unlocking usually requires an official HTC network unlock code provided by a carrier or unlocking service.

This guide explains the most useful HTC secret codes, how they work, and the safest way to perform an HTC SIM unlock if your device is locked to a carrier.

Part 1: HTC Secret Codes for Hidden Features and Diagnostics

There are two main types of HTC dialer commands: general Android codes and HTC-specific secret codes.

These codes help users access system information, run hardware tests, and troubleshoot device issues. Many users searching for HTC codes or codes HTC use them to diagnose device problems or explore hidden system features.

General Codes

You can use these general codes on any Android devices regardless of their manufacturer, model or make.

Description Code
Testing menu *#*#4636#*#*
Display info about device *#*#4636#*#*
Restore factory settings *#*#7780#*#*
Camera information *#*#34971539#*#*
Short GPS test *#*#1472365#*#*
Service activity test mode *#*#197328640#*#*
Wi-Fi Mac address *#*#232338#*#*
Vibration and backlight test *#*#0842#*#*
Check touch screen version *#*#2663#*#*
LCD test *#*#0*#*#*
Touch screen test *#*#2664#*#*
Proximity sensor test *#*#0588#*#*
RAM information *#*#3264#*#*
Bluetooth test *#*#232331#*#*
Enables voice dialling logging mode *#*#8351#*#*
Disables voice dialling logging mode *#*#8350#*#*
Remove Google account setting *#*#7780#*#*
Reinstall the firmware *2767*3855#
Used to enter into Service mode *#*#197328640#*#*
USB 12C mode control *#7284#
USB logging control *#872564#
Debug dump menu *#746#
System dump mode *#9900#
Execute from Emergency dial screen to unlock PUK code **05***#

HTC Secret Codes

Here are some (not so secret anymore) HTC secret codes that you can use on any of your HTC devices.

Description Code
Device information program #*#4636#*#*
Field test *#*#7262626#*#*
HTC function test program *#*#3424#*#*
Display software information *#*#1111#*#*
Display hardware version *#*#2222#*#*
Wi-Fi Mac address *#*#232338#*#*
Bluetooth Mac address *#*#232337#*#
GPS Test *#*#1472365#*#*
GPS Test 2 *#*#1575#*#*
Bluetooth test *#*#232331#*#*
Display test *#*#0*#*#*
Touch Screen version *#*#2663#*#*
Touch Screen Test *#*#2664#*#*
Debug UI #*#759#*#*
Factory format *2767*3855#

Do take note that the list of HTC phone codes above is not exhaustive and they are probably more lurking around the interwebs. Before you use them, I would like to caution you about the possible harm that they may cause your device; make sure that you take all the necessary precautions (like backing up your htc phone) before you dial any codes.

Tips: Need an AT&T unlock for your phone? With Dr.Fone Online SIM Unlock, you can easily perform an AT&T device unlock completely online—no PC, no software installation required. It supports all AT&T-locked phones across brands and models, allowing you to unlock your AT&T device in minutes and use any SIM card or network worldwide, even directly from your mobile browser.

  • Fully online AT&T unlock: Unlock your AT&T device anytime without downloading software.
  • All brands supported: Works with Samsung, Google Pixel, Motorola, OnePlus, and more.
  • Use any carrier: After unlocking, switch to any SIM card or mobile network globally.
  • Mobile-friendly: Perform the AT&T unlock directly from your phone or tablet.

Unlock your AT&T phone instantly and enjoy the freedom to choose any carrier.

safe Downloadsafe & secure

Part 2: How to Unlock HTC Phone Using HTC Network Unlock Code

From the big list of HTC secret codes above, you may notice that there is no code to SIM unlock your HTC device being listed---this is perhaps because there is none.

So what should you do if you are upset with your mobile network provider's service but your contract with them is still active and you are not willing to pay them an exorbitant amount to exit their bad service?

The best and easiest way to perform a SIM unlock procedure on your HTC device (or on any device, for that matter) is to use a paid SIM unlock service that will give you the unlocking codes you would need to free yourself from the evil clutches of your mobile network provider. There are many companies that are offering this service---one of the best solutions is Dr.Fone – SIM Unlock Service.

Dr.Fone - SIM Unlock Service is a SIM unlock service operated by the team at Wondershare so you know that they will give you excellent service. Users can use this service on more than 1,000 devices on more than 100 mobile network providers around the globe. Unlike some service providers, the team that is in charge of Dr.Fone - SIM Unlock Service will ensure that once unlock, your device will remain unlocked permanently; this means you will be able to continue updating your device's software regardless of the mobile network provider you are currently using. Most importantly, the method they use does not violate your device's warranty. These reasons show that it is an ideal service provider.

style arrow up

SIM Unlock Service (HTC Unlocker)

Unlock your phone in 3 simple steps!

  • Fast, safe and permanent.
  • 1000+ phones supported, 100+ network providers supported.
  • 60+ countries supported.

With Dr.Fone - SIM Unlock Service, all you need is do three things to get your device unlocked:

    1. Firstly, go to Sim Unlock Service official website and click on Unlock Your Phone.

unlock htc phone

    1. Among all the supported smartphone brands, select HTC.

drfone

    1. Select the make and model of your device (in this case HTC) as well as the country and mobile network provider that your device is tagged to. The system will automatically show you the price you need to pay; it varies according to the information you have provided (note: remember to input the correct information because even though the make and model may be the same, the "lock" is unique to the country and mobile network service provider). Additionally, the guaranteed delivery time of the instructions and unlocking code varies according to the country and mobile network provider; everything will be made transparent to you when you are completing the request form. If you need them faster, you can opt for that too.

drfone

  1. Once payment is confirmed, your request will be processed and the Dr.Fone - SIM Unlock Service team will send you an email.
  2. Follow the step-by-step instructions and use the code delivered by the email to ensure the success of the SIM Unlock process. 

What Is an HTC Network Unlock Code?

An HTC network unlock code is a unique code generated using your device IMEI number. Entering this code removes the carrier restriction and allows the phone to work with SIM cards from other mobile networks.

Users often search for HTC unlock code free solutions online, but most legitimate unlock codes are generated by official carriers or trusted unlocking services.

Once the correct unlock code is entered, the phone becomes permanently unlocked and can be used with different SIM cards worldwide.

SIM Unlocking can be performed on any mobile device and now that you know that you can do so by yourself, you do not need to worry about any exorbitant fees by your mobile carrier. While there are many benefits of HTC phone codes, you also need to know that there are some disadvantages that come with unlocking your device.

Do share this with your family and friends so that they can equip themselves with the same knowledge.

FAQs

An HTC unlock code is a unique code generated from your phone’s IMEI number. Entering the code removes the carrier restriction so the device can work with other mobile networks.
Some carriers may provide an HTC unlock code free after contract completion. Otherwise, third-party unlock services can generate the correct network unlock code.
To unlock an HTC phone, obtain a network unlock code using the device IMEI number. Insert a different SIM card and enter the code when prompted to remove the carrier lock.
HTC secret codes are dialer commands that allow users to access hidden diagnostic menus, system information, and hardware tests on HTC smartphones.

Dr.Fone Basic:
Better Control for Your Phone

Manage, transfer, back up, restore, and mirror your device

Free
Alice MJ

Alice MJ

staff Editor

Home > How-to > Mobile Tips & Tactics > HTC Unlock Secret Codes and SIM Unlocking