GithubHelp home page GithubHelp logo

forth32 / qhuaweiflash Goto Github PK

View Code? Open in Web Editor NEW
56.0 56.0 42.0 367 KB

Графическая утилита для прошивки модемов и роутеров фирмы HUAWEI и редактирования файлов прошивок

C++ 99.26% QMake 0.22% C 0.52%

qhuaweiflash's People

Contributors

forth32 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

qhuaweiflash's Issues

Error with flash and qhuawei flash same error

Unable to flash with balong flash and use qhuaweiflash too same error

Firmware source :-ValdikSS / huawei-fw-list.txt
Thanks in advance 🙏
E:\hu\organise\huawei new\E5787\E5787-33A\test>balong_flash.exe -f E5787s-33a_UPDATE_21.315.05.01.1367_WEBUI_17.100.15.05.1367_NE5.bin

Software for flashing devices on the Balong chipset, V3.0.280, (c) forth32, 2015, GNU GPLv3
Port for Windows 32bit (c) rust3028, 2016

Firmware File Code: f (FW_ISO_WEBUI)
Search section # 9
! Error unpacking section System (59)

other info

qhuawei flash ubuntu

Starting /home/genesis/Desktop/build-qhuaweiflash-Desktop_Qt_5_9_1_GCC_64bit-Debug/qhuaweiflash...
Gtk-Message: 18:30:42.435: GtkDialog mapped without a transient parent. This is discouraged.

Код файла прошивки: 7 (07-FW_ISO_WEBUI)
! Ошибка распаковки раздела System (59)
/home/genesis/Desktop/build-qhuaweiflash-Desktop_Qt_5_9_1_GCC_64bit-Debug/qhuaweiflash exited with code 0

инструкция по сборке

можно ли краткую инструкцию по сборке на Linux?

user@acer-notebook:~/Загрузки/qhuaweiflash$ make
make: *** Не заданы цели и не найден make-файл.  Останов.
user@acer-notebook:~/Загрузки/qhuaweiflash$ qmake
WARNING: Failure to find: fwsave.cpp
WARNING: Failure to find: fwsave.h
WARNING: Failure to find: fwsave.ui
user@acer-notebook:~/Загрузки/qhuaweiflash$ ls
findparts.ui  hexeditor  MainWindow.h  qhuaweiflash.pro  usbloader.cpp
flasher.cpp   icon.ico   Makefile      qhuaweiflash.qrc  usbloader.h
flasher.h     main.cpp   ptable.cpp    sio.cpp           usbloader.ui
flasher.ui    main.ui    ptable.h      sio.h
user@acer-notebook:~/Загрузки/qhuaweiflash$ make
/usr/lib/x86_64-linux-gnu/qt4/bin/uic main.ui -o ui_main.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic findparts.ui -o ui_findparts.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic flasher.ui -o ui_flasher.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic usbloader.ui -o ui_usbloader.h
make: *** Нет правила для сборки цели «fwsave.ui», требуемой для «ui_fwsave.h».  Останов.

ERROR IN COMPILING

E:\hu\learn\qpr\qhuaweiflash-master\main.cpp:-1: In member function 'void MainWindow::Menu_Part_Store()':

E:\hu\learn\qpr\qhuaweiflash-master\main.cpp:461: error: 'bzero' was not declared in this scope
bzero(hdr,sizeof(hdr));
^

E:\hu\learn\qpr\qhuaweiflash-master\main.cpp:-1: In member function 'void MainWindow::DataChanged()':

E:\hu\learn\qpr\qhuaweiflash-master\main.cpp:680: error: 'bzero' was not declared in this scope
bzero(tdata,ptable->psize(hrow));
^

Неполное что-то беспорядочное

При попытке создать его, он показывает ПРЕДУПРЕЖДЕНИЕ: Не удалось найти: ulpatcher.cpp
ВНИМАНИЕ: Не удалось найти: ulpatcher.h
2 файла упоминаются в Makefile, но не отображаются здесь .. являются ли программы неполными?

new v5 signver

Hello please update new signver for v5

9CA8AE7125303F6CA3BD0201304780611A3FDBE2409866093854EB655B1C1E

Can you port this code to windows too?

The are alot of usages of libraries that make this code only compile on Unix system alone like the use the use of "termios" or The use of bzero() on line 300 and 520 makes this code not to compile on Windows and this function is deprecated or less one has to define something like this below,
#define bzero(b,len) (memset((b), '\0', (len)), (void) 0)

Flashing modified firmware to E5788: "! Error closing section 9 (System) - error code 0c"

Hi, I have a E5788u-96c and I am trying to modify the firmware (specifically, modifying the system section) and then flash it. When I try to flash the firmware modified by qhuaweiflash, using balong_flash after saving the modified firmware, I get an error saying this:

! Error closing section 9 (System) - error code 0c

Here is the full thing:

sudo ./balong_flash -f e5788-fw-modified.BIN 
[sudo] password for user: 
--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------

 Firmware File Code: b (FW_ISO)
                                 
 Digital signature: 4014 bytes
 Hash public key: 44C7B100763BF828B13B8B6AECF1ED2A6D3CB2888998F41448B276207B0F4EC4
 Firmware version: 11.450.09.02.1217
 Platform:       M9650UE__1
 Build Date:     2017.12.28 15:55:04
 Header: version 1, match code: HWEW11.1
 Digital Signature Mode: FW_ISO (4014 bytes)
 Protocol Version: 7200B--SKCBADZM
 Device ID: HUAWEI M9650UE__1
----------------------------------------------------

##  ---- Section name --- recorded

00  Fastboot              100%
01  M3Boot-ptable         100%
02  M3Boot                100%
03  M3Image               100%
04  VxWorks               100%
05  Kernel_R11            100%
06  Oeminfo               100%
07  U00390000             100%
08  Logo                  100%
09  System                100%
! Error closing section 9 (System) - error code 0c

Проблема при сборке

QT5
qmake - норма
а make
...
ptable.cpp:7:10: fatal error: zlib.h: Нет такого файла или каталога
#include <zlib.h>
compilation terminated.
Makefile:619: recipe for target 'ptable.o' failed
make: *** [ptable.o] Error 1

I desperately in need of your help My respected friend "forth32"

In app partition specifically webauth folder a files in xml format but it is data file according to linux
when I modify the file using hex editor or vim via linux and then apply it into modem I cannot open the page url 192.168.8.1 , it open only if I restored the original file , it will look like the modified file are corrupted or need signing ?!

can you guide me with a tool that can help me make the modified file work like when I replace the original with the modified one, I can get inside 192.168.8.1 via browser and see what I have changed works pleeease ?

last thing how to insert command at^sfm=1 and 0 via balong_nvtool if it gives error via telnet in new routers cat6 and above ??

Thank you in advance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.