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

Apr 02, 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.

Important: HTC secret codes may help you open diagnostic menus or view device information, but they normally do not remove a carrier lock. If your phone is restricted to one network, you usually need an official carrier process or a guided online solution such as Dr.Fone SIM Unlock.

Part 2: How to Unlock HTC Phone Online

If your HTC phone is locked to one carrier, secret dialer codes will not usually remove that restriction. In most cases, the practical options are either contacting the original carrier or using an online SIM unlock workflow that lets you submit the required device information directly.

Dr.Fone SIM Unlock provides a more guided way to handle this process for supported carriers. Instead of depending on random unlock-code websites, you can check the required details first, submit your unlock request online, and follow a more structured carrier unlock path.

submit HTC SIM unlock request

Before you start: Make sure your IMEI number, country, and carrier information are correct. These details are important for the unlock request to be processed properly.

Here is the general process:

  1. Open the official Dr.Fone SIM Unlock page.
  2. Select the country and carrier linked to your HTC device.
  3. Enter your device IMEI and review the submitted information carefully.
  4. Send the unlock request online and wait for the result or status update.

This method is more suitable for users who want a clearer and more modern workflow to switch carriers without relying only on scattered code sellers. It can also be a better fit if the phone works normally but refuses another SIM because of carrier restrictions.

What Is an HTC Network Unlock Code?

An HTC network unlock code is a code linked to the device IMEI and used to remove the carrier restriction on a phone. However, users searching for HTC unlock code free should know that not every device follows the same unlock path now. Depending on the carrier and region, the process may involve an online unlock request rather than simply buying a code from a third-party site.

That is why many users now prefer a guided option like Dr.Fone SIM Unlock, which better matches the full request-and-confirm workflow.

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 unlock option after eligibility requirements are met, but many users now complete the process through an online request workflow instead of relying on so-called free code generators. If your device is supported, you can try Dr.Fone SIM Unlock to submit the unlock request with your device details.
To unlock an HTC phone from a carrier, first confirm that the issue is a network restriction rather than a screen lock. Then prepare your IMEI, country, and original carrier information, and either contact the carrier directly or use an online solution such as Dr.Fone SIM Unlock for supported devices and carriers.
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