dFlash the direct flash & Backup Plugin

baha2

Super VIP
Messages
6,530
d-Flash das direkt Flash Plugin - bitte TESTEN, aber DISCLAIMER lesen !

Code:
Ich muss erstmal eine kleine Ethikdiskussion vom Zaun brechen bevor ich Euch je nach Ausgang der Diskussion das Plugin poste.

Wer sich noch an das Flashen mit der d-box erinnert ist vieleicht ein bischen wehmütig wie simpel das damals war.

Bei laufender Box einfach neues Image auf /tmp FTPen, im Menu das Flashen auswählen, Image wird geflashed, Box wird rebootet und neues Image ist drauf.

Eigentlich geht das auch auf den Dreamboxen. LowFAT oder das Beta vom Sofaflashen im Barry Allen macht das ja auch schon, nur ist man dann halt nicht vom Flash gebootet sondern macht nur ungefähr das was auch das NFI Flash Plugin von DMM macht das aber dafür einen eigenen USB stick zum booten benötigt.

Ich wäre natürlich nicht gutemine wenn ich nicht auch ausprobiert hätte ob das auch bei aus dem Flash laufenden Image ginge ;-)

Nachdem die Antwort JA ist gibt es diesen Thread.

Das d-Flash Plugin macht eigentlich was ganz simples:

Es fährt die Box in den console mode (init 1) damit praktisch nichts mehr läuft das den Flash wärend dem Flashen verändern könnte.

Dann wird das root filesystem read only re-mountet (ja das geht im console mode) und das normale writenfi binary von DMM verwendet um das nfi file von /tmp zu flashen.

Dann wird sofort die Box rebootet und startet mit dem neuen Image wie wenn man mit dem NFI Flash Plugin von DMM und einem USB stick die box neu geflasht hat.

Nachdem das aber trotzdem definitiv NICHT so ist wie DMM das vorgesehen hat und weder ich noch DMM irgendwelche Verantwortung dafür übernehmen würden wenn es schiefgeht denke ich macht es schon Sinn erstmals in die Runde zu fragen ob bei entsprechendem Disclaimer man sowas public machen soll so das es jeder DAU auch verwenden kann (und dann wahrscheinlich auch wird - Faulheit siegt immer).

Ich persönlich bin der Meinung, dass ähnlich wie beim LowFAT und beim Sofaflaschen von BA (das ja aus ähnlichen Gründen, nämlich dem Missbrauch des writenfi binaries, immer nur BETA sein wird) man das durchaus tun kann.

Meines Erachtens kann eigentlich auch nichts passieren was man mit einem Mullmodemkabel und DreamUP und evt. Flashen mit Recover Bad Sectors nicht wieder reparieren könnte.

Aber ich kann natürlich auch total unrecht haben!

Na dann diskutiert mal schön und mutige Tester können sich natürlich auch melden :-)

PS: Die Jungs auf der VU+ unterstützen sowas sogar offiziell

LG
gutemine

View attachment 238133
 
Last edited:

baha2

Super VIP
Messages
6,530
enigma2-plugin-extensions-d-flash_0.5

enigma2-plugin-extensions-d-flash_0.5

Code:
EDIT: Tested on 8000/800/500HD, 7025 is still untested.
 

baha2

Super VIP
Messages
6,530
enigma2-plugin-extensions-d-flash_0.6

enigma2-plugin-extensions-d-flash_0.6

Code:
jetzt sollte es in der 0.6 so ablaufen:

rod geht an grüb bleibt, rot und grün gehen aus (bis box ganz runtergefahren), nur rot während dem flashen und dann geht rot aus und grün an wenn flashen fertig ist bevor rebootet wird.

LG
gutemine
 
Last edited:

hilton

Registered
Messages
7,622
In the 0.9 is now / media / hdd ignored (other devices such as / media / usb or / media / cf but not there, you have to continue the nfi file in the root since there is no place to be searched directories).

After the people again and again Schauff also take pictures to flash in the mount is not because the hardddisk could happen when you copy the files to nfi / media / hdd (and since it does not fit into the flash file that is then incomplete).

Therefore, as proposed only / hdd / backup / backup and NFI / MB_Images (which may point to / media / hdd / MB_Images or / media / ba / MB_Images, ..) and nfi location accepted on the hard disk.

And French is now attending.

LG
gutemine
 

baha2

Super VIP
Messages
6,530
d-Flash, the Flash plugin directly

enigma2-plugin-extensions-d-flash_0.11

Code:
[B]version 0.11[/B]

There is now done in addition to the new languages for the web interface so that you flash a local file to the Dreambox via WebIF no swapfile needs.

If the swapfile is <128MB (mostly because there is none at all) will take the flash of a file from the PC the first time appears in the Möglcihkeit WebIF to a locally-mounted device to create a swapfile.

Once that's done in WebIF is also possible displays a nfi select File on the PC and upload directly to the box to the / tmp and flash immediately.

Testing times and report please!

And if anyone telnet to the 7025 as previously described to try the old writenfi would be too fine, otherwise I kick the 7025 support in the next version would be quite low if the no one wants.

LG
gutemine
 

baha2

Super VIP
Messages
6,530
d-Flash, the Flash plugin directly

enigma2-plugin-extensions-d-flash_0.14

Code:
what I have in the WebIF 0:14 left inside is practically the same as the plugin does on TV - Select Image & flashing :-)

I told you the version 0.14 is now just up loaded, the code for the problematic cases is still inside, not only commented out. I always prefer, we can sometimes only what works and I have less work :-)

Only someone with a 7025 which an OE 1.6 on it flashes, it would have to test if the plugin works then (for OE 1.6 is the support 7025 still inside, only to OE 1.5, he got kicked out)

LG
gutemine
Écouter
Lire phonétiquement
 

baha2

Super VIP
Messages
6,530
d-Flash, the Flash plugin directly

enigma2-plugin-extensions-dflash_0.17

Code:
Na gut, ich habe jetzt noch Polnisch bekommen (Danke auch an die anderen Übersetzer) und den Pluginnamen angepasst

Dadurch heiist das ipk jetzt auch dflash statt d-flash und Ihr müsst ältere Versionen vorher mit ipkg remove enigma2-plugin-extensions-d-flash entfernen bevor Ihr die Version 0.17 installieren könnt.

Bis wir neue Erkenntnisse haben wird auf einer 7025 auch immer kein korrektes nfi file ausgegeben und das Flashen verweigert (ich wollte keine eigene Fehlermeldung dafür einführen)

LG
gutemine
 

baha2

Super VIP
Messages
6,530
d-Flash, the Flash plugin directly

enigma2-plugin-extensions-dflash_0.18

probiert mal die 0.18, da habe ich das mal schnell eingebaut.

Also USB stick (oder CF) in FAT am PC formatieren, nfi file draufkopieren und wenn die 0.18 installiert ist die Dreambox booten wenn er angesteckt ist. Dann sollte sie das image flashen udn rebooten und nachdem das dFlash dann nicht mehr im image ist sollte es durchbooten.

WARNUNG, wenn das image allerdings eine Sicherung mit dem dflash 0.18 inkludiert ist muss man das Flash device nach dem reset schnell abstecken, sonst geht das Flashen in eine Endlosschleife solange das device mit dem Label FLASH dran ist !

Evt. baue ich das noch so um das das nfi file nach dem Flashen gelöst wird, aber zum testen ist es so mal besser.

LG
gutemine
 

baha2

Super VIP
Messages
6,530
d-Flash, the Flash plugin directly

Version 0.20

Code:
EDIT: The version 0.20 with the improved boot flash
 
Last edited:

baha2

Super VIP
Messages
6,530
Version 0.21

Danke fürs Testen.

Du hast recht, als die 7025 mit OE 1.5 nicht ging habe ich einen check eingebaut das nfi images der 7025 verweigert werden, den muss ich erst rausnehmen.

LG
gutemine

EDIT: in der 0.21 ist der check für die 7025 jetzt entfernt, daher sollte man jetzt mit OE 1.6 auch dort testen können.
 

baha2

Super VIP
Messages
6,530
Version 0.23

dFlash hat eigentlich seinen Platz bei den Systemeinstellungen gleich neben dem zurücksetzen auf die Werkseinstellungen gefunden. Es jetzt mit Gewalt auch noch in die Extensions zu machen damit man es ja versehentlich aufruft macht nur begrenzt sinn.

Daher funktioniert die 0.23 nur zusammen mit dem GP3 so.

LG
gutemine
 

marce

VIP
Messages
7,115
Version 0.41


Code:
I must first break a little discussion of ethics of the fence before I post to you depending on the outcome of the discussion the plugin.

Who is still on the flash with the d-box reminds maybe a little sad how simple it was back then.

While playing a simple box new image to / tmp FTPen, flashing in menu choose Image will be flashed box will reboot and new image is on it.

Actually, that goes also to the Dreambox. LowFat or the beta from the sofa in the flash Barry Allen makes so already, only then is it just not boot from flash but makes only about what the NFI also makes the Flash plug-in DMM but it requires a separate USB stick to boot.

I would not be good mine if I had not tested whether the well would go with the current Flash Image ;-)

Once the answer is yes, there is this thread.

The d-Flash plugin actually what makes it quite simple:

It leaves the box in the console mode (init 1) so that virtually nothing is running the Flash WHILE the flash could change.

Then, the root filesystem read only re-mount (yes that is in the console mode) and the normal binary writenfi of DMM to use to flash the nfi file to / tmp.

Then immediately reboot the box and starts with the new image as if you have the Flash plugin from NFI DMM and a USB stick flashed the box again.

After the won is definitely NOT like DMM has provided this and neither I would still DMM take any responsibility if it goes wrong, I think it makes even sense the first time of asking in the round whether make appropriate disclaimer is something public is so it each DAC can also use (and then probably will - laziness always wins).

I am personally of the opinion that similar to the sofa and LowFat bottles of BA (which yes, for similar reasons, namely the abuse of writenfi binaries, will be accessible only BETA) we can do well.

I believe that nothing really happen and what is a Mullmodemkabel DreamUP and possibly flashing with Recover bad sectors could not be repaired again.

But of course I can also totally wrong!


PS: The guys on the VU + support something even officially



[B]Should be tested on 8000/800/500HD on the 7025 it will be tested again until: EDIT

EDIT: has ip.der.dream.box / dflash the plugin now also a web interface for flashing from PC[/B]
by gutemine
 
Top