Unpacking \ Build firmware fileTo unpack the firmware we need:
- Firmware itself
- imgRePacker from the header
- Any programto extract the img file from ext4. I used MTwinTools since previously worked with her.
Unpacking 1 . Download the firmware for our console. The firmware itself has the form * .img. (In the example, I will use the official firmware 20150603)
2. Put the image in the D: \ Firmware directory
3. Unpack the PhoenixSuit firmware image (*. Img) using imgRePacker.
To do this, run the program specifying the full path to the firmware:
imgRePacker.exe D: \ Firmware \ SBQ-A0310-Smart-Box-Quad_20150603.img
Upon completion of unpacking, our unpacked firmware will be in the directory with the original image in the folder
<name>.img.dump. (In our case:
D: \ Firmware \ SBQ-A0310-Smart-Box-Quad_20150603.img.dump)
4. .fex files in the folder with the unpacked firmware, these are the corresponding images of the firmware sections in ext4. Therefore, we rename the section we need to .img (In our case, system.fex I renamed to system.img)
5. Unpack the ext4 image. I used MTwinTools.
- Unpack the utility.
- In the directory MTwinTools_v1.0 \ _In we put our system.img
- Launch menu.bat
- Select "5-Init Tools"
- After initialization, we return to the main menu.
- Next, select "2-System"
- We select the action with the image: "5-unpack ext4" and our image "1-system" (Upon completion, you can exit the program)
The unpacked partition will be in MTwinTools_v1.0 \ Unpack \ system
6. We edit the section at our discretion.
It is recommended to register the rights for new files in the MTwinTools_v1.0 \ Unpack \ system_statfile.txt file
Assembly After editing the firmware, we repeat everything in the reverse order.
1. Putting the partition image in ext4.
Launch menu.bat
Next, select "2-System"
Select an action with the image: "6-pack ext4"
Upon completion, our new image will lie MTwinTools_v1.0 \ Pack \ Image \ system.img
2. Copy system.img to the folder with the parsed PhoenixSuit image (in the example it is D: \ Firmware \ SBQ-A0310-Smart-Box-Quad_20150603.img.dump)
3. Rename system.img back to system.fex
4. We assemble the PhoenixSuit image (it is recommended to rename the native firmware image (.img) or the folder with the disassembled image before assembly):
imgRePacker.exe D: \ Firmware \ SBQ-A0310-Smart-Box-Quad_20150603.img.dump
Upon completion, you will receive a new firmware image through PhoenixSuit in D: \ Firmware \ SBQ-A0310-Smart-Box-Quad_20150603.img
5. We flash the PhoenixSuit image according to the official instructions.
Post has been editedSnakesel - 04.09.15, 19:42