未找到 TRX 标头?

未找到 TRX 标头?

我想提取固件映像并对其进行一些小的更改,然后通过 FirmWare 修改套件将其重新安装到我的路由器上。下面您可以看到我得到的错误。

# sudo ./extract_firmware.sh ~/Downloads/router_firmware_fullImage.bin ~/kamil/

我越来越:

Firmware Mod Kit (extract) v0.69 beta, (c)2010 Jeremy Collake
http://www.bitsum.com
Checking for updates ...
 You have the latest version of this kit.
LINUX system detected. Compatibility ok.
Testing file system of /home/user/kamil/ ...
Building tools ...
Build seems successful.
Preparing working directory ...
Removing any previous files ...
Creating directories ...
Extracting firmware
! untrx failed, trying splitter3
Attempting squashfs 3.0 lzma ...
Trying 'damn small' variant - used by DD-WRT v24 ...
Error: filesystem not extracted properly.
   firmware image format not compatible?

我在 ubuntu 11.04 上使用该套件的最新版本。

附加信息:

# cat extract.log

............
untrx 0.54 beta - (c)2006-2010 Jeremy Collake

Opening /home/user/Downloads/router_firmware_fullImage.bin
read 1972267 bytes
ERROR trx header not found
splitter3 0.10 beta - (c)2010 Jeremy Collake
Opening /home/user/Downloads/router_firmware_fullImage.bin
read 1972267 bytes
SQUASHFS magic: 0x68737173
SQUASHFS version: 512.0
Found segment type 0x8 Kernel length is fecc
File system length is 1d1134
Trailer is 82b bytes
Writing /home/user/kamil//image_parts/vmlinuz
    size 65228 from offset 0 ...
SQUASHFS magic: 0x68737173
SQUASHFS version: 512.0
 ! WARNING: Unknown squashfs version.
Writing /home/user/kamil//image_parts/squashfs-lzma-image-x_x
  size 1904948 from offset 65228 ...
Writing /home/user/kamil//image_parts/hwid.txt
  size 2091 from offset 1970176 ...
Done!

你能帮我解决这个问题吗?

相关内容