Set Huawei E3372h from hilink to stick mode: Unterschied zwischen den Versionen
Markus (Diskussion | Beiträge) |
Markus (Diskussion | Beiträge) |
||
Zeile 4: | Zeile 4: | ||
This is particularly important when used with a Mikrotik RB951 Wifi router. | This is particularly important when used with a Mikrotik RB951 Wifi router. | ||
− | == | + | == Fix1 recommendet by Mikrotik Support == |
<pre> | <pre> | ||
The original mode was: | The original mode was: | ||
Zeile 29: | Zeile 29: | ||
FF - Dummy (disable modeswitch when using this as the initial mode?) | FF - Dummy (disable modeswitch when using this as the initial mode?) | ||
</pre> | </pre> | ||
+ | |||
+ | == Fix 2, found elsewhere == | ||
+ | Since an easy mode switch only seems to work with devices in stick mode, and as I had a more recent device with a more recent firmware, I needed to take a more complicated way. But no, it is not complicated. See by yourself: | ||
+ | |||
+ | I followed the instructions given here: | ||
+ | * http://www.0xf8.org/2017/01/flashing-a-huawei-e3372h-4g-lte-stick-from-hilink-to-stick-mode/ | ||
+ | * https://www.lteforum.at/mobilfunk/firmware-versionen-hi-non-hilink-e3372h-inkl-mod.2691/seite-36.html#post-101203 | ||
+ | |||
+ | === Preparations === | ||
+ | This guide assumes you have Linux and a compiler installed and you know how to use GIT. So: | ||
+ | |||
+ | git clone https://github.com/forth32/balongflash.git | ||
+ | git clone https://github.com/forth32/balong-usbdload.git | ||
+ | |||
+ | Go into these directories and enter "make". If you have a decent GCC compiler , "make" will produce according binaries. | ||
+ | |||
+ | Take a browser and visit the page https://www.lteforum.at/mobilfunk/firmware-versionen-hi-non-hilink-e3372h-inkl-mod.2691/ | ||
+ | |||
+ | Then download the file linked behind '''E3372h-153 21.180.01.00.00 general''' (a 7z archive), unpack it with | ||
+ | |||
+ | 7z x Huawei_E3372h-153_21.180.01.00.00_Firmware_general_3Ginfo.ru.7z | ||
+ | |||
+ | It will give you a file called '''E3372h-153_UPDATE_21.180.01.00.00.BIN''' | ||
+ | |||
+ | === Open the case === | ||
+ | The stick can be opened using a TX5HF screwdriver. You just need to unscrew both screws near the USB plug. | ||
+ | |||
+ | Use a flat screwdriver to carefully remove the rest of the case. | ||
+ | |||
+ | === Set the stick into an init mode === | ||
+ | Use a crocodile clamp or something else and connect the plug's ground to the first of the round contact pads. This will shorten your stick and set it into a boot mode. | ||
+ | |||
+ | The Russian guy explains how to do that: https://www.youtube.com/watch?v=0RsFQH-lAQg&feature=youtu.be | ||
+ | |||
+ | You will now have a serial device at /dev/ttyUSB0 | ||
+ | |||
+ | === balong-usbdload === | ||
+ | |||
+ | Now flash the first part. I guess, it erases the stick. | ||
+ | |||
+ | root@note:~/git# ./balong-usbdload/balong-usbdload -p /dev/ttyUSB0 balong-usbdload/usblsafe-3372h.bin | ||
+ | |||
+ | Аварийный USB-загрузчик Balong-чипсета, версия 2.03, (c) forth32, 2015 | ||
+ | |||
+ | * Удалена процедура flash_eraseal по смещению 000004b0 | ||
+ | |||
+ | Компонент Адрес Размер %загрузки | ||
+ | ------------------------------------------ | ||
+ | raminit 00000000 3412 100% | ||
+ | usbboot 57700000 5922289 100% | ||
+ | |||
+ | Загрузка окончена | ||
+ | |||
+ | I don't spear Russian, but this looks like success. | ||
+ | |||
+ | Your Stick will now create three serial interfaces: | ||
+ | |||
+ | * /dev/ttyUSB0 | ||
+ | * /dev/ttyUSB1 | ||
+ | * /dev/ttyUSB2 | ||
+ | |||
+ | === balongflash === | ||
+ | |||
+ | Now flash the new firmware to the stick. Try with all three devices. I was successful with /dev/ttyUSB2 (the last I tried): | ||
+ | |||
+ | root@note:~/git# ./balongflash/balong_flash -p /dev/ttyUSB0 E3372h-153_UPDATE_21.180.01.00.00.BIN | ||
+ | |||
+ | Программа для прошивки устройств на Balong-чипсете, V3.0.241, (c) forth32, 2015, GNU GPLv3 | ||
+ | -------------------------------------------------------------------------------------------------- | ||
+ | |||
+ | Код файла прошивки: 9 (ONLY_FW) | ||
+ | Цифровая подпись: 2958 байт | ||
+ | Версия прошивки: 21.180.01.00.00 | ||
+ | Платформа: BV7R11HS | ||
+ | Дата сборки: 2014.09.30 07:17:54 | ||
+ | Заголовок: версия 1, код соответствия: HWEW11.1 | ||
+ | Модем уже находится в HDLC-режиме | ||
+ | Нет ответа от модема в HDLC-режиме | ||
+ | root@note:~/git# ./balongflash/balong_flash -p /dev/ttyUSB1 E3372h-153_UPDATE_21.180.01.00.00.BIN | ||
+ | |||
+ | Программа для прошивки устройств на Balong-чипсете, V3.0.241, (c) forth32, 2015, GNU GPLv3 | ||
+ | -------------------------------------------------------------------------------------------------- | ||
+ | |||
+ | Код файла прошивки: 9 (ONLY_FW) | ||
+ | Цифровая подпись: 2958 байт | ||
+ | Версия прошивки: 21.180.01.00.00 | ||
+ | Платформа: BV7R11HS | ||
+ | Дата сборки: 2014.09.30 07:17:54 | ||
+ | Заголовок: версия 1, код соответствия: HWEW11.1 | ||
+ | Модем уже находится в HDLC-режиме | ||
+ | Нет ответа от модема в HDLC-режиме | ||
+ | root@note:~/git# ./balongflash/balong_flash -p /dev/ttyUSB2 E3372h-153_UPDATE_21.180.01.00.00.BIN | ||
+ | |||
+ | Программа для прошивки устройств на Balong-чипсете, V3.0.241, (c) forth32, 2015, GNU GPLv3 | ||
+ | -------------------------------------------------------------------------------------------------- | ||
+ | |||
+ | Код файла прошивки: 9 (ONLY_FW) | ||
+ | Цифровая подпись: 2958 байт | ||
+ | Версия прошивки: 21.180.01.00.00 | ||
+ | Платформа: BV7R11HS | ||
+ | Дата сборки: 2014.09.30 07:17:54 | ||
+ | Заголовок: версия 1, код соответствия: HWEW11.1 | ||
+ | Режим цифровой подписи: ONLY_FW (2958 байт) | ||
+ | Версия протокола: 7200B--SKCBADZM | ||
+ | Идентификатор устройства: HUAWEI BV7R11HS | ||
+ | ---------------------------------------------------- | ||
+ | |||
+ | ## ---- Имя раздела ---- записано | ||
+ | 00 Fastboot 100% | ||
+ | 01 M3Boot_R11 100% | ||
+ | 02 M3Boot-ptable 100% | ||
+ | ! Ошибка закрытия раздела 2 (M3Boot-ptable) - таймаут команды | ||
+ | |||
+ | I guess pretty much that this means success. | ||
== See also == | == See also == |
Version vom 5. Juli 2017, 20:58 Uhr
Inhaltsverzeichnis
1 Problem
Problem: The Huawei LTE Modem E3372h is a dual mode modem and needs to be switched into the hilink mode.
This is particularly important when used with a Mikrotik RB951 Wifi router.
2 Fix1 recommendet by Mikrotik Support
The original mode was: AT^SETPORT="A1,A2;12,1,16,A1,A2" I set the modem to: AT^SETPORT="FF;12,1,16" usb power reset, and it started working as a PPP interface. ------ I found theese settings using AT^SETPORT, and AT^GETPORTNAME: AT^SETPORT="initial_mode;normal_mode" map: 1 - Mobile Data Modem (MDM) 5 - GPS interface 6 - control interface 12 - PC UI 10 - modem? 16 - NDIS A1 - Virtual cd A2 - TF card reader FF - Dummy (disable modeswitch when using this as the initial mode?)
3 Fix 2, found elsewhere
Since an easy mode switch only seems to work with devices in stick mode, and as I had a more recent device with a more recent firmware, I needed to take a more complicated way. But no, it is not complicated. See by yourself:
I followed the instructions given here:
- http://www.0xf8.org/2017/01/flashing-a-huawei-e3372h-4g-lte-stick-from-hilink-to-stick-mode/
- https://www.lteforum.at/mobilfunk/firmware-versionen-hi-non-hilink-e3372h-inkl-mod.2691/seite-36.html#post-101203
3.1 Preparations
This guide assumes you have Linux and a compiler installed and you know how to use GIT. So:
git clone https://github.com/forth32/balongflash.git git clone https://github.com/forth32/balong-usbdload.git
Go into these directories and enter "make". If you have a decent GCC compiler , "make" will produce according binaries.
Take a browser and visit the page https://www.lteforum.at/mobilfunk/firmware-versionen-hi-non-hilink-e3372h-inkl-mod.2691/
Then download the file linked behind E3372h-153 21.180.01.00.00 general (a 7z archive), unpack it with
7z x Huawei_E3372h-153_21.180.01.00.00_Firmware_general_3Ginfo.ru.7z
It will give you a file called E3372h-153_UPDATE_21.180.01.00.00.BIN
3.2 Open the case
The stick can be opened using a TX5HF screwdriver. You just need to unscrew both screws near the USB plug.
Use a flat screwdriver to carefully remove the rest of the case.
3.3 Set the stick into an init mode
Use a crocodile clamp or something else and connect the plug's ground to the first of the round contact pads. This will shorten your stick and set it into a boot mode.
The Russian guy explains how to do that: https://www.youtube.com/watch?v=0RsFQH-lAQg&feature=youtu.be
You will now have a serial device at /dev/ttyUSB0
3.4 balong-usbdload
Now flash the first part. I guess, it erases the stick.
root@note:~/git# ./balong-usbdload/balong-usbdload -p /dev/ttyUSB0 balong-usbdload/usblsafe-3372h.bin Аварийный USB-загрузчик Balong-чипсета, версия 2.03, (c) forth32, 2015 * Удалена процедура flash_eraseal по смещению 000004b0 Компонент Адрес Размер %загрузки ------------------------------------------ raminit 00000000 3412 100% usbboot 57700000 5922289 100% Загрузка окончена
I don't spear Russian, but this looks like success.
Your Stick will now create three serial interfaces:
- /dev/ttyUSB0
- /dev/ttyUSB1
- /dev/ttyUSB2
3.5 balongflash
Now flash the new firmware to the stick. Try with all three devices. I was successful with /dev/ttyUSB2 (the last I tried):
root@note:~/git# ./balongflash/balong_flash -p /dev/ttyUSB0 E3372h-153_UPDATE_21.180.01.00.00.BIN Программа для прошивки устройств на Balong-чипсете, V3.0.241, (c) forth32, 2015, GNU GPLv3 -------------------------------------------------------------------------------------------------- Код файла прошивки: 9 (ONLY_FW) Цифровая подпись: 2958 байт Версия прошивки: 21.180.01.00.00 Платформа: BV7R11HS Дата сборки: 2014.09.30 07:17:54 Заголовок: версия 1, код соответствия: HWEW11.1 Модем уже находится в HDLC-режиме Нет ответа от модема в HDLC-режиме root@note:~/git# ./balongflash/balong_flash -p /dev/ttyUSB1 E3372h-153_UPDATE_21.180.01.00.00.BIN Программа для прошивки устройств на Balong-чипсете, V3.0.241, (c) forth32, 2015, GNU GPLv3 -------------------------------------------------------------------------------------------------- Код файла прошивки: 9 (ONLY_FW) Цифровая подпись: 2958 байт Версия прошивки: 21.180.01.00.00 Платформа: BV7R11HS Дата сборки: 2014.09.30 07:17:54 Заголовок: версия 1, код соответствия: HWEW11.1 Модем уже находится в HDLC-режиме Нет ответа от модема в HDLC-режиме root@note:~/git# ./balongflash/balong_flash -p /dev/ttyUSB2 E3372h-153_UPDATE_21.180.01.00.00.BIN Программа для прошивки устройств на Balong-чипсете, V3.0.241, (c) forth32, 2015, GNU GPLv3 -------------------------------------------------------------------------------------------------- Код файла прошивки: 9 (ONLY_FW) Цифровая подпись: 2958 байт Версия прошивки: 21.180.01.00.00 Платформа: BV7R11HS Дата сборки: 2014.09.30 07:17:54 Заголовок: версия 1, код соответствия: HWEW11.1 Режим цифровой подписи: ONLY_FW (2958 байт) Версия протокола: 7200B--SKCBADZM Идентификатор устройства: HUAWEI BV7R11HS ---------------------------------------------------- ## ---- Имя раздела ---- записано 00 Fastboot 100% 01 M3Boot_R11 100% 02 M3Boot-ptable 100% ! Ошибка закрытия раздела 2 (M3Boot-ptable) - таймаут команды
I guess pretty much that this means success.