PopOpen wrote:This is because you don't tell us what is "shsq" and you are not saying anything how to find the offset. BUT I do suspect that what you wanted to say is, that the ASCII equivalent value for the magic number is "shsq" and the Decimal (?) offset from the first byte of the file to the first character of that string is: 780107. ???
Very good point - I, too, dislike incomplete instructions. Here's my re-write, and my results:
1a) Unpack the vigorfly200_r836_103YotaRC2.7z file
$ 7za x vigorfly200_r836_103YotaRC2.7z
This produces the file "vigorfly200_r836_103YotaRC2.all"
On Linux, the "7za" command is in the "p7zip" package.
1b) Find the decimal value of the location of the string "shsq" in the vigorfly200_r836_103YotaRC2.all file
$ hexdump -C vigorfly200_r836_103YotaRC2.all | grep -m 1 shsq
000be740 ce 3d c5 32 12 7a b3 b7 31 85 7a 73 68 73 71 b8 |Î=Å2.z³·1.zshsq¸|
Thus, the string starts on 0xbe74b
1c) Turn that hex number into a decimal number
$ printf '%d\n' 0xbe74b
780107
Sadly, for me it was Step 4 where I ran into trouble:
$ unsquashfs rootfs.img
Can't find a SQUASHFS superblock on rootfs.img
$ unsquashfs -v
unsquashfs version 4.1 (2010/09/19)
copyright (C) 2010 Phillip Lougher <phillip@lougher.demon.co.uk>
...