Welcome to our community

Be apart of something great, join today!

Unpack Dreambox images on TM and without having to flash them

ToneDeff

Inactive User
Managed to find a way to decompress dreambox images without having to flash them to a box...

all done on my TM600 using just 1 extra binary and a script file....

working on cleaning the script up, with a plan for it to work like this

-have working USB storage in rear USB port aka /mmc/
-ftp into box and create > /mmc/unpack
-ftp image file you want to unpack into that dir
e.g > /mmc/unpack/Darkstar2_DM500_Vpn.img

-run this command
>/mmc/unpack/unbox Darkstar2_DM500_Vpn.img

-it then mounts contents of image and compresses into a .tar.gz to keep file attributes and symlinks

no idea if this would then be able to be compressed again to make working image, i only been working on it so i can have a look at DM groups image formats and look for libs etc, without having to ask people to flash them and copy etc etc, as i only have TM600....

will probably post finished script later, got work in 4 hours :D
 
Last edited:
anyone know what

/root/platform/kernel/os is ?

and should i be looking to extract it from image aswell ?
 
Here's the script/bin to extract a Dreambox image using TM600 & Rear USB

-create /mmc/unpack
-ftp attached unbox/uncramfs into unpack dir and "chmod 755"
-ftp image you want to extract into unpack dir
-telnet into box and do

> /mmc/unpack/unbox /mmc/unpack/dreambox.img

e.g
> /mmc/unpack/unbox /mmc/unpack/Darkstar2_DM500_Vpn.img

after extracting it gets put into a .tar.gz for easy moving.

e.g
/mmc/unpack/Darkstar2_DM500_Vpn.img.unpacked.03-11-10.tar.gz

no idea if this is clean method for extracting files to build and image again from, i just made it so i can poach lib's and ideas from other groups :p

is based on an uncramfs script.
 
Last edited:
just tested with 10 different dm500 images including maxar all seemed to extract ok, inlcuding a dm7000 one...

still been unable to find "libncurses.so.5" compiled in any of em though :/
 
Back
Top