How to unpack and repack Enigma2 image dreambox

There are 24 replies in this Thread which was already clicked 23,599 times. The last Post () by tiaderosa.

  • Hi marwen do you have an updated version of the script for OE2?


    Code
    root@linux:~/E2# ./unpack-nfi.sh
    extracting secondstage and version
    machine type: dm800se
    extracting secondstage.gz ......... done
    All unpacking tasks is finished!
    extracting boot and root
    ./unpack-nfi.sh: 11: ./unpack-nfi.sh: ./nfidump: Exec format error

    Obsolete: Goldbox Pioneer ECT-1530O - Goldbox Kenwood DTF-103 - Goldbox Sim2 SMB2700 - Goldbox Philips 6072 - Goldbox Nokia 9701S - Humax 5400S - Dreambox 500S - NC+ 5800s BXZB E2


    Dreambox Japhar DM500HD

    Dreambox clone DM800HD sim 2.1

    Estarbox DM800SE HD sim V3.0

    Zgemma H7s

  • Hey people I've fixed the script. The script was old and working with very old python version. Now the code is ok and works with Python 3.x versions. You can text by yourself and you can unpack every .nfi image. Let me know if you have some issue. You can get the file from attachment below.



    edit: THE FILE IS AVAILABLE IN THE NEXT POST, I MADE OTHER CHANGES.

    I miss v7, wafer and titanium :D

    Edited 3 times, last by hyuma ().

  • Hi ,

    I'm using debian 8.11 and trying to unpack and repack a dm800se image on my pc .


    I have downloaded "new-script-unpack-repack-nfidump-by-marwen-rar" and followed the posted instruction.


    I used to have issue with unpack before, but the issue was solved by installing "mtd-tools" packages on my debian 8 machine


    Below the output of the unpacking of a clean OpenAtv-6.3-dm800se image:


    root@WORKGROUP:~/E2# ./unpack-nfi.sh

    extracting secondstage and version

    machine type: dm800se

    extracting secondstage.gz ......... done

    All unpacking tasks is finished!

    extracting boot and root


    >>>>>> nfidump 0.4.1 by gutemine <<<<<<


    based on code from tmbinc, noggie and others


    extracting dm800se nfi image ...

    extracting boot.jffs2 from nfi ...

    extracting boot from boot.jffs2 ...

    extracting root.jffs2 from nfi ...

    extracting root from root.jffs2 ...


    >>>>>> nfidump finished <<<<<<


    which is perfectly fine.


    Then I have tryied o repack it to a new image but I got problems with the "buildimage phase".


    Below the output of the pack-nfi


    root@WORKGROUP:~/E2# ./pack-nfi image newnfi.nfi

    making boot.jffs2

    making root.jffs2

    buildimage newnfi.nfi

    ./pack-nfi: 32: ./pack-nfi: ./buildimage: not found

    root@WORKGROUP:~/E2#


    As you can see I got the error "./pack-nfi: 32: ./pack-nfi: ./buildimage: not found"


    I can find the two file "root.jffs2" and " boot.jffs2" in the image directory.

    I am a linux beginne but It seamed to me that It cannot find the file (command) "buildimage" so I've also copied the file "buidimage" with 755 attrib in /bin, /sbin, /usr/bin and /usr/sbin and I also have it in the E2 directory.


    I've then run the followin g test by modifying line 32 of pack-nfi as


    ./buildimage $brcmnand --arch .... and I got the following error:

    ./pack-nfi: 32: ./pack-nfi: ./buildimage: not found


    buildimage $brcmnand --arch .... and I got the following error:

    ./pack-nfi: 32: ./pack-nfi: buildimage: not found


    /root/E2/buildimage $brcmnand --arch .... and I got the following error:

    ./pack-nfi: 32: ./pack-nfi: /root/E2/buildimage: not found


    /usr/bin/buildimage $brcmnand --arch .... and I got the following error:

    ./pack-nfi: 32: ./pack-nfi: /usr/bin/buildimage: not found


    /usr//buildimage $brcmnand --arch .... and I got the following error:

    ./pack-nfi: 32: ./pack-nfi: /usr/buildimage: not found


    So I think the error I got is misleading as the file is clearly present on the directories and with the right privileges . SIt looks like to me that the problem I have is with the "buildimage" binary itself.


    Any advice ?


    Can you pls. attach a proved working buildimage file

    Thanks

    Regards

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!