How To Use SN Write Tool (SN Writer) – Guide

SN Write tool / SN Writer enables you to write Bardcode, IMEI, Bluetooth Address, Wi-Fi Address, Ethernet Mac Address, DRMkey MCID and Serial No. to your Mediatek (MTK) Android phone.

Requirements

* Download the latest version of SN Writer From Here
* For Android phones, install VCOM drivers on the PC Download from Here
* The MD1_DB and AP_DB files for the phone model from the firmware.

Procedure

1. Unpack the SN Write tool zip file into a folder and run SN Writer as Administrator

How To Use SN Write Too

How To Use SN Write Tool 1

2. Under ComPort, select USB VCOM

How To Use SN Write Tool 2

3. Under Target Type, select your type of device

How To Use SN Write Tool 3

4. Click on System Config

How To Use SN Write Tool 4

5. The System Config dashboard should pop up

How To Use SN Write Tool 5

How To Use SN Write Tool 6

6. If you wish to write IMEI to the phone then tick IMEI under Write Option. Under IMEI Option, tick the appropriate option (mostly Dual IMEI) depending on the number of SIM card slots the phone has. For the rest like Bluetooth Address, Wi-Fi, Address etc, ticking the box in front of them is just enough

7. Click the MD1_DB button at the bottom. In the Window that pops up, navigate to the location of the MD1_DB file (usually named like BPLGUInfoCustomAppSrcP_MT65**…..), select it then click Open

8. Click the AP_DB button at the bottom. In the Window that pops up, navigate to the location of the AP_DB file (usually named like APDB_MT65**…..), select it then click Open

9. Click Save at the bottom

How To Use SN Write Tool 9

10. You should be back to the SN Write tool Home screen, click Start

How To Use SN Write Tool 10

11a. If you’re writing IMEI, enter IMEI 1 and 2 then click OK

How To Use SN Write Tool 11

11b. If you’re writing Bluetooth Address and it is something like bc:b3:08:4c:1f:99 then you simply type bcb3084c1f99 then click OK

How To Use SN Write Tool 12

11c. If you’re writing Wi-Fi Address and it is something like bc:b3:08:cb:c0:f6 then you simply type bcb308cbc0f6 then click OK

How To Use SN Write Tool 13

12. SN Writer should now display Start searching preloader com port and handshake. At this point, switch off the phone (still with battery inside) and connect it to the PC (do not hold any button on the phone) via a USB cord

How To Use SN Write Tool 14

13. You should now see Start searching kernel com port and handshake, just sit back and don’t interrupt the process

How To Use SN Write Tool 15

14. You’ll then see Start switch to MD meta and init Modem database. At this point, the phone will come on. Don’t worry, SN Writer is simply booting it into Meta Mode

How To Use SN Write Tool 16

15. Next, you’ll see Start loop write data to nvram

How To Use SN Write Tool 17

17. You should new see a green PASS prompt. You can now disconnect the phone

Источник

Sn write station tool wifi mac

РЕШЕНИЕ ОТ «Bobbyr»

написал небольшую инструкцию со скриншотами по восстановлению слетевших IMEI номеров, WiFi MAC и.т.д. при помощи SN Write Station Tool
SN_Write_tool_exe_v2.1320.00.rar ( 14,78 МБ )

Сообщение отредактировал insan86 — 14.04.15, 15:18

Ребята всем привет , такая у меня проблема при портировании прошивки всегда есть ошибка в разделе NVRAM WARNING: Err=0x10.
лечу ее патчем data\nvram\APCFG\APRDEB файлы WIFI и WIFI_CUSTOM.

как же мне встроить данный патч в прошивку?

или в каком месте копать в ядре??

Сообщение отредактировал Roman36Liman — 19.05.15, 13:20

Мне очень помогло это NVRAM WARNING: Err=0x10 (Пост koleso1982 #41002461)
Все остальные способы перепробовал — в топку!
Этим способом NVRAM WARNING: Err=0x10 (Пост insan86 #39441045) только всё усложнилось (серийный номер встал произвольный, а не тот, который я вводил заводской, IMEI сбросился совсем.

Сообщение отредактировал rozhnole — 08.07.15, 12:57

Доброго дня. Помогите пожалуйста победить ошибку NVRAM WARNING: ERR 0x10
Аппарат восстановлен из дампа.
IMEI изменил без проблем, а с mac не получается, выдает ошибку.

Причем если указать все нули в mac, то ошибки при записи не возникает.
Пробовал ручками заменить файлы (Hex редактором указывал свой mac) — после перезагрузки опять восстанавливается изначальный файл.
Кто что посоветует?

Источник

How to fix Invalid IMEI and WiFi Err 0x10 on MediaTek devices without root

With a software called SN Write Tool, you can write IMEI numbers, WiFi mac address, Bluetooth mac address, bar codes and such things to the MediaTek smartphone. This will fix issues like Invalid IMEI and WiFi NVRAM Warning.

I have received a bundle of requests for the issue of Invalid IMEI from our readers who had performed “Format All + Download” (FA+D) while flashing their Infinix Hot Note or Hot Note Pro devices after being failed to upgrade their devices to Android Lollipop by following our guide here. While it was strictly mentioned in our tutorial to not use FA+D option or you will face consequences. But when some users were failed to upgrade normally, they tried FA+D option and literally had successful upgrade. They indeed lost access to their network with an error “Invalid IMEI”. In addition, which they may or may not have noticed that their WiFi mac address was also malformed and always started to use random/dummy mac address for WiFi connectivity.

Похожее:  При wifi вылетает комп

Well this problem occurs because using Format All + Download option, when flashing your MediaTek Android device, destroys NVRAM on your phone which is not a part of stock ROM which you would flash later on. So flashing your phone any further with any stock ROM will indeed be successful with most probably everything but due to NVRAM not present on the phone, will cause you connectivity issues as such as above.

The problem we are talking about here is not so uncommon. You will find many articles on the web and variety of solutions to this issue will also be available with and without having root access to the phone. I am just writing it here at Tech Prolonged as we have been requested directly from our readers after when they have tried our tutorial “[How to] Update Infinix Hot Note X551 to Lollipop 5.1, Official final build with XUI“. Some were successful but some of them were failed and hence had a phone without NVRAM after trying FA+D option.

So this solution is to fix Invalid IMEI and/or bad WiFi mac address on MediaTek devices whether it was caused after FA+D flash or by whatever means. If you have a phone with MediaTek chipset such as Infinix Hot Note, then you follow the methods below.

You can restore NVRAM from a nandroid backup if you had earlier, by following another method too.

Rewrite IMEI and WiFi mac address to your phone!

This method can fix following issues on your MediaTek smartphone without root access. You don’t need to have root access and any other third party apps to fix this up. But you need a PC with a required software utility SN Station (from MediaTek) and a couple of drivers – video demo after the break.

To Fix Following

  • Invalid IMEI
  • Random WiFi address every time you turn on the WiFi
  • WiFi NVRAM Warning err 0x10 – entry in WiFi networks list.

Required Tools and Drivers

  • SN Write Tool & MTK CDC Driver – Download .rar archive.
  • MTK PreLoader USB VCOM Driver – Here’s how to install

Well If you are here, then most probably you have flashed your device with SP Flash Tool already with “Format All + Download” option which could have led you with issues you are looking for the fix now. In that case, I must assume that you have MTK PreLoader drivers already installed. If so, then you just need to install SN Write Tool and the CDC Driver to proceed with this solution.

However, you can follow the guide to install PreLoader USB drivers, if you don’t have already.

Now download SN Write Tool with CDC driver from the link above and install them correctly. Follow the steps below exactly as told or jump to video demo after the break.

  1. Extract the downloaded file into a folder “C:\xyz\“. You will find following two folders after extracting.
    screen1
  2. Open the MediaTek CDC Driver folder first and run the install.bat if you have 32 bit Windows or install64.bat if you have 64 bit Windows PC.
    screen2
    In most environments, simply double clicking batch (.bat) file should install the drivers. You should see “Install complete” message once it successfully completes. If this doesn’t work well, you can try the following way to install the CDC driver:

  • Open command prompt with Administrator rights.
  • Type “C:” and press enter.
  • Type “cd /xyz/mediatek_cdc_drivers” and press enter.
  • Type one of the following and press enter.
    • “install.bat” in 32bit Windows or
    • “install64.bat” in 64bit Windows

    After running the .bat file as above, you should see as following.

    screen3

    1. ComPort: USB VCOM
    2. Target Select: SmartPhone
    3. Click System Config
      ————————————————————————————————-
      screen6
      ————————————————————————————————
      – In above screen, choose IMEI and WiFi Mac Addr under Function Select section
      – Then in IMEI Option section, choose Dual IMEI if you are fixing a dual SIM phone.
    4. Then click MD DB_1 button and locate the stock ROM folder which you have flashed to your phone. Then from the ROM folder, choose a file starting with BPLGU*
      —————————————————————————
      screen7
    5. Now from the previous screen, click the AP DB button and choose from the same folder, the file starting with APDB_*
      ————————————————————————–
      screen8
    • Connect the phone via USB cable.
    • Wait for the phone to enter “Meta Mode”
    • It will take only a couple of seconds in meta mode and the phone will be turned off automatically.

    That’s it, you can disconnect the phone now and turn it on.

    Video Demo

    This video contains a complete demonstration of flashing a dead MediaTek powered Android device with “Format All + Download” to bring the phone back [00:00 – 03:40]. Then using SN Write Tool to fix Invalid IMEI and WiFi mac address issue [03:41 – onward]. Hope this will help you with your problems

    [av_tab_container position=’top_tab’ boxed=’border_tabs’ initial=’2′]
    [av_tab title=’Dailymotion’ icon_select=’yes’ icon=’ue80d’ font=’entypo-fontello’]

    [/av_tab]
    [av_tab title=’Youtube’ icon_select=’yes’ icon=’ue921′ font=’entypo-fontello’]

    [/av_tab]
    [/av_tab_container]

    Источник

    [GUIDE][SN_Writer]Restore IMEI, WiFi/Bluetooth Mac, Serial No.[Lenovo_K8_Note]

    If you flashed the Stock ROM using “Download All + Format” option in SP Flash Tool or you wiped NVRAM partition accidently then you probably lost IMEIs, WiFi/Bluetooth Mac Address and Serial No.

    Note:
    Although, I have tried to keep this guide as simple as possible, I am assuming that you have already flashed Stock ROM using this thread/guide:
    https://forum.xda-developers.com/k8-note/how-to/lenovo-k8-note-xt1902-3-fix-dead-hard-t3791839
    Which also means the required drivers i.e. “MTK (USB DA COM, Preloader USB VCOM, USB Port, USB VCOM) Driver” and “Lenovo USB Driver” in the thread mentioned above are also installed.

    1. Lenovo K8 Note with Stock ROM.
    2. Original IMEI_1, IMEI_2, WiFi/Bluetooth Mac Address, Serial Number. (Find on Phone’s box)
    3. SN Write Tool ( Download)
    4. Database Files
    5. ADB Tools ( Inside SN_Write_Tool\Android )
    6. Basic ADB know-how.
    7. And a PC. (obviously)
    1. Navigate to, Settings > System > About Phone > Build Number (Tap 7 times) to enable “Developer Options”.
    2. Now, Enable “USB Debugging” in Settings > System > Developer Options.
    1. Extract SN Write. (For Example, Location: “E:\ SN_Write_Tool_v1.1916.00”)
    2. Open SN Write Tool ( SN_Writer.exe ).
    3. Make sure all the Preliminary steps mentioned in below sections have been performed – Obtaining DB files, Configuring SN Write Tool, Understanding Barcode.
    4. Switch off the phone , while keeping the cable unplugged
    5. Click “ Start ”.
    6. Enter Original IMEI_1, IMEI_2, WiFi/Bluetooth Mac Address, Barcode and press “Ok”
    7. Connect your phone.
    8. Now your phone will automatically boot in Meta Mode .
    9. Wait for the Process to finish.
    10. Now you will see “ Pass ” message if everything completes successfully.
    11. Now it will again ask to enter the details. Click “ Cancel
    12. The phone will now switch off . Then boot it manually.
    13. That’s it. Your phone is now back to normal. Now, you can see Serial No. in adb too.
    • APDB_MT6797_S01_alps-trunk-o0.tk_W19.10 (Approx. size 145kb)
    • MDDB_InfoCustomAppSrcP_MT6797_S00_MANNING_O_Vxx_x_ulwctg_n.EDB (Approx. size 59mb)
      Note: Name and size may slightly vary depending upon your firmware.

    Configuring SN Writer Tool:

      • Open “ SN_Writer.exe ” inside “E:\ SN_Write_Tool_v1.1916.00”.
      • Now Click “ System Config”.
      • Check “ Dual IMEI ” ( Do not check “Dual IMEI Same” under that).
      • In Write options select Barcode, IMEI, BT Address, WiFi Address . (If you don’t have WiFi/BT Address then don’t check/select them).
      • Check “ Load AP DP from DUT ” and “ Load Modem DB from DUT ”.
      • Click “ MD1_DB ” and select the file that you pulled using ADB i.e.
        MDDB_InfoCustomAppSrcP_MT6797_S00_MANNING_O_Vxx_x_ulwctg_n.EDB
      • Click “ AP_DB ” and select the file that you pulled using ADB i.e.
        APDB_MT6797_S01_alps-trunk-o0.tk_W19.10
      • Now click “ Save ”.

    Understanding Barcode:
    It took me lots n lots of trial & error and googling before finding the correct (probably) Barcode format that we need to use in SN Writer. Trust me, it was not an easy task. Below are three iterations of barcode, use any:

    First Iteration (recommended):

    Second Iteration (recommended 2):

    Third Iteration:

    As you can see in the Screenshot attached in this post, “Lenovo Help” app recognizes the device as it is meant to be recognized.

    WiFi/Bluetooth Mac Address:
    Though, it is not a big deal if you lost WiFi/Bluetooth Mac Addresses. They will still work fine even without it.
    If you didn’t backup nvram before or didn’t note down WiFi/Bluetooth Mac address then you can’t get it back. But, if you did TWRP backup of nvram then you can restore it and get back both the original Mac addresses.

    FAQs:
    SN Writer not booting phone into Meta Mode automatically.

    Screenshot_(1).jpg

    Attachments

    kk9999gada

    Senior Member
    • Update post.
    • Added one more iteration of barcode.
    • Added more Screenshots.
    • Correct minor typos.

    softmaster3

    Member

    kk9999gada

    Senior Member

    Android will automatically generate Wi-Fi / Bluetooth address if not found. No need to worry about that. Thats why I I have mentioned in the post that it will still work fine even without it.

    Senior Member

    You mentioned wrong paths, /etc/apdb is fine but /etc/mddb doesn’t exist(empty folder was created in latest update but still no contents in it). mddb is under /vendor/etc/mddb. Just to avoid confusion and even to make this guide suitable for users who pull the file from TWRP make the /etc/apdb to /system/etc/apdb

    ———- Post added at 01:03 PM ———- Previous post was at 01:00 PM ———-

    softmaster3

    Member

    You mentioned wrong paths, /etc/apdb is fine but /etc/mddb doesn’t exist(empty folder was created in latest update but still no contents in it). mddb is under /vendor/etc/mddb. Just to avoid confusion and even to make this guide suitable for users who pull the file from TWRP make the /etc/apdb to /system/etc/apdb

    ———- Post added at 01:03 PM ———- Previous post was at 01:00 PM ———-

    instead of "adb pull /etc/mddb" use "adb pull /vendor/etc/mddb"

    kk9999gada

    Senior Member

    softmaster3

    Member

    kk9999gada

    Senior Member

    softmaster3

    Member
    Senior Member

    psbtheone

    New member

    kk9999gada

    Senior Member

    Nandhu Hazari

    New member

    0xf0rd

    Member

    WP7 Barcode

    I was wondering how did you find the correct Barcode format? I have spent 2 days trying with different combinations and I still have not succeeded in restoring the serial number in my Oukitel WP7. It still gives me the generic serial number 123456789ABCDEF.

    kk9999gada

    Senior Member

    I was wondering how did you find the correct Barcode format? I have spent 2 days trying with different combinations and I still have not succeeded in restoring the serial number in my Oukitel WP7. It still gives me the generic serial number 123456789ABCDEF.

    0xf0rd

    Member

    kk9999gada

    Senior Member

    That would be better.

    There is no need for Part No. or Barcode (both can be replaced with spaces). The only thing required is Serial No.

    0xf0rd

    Member

    That would be better.

    There is no need for Part No. or Barcode (both can be replaced with spaces). The only thing required is Serial No.

    I tried that as well with so many different ways and with spaces and without. I guess the length also matters. I even filled all 63 characters to see if anything changed in settings but it still showed the generic serial number. I am starting to wonder if sn tool is writing the data in the correct location. I am sure I am using the correct database files because I got them from the factory image from the official website and I am able to write the IMEIs correctly.

    I am thinking now to go through the serial number which is 16 characters from left to right. Each time I add a space on the left and no spaces after the serial so first try would be only the serial then a 1 space before it then two spaces before it until I reach the 63 characters. This is like 50 restarts and if that does not work I will try in a same manner but this time full up spaces after the serial and do the same by adding one space on the left each time so first try would be the serial number and the remaining will be spaces up to 63 characters the second time will be one space before the serial and remaining spaces after it up to 63 and so one. I know it’s crazy but if all that does not work I am not sure what else to do.

    Источник

    

    Как восстановить nvram с помощью SN Write Station tool

    linerty

    1. Произвести прошивку аппарата полной заводской прошивкой в соответствие с инструкциями:
      Прошивка смартфона/планшета на МТК прошивальщиком версии 3.х
      Прошивка смартфона/планшета на МТК новым прошивальщиком версии 5.х
    2. Извлечь и вновь вставить аккумулятор. Если это невозможно, то после выключения аппарата подождать 1 минуту.
    3. Отключить аппарат от зарядного устройства и компьютера.
    4. Установить драйверы режима METAMODE
    5. Запустить SN Write Station tool (несколько версий тут: SN Write Station tool )
    6. Запустить программу SN Write Station tool и настроить как на скрине:
      7_SN_Station_adj.png
    7. Отключить телефон от компьютера, снять батарею на 1 минуту.
    8. Нажать кнопку Start.

    — В первом окне необходимо записать серийный номер «Please scan SN», он выглядит примерно так «0123456789ABCDEF» и нажать Enter;

    — Во втором окне «IMEI Scaner» вписать 2 IMEI и нажать OK;

    — В третьем окне «Please scan SmartPhone BT adress» вписать адрес Bluetooth, он выглядит примерно «80cf41750505» и нажать Enter;

    — В четвёртом окне «Please scan Wifi MAC then ower On phone» вписать адрес Wi-Fi, он выглядит примерно «80cf41760606» и нажать Enter. (Если после прописывания SN у вас проблемы со связью и в настройках, при просмотре информации об IMEI появляется ошибка приложения настройки, то в поле SN ничего не вводите!)

    Подключить выключенный телефон к компьютеру (никакие кнопки НЕ нажимать!). Дождаться пока зажжётся зелённый индикатор «Write Result Indicator». (При появлении строки «Step: Meta Disconnect with target» можете отключать телефон и пробовать снова)

    Отключить телефон от компьютера, снять батарею на 1 минуту.

    Включить телефон и проверить работоспособность телефонии, Bluetotth и Wi-Fi.

    Источник