How To Fix Repair Generate Invalid IMEI Tutorial On MediaTek / MTK Phones

Repair and fix IMEI MT6752, MT6732, MT6753 64-bit SoC phones as well as IMEI on MTK / MediaTek MT6589 MT6589T MT6592 MT6595 MT6572 MT6582 MT6577 MT6516 phones, 

This tutorial will show you several ways to repair the invalid IMEI on an MTK / MediaTek phone. We’ll start with one of the easiest. It requires a simple app install, a few taps and one line command.

Before we start, download the engineer app, install and run.

mtk-imei-7

  1. Select Engineer Mode
  2. Select Engineer Mode MTK
  3. Select CDS Information from the Connectivity tab
  4. Select Radio Information
  5. Select the SIM you wish to change the IMEI on
  6. At the AT+ line for SIM 1, enter AT+EGMR=1,7,”THE-FIRST-IMEI-NUMBER”. For SIM 2, enter AT+EGMR=1,10,”THE-SECOND-IMEI-NUMBER”. Of course where the words are, you will enter a number.
    • NOTE: Do not forget the quotes surrounding the number
    • NOTE: If you get an error regarding “this command not allowed in user build”, then put a space after AT, so it reads for example AT +EGMR=1,7,”THE-IMEI-NUMBER”

mtk-change-imei-6

For step #6, you should enter the IMEI from the box of your phone or information under the battery. In some cases, a dual SIM phone will have the same IMEI for both SIM slots.

In the case that your carrier doesn’t allow this, or if you have some other reason you need to change the stock IMEI, you may need to generate / calculate / find a new IMEI with the correct checksum / check digit on your MTK6589 MTK6589T MTK6592 MTK6595 MTK6572 MTK6582 MTK6577 MTK6516 phones. To do so, follow the instructions in this post at the forum.

This is only one method of many. I will be adding more methods over time to this post. In the meantime, if this doesn’t work for you, please see this search at our forum for more methods.

There are also situations where simply changing the IMEI doesn’t work regardless of method you use to change it. In that case, you may need to restore your NVRAM from a previous backup or from a friend’s backup.

Comments

97 responses to “How To Fix Repair Generate Invalid IMEI Tutorial On MediaTek / MTK Phones”

  1. Eddy Avatar
    Eddy

    gazab guru gazab
    mera problem solve ho gaya

    1. adil shah Avatar
      adil shah

      pls bhai bta na yaar how?????

  2. MichaelM Avatar
    MichaelM

    I have a Star N9500 (malware/spyware/virus free from day one, incidentally) and just performing a factory reset wipes the imei numbers, requiring them to be flashed from backup using the method above.

    Another method I used previous to this one required a program called “droid tools” which allows each imei to be entered manually. Like the method above, a reboot is required for the change to take effect.

    But why does this imei loss happen in the first place? I’m a serial tinkerer and enjoy any opportunity to fool around with my phone. I’ve lost count of the number of times I’ve flashed a new rom or opened it up to have a look at the components. Like many other owners, I’ve fallen foul of the inevitable cracked screen on my N9500 due to the glass not being toughened. But unlike the vast majority of those unfortunate owners, I have simply ordered and fitted a replacement rather than suffer on. But when it comes to the internal rom on these phones, I am clueless when it comes to the actual android modifications made to the custom roms I’ve installed. Almost all of these are customised versions of roms which have shipped with other Chinese phones with the same chipset or merely with a new skin applied. But each rom comes its own unique coding bugs, leading to hardware component failure, such as gps not working etc. And, of course, the imei loss.

    Needless to say, I have always reverted to the rom which shipped with the phone as it just seems to work much better than any custom version. But the imei loss always remains even after reverting to the factory rom or flashing an nvram backup. So something fatal has to have happened for this to occur. It would be nice for the manufacturers to say what causes this and how it can be permanently repaired. But they seem to court anonymity with none ever issuing so much as an update.

    1. Jakub Sadowski Avatar
      Jakub Sadowski

      The file MP0B_001 in /nvram/md/NVRAM/NVD_IMEI/ (unaffected by factory reset) and /data/nvram/md/NVRAM/NVD_IMEI/ (replaced with previous after factory reset) gets wiped out. This file stores the IMEI in MediaTek-based phones.

  3. stotrapama sharma Avatar
    stotrapama sharma

    my s5 clone doesnt show this cds thing at all after downloading engg app also
    cn smebdy hlp n ani oder way

    1. Damian Parsons Avatar
      Damian Parsons

      You can try to write IMEI or restore NVRAM with MTK Droid Tool.

      1. Ameen Ca Avatar
        Ameen Ca

        good work

  4. ali haider Avatar
    ali haider

    i have samsung win my i rooted it and it gives invalid imei and sim not inserted i trid this method but when i press send it says send erorr and my radio state is off help me plz

    1. Damian Parsons Avatar
      Damian Parsons

      You may need to restore the NVRAM. In that case, you will need someone else with the same phone to do a NVRAM backup for you with MTK Droid Tools.

      Also a full factory flash of the stock firmware may have the NVRAM included.

      1. easter Avatar
        easter

        i follow instructions and done my work but my network signals are not working properly Q Why..?

  5. Touseef Akhtar Avatar
    Touseef Akhtar

    When I type the code in dialer it just disappear on completion …
    And nothing happen.
    My android version is 2.3.6

    1. Damian Parsons Avatar
      Damian Parsons

      That’s a very old android version. Things may be different for phones that old.

      You can try to enter through Mobile Uncle.

      Also there are some good MT6582 1GB RAM KitKat 4.4.2 phones available for <$90 shipped. No offense, but you might consider upgrading.

  6. pumalex11 Avatar
    pumalex11

    Hello i have a lenovo a806 mtk6592. I have flash a new ROM but nos i l’Oise my imei and nom backup.m’y phone is root and free. Now i test all solution for solve m’y problem. If you have a solution i take. In mobileuncle is not possible thé phone say not allowed

  7. Doug Avatar

    I bought Goophone S4 Mini Smartphone Air Gesture controls Android 4.2 OS MTK6572 Dual Core 4.3 Inch Screen
    The specs claim it to be 1.2 GHZ. It’s really a 1.0 GHz

    I get invalid IMEI on almost every code. I did a factory reset. That doesn’t work. The system files that I had edited are still exactly the same as I edited them, after doing a reset.

    It has android 4.2.2. I was so let down by android. I find it to be under developed and actually pretty lame.
    The phone is always out of room. The sdcard is always “damaged” and has to be formatted, so keeping stuff on this phone is a joke.
    Send more than 50 texts and it is out of room
    Install more than 5 apps its out of room.

    I’m not a big phone person. I ran an iPhone 3GS up till 2 weeks ago, but today, I put my old sim card back in my 3GS and am happy again. It might be old, but it works and has never run out of room.

  8. Joe Avatar
    Joe

    Hi,

    After entering new IMEI # in Step 6, how to save it. I am wondering how to save the new IMEI number in Engg mode. Please help. Hitting on Engineer Mode – Engineer Mode (MTK) – Connectivity(Tab) – CDS Information – Radio Information – Phone 1 – AT+ to AT+EGMR=1,7,”New IMEI#” – SEND AT COMMAND(Button)

    Getting the message “This command is not allowed in UserBuild” … and old IMEI stays.

    Pls hlp.

    1. PJ Avatar
      PJ

      Hey, I get the same error. Did you find out how to solve it?

      1. Damian Parsons Avatar
        Damian Parsons

        Which error are you referring to? There are several errors mentioned in the comments here.

        1. PJ Avatar
          PJ

          It was a reply to Joe’s message. I lost/messed up my nvram and IMEI and when I try using the engineer mode tools (e.g. mobileuncle) it tells me its “not allowed in userbuild”.

          1. Damian Parsons Avatar
            Damian Parsons

            You can try to write IMEI through MTK Droid Tools. The video is here. Here also is the written tutorial and all files needed.

            If it doesn’t work for you, you will need a backup of your NVRAM, or MAYBE a full firmware upgrade of the stock firmware can fix it.

          2. PJ Avatar
            PJ

            What if I don’t have such backup? I upgraded the ROM but not without first using twrp to do a backup… unfortunately, it didnt backup everything. Is there no solution for this?

          3. Damian Parsons Avatar
            Damian Parsons

            Try links I previously posted. If it doesn’t work, then you need NVRAM backup or possibly a full factory ROM restore may fix it as well.

        2. PJ Avatar
          PJ

          I did try, mtk droid tools says changes will be effective after reboot but nothing changed. Is it possible to use someone else’s backup of nvram and then change to my imei? And how can I do a full factory ROM restore? Thank you very much for your help. :)

          1. Damian Parsons Avatar
            Damian Parsons

            Did you follow the entire tutorial? Rooted and got root shell permissions through MTK Droid Tools? If so, and it still failed then yes you will need NVRAM restore or MAYBE a full factory ROM update.

            You will have to find the stock factory ROM for your phone. I can’t help you there, you’ll need to find it yourself. That may not fix your issue though. You may need NVRAM backup. No, you normally can’t use NVRAM from a different model phone, but you can try if all else fails. Good luck.

      2. ARTURO TORI Avatar
        ARTURO TORI

        first be sure there is a space in AT +EGMR=1,7
        did you see the space between A and +
        that’s the solution to your message “This command is not allowed in UserBuild”

        1. Joshua Torre Avatar
          Joshua Torre

          Arturo Tori! You are a smart guy.. That is a real fix. GOD BLESS YOU!

          1. mohasin khan Avatar
            mohasin khan

            same problem
            for lava x8

        2. yuaan Avatar
          yuaan

          Hey it is still not solved same user build error and if I use space it is giving command not sent error

        3. Kayode Avatar
          Kayode

          Thanks for the informations, its useful…

          Buh it still shows “AT command sent: error”

          pls what can I do

  9. Andy Cheng Avatar
    Andy Cheng

    Hi, my phone (samsung s4) is inserted with Sim card, but I am able to make phone or sending sms, with error msg “no network registered”. People still able to call me but my didn’t ring. Wifi is working.
    I went to local Samsung center, they said my imei is not working, it caused by motherboard failed, and it will causes Usd250 to change one. Do you know any way to fix this?

  10. Puru Avatar
    Puru

    Hi,
    Thanks for this post. My Gionee P2 was showing invalid IMEI Number after reset factory setting, Now its working fine.

  11. OMUR ELVAN Avatar

    THANKS MAN NO PROBLEM WORKİNG % 100

  12. parth Avatar
    parth

    Hyy i have gionee m2 and i have invalid imei problem i try AT+EGMR=1,7,THE-FIRST-IMEI-NUMBER. For SIM 2, enter AT+EGMR=1,10 this but when i send AT command it showsThis command is not allowed in UserBuild”now tell me what to do plzzzzz

    1. Damian Parsons Avatar
      Damian Parsons

      Hi, you will need to root and follow this tutorial: http://www.chinaphonearena.com/forum/Thread-Tutorial-MT6592-MT6589-MT6582-MT6572-MTK-Change-Create-Generate-Invalid-IMEI

      If it still doesn’t work, you will need to restore NVRAM.

      1. socram Avatar
        socram

        in my Lenovo A806 the IMEI button after rooting , SU, etc, appears GREY, i can’t click on it.

    2. ARTURO TORI Avatar
      ARTURO TORI

      first be sure there is a space in AT +EGMR=1,7
      did you see the space between A and +
      that’s the solution to your message “This command is not allowed in UserBuild”

      1. socram Avatar
        socram

        Yes, that’s the solution for message, but not for trouble.

        IMEI not restored.

  13. test_imei Avatar
    test_imei

    Thanks a lot. It worked on my Goophone i5S MTK6572. Just don’t forget to re-start the phone after you get sucess message on step #6.

  14. Justice Avatar
    Justice

    WOw. It works. I have Clone S5 and my IMEI was deleted and following your step fixed that. You saved me few bucks.

    Thumbs Up. Thanks

  15. Paolo Avatar
    Paolo

    I have a IOCEAN X8, I lost the second IMEI.
    I tried to add it with MTK ENGINEERING but gives me the error “This command is not allowed in UserBuild”. The Android version is 4.4.2
    Does anyone know how to add it?

    1. Damian Parsons Avatar
      Damian Parsons

      Hello, please see comments above.

      1. Dien Avatar
        Dien

        Hi, my Lenovo A369i got the same problem. When I click Send AT command though, it said, “AT command is failed to send. Any idea? Thanks

  16. Paolo Avatar
    Paolo

    why the command AT+EGMR=1,10 does not work?

  17. Andrew Gray Avatar

    I have a Cubot GT72E and have lost both IEMI codes
    Have installed Mobileuncle tools followed your instructions and there is no option to
    get cds information I guess your busy but please tell me what I’m doing wrong.

    1. ARTURO TORI Avatar
      ARTURO TORI

      at the beginning of this section is a tutorial on how to get to CDS
      did you followed it like it’s explained??
      so far this is the best way.
      look at the pictures very carefully,

      1. Andrew Gray Avatar

        Yes I followed exactly and when I get to connectivity the only options
        are Bluetooth
        FM Receiver
        WiFi
        WiFi CTIA

  18. ARTURO TORI Avatar
    ARTURO TORI

    at the beginning of this section is a tutorial on how to get to CDS
    did you followed it like it’s explained??

  19. Rohit Sonar Avatar
    Rohit Sonar

    HO gaya bhai…. Thank You So Much !!! GREAT GURU

    1. Andrew Gray Avatar

      Done it now MTK Droid Root & Tools v2.5.3 just take me longer these days!

  20. sammy sam Avatar
    sammy sam

    can i use this method for Oppo Neo R831? the invalid imei happen when i change the handphone to a custom rom.

    1. Andrew Gray Avatar

      If the phone is rooted which I guess it is with the new rom
      plug it in and open with the flash tools with the MTKdroidTools.application found at two or three levels into the unzipped file and it should allow the code to be put back in
      make sure your root program (super user allows external application commands)

  21. socram Avatar
    socram

    I do that and the errors remains the same:

    “THIS COMMAND IS NOT ALLOWED IN USERBUILD” when I put the IMEI between ” ” and click SEND AT COMMAND

    What else?

    1. Damian Parsons Avatar
      Damian Parsons

      Hi Socram, try putting a space between the T amd the +. So it looks like this: AT +EGMR=1,7,”IMEI”

      1. socram Avatar
        socram

        yeap, i tried and the difference is “the message” but the imei keeps on without changin.

        message is: “AT command is mSent” but nothing changes. I click “back” button…imei is null anyway.

        Im kind of desperate. I think I mess it up completely.

        1. Damian Parsons Avatar
          Damian Parsons

          You need to reboot the phone after issuing the command. If it still doesn’t work, you’ll likely need to restore NVRAM.

          1. socram Avatar
            socram

            I restored the phone.
            Nothing happens.

            How Do I restore NVRAM. I got a copy of NVram but after the mess (there is an invalid or a encripted imei …there) and a guy in a forum told me he himself would send me his, but I don’t know what to do with that.

          2. Damian Parsons Avatar
            Damian Parsons

            I mean… After sending AT command, turn off the phone. Then turn it back on. If that doesn’t work, see Chinaphonearena for how to restore NVRAM.

          3. socram Avatar
            socram

            yeap, with my copy of NVram folder, i mean the imei folder with Three files, i pasted the other three that I got, and nothing happens.

  22. Hans Avatar
    Hans

    Hi Damian, do you know if the serial number of the device can be recovered ?? in my mistake flashing the original rom i accidentally erased all core info like imei, nvram, mac adress etc etc, so allso my serial number has been wiped. I am now concuering problems installing apps so i am guessing it has something to do with the erased serial.. is it linked to the imei numbers ?? (the box where the phone came in is not damaged, but the sticker wich holds the serial number is torn apart)

    thanks for your opinion

  23. Deis Ribaj Avatar
    Deis Ribaj

    Hi Damian.

    I tried the method with mobileuncle and it didn’t work (THIS COMMAND IS NOT ALLOWED IN USERBUILD).
    Than I tried the method with the tutorial at chinaphonearea with MTK Droid Tools. I wrote my IMEI from under the battery on the program, followed the steps but at the end nothing happen.
    I have also lost my recovery files. Please what should i do?

  24. Mark Avatar
    Mark

    Ok I can’t reply with many lines. I will try to enshort the post:

    My solution, in two videos recorded rightnow by me:
    https://www.dropbox.com/sh/gvwbxezukakr3p8/AADsMTwVGugLi_Gno6jRzAKNa?dl=0

    1. Download IMEIGEN from here (look for a download link, i cant paste it)

    2. UNZIP it.

    3. Execute imeigen.exe

    4. A Green text console is opened. Then WRITE “Y” (YES)and INTRO

    5. Console ask you for IMEI 1. write it and INTRO

    6. Console asks you for IMEI 2. write AGAIN the same for YOUR SECOND IMEI, if you got 2 SIM CARDS. If just got 1 sim, write the same imei.

    7. The console creates Two more files in the folder where the “imeigen.exe” is. The imei generated is “IMEI.BAK”.

    8. VERY IMPORTANT: RENAME THAT FILE TO “MP0B_001”.

    9. NOW YOU SWITCH YOUR PHONE TO PC IN FILE TRANSFER MODE, OR USE ANY METHOD TO PUT THAT FILE IN THE “DVRAM” FOLDER OF YOUR PHONE, THIS IS, GO TO your device = “\data\NVRAM\md5\NVRAM\NVD_IMEI

    10. You will see also the file “MPOB_001”, in that folder NVD_IMEI , so now you have to RENAME THAT FILE TO: “MPOB_001_OLD” and leave it there.

    11. FINALLY you go to your PC , take the NEW RENAMED “MPOB_001” born thanks to IMEIGEN.EXE and locate IT in the mentioned folder, NVD_IMEI.

    AFTER THIS, if you did everything OK, restart your phone. BINGO.

  25. dennis Avatar

    My tecno s9 tablet i changed d imei and i flashed my fone but den d next day ….i will change the imei but d sim will tell me imei invalid and it will be missing 1 digit wen d sim provider sends d message …… And d brouswing will be very slow cos of dat……..pls i need help ….. Whatapp 08088220448 ,,,, bbm pin : 514eac02 and d one in my fone is complete…………so what am i to do

  26. dennis Avatar

    I am mr dennis from nigeria…..My tecno s9 tablet i changed d imei and i flashed my fone but den d next day ….i will change the imei but d sim will tell me imei invalid and it will be missing 1 digit wen d sim provider sends d message …… And d brouswing will be very slow cos of dat……..pls i need help ….. Whatapp 08088220448 ,,,, bbm pin : 514eac02 and d one in my fone is complete…………so what am i to do

  27. Sweetynessy Avatar
    Sweetynessy

    I want to root my itel 1542 android 4.4.2 and change the imei, but am having difficulties doing it, mtk eng is not working on 4.4.2,and mtk droid tools is not detecting it, pls help.

    1. Mark Avatar
      Mark

      Follow the post I posted two comments above (mark) or follow this instructions, in spanish…sorry. I will try to make it in english.

      And of course download IMEIGEN.EXE

      IMEI RECOVER, SPANISH TUTORIAL PART 1. https://www.dropbox.com/s/dlh12nbt9mje1kr/01%20IMEIGEN%20-%20IMEI%20%20RECOVER%20TUTORIAL.avi?dl=04

      PART 2: https://www.dropbox.com/s/1wjkiqcqgxdjxmo/02%20IMEIGEN%20-%20IMEI%20%20RECOVER%20TUTORIAL.mp4?dl=0

      you must be root to acceed and change the folder of IMEI number (DVRAM folder)

      1. Mark Avatar
        Mark

        Oh, nope, it is in english too. I have forgoten it. It s worse recorded than the spanish one , that i paste here

        PART 1 spanish: https://www.youtube.com/watch?v=zw2t9TweLow

        PART 2 spanish: https://www.youtube.com/watch?v=pbsmGxZpVn8

  28. khalid Avatar
    khalid

    Sir, It fixed Invalid IMEI. Now i am unable to use google servives. it says no connection, network unavailable. kindly help me, even i am unable to browse.

  29. sudhir patel Avatar
    sudhir patel

    best work done by you. My problem solved using your trick.thanks thanks thanks

  30. sam Avatar
    sam

    i have an alcatel 4010a and when i did a factory reset it is saying imei null i am trying to use your method but i am not seeing cds information in the engineering mode,how to i solve

  31. abdul islam Avatar
    abdul islam

    I have chinese gt6010 , mt6517 and problem is same imei number in both sim some time network show and some time not work please tell me any thing for thisnto work any time
    And i have instal mobile uncle tool butt “(MTK)” mod not work he show me message to not support please help me

  32. Ershad Avatar
    Ershad

    Sir, It fixed Invalid IMEI. Now i am unable to use google servives. it says no connection, network unavailable. kindly help me, even i am unable to browse

  33. renish Avatar
    renish

    i have i phone 6plus clone MTK6572. I CAN NOT GET GSM NETWORK. phone not showing imei number. how can i get gsm network plzz help me

  34. Trudy Carruthers Avatar

    Hi I tried all ways to fix this way then tried with the number between the “-” and it worked Thanks.

  35. narendra kumar Avatar
    narendra kumar

    Thanks thanks a lot dear!!!! I really thankful to you from bottom of mine heart. …..

  36. Parth Avatar
    Parth

    Thank you.

  37. yog Avatar
    yog

    i have karbon a93 MT6572 idnt have rom backup and i accidently flashed a wrong recovery to it.imei got lost and phone dont boot to recovery too.any1 suggest sumthng which will work..pls

  38. Domingo Tejada Avatar
    Domingo Tejada

    You’re one Guardian angel sent from heaven. thank you so much for sharing this knowledge to anyone. it did work for me.

  39. subhas Avatar
    subhas

    plz tell me which device I can change imei from mtk

  40. subhas Avatar
    subhas

    plz help me I want to buy a 3g android mobile which can IMEI change from mtk engering mode.apk. so plz give me a list which have this fecility

    1. Damian Parsons Avatar
      Damian Parsons

      Hello Subhas,

      Almost all MTK devices can change IMEI. Some of them need to be rooted to do it easily though.

      1. subhas Avatar
        subhas

        I want to buy lessthan rs 6000. I want to IMEI change through mtk engering mood apk. Plz suggest what phone is better

  41. uday Avatar
    uday

    My phone(spice mi 515) is showing imei after doing this.BT,WiFi,GPS everything is working fine but no cellular signals. Manual network search saying ‘no networks found’, one more thing it’s detecting my sim card and also showing operator in status bar, but not catching network, i have valid sim card and have tried more than 5-6 sim cards, still no luck. Plsss…. help.

  42. irfan sabir Avatar
    irfan sabir

    thankyou for space trick worked for me

  43. sid Avatar
    sid

    Thanks buddy!

  44. Fortune Avatar
    Fortune

    Thanks a bunch worked for me (mtkdroidtools) :)

  45. kiran Avatar
    kiran

    is the imei is temporary or permanent this method works for me after doing flash stock rom for more than 30 times and i get my old imei back thx for the help plz tell me is this temporary or permanent in my views is it washout after i reset or restore by cwm and flash stock rom

  46. ola Avatar
    ola

    thanks Man, u are a magician

  47. mohasin khan Avatar
    mohasin khan

    plz help me
    follw this step n sent at command and disple this msg
    “this command is not allowed in userBluis
    plz help me

  48. 2CHIZ ZAMANI Avatar
    2CHIZ ZAMANI

    Thanks bro you really helped me

  49. Ross Avatar
    Ross

    Thanx very very much bro….

  50. Paul O. Avatar
    Paul O.

    Worked well for my Gionee P2
    Thanks.

  51. Sineyes Avatar
    Sineyes

    This method is the best if you do it properly

  52. Khan Avatar
    Khan

    I’ve just logged in to say you thanks a lot….

    1. Damian Parsons Avatar
      Damian Parsons

      You’re welcome Khan. Thanks for your comment.

  53. Lalit Avatar
    Lalit

    I Love You I Love You I Love You..Thank YOU very much…My problem is solved…Thank You

  54. MST Avatar
    MST

    Restore NVRAM and NVDATA in TWRP.

  55. bobby Avatar
    bobby

    Worked, Thanks. YOU MUST REBOOT AT THE END OF PROCEDURE

Leave a Reply

Your email address will not be published. Required fields are marked *