Hi marwen do you have an updated version of the script for OE2?
How to unpack and repack Enigma2 image dreambox
- marwen
- Thread is marked as Resolved.
-
-
master G
Moved the thread from forum Dreambox Tutorials to forum Enigma2 Image Flashing and Setup Tutorials. -
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 made other fixes, now it's perfect. Download the file from this attachment!
THIS ONE IS CORRECT VERSION.
-
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
-
I pretty sue the issue is that the binary buildimage in not ok for AMD64 format.
I need a good buildimage file compiled for amd64 architecture.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!