How to Bypass DATALOCK Code While Updating Firmware of Huawei Algo V4 Modem

In our previous posts, we have shared different knowledge base articles in which you have learnt how to restore your bricked Huawei modems and make them functional . We here just want to give you its overview to refresh your technical knowledge:

How to Get Datalock Code for Huawei Algo V4 Modems

How to Rewrite or Repair IMEI of Huawei Algo V4 Internet Devices

How to Rewrite or Repair Serial # of Huawei Algo V4 Internet Devices

How to Reset Unlock Counter of Huawei Modems

How to Unlock Permanently Locked Huawei E5330 with Firmware

Okay, now lets proceed to the next article how to bypass DATALOCK Code.

Huawei-firmware-updater-datalock-code-Why the need to bypass DATALOCK Code arise?

It’s need arise because unfortunately, uptill now there is no method available for direct datalock code calculation from IMEI. And majority of the latest firmware versions of Huawei Algo V4 modems that are based on Authorization V4 are required to enter datalock code while upgrade / downgrade them instead of firmware password  as it is supported in all previously available firmware.

The devices with firmware based on algorithm v4 does not allow you to change its firmware without datalock code because firmware code has been obsolete in these firmware.

It has created a big trouble because direct calculation from IMEI both for Datalock Code and Huawei Algo V4 Unlock Code  is also not possible without getting the device in USB mode / download mode which is only possible by flashing the device with its generic firmware (21.110.xx.xxx.xxx).

How to Bypass DATALOCK CODE Screen While Updating firmware of Huawei Modems?

1. First of all connect Modem / Router to your PC using USB cable.

2. Then check in device manager your modem’s PC-UI COM Port is available.

Note I: If the connected modem is Hilink, then run DC-Unlocker as Administrator and click on Magnifying Glass to detect modem. It will switch device COM port.

3. If COM ports are not available or marked as unknown device with yellow color then you are missing drivers. For drivers, install the latest Huawei mobile partner in PC or alternately follow these steps to enable COM ports:

  • Connect your device directly to PC’s USB port, so that you can access web-interface via http://192.168.8.1/ If not accessible then connect trough wifi while remain connected to PC via USB port. ===>
  • If Huawei COM Port drivers are not already installed in your computer then install FcSerial Drivers  
    Now open web-interface via http://192.168.8.1/ and run Switch Mode Application / script to get your device in COM ports mode and in this process, COM ports will be enabled.

4. Now, run DC-Unlocker and click on Magnifying Glass. It will detect your device with Application & Diagnostic Ports of your modem and will show complete detail of your device.

DC-unlocker-unlocking-E8372-with-complete-device-information and correct Serial Number restored4. Now type the following AT-command and to execute it press enter from keyboard:

AT^GODLOAD

5. Now, the device will start blinking its indicators / lights, means it is now in USB modem / download mode.

Now you have successfully bypass the datalock code screen and your modem is free to upgrade / downgrade with any compatible firmware.

After getting the device in download mode and flashing the generic firmware (21.110.xx.xxx.xxx), now you can have your modem’s NVRAM data which is required to get datalock code and unlock code by executing these two AT-commands:

AT^NVRDEX=50502,0,128                   (is used to get your modem’s NVRAM data for DATALOCK CODE calculation)

AT^NVRDEX=50503,0,128                   (is used to get your modem’s NVRAM data for UNLOCK CODE calculation)

E8372-with-complete-device-information but IMEI missing

Different people use different methods to read NV records of the modems, some people execute these AT-commands direct in terminal software like Dc-UnlockerHuawei Modem Terminal, CID-Reader By Dawood1208 & Putty Universal Modem Terminal and other use graphical interface like Huawei Code Reader.

Attention: Users who likes this post can like our Facebook Page for latest tips and tips.

  • if i entering AT^NVRDEX=50502,0,128 & AT^NVRDEX=50503,0,128 it show “Error”. how can i get the nv hash with success ? it look like my device huawei e5578 having some not function ATcommand like this problem. #help

    • Try some alternate and lower version of of firmware it will resolve your problem and will not ask for DATALOCK code. You can get firmware password from here

    • You are right it cannot be directly executed on device’s original firmware. To use this command, you have to downgrade your device firmware to its generic / factory firmware. First install any firmware from these links then execute command, it will be successful

      https://www.unlock4modems.com/downloads/huawei-e5578s-932-21-110-99-02-00-fw-downgrade/

      or

      https://www.unlock4modems.com/downloads/huawei-e5578s-932-21-110-99-03-00-fw-downgrade/

      • Samuel Oderinde

        i tried this and ended up getting error 13, whats the way forward pls

        • Just try with after closing your internet connection and if you are trying to update firmware then chose some alternate firmware its not suitable with your modem’s current firmware version.

        • Ale

          me too i have the same problem…
          here log…

          DC – Unlocker 2 Client 1.00.1233

          Detecting modem :

          selection :
          manufacturer – Huawei modems
          model – Auto detect (recommended)

          Found Applications port COM4

          Found modem : E5575s-210
          Model : Huawei E5575 (untested)
          IMEI : 866887022994803
          Serial NR. : E9RDW16521005201
          Firmware : 21.317.01.00.12
          Dashboard version : WEBUI_17.100.06.08.12_MRE5
          Web UI version : WEBUI_17.100.06.08.12_MRE5
          SIM Lock status : unlocked
          Wrong codes entered : 0 (unlock attempts left : 10)

          For unlock, may require firmware change, check tutorial or contact support

          ===================================================================
          AT^GODLOAD

          OK

          after command AT…

          blinking led…

          open E5575s_Update_21.180.99.04.00

          but error 13…

          whats wrong?

          help me too pls….

          • The unlocking of Huawei E5575s-210 is in beta and test phase, having noted complaints from some people, so we recommend you not to involve in its unlocking till the availability of its original firmware update. You may try it on your risk and cost, it may lead your device brick / dead.

  • Oleg Hwang

    Hi i got huawei e589, i exceeded 10 attemts limit to unlock it. Please help me how to reset these attempts.
    Thanks in advance

    • You can use algo v2 unlock code as datalock code to reset counter of your modem.
      Complete instructions are here https://www.unlock4modems.com/reset-unlock-counter-huawei-modems/

      • Oleg Hwang

        NOTHING helped me
        ===================================================================

        DC – Unlocker 2 Client 1.00.1308

        Detecting modem :

        selection :
        manufacturer – Huawei modems
        model – Auto detect (recommended)

        Found Applications port COM7
        Found Diagnostics port COM8

        Found modem : E589u-12
        Model : Huawei E589
        IMEI : 863030011564831
        Serial NR. : P2T7NB9331502157
        Firmware : 11.433.15.01.673
        Compile date / time : Oct 18 2013 19:46:19
        Hardware ver. : CL1E589M22
        Chipset : Qualcomm MDM9200
        NAND Flash : TC58NYG1S3C
        SIM Lock status : Locked (CardLock)
        Wrong codes entered : 10 (unlock attempts left : 0)

        ===================================================================

        ===================================================================

        DC – Unlocker 2 Client 1.00.1308

        Detecting modem :

        selection :
        manufacturer – Huawei modems
        model – Huawei E589

        Selected Applications port COM7
        Selected Diagnostics port COM8

        Found modem : E589u-12
        Model : Huawei E589
        IMEI : 863030011564831
        Serial NR. : P2T7NB9331502157
        Firmware : 11.433.15.01.673
        Compile date / time : Oct 18 2013 19:46:19
        Hardware ver. : CL1E589M22
        Chipset : Qualcomm MDM9200
        NAND Flash : TC58NYG1S3C
        SIM Lock status : Locked (CardLock)
        Wrong codes entered : 10 (unlock attempts left : 0)

        ===================================================================

        ===================================================================

        DC – Unlocker 2 Client 1.00.1308

        Detecting modem :

        selection :
        manufacturer – Huawei modems
        model – Huawei E589

        Selected Applications port COM7
        Selected Diagnostics port COM8

        Found modem : E589u-12
        Model : Huawei E589
        IMEI : 863030011564831
        Serial NR. : P2T7NB9331502157
        Firmware : 11.433.15.01.673
        Compile date / time : Oct 18 2013 19:46:19
        Hardware ver. : CL1E589M22
        Chipset : Qualcomm MDM9200
        NAND Flash : TC58NYG1S3C
        SIM Lock status : Locked (CardLock)
        Wrong codes entered : 10 (unlock attempts left : 0)

        ===================================================================
        AT^CARDUNLOCK=”393f6955cba7abd161f0c5c5f963ba04″

        ===================================================================

        DC – Unlocker 2 Client 1.00.1308

        Detecting modem :

        selection :
        manufacturer – Huawei modems
        model – Huawei E589

        Selected Applications port COM7
        Selected Diagnostics port COM8

        Found modem : E589u-12
        Model : Huawei E589
        IMEI : 863030011564831
        Serial NR. : P2T7NB9331502157
        Firmware : 11.433.15.01.673
        Compile date / time : Oct 18 2013 19:46:19
        Hardware ver. : CL1E589M22
        Chipset : Qualcomm MDM9200
        NAND Flash : TC58NYG1S3C
        SIM Lock status : Locked (CardLock)
        Wrong codes entered : 10 (unlock attempts left : 0)

        ===================================================================

        AT^CARDUNLOCK=”393f6955cba7abd161f0c5c5f963ba04″

        COMMAND NOT SUPPORT

        AT^CARDUNLOCK=”393f6955cba7abd161f0c5c5f963ba04″

        COMMAND NOT SUPPORT

        AT^CARDUNLOCK=”393f6955cba7abd161f0c5c5f963ba04″

        COMMAND NOT SUPPORT

        • You have manually entered wrong codes or it come by default with 0 attempts remaining.

          This method may not work but the method we have recommended will 100% work

          • Oleg Hwang

            what method you have recommended? I put code with copy paste

          • You can use algo v2 unlock code as datalock code to reset counter of your modem.
            Complete instructions are here https://www.unlock4modems.com/reset-unlock-counter-huawei-modems/

          • Oleg Hwang

            i did use this algo 2 everewhere

          • Read instructions carefully and act accordingly, it will resolve your problem.

          • Oleg Hwang

            now disconnect internet what does it mean? It means i should disconnect my notebook with huawei wifi of? or i should turn off modem? as well i didn’t find process HWdevice service in task manager

          • It means there should be no internet access to your PC during this process.

          • Oleg Hwang

            My IMEI is 863030011564831
            My NCK code for algo v2 is 20348488
            My md5 hash is 393f6955cba7abd161f0c5c5f963ba04 am i right? c

          • Oleg Hwang

            COMMAND NOT SUPPORT

          • Huawei E589 unlock counter resetting is just simple. Chose method-2 and use algo v2 unlock code as datalock code to reset counter of your modem.
            Complete instructions are here https://www.unlock4modems.com/reset-unlock-counter-huawei-modems/
            Its recommended to execute all the commands use putty from here https://www.unlock4modems.com/downloads/putty-universal-modem-terminal-v0-65/

          • Oleg Hwang

            My IMEI is 863030011564831
            My NCK code for algo v2 is 20348488
            My md5 hash is 393f6955cba7abd161f0c5c5f963ba04 am i right?

  • Ali

    Hello Sir, how to restore a modem back after flash with generic firmwares ? in previous state e.g remote ndis based network sharing device… and turning off com ports ?

  • Malik Mohammad Asif

    I have Huawei E8372h-153.Its firmware version is 21.318.01.01.306 How to downgrade it when I try to downgrade it says error 17 the inserted device is not P711s wingle

  • Naveed Saeed

    etecting modem :

    selection :
    manufacturer – Huawei modems
    model – Auto detect (recommended)

    Found Applications port COM15

    Found modem : E8372
    Model : Huawei E8372h
    IMEI : 866457024627890
    Serial NR. : B7Z7S16A14009459
    Firmware : 21.318.01.02.306
    Dashboard version : WEBUI_17.100.14.06.306_RE5
    Web UI version : WEBUI_17.100.14.06.306_RE5
    SIM Lock status : Locked (Card Lock)
    Wrong codes entered : 10 (unlock attempts left : 0) not downgrade plz halp

    • Noshi Merry

      This device can only be unlocked through boot short method, for details visit our website blog.

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good

  • Programmer Programmer

    good