Jump to content


Photo

HOW TO UNPACK AND REPACK AN IMAGE

DM500

  • Please log in to reply
18 replies to this topic

#1 wahidbel

  • Senior Member
  • 172 posts

+1
Neutral

Posted 3 June 2009 - 16:01

HI
i suppose that using ubuntu linux is ok for you
1 - download the file below : dreambox_scripts.zip
there are 5 files
2 - make a directory
for example mkdir dreambox
3 - put the 5 files in folder dreambox
make chmod 755 for all those 5 files
4- put the image in the same folder (dreambox)
for example pli-jade2-original.img
5- go to the directory dreambox ( cd dreambox)
type this command :
./undreamboxfs pli-jade2-original.img pli-orig
after execution we have a new folder called pli-orig
6 - make your changes (add languages, skins , delete plugins , add plugins, etc...)
of course the changes must be done in the new folder created (pli-orig).
7- after that when finished , you must repack your image by typing this command :
./mkdreamboxfs pli-orig new-pli.img
8 - Thats all, you have your new image.(new-pli.img)

REMARK : if you do only this , you will not have the bootlogo
then what must me done?
you copy and paste the file "bild" included in /root/platform/kernel in /bin
after that edit the file rcS included in /etc/init.d
after the line
/etc/init.d/init1
add the following line
/bin/showlogo /bin/bild

and thats all
i hope i explained

BE CAREFUL DON'T CREATE AN IMAGE TOO BIG , THE SAME SIZE AS THE ORIGINAL IMAGE OR LESS

Attached Files



Re: HOW TO UNPACK AND REPACK AN IMAGE #2 Sjaaky

  • Senior Member
  • 7,443 posts

+41
Good

Posted 4 June 2009 - 16:44

BE CAREFUL DON'T CREATE AN IMAGE TOO BIG , THE SAME SIZE AS THE ORIGINAL IMAGE OR LESS


The above is not very clear to me. You really mean the image must be bigger, but not too big??

Re: HOW TO UNPACK AND REPACK AN IMAGE #3 hemispherical1

  • Senior Member
  • 1,596 posts

+49
Good

Posted 4 June 2009 - 17:03

THE SAME SIZE AS THE ORIGINAL IMAGE OR LESS


i.e. no larger than the original image, same size or smaller.


--
hemi

Re: HOW TO UNPACK AND REPACK AN IMAGE #4 NeeChee

  • Member
  • 3 posts

0
Neutral

Posted 12 June 2009 - 00:28

This has helped me very much, in fact so much that I've created a script to do the work for you. (except all the image modifications ofcourse =P) Just make sure that there's a valid imagefile called dbimage.img in the script's directory and it'll unpack it by executing UNPACK.

Make modifications and run PACK.

Done! Imagefile saved to new-image.img

There's a README file inside with better instructions... I hope this helps anyone!

Attached Files



Re: HOW TO UNPACK AND REPACK AN IMAGE #5 NeeChee

  • Member
  • 3 posts

0
Neutral

Posted 12 June 2009 - 15:12

Please let me know if it works for you or not...

Re: HOW TO UNPACK AND REPACK AN IMAGE #6 yzckq

  • Member
  • 5 posts

0
Neutral

Posted 21 June 2009 - 02:22

thx, it's works fine under ubuntu

but i find it can't unpack pli maxvar.

Is there a way to do it ?



Re: HOW TO UNPACK AND REPACK AN IMAGE #7 hemispherical1

  • Senior Member
  • 1,596 posts

+49
Good

Posted 21 June 2009 - 03:53

C&P from unpack and repack pli image

I'm not an expert, but I would guess that max-var image's change in partiton layout / size causes the unimg script to not find the squashfs it expects at "OFFSET1=1179648". It "might" work if you discovered the proper offset. The same change would probably be needed to the mkimgscript to compress the image again...


This refers to a different set of scripts, but the idea should still apply...

--
hemi

Ps. If you want to play, try an OFFSET of 1048576 for max-var, no guarantees of course...

Re: HOW TO UNPACK AND REPACK AN IMAGE #8 chaor

  • Member
  • 15 posts

0
Neutral

Posted 24 June 2009 - 07:12

It worked perfectly under ubuntu 9. Thank you!

Re: HOW TO UNPACK AND REPACK AN IMAGE #9 cbr900

  • Member
  • 4 posts

0
Neutral

Posted 18 July 2009 - 08:13

HI
i suppose that using ubuntu linux is ok for you
1 - download the file below : dreambox_scripts.zip
there are 5 files
2 - make a directory
for example mkdir dreambox
3 - put the 5 files in folder dreambox
make chmod 755 for all those 5 files
4- put the image in the same folder (dreambox)
for example pli-jade2-original.img
5- go to the directory dreambox ( cd dreambox)
type this command :
./undreamboxfs pli-jade2-original.img pli-orig
after execution we have a new folder called pli-orig
6 - make your changes (add languages, skins , delete plugins , add plugins, etc...)
of course the changes must be done in the new folder created (pli-orig).
7- after that when finished , you must repack your image by typing this command :
./mkdreamboxfs pli-orig new-pli.img
8 - Thats all, you have your new image.(new-pli.img)

REMARK : if you do only this , you will not have the bootlogo
then what must me done?
you copy and paste the file "bild" included in /root/platform/kernel in /bin
after that edit the file rcS included in /etc/init.d
after the line
/etc/init.d/init1
add the following line
/bin/showlogo /bin/bild

and thats all
i hope i explained

BE CAREFUL DON'T CREATE AN IMAGE TOO BIG , THE SAME SIZE AS THE ORIGINAL IMAGE OR LESS


Can these be used for dreambox 7000 and pli image?

Re: HOW TO UNPACK AND REPACK AN IMAGE #10 elojo_8

  • Member
  • 1 posts

0
Neutral

Posted 6 January 2010 - 05:30

i i tried unpack the image but only get 2 files "bild" and "os". how ia want see all folders?

Re: HOW TO UNPACK AND REPACK AN IMAGE #11 DimitarCC

  • PLi® Contributor
  • 1,573 posts

+70
Good

Posted 6 January 2010 - 08:14

Can this work for DM600 image (nfi)?

Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: HOW TO UNPACK AND REPACK AN IMAGE #12 wahidbel

  • Senior Member
  • 172 posts

+1
Neutral

Posted 6 January 2010 - 08:35

No , those scrips are for dm500 only

Re: HOW TO UNPACK AND REPACK AN IMAGE #13 DimitarCC

  • PLi® Contributor
  • 1,573 posts

+70
Good

Posted 6 January 2010 - 08:40

Is there option for DM600 or somewhere in the net to enplane how to do it?

Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: HOW TO UNPACK AND REPACK AN IMAGE #14 wahidbel

  • Senior Member
  • 172 posts

+1
Neutral

Posted 6 January 2010 - 21:53

yes , this forum
see this link
http://www.pli-image...php?readmore=43

Re: HOW TO UNPACK AND REPACK AN IMAGE #15 DimitarCC

  • PLi® Contributor
  • 1,573 posts

+70
Good

Posted 7 January 2010 - 07:09

Well i know openpli! But this mean build new image! I want to upack already packed image!

Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: HOW TO UNPACK AND REPACK AN IMAGE #16 jcvallenato

  • Member
  • 2 posts

0
Neutral

Posted 8 July 2013 - 09:25

im sorry for reopen this threat but i haver an error on the script

 

 

 

*******************************************************
***     NeeChee dreambox image unpacking script     ***
***               Script version 1.0                ***
*******************************************************

Starting unpacking script...

*******************************************************

Directory 'IMAGE_UNPACK' created. Starting to unpack...

13568+0 registros leídos
13568+0 registros escritos
6946816 bytes (6,9 MB) copiados, 0,0380841 s, 182 MB/s
./undreamboxfs: línea 50: ./unsquashfs-lzma: No existe el archivo o el directorio
./undreamboxfs: línea 52: ./uncramfs: No existe el archivo o el directorio
cp: no se puede efectuar `stat' sobre «tmp_sqsh_work_dir/*»: No existe el archivo o el directorio
Done!

*******************************************************

Something went wrong... Check between script execution lines (***) for error messages, fix errors and restart the script.
 

 

the error is in line 50 and 52, don t exist the file or folder



Re: HOW TO UNPACK AND REPACK AN IMAGE #17 hemispherical1

  • Senior Member
  • 1,596 posts

+49
Good

Posted 9 July 2013 - 16:43

I'd guess that unsquashfs-lzma & uncramfs don't exist in the directory you're running the script from...

 

--

hemi



Re: HOW TO UNPACK AND REPACK AN IMAGE #18 jcvallenato

  • Member
  • 2 posts

0
Neutral

Posted 9 July 2013 - 22:22

I'd guess that unsquashfs-lzma & uncramfs don't exist in the directory you're running the script from...

 

--

hemi

 

 

 

q396.png

 

 

 

 

yes they are on the same directory if you see the terminal prompt now get another error

 

i run the chmod to 777 on all file and folders

 

dd: opening «»: dont exist file or directory
./undreamboxfs: 51: ./undreamboxfs: ./unsquashfs-lzma: not found
./undreamboxfs: 53: ./undreamboxfs: ./uncramfs: not found
cp: el objetivo «dbimage» is not a directory
Done!
 


Edited by jcvallenato, 9 July 2013 - 22:24.


Re: HOW TO UNPACK AND REPACK AN IMAGE #19 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 7 August 2013 - 23:17

maybe helpful : http://bloz.isbox.or...ics-firsts.html


Open Vision sources: https://github.com/OpenVisionE2




Also tagged with one or more of these keywords: DM500

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users