i spent the last hours trying to unpack a firmware file but i failed in the end..

these are my findings:

#1. GZIP IN .RMT = LAYER 1:
dd if=openRG2530.rmt of=2530layer1.img.gz bs=1c skip=27394c
9348576+0 records in
9348576+0 records out
9348576 bytes (9.3 MB) copied, 117.671 s, 79.4 kB/s
gunzip 2530layer1.img.gz

gzip: 2530layer1.img.gz: decompression OK, trailing garbage ignored

#2. GZIP IN .RMT
dd if=openRG2530.rmt of=2530_gzip_na.img.gz bs=1c skip=7407194c
1968776+0 records in
1968776+0 records out
1968776 bytes (2.0 MB) copied, 24.6565 s, 79.8 kB/s
gunzip 2530_gzip_na.img.gz
gzip: 2530_gzip_na.img.gz is a multi-part gzip file -- not supported
file 2530_gzip_na.img.gz
2530_gzip_na.img.gz: gzip compressed data, has CRC, was "N\034r\316 \367\351\0226C\365\275\002\013\267b\267\234, has comment, comment, last modified: Fri Jul 10 05:27:40 1970
 
#EXT2: - not very interesting
#dd if=2530layer1.img of=2530ext2.img.gz bs=1c skip=2510848c
#gunzip 2530ext2_1.img.gz

#CRAMFS:
dd if=2530layer1.img of=2530cramfs.img bs=1c skip=2523136c8323072+0 records in
8323072+0 records out
8323072 bytes (8.3 MB) copied, 99.9141 s, 83.3 kB/s
split -b 6029312 2530cramfs.img 2530cramfs.

file 2530cramfs.aa
2530cramfs.aa: Linux Compressed ROM File System data, little endian size 6029312 version #2 sorted_dirs CRC 0x9ea7951a, edition 0, 568 blocks, 301 files
file 2530cramfs.ab
2530cramfs.ab: Linux Compressed ROM File System data, little endian size 2293760 version #2 sorted_dirs CRC 0xe6b81238, edition 0, 126 blocks, 24 files

fsck.cramfs 2530cramfs.aa
fsck.cramfs: unsupported filesystem features
fsck.cramfs 2530cramfs.ab
fsck.cramfs: unsupported filesystem features

the 2 cramfs files look perfectly fine but i cant mount them. could someone look into into this?
here is the firmware file http://rapidshare.com/files/396406267/o … 0.rmt.html




#1. GZIP IN .RMT = LAYER 1:
dd if=openRG2530.rmt of=2530layer1.img.gz bs=1c skip=27394c
gunzip 2530layer1.img.gz
file 2530layer1.img


#2. GZIP IN .RMT
dd if=openRG2530.rmt of=2530_gzip_na.img.gz bs=1c skip=7407194c
gunzip 2530_gzip_na.img.gz
file 2530_gzip_na.img.gz
file 2530_gzip_na.img


#EXT2: - not very interesting
#dd if=2530layer1.img of=2530ext2.img.gz bs=1c skip=2510848c 
#gunzip 2530ext2_1.img.gz


#CRAMFS:
dd if=2530layer1.img of=2530cramfs.img bs=1c skip=2523136c
split -b 6029312 2530cramfs.img 2530cramfs.

file 2530cramfs.aa
file 2530cramfs.ab

fsck.cramfs 2530cramfs.aa
fsck.cramfs 2530cramfs.ab