Euask
A community for mutual assistance and knowledge sharing

Flashing back IMEI to Mediatek devices Reward $210
Created by Hoshikawa_Momoko, 775 days ago, 14296 views

I have a Mediatek device which is bricked, so I unbrick it by flashing back the stock ROM. I forgot to backup my damn IMEI, so after flashing and powered on my device, it has an invalid IMEI. I tried to use SN Write Tool to flash the IMEI number, but it keeps failing, giving this error:

EnterAPMetaMode() : MetaResult = SPMETA_DLL::META_MAUI_DB_INCONSISTENT

What is the problem and how can I solve this? Is it the database? I picked my database from here: http://bdupload.org/xh0zansbaj9u I picked MT6582 since my device is MT6582. Is it the driver? Currently the driver that is shown in Device Manager is MediaTek USB VCOM (Android) when the device automatically booted to meta mode due to SN Write Tool. Is it me? Well, I put the right database in both MD1_DB and AP_DB. And I also turned of my phone first, clicked Start, enter IMEI number, and connect my phone in turned off state and then it automatically booted to meta mode. Right after the progress hits "Start searching kernel com port handshake...", then the big red FAIL comes along with the above error. Is there any solution?
Facebook Twitter Google+ Addthis

√ Best Answer

1

Joaquin2001774 days ago

@Hoshikawa_Momoko I discovered this today, maybe I'm the first boy to find this method, oh.....I think I should this in a website. So, everyone's method is working, all of them is not wrong. The META_MAUI_DB_INCONSISTENT means you chose the wrong database. I would recommend you to use the database that comes along with the stock ROM you used to unbrick your device. The database that you should choose should be the one with APDB in it's name and must be put at the AP_DB slot in SN Write Tool. There are two files with APDB in their names, pick the one with the largest size, usually more than 150 KB. Now the one that you chose wrongly, the MD1_DB. This MD1_DB file usually starts with BPLGU in it's name. Some stock Mediatek ROM doesn't put this database outside the ROM like the APDB, instead they put it inside system.img. What do we need is to extract it out. Let me show you how to take it out of the system.img:


1. Download this tool:


http://www.mediafire.com/download/vs5b9xg90v6aver/Ext4unpacker.zip

It's called EXT4Unpacker. This one will be used to extract the system.img.


2. Extract this tool to somewhere in the drive. Now open ext4_unpacker.exe.


3. Now you should see three buttons beside the "Image file:". If you hover your cursor on one of them, there should be a button saying "Open ICS/JB/EXT4 image file". Click it. A window will appear. Now open your stock ROM's system.img.


4. You will see your /system directory. This is how exactly you see it in any root explorer in your device. Now head to /system/etc/mddb. Now, we can see the MD1_DB file, with BPLGU in it's name. Right-click it, and choose Extract. Choose where to extract the MD1_DB file.


Now, you just need to select the extracted file as the MD1_DB file in SN Write Tool. Do what you did, and it should be working. Hope that big, green PASS appear in front of you.

  • downvote

2

Joaquin2001775 days ago

I once did this successfully. And I think your driver was causing your problem. I remember the driver has CDC in it with the name. I'll try to find it if it was the driver that is causing the problem. I really think you should use MerapiTool. MerapiTool doesn't need any special drivers to be installed and can flash not only IMEI number, but also WiFi MAC and Bluetooth address, and maybe more. MerapiTool was also called as VolcanoTool. You can find it right here: http://forum.gsmhosting.com/vbb/f723/merapi-tool-all-versions-update-history-1937126/ Just need to scroll far down to the ground. Currently, the latest version is 1.3.8.

  • downvote

3

Joaquin2001775 days ago

@Joaquin2001
Oops, actually, the latest version is 1.4.7. You can download it here: http://www.mediafire.com/download/392s1ql71t7t811/Merapi+Tool_1.4.7_20160313.rar The first link I gave that time shows update history and download area.

  • downvote

4

Aravi775 days ago

Hi

Kindly refer this article

http://blazefilecreations.com/2016/03/15/restore-imei-mediatek-device/

Regards,

  • downvote

5

SetupComputer775 days ago

That's illegal though

  • downvote

6

Hoshikawa_Momoko774 days ago

@Joaquin2001
It seems like I need to install VolcanoBox first. Can you give me the link? I can't seem to find it directly.

  • downvote

7

Hoshikawa_Momoko774 days ago

@Aravi
Installed the right driver, now is Android Gadget VCOM Driver. I checked the "Connect Smart phone into META mode", clicked Reconnect, and connected my device in turned off state, and then this error appear:


[ 10] Invalid input arguments, please press [Reconnect] button to connect with target


I can't flash IMEI easily. And I can't find any solution for this. Any ideas? Anyone?

  • downvote

8

Hoshikawa_Momoko774 days ago

@SetupComputer
No, it's not in my case. I unbricked my device, and I lost my IMEI. I want to flash IMEI so I can recover it. I used the IMEI number at the back of my phone at the battery slot, so it's not illegal for me.

  • downvote

9

ha14774 days ago

@Hoshikawa

Check this article
Restoring your lost IMEI in MTK phone
http://www.androiddevs.net/restoring-lost-imei-mtk-phone/

  • downvote

10

Aravi774 days ago

Hi @Hoshikawa_Momoko
Sorry for the delay in response.

Kindly try the troubleshooting steps mentioned in the below website:-

http://www.gizbeat.com/6058/how-to-restore-fix-lost-imei-and-serial-numbers-for-mtk6582-mtk6572-mtk6592-mtk6589-mtk6595/

Or try to restore IMEI

http://www.androiddevs.net/restoring-lost-imei-mtk-phone/

  • downvote

11

Hoshikawa_Momoko774 days ago

Thank you, @ha14 I'll make sure I give it a try.


Thank you, @Aravi I'll try your links.


And thank you too, @Joaquin2001 You sure like to type a lot and always give a detailed, non-copy-paste steps. I'll give it a try and good luck for your website.

  • downvote

12

AniWorld773 days ago

http://blazefilecreations.com/2016/03/15/restore-imei-mediatek-device/
http://www.gizbeat.com/6058/how-to-restore-fix-lost-imei-and-serial-numbers-for-mtk6582-mtk6572-mtk6592-mtk6589-mtk6595/
http://www.androiddevs.net/restoring-lost-imei-mtk-phone/

  • downvote
    You have to sign in to answer a question, sign up if you don't have an account.


    Hot Topics
    Recent users who have won rewards.
    ha14 won $1
    ChessKing won $1
    ChessKing won $1
    chakramed won $1
    ChessKing won $1
    dastkhat won $5
    ChessKing won $1
    Adamsh won $1
    ha14 won $1
    tecask_support won $1
    Latest Topics
    FrankTitan Salut pas beaucoup de Français ici ! ?
    Jamez How to fix Android behaving strangley?
    ChessKing Возможно ли чтоб мой звуковой файл с телефона было слышно собеседнику во время разговора по этому телефону?
    ChessKing Голосовые читалки
    ChessKing Не показывает видео в Habit браузере.
    ChessKing Перенос приложения на карту памяти в андроиде
    Ujjwal619 Can you tell me why the playstore download speed is ridiculously slow?
    ChessKing Импорт закладок в Habit браузер
    ChessKing Батарея телефона при морозе.
    ChessKing Онлайн трансляции на телефоне
    Get free dollars by installing euask App.