How to Unlock your Huawei Modem by Yourself

It's quite a common practice for many carriers across the globe to lock devices they sell to just their networks. The usual victim of this tends to be modems though feature phones and smartphones have also similarly faced such measures, albeit less in the recent past, perhaps due to the proliferation of multi-sim devices. Carriers can justify this measure on grounds of selling such devices at a discount, on contract or simply, and more often than not, on the basis of just competition.

With such temporal reasons, unlocking network locked devices proves to be inevitable at some point. After all, as consumers our instincts drive us to where the best value for our money is guaranteed. If the network to which the device is locked to can't offer that at some point in time by virtue of being an evolving business, it makes little sense why one shouldn't shift to better offerings. Unlocking your device opens the door to such a possibility.

It's no wonder that unlocking modems as well as phones has become a most sought after service. As a matter of fact, it's big business now considering the countless premium online services that charge to have devices, smartphones included, unlocked from a particular carrier.

Ideally, as I've read somewhere, carriers may be obliged to unlock your device for a fee (a hefty one usually) or, for free if you are not under any contract with them or if the device warranty has expired. But as we know, while this may hold true for some few markets (US), generally speaking it's an unheard of practice in most countries. As such you're forced to employ either one of those aforementioned premium online services or to just do it yourself.

In this post, I will detail how you can unlock various (not all) Huawei modems on your known at the cheap price of free. However, this might not work for everyone, especially so if you're using the more recent models.



How the Unlocking Works

Before we get to the tools it's necessary you understand how the unlocking is done. The principle is quite simple:

When you insert a SIM card of a different carrier in a Huawei modem, the dongle software/ dashboard that you connect with will reject it and prompt you to enter an Unlock Code. The unlock code, sometimes called the NCK Code, is an 8-digit code computed from the modem's unique International Mobile Equipment Identity (IMEI) number. That is to mean, the unlock code for one modem is going to be different from another even if they're of the same model.

If you supply the correct unlock code, the modem will be unlocked automatically from the original carrier's network and will accept the inserted SIM card. Typically, in Huawei modems you get 10 unlock attempts which are more than enough should you insert a wrong code. If you exhaust the 10 attempts, you can reset the counter. More on this later.
huawei modem
A Huawei Modem


Unlocking Your Huawei Modem

There are some few tools out there that I've used in the past to unlock some of my modems. All of them use the same principle as explained above: provide the modem's IMEI number and they'll compute the unlock code for you. Some of them will also calculate a Flash Code which you will need should you wish to flash a firmware update onto the modem.


A. Getting Started

1. I've uploaded all the tools in my disposal in one ZIP package that you can find here.

NOTE: I do not own any of these tools. All these are available for free online if you look in the right places.  Also, these are just for Windows PCs. You may have to install .Net framework for some to work if you’re using Windows XP.

2. Extract the package and you'll find four tools there:
  • Universal MasterCode
  • Universal Advance Unlocker
  • Huawei Modem Unlocker 5.8.1
  • Huawei Tool v2.4.3/2.4.2 (Homepage) [requires .NET Framework v2.0 on Windows XP or older]
All of them are portable with the exception of Universal Advance Unlocker which you'll have to install first.


B. Calculating the Unlock Code

Older Huawei Models

Universal MasterCode and Universal Advance Unlocker are the only ones that list the Huawei models they support so use those first. The two others also have wide support, it just that they don't explicitly mention the models.

Some of the models supported by these two include:

E155 E156 E156G E1550 E1552 E156G
E160 E160G E161 E166 E169 E169G
E170 E172 E176 E1762
E180 E182E
E196
E226 E270 E271 E272
E510
E612 E618 E630 E620 E630+ E660 E660a
E800 E870 E880
EG161 EG162 EG162 EG162G EG602 EG602G 
VODAFONE K2540, K3515, K3520, K3565, K3520, K3565, K3715

Note:
  • For E220 use Universal Advance Unlocker or;
  • For E153, E173 & E220 use Huawei Tool v2.4.3 (explained later)
  • the model number and IMEI are usually printed on the modem

i. Universal MasterCode & Universal Advance Unlocker
1. When you run any of these two, switch first to the Huawei tab then select your Huawei model from the list in Universal Advance Unlocker or check the Huawei Supported in the case of Universal MasterCode.
mastercode
Universal Mastercode

2. Enter the modem's IMEI code and hit the calculate button to get the 8-digit Unlock code/NCK code.



C. Entering the Unlock Code

After you get the code this is how you use it:

1. Exit the unlocking software and then plug your modem with a SIM card from another operator.

2. Run the Dongle Software/Dashboard that you connect with and when prompted for an unlock code, enter the 8-digit code that you got in the previous section.
unlock code
Enter Unlock Code

If you don't have the dongle software/dashboard that shipped with the modem or if it doesn't prompt you for an unlock code, you can use Huawei's Mobile Partner which you can get here. If not, use the other tools as outlined below.

ii. Huawei Modem Unlocker 5.8.1 & Huawei Tool v2.4.3
These two will do both code calculation and the unlocking.

1. Make sure to first exit the dongle software/dashboard before using any of these if it runs automatically after inserting the modem. This because they need to communicate to the modem and this can't be done simultaneously.

2. Connect to the modem by refreshing and selecting it from the list.
Huawei modem unlocker
Connected to a Locked Modem
If it doesn't connect automatically you can do it manually by selecting the COM number (in Huawei Tool v2.4.2) which can be found in the Device Manager. Just look for Huawei Mobile Connect - 3G PC UI Interface (COMx) under Ports (COM &LPT, where x is the number.
com number
Finding the COM Number

Note: For Huawei E153, E173 & E220 use Huawei Tool v2.4.3. Click the Help and More button and specify the exact model from there before calculating the code.
specific models
Specify Model

3. Once it connects, calculate the unlock code. If it's similar to what you got in the other tools just proceed to unlock/send unlock code.
huawei unlock tool
Send Unlock Code

If your modem doesn't unlock with one unlock code don't try again as you'll be wasting the unlock attempts.
unlocked
An Unlocked E160



Newer Huawei Models

If you're using one of the newer Huawei modems (not listed above), the above tools will simply not work. I'm yet to find a free offline tool that does the unlocking for these modems, but there is this free online calculator which happens to support both old and newer Huawei modem models. I've successfully managed to unlock a Huawei E3131 using this site so it's definitely worth giving a try. The site has three algrothims (v1 (old) v2 & v3 (newer) to calculate codes for Huawei modems, so make sure to try all of them should one fail.

As of this writing, the calculator claims support for the following Huawei models:

E155 E156 E156C E156G E158
E160 E160E E160G E161 E166 E166G E169 E169G
E170 E170G E171 E172 E172G E173 E176 E177
E180 E180G E180S E181 E182 E182E E188
E196
E216 E219 E220
E226 E22X E230 E270 E271 E272
E303 E352 E353 E355 E357 E367 E368 E369 E372 E392 E397 E398
E612 E618 E620 E630 E630+ E660 E660A
E800 E870 E880
E968
E1550 E1551 E1552 E1553 E155X E156X
E1609 E1612 E1615 E1616 E1630 E1632 E1690 E1692
E1731 E1780 E1762
E1820 E1823 E1831 E1800 E1803
E2010
E3131
S4011
K3517 K3520 K3710
EG162 EG602 EG602G EG162G
EM770
UMG181
HiLink

Once you get your code, use as explained above to enter the unlock code.

If this doesn't work either, you can always try using a premium unlocking service. Be wary of fraudsters though; there are plenty of these premium online unlocking sites claiming to unlock phones and modems at a fee; some are legitimate others are just plain scams.


D. Resetting Unlock Attempts

If you've exhausted your 10 unlock attempts, connect the device to Huawei Unlock Tool 2.4.3 as explained above then click on the reset counter button.

reser counter
Reset Unlock Attempts

You can also reset the modem using Huawei Modem Unlocker 5.8.1 which will also reset the unlock attempts. Resetting the modem in my case (a Huawei E160) disables the Voice feature (how to enable voice?) but did not re-lock the modem.

Tell us if it works for you. Good luck!



3 comments

Hello. I have a Huawei B190 modem from the operator 3, Austria. Do you know which code (flash code or old v1 or v2 or v3 (sometimes called v201)) has to be used to unlock it. The IMEI series starts with 35** (15 digits). Thanks.

Reply

Hello. Sadly i don't know the code. Have you tried the site I've linked to in the post? It has those algorithms though I can't find your modem in the supported list.

Reply

Anytime i open the tool i get error: unhandled exception occurred

Reply

Leave your comment below. Spammers are advised to file a missing comment report in not less than a weeks time.