Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Huawei E3372h-607 刷到掛之處理紀錄

因為原廠支援有問題狀態下需要自己處理原有的刷機機制遇到新版 Firmware 無法順利降版並轉成 Stick Mode,所以找到這一篇來處理。

  1. 事前準備

    a. 一台 Linux (Windows 也可以,但我沒有成功完成過)

    b. 一根迴紋針 (進 USB boot 用)

    c. 要刷的韌體 BIN 檔

  2. 處理過程

    a. 準備相關軟體

    i. balong-usbload

    ii. balongflash

    iii. make 一下 (沒用到什麼 lib)

    b. 進入 USB boot 模式

    i. 把 modem 拆開

    ii. 看電路板的這個部份,把相關接點跟旁邊的鐵殼接起來 (拿迴紋針來用)

    iii. 插到電腦的 USB

    iv. dmesg 會看到以下訊息 (需等一下),Modem 在 ttyUSB0

    ...
    [ 8741.687402] usb 1-1.3: new high-speed USB device number 58 using ehci-pci
    [ 8741.796417] usb 1-1.3: unable to get BOS descriptor
    [ 8741.797268] usb 1-1.3: New USB device found, idVendor=12d1, idProduct=1443
    [ 8741.797270] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [ 8741.797271] usb 1-1.3: Product: USB COM
    [ 8741.797272] usb 1-1.3: Manufacturer: HUA WEI
    [ 8741.797566] option 1-1.3:1.0: GSM modem (1-port) converter detected
    [ 8741.797623] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB0
    ...
    

    v. lsusb 一下

    ...
    Bus 001 Device 077: ID 12d1:1443 Huawei Technologies Co., Ltd. 
    ...
    

    vi. 執行 balong-usbload

    sudo balong-usbdload -p /dev/ttyUSB0 usblsafe-3372h.bin
    

    vii. 執行過程 (沒看到這個都是失敗,要再重頭開始)

     Аварийный USB-загрузчик Balong-чипсета, версия 2.03, (c) forth32, 2015
    
     * Удалена процедура flash_eraseal по смещению 000052c4
    
     Компонент    Адрес    Размер   %загрузки
     ------------------------------------------
     raminit    00000000     3412   100%
     usbboot    57700000  5922289   100%
    
     Загрузка окончена
    

    viii. 接著應該可以看得到會多兩個 USB Devices

    [ 3415.303207] usb 1-1.3: new high-speed USB device number 4 using ehci-pci
    [ 3415.412380] usb 1-1.3: New USB device found, idVendor=12d1, idProduct=1c05
    [ 3415.412382] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [ 3415.412383] usb 1-1.3: Product: HUAWEI_MOBILE
    [ 3415.412384] usb 1-1.3: Manufacturer: HUAWEI_MOBILE
    [ 3415.435049] option 1-1.3:1.0: GSM modem (1-port) converter detected
    [ 3415.435130] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB0
    [ 3415.435185] option 1-1.3:1.1: GSM modem (1-port) converter detected
    [ 3415.435263] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB1
    [ 3415.435321] option 1-1.3:1.2: GSM modem (1-port) converter detected
    [ 3415.435384] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB2
    

    viiii. 執行 balongflash 在ttyUSB2 上 (其他都會失敗)

    sudo balong_flash -p /dev/ttyUSB2 <firmware path>
    

    x. 執行過程 (沒看到這個都是失敗,要再重頭開始)

    Программа для прошивки устройств на Balong-чипсете, V3.0.280, (c) forth32, 2015, GNU GPLv3
    --------------------------------------------------------------------------------------------------
    
    Код файла прошивки: 9 (ONLY_FW)
                                 
    Цифровая подпись: 2958 байт
    Хеш открытого ключа: 778A8D175E602B7B779D9E05C330B5279B0661BF2EED99A20445B366D63DD697
    Версия прошивки: 21.318.01.00.00
    Платформа:       BV7R11HS
    Дата сборки:     2016.04.20 08:13:29
    Заголовок: версия 1, код соответствия: HWEW11.1
    Режим цифровой подписи: ONLY_FW (2958 байт)
    Версия протокола: 7200B--SKCBADZM
    Идентификатор устройства: HUAWEI BV7R11HS
    ----------------------------------------------------
    
    ##  ---- Имя раздела ---- записано
    00  Fastboot              100%
    01  M3Boot_R11            100%
    02  M3Boot-ptable         100%
    03  Kernel_R11            100%
    04  VxWorks_R11           100%
    05  M3Image_R11           100%
    06  DSP_R11               100%
    07  Nvdload_R11           100%
    08  System                100%
    09  APP                   100%
    
    Перезагрузка модема...
    
  3. 完成

  4. 不知道是不是我的 USB Port 還是程式問題,有時後會卡住沒法繼續,只要有不一樣的內容就得重新開始

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.