27 pagesV  < 1 2 3 4 5 6 > »  
 
REPLY
> A tool to modify the firmware of Huawei modems
hentrs
Message#41
27.04.17, 08:07
Guru
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 6110
Check in: 12.08.13

Reputation:-  555  +

stupid topic for now.
It is interesting to combine the firmware and the web, ->in one ?!


--------------------
<<-- Born in USSR -->>
-----------------------------------

�� ����� ��� ������ ������� !!! -> � ������ ������ ?!!! download

ilya-fedin
Message#42
27.04.17, 08:11
Bowler Allsavagemessiahzine.com
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 18329
Check in: 29.08.13
LG G3

Reputation:-  2057    +

* hentrs
Previously, the E3372 theme was the Russia Open Market + interface, but it was removed as irrelevant, but what? Want - you can combine yourself, no one bothers.


--------------------
The number of glitches in the firmware is inversely proportional to the amount of user experience.
DartUndying
Message#43
22.05.17, 17:37
Novice
***
[offline]

Group: Active users
Messages 31
Check in: 14.07.09

Reputation:-  0  +

Guys who will help. Need firmware for a Huawei E583C modem? Need a lot.
ilya-fedin
Message#44
22.05.17, 17:38
Bowler Allsavagemessiahzine.com
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 18329
Check in: 29.08.13
LG G3

Reputation:-  2057  +

* DartUndying
And what have the tools? Offtop-s. Ask in the subject of the device.


--------------------
The number of glitches in the firmware is inversely proportional to the amount of user experience.
DartUndying
Message#45
22.05.17, 17:39
Novice
***
[offline]

Group: Active users
Messages 31
Check in: 14.07.09

Reputation:-  0  +

* ilya-fedin
That's it, that this topic is not with this device.
ilya-fedin
Message#46
22.05.17, 17:41
Bowler Allsavagemessiahzine.com
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 18329
Check in: 29.08.13
LG G3

Reputation:-  2057  +

* DartUndying
So create


--------------------
The number of glitches in the firmware is inversely proportional to the amount of user experience.
DartUndying
Message#47
22.05.17, 17:45
Novice
***
[offline]

Group: Active users
Messages 31
Check in: 14.07.09

Reputation:-  0  +

* ilya-fedin
There would be an opportunity, would create. I can not even do this, unfortunately.
ilya-fedin
Message#48
22.05.17, 18:05
Bowler Allsavagemessiahzine.com
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 18329
Check in: 29.08.13
LG G3

Reputation:-  2057  +

* DartUndying
Then I can only benefit


--------------------
The number of glitches in the firmware is inversely proportional to the amount of user experience.
DartUndying
Message#49
22.05.17, 18:45
Novice
***
[offline]

Group: Active users
Messages 31
Check in: 14.07.09

Reputation:-  0  +

Guys, who will help, I will be very grateful!
asmus21
Message#50
22.05.17, 21:31
Healer
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 8516
Check in: 27.02.13

Reputation:-  1099  +

DartUndying @ 05/22/17, 17:37*
Guys who will help. Need firmware for a Huawei E583C modem? Need a lot.

It looked here, all in one placeHere.
gmbest89
Message#51
25.05.17, 13:36
User
****
[offline]

Group: Friendssavagemessiahzine.com
Messages 67
Check in: 10.03.17

Reputation:-  4  +

@All Experts Please EXT4 and EXT system format instead of CPIO
M
Item rules: 3.1. The official language of the resource is Russian.
Item of the rules: 3.1. The official language of the resource is Russian. 3.2. All messages must be written in Cyrillic.


Post has been editedstp101 - 25.05.17, 15:43
ilya-fedin
Message#52
25.05.17, 17:37
Bowler Allsavagemessiahzine.com
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 18329
Check in: 29.08.13
LG G3

Reputation:-  2057  +

* gmbest89,
And what's the use of this?


--------------------
The number of glitches in the firmware is inversely proportional to the amount of user experience.
ilya-fedin
Message#53
07.06.17, 04:52
Bowler Allsavagemessiahzine.com
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 18329
Check in: 29.08.13
LG G3

Reputation:-  2057  +

Slightly corrected script fromrust3028for easy assembly of web interfaces (updated 08/31/2017):Attached fileBuild_proshivki.zip(1.02 MB)
As well as a package for assembling firmware from Huawei:Attached filemake_pkg_secure_v1_3.rar(17.82 MB)


Post has been editedilya-fedin - 31.08.17, 18:37


--------------------
The number of glitches in the firmware is inversely proportional to the amount of user experience.
ilya-fedin
Message#54
08.06.17, 06:06
Bowler Allsavagemessiahzine.com
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 18329
Check in: 29.08.13
LG G3

Reputation:-  2057  +

ilya-fedin @ 06/07/17 05:52*
A bit corrected script from rust3028

Perezal, added more automatic update version


--------------------
The number of glitches in the firmware is inversely proportional to the amount of user experience.
TresMarias71
Message#55
09.06.17, 13:52
a guest
*
[online]

Group: Users
Messages 2
Check in: 30.11.16

Reputation:-  0  +

I got this error 13

Attached Image
kolyanok
Message#56
27.07.17, 01:05
Old resident
*******
[offline]

Group: Curators
Messages 1116
Check in: 19.01.13
Apple iPhone X

Reputation:-  306  +

It would be cool if someone from knowledgeable people described how everything works.
I can start with what I have figured out relatively.
At once I will say that for all experiments it is strongly recommended to use any OS based on UNIX (MacOS, Linux, BSD, etc.), but not Windows. If you want to do something on Windows, then be prepared for a double portion of various problems with software, etc.

For starters, you can run through the firmware utility binwalk (you can put it or collectedfrom repo, or through a package manager).
binwalk firmware.bin

From the output we see that the firmware consists a lot of what. There android bootimg, and the kernel, and what is of most interest to us, namely: the file system, packed in the cpio archive, as well as the web interface.
To disassemble the firmware, you can use the balong_flash tool.
https://github.com/forth32/balongflash
To build it you just need to move to the source directory and type make in the console (in general, almost any program on Unix is ​​going to do the same thing).
Next, we can use balong_flash to disassemble the firmware. To do this, run the utility with the -e key.
balong_flash -e firmware.bin

The parts that make up the firmware will appear, including the ones we need to modify the System and WEBUI. If there are only two sections, you should not be upset, because it just means that the firmware consists of two parts (for the "modem" and "router" parts of your device, we are interested in the "router"). Unpack each part with balong_flash. In one of them, most likely, are System and WEBUI.
Now I want to tell (approximately enough) about what each section is:
APP- cpio archive (you can unpack and modify). Content - as I understand it, the drivers for hardware installed in the device (Wi-Fi, LED garland, etc.)
Fastboot- to those who, in one way or another, have ever met with Android firmware, need no introduction. For the rest - this is such a loader. It can be disassembled (although it is necessary to use not cpio, but other utilities), but there is very little practical sense in this.
The three M3Boot files are something proprietary from the HUAV, most likely responsible for the download. Cannot be disassembled. Disassemble only.
Kernel- core. In my opinion, there is no special sense to disassemble. In different firmware it understands differently.
Vxworks- there is one of the device's OS. Read morehereandhere.
M3Image- I do not know what it is ...
DSP- Maybe something related to the chip DSP (digital signal processor) installed in the device.
Nvdload- NVRAM device image.
System- cpio archive (you can unpack and modify). Contains the file system of the device. It is usually modified by moderators to enable adb, telnet (autorun.sh script), TTL fixations, etc.
WEBUI- also cpio archive. There is a web interface of the modem, which can also be changed at its discretion.
Modifying the firmware is quite simple: disassemble the cpio archive
cpio -im -F File Archive

then make the necessary changes and collect everything back with a backup command from the archived directory.
find. | cpio -o -H newc -F ../image.cpio

How to assemble the firmware back I have not figured it out yet: rofl:
But I think that I will soon figure it out and then I will write about it here ...
I am writing this post in order to make information on firmware modification more accessible to beginners modders.
A huge request to knowledgeable people, please rate the result of my "research" :)
And please tell us how you can collect the firmware back? As I understand it, all the cut files need to be simply sequentially assembled into one (using, for example, dd)? Those utilities that are proposed in this topic did not work for me, but I somehow didn’t understand the logic of their work based on the text of the scripts.
Thank.

Post has been editedkolyanok - 27.07.17, 01:12
Reason for editing: Slightly designed to not look like a dull wall of text.


--------------------
I'm macOS
Linux Club
If you want to contact me, mention in the message my nickname using the "name" button (for a notification to arrive) or write a PM
ilya-fedin
Message#57
27.07.17, 10:50
Bowler Allsavagemessiahzine.com
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 18329
Check in: 29.08.13
LG G3

Reputation:-  2057  +

* kolyanok
binwalk is not needed at all. For analysis under Windows there is a rust3028 script. No balong_flash is needed either. For forth forth32 sawing a utility with goi, all on github. True, it is still alpha.
https://github.com/forth32/qhuaweiflash

Post has been editedilya-fedin - 27.07.17, 10:50


--------------------
The number of glitches in the firmware is inversely proportional to the amount of user experience.
kolyanok
Message#58
27.07.17, 14:03
Old resident
*******
[offline]

Group: Curators
Messages 1116
Check in: 19.01.13
Apple iPhone X

Reputation:-  306  +

* ilya-fedin
Binwalk used to analyze content just ...
ilya-fedin @ 07/27/17, 10:50*
For analysis under Windows there is a rust3028 script

It parses less conveniently (without the names of the sections) and is only under Windows.
Kolyanok @ 07/27/17, 01:05*
For forth forth32 sawing utility with goi, all on github

Thanks for the link. Now replaced in the cpio firmware and assembled it. It remains to test :) The utility, by the way, is not only for Linux. She Qt and should be collected under any platform. Under the poppy, at least, it is perfectly assembled and works (if someone needs binaries, I can throw).
If everything works out, I will write here a guide on the modification of the firmware, so that no one else can soar with it.
In general, the topic is quite popular and very interesting. It is strange that there is little specifics in the topic and the information is somehow scraps. It was necessary to reach the whole method at random for two days. How far I figured out I will try to structure everything here, so to speak, for future generations :)


--------------------
I'm macOS
Linux Club
If you want to contact me, mention in the message my nickname using the "name" button (for a notification to arrive) or write a PM
1qqq
Message#59
27.07.17, 14:50
Old resident
*******
[online]

Group: Friendssavagemessiahzine.com
Messages 996
Check in: 01.04.08

Reputation:-  42  +

ilya-fedin @ 07/27/17, 14:46*
What is the screenshot?



ilya-fedin @ 07/27/17, 2:49 PM*
How does this relate to this topic?


The topic is not very relevant - DELETE!

Post has been edited1qqq - 27.07.17, 14:55
unersetztmann
Message#60
31.07.17, 18:21
User
****
[offline]

Group: Friendssavagemessiahzine.com
Messages 53
Check in: 24.09.12
Huawei Mate 20 lite SNE-LX1

Reputation:-  0  +

And how to open cpio on Windows? Everywhere they refer to Linux ... I am interested in modifying the modified firmware))): D
Huawei
 

27 pagesV  < 1 2 3 4 5 6 > » 


 mobile version    Now: 05/01/19 13:25