olli991 / mib-std2-pq-zr-toolbox

Toolbox for MIB STD2 PQ/ZR Technisat/Preh units.
https://discord.gg/YU3rjatWjT
MIT License
489 stars 78 forks source link

Cleaning SWDL doesn't work #6

Closed Andrzej066 closed 3 years ago

Andrzej066 commented 3 years ago

Hello i cannot clean SWDL history on my unit. My unit is MST2_EU_ZR_P0472T. Can you help me?

olli991 commented 3 years ago

It works on my unit which is also sw 04xx. You have to reboot the system after using the script or is the script showing some errors?

Andrzej066 commented 3 years ago

It doesn't show aby errors but when i use the script it says it's clear and after reboot online approval stays on.Can you help me?image

olli991 commented 3 years ago

Hmm doesn't make sense to me. On my side it works... did you run the Softwareupdate again after cleaning it maybe?

Andrzej066 commented 3 years ago

Nope i didn't done any software update after cleaning. I can do video doing it.

olli991 commented 3 years ago

have you tried earasing it again?

Andrzej066 commented 3 years ago

Yes, 3-4 times

yox2019 commented 3 years ago

... install POI and then try again :)))

olli991 commented 3 years ago

Okay I see what you mean. The last update is still showing. I need to investigate where this is stored and if this is possible with a simple fix.

lprot commented 3 years ago

Yes, 3-4 times

Update to this one https://github.com/olli991/mib-std2-pq-zr-toolbox/archive/refs/heads/experimental.zip IMPORTANT: Run update two times. Then reopen Green Engineering Menu, go to tools and select "Clean SWDL history and keep only non-duplicated FW updates". Then use "Reboot unit" from Tools and check versions again. I will also appreciate if you provide sysinfo.txt from Mib_info menu.

olli991 commented 3 years ago

As @lprot already mentioned, we implemented a new feature to fix this. It is now officvial release with 0.7: https://github.com/olli991/mib-std2-pq-zr-toolbox/releases/tag/v0.7

If you have no old swdlhistory file with an firmware update you just have to edit one yourself. Here is an excample:

swdownload3.conf

[downloadplan]
Major = 1
Minor = 0
Patch = 0
[common]
HwVersion = 17
Variant = 47204
ReleaseName = MST2_EU_SE_ZR_P0479T
MuVersion = 0479
BuildNumber = 1
StartTime = 2021-02-26 14:16
StopTime = 2021-02-26 14:18
CRC = ABD70AFC88FFC9832588B2DC9529ACD82B5BB11A
Medium = 1
MediumPath = 
CustomerUpdateMode = false
SequenceUpdate = false
UserDefined = false
UserUpdate = false
SkipSaveTrainName = false
MaxParallelDevices = 20
[bootloader]
[DUV101\DUV\2]
HardwareIndex = 42
Version = 32
TargetVersion = 32
UpdateStatus = 4
UpdateResult = 1
New = false
Exclusive = false
[DUV101\DUV\1]
HardwareIndex = 42
Version = 32
TargetVersion = 32
UpdateStatus = 4
UpdateResult = 1
New = false
Exclusive = false
[bluetooth\btfirmware\2]
HardwareIndex = 1
Version = 4408
TargetVersion = 4408
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\cpuboot\1]
HardwareIndex = 18
Version = 434
TargetVersion = 434
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\emergency\2]
HardwareIndex = 18
Version = 3330015
TargetVersion = 4479031
UpdateStatus = 2
UpdateResult = 2
New = false
Exclusive = false
[cpu\cpuimage\2]
HardwareIndex = 18
Version = 4478012
TargetVersion = 4478012
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\animdata\2]
HardwareIndex = 18
Version = 4478014
TargetVersion = 4478014
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\asr\2]
HardwareIndex = 18
Version = 4478012
TargetVersion = 4478012
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\audioservice\2]
HardwareIndex = 18
Version = 4478012
TargetVersion = 4478012
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\bapcar\2]
HardwareIndex = 18
Version = 4478019
TargetVersion = 4478019
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\bluetooth\2]
HardwareIndex = 18
Version = 4478012
TargetVersion = 4478012
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\common\2]
HardwareIndex = 18
Version = 4478012
TargetVersion = 4478012
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\config\2]
HardwareIndex = 18
Version = 4478014
TargetVersion = 4478014
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\connectivitycommon\2]
HardwareIndex = 18
Version = 4478012
TargetVersion = 4478012
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\cpubspfs\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\cpuroot\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\debugtool\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\displaymanager\2]
HardwareIndex = 18
Version = 4478012
TargetVersion = 4478012
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\dsp\2]
HardwareIndex = 18
Version = 4478014
TargetVersion = 4478014
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\emmcrefresh\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\esd\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\exlap\2]
HardwareIndex = 18
Version = 4478017
TargetVersion = 4478017
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\exlapgateway\2]
HardwareIndex = 18
Version = 4478013
TargetVersion = 4478013
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\gps\2]
HardwareIndex = 18
Version = 4478024
TargetVersion = 4478024
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\hmizr\2]
HardwareIndex = 18
Version = 4479048
TargetVersion = 4479048
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\i18n\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\itr\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\j9\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\logging\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\media\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\messaging\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\mirrorlink\2]
HardwareIndex = 18
Version = 4478013
TargetVersion = 4478013
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\navbinimage\2]
HardwareIndex = 18
Version = 4478023
TargetVersion = 4478023
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\navconfig\2]
HardwareIndex = 18
Version = 4478024
TargetVersion = 4478024
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\navimage\2]
HardwareIndex = 18
Version = 4478023
TargetVersion = 4478023
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\networkmgr\2]
HardwareIndex = 18
Version = 4478014
TargetVersion = 4478014
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\nuanceres.common\2]
HardwareIndex = 18
Version = 4478013
TargetVersion = 4478013
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\nuanceres.czc\2]
HardwareIndex = 18
Version = 4478017
TargetVersion = 4478017
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\nuanceres.dun\2]
HardwareIndex = 18
Version = 4478012
TargetVersion = 4478012
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\nuanceres.eng\2]
HardwareIndex = 18
Version = 4478012
TargetVersion = 4478012
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\nuanceres.enu\2]
HardwareIndex = 18
Version = 4478012
TargetVersion = 4478012
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\nuanceres.frc\2]
HardwareIndex = 18
Version = 4478012
TargetVersion = 4478012
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\nuanceres.frf\2]
HardwareIndex = 18
Version = 4478012
TargetVersion = 4478012
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\nuanceres.ged\2]
HardwareIndex = 18
Version = 4478012
TargetVersion = 4478012
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\nuanceres.iti\2]
HardwareIndex = 18
Version = 4478012
TargetVersion = 4478012
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\nuanceres.non\2]
HardwareIndex = 18
Version = 4478012
TargetVersion = 4478012
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\nuanceres.plp\2]
HardwareIndex = 18
Version = 4478012
TargetVersion = 4478012
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\nuanceres.ptb\2]
HardwareIndex = 18
Version = 4478012
TargetVersion = 4478012
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\nuanceres.ptp\2]
HardwareIndex = 18
Version = 4478012
TargetVersion = 4478012
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\nuanceres.rur\2]
HardwareIndex = 18
Version = 4478012
TargetVersion = 4478012
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\nuanceres.spe\2]
HardwareIndex = 18
Version = 4478015
TargetVersion = 4478015
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\nuanceres.spm\2]
HardwareIndex = 18
Version = 4478012
TargetVersion = 4478012
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\nuanceres.sws\2]
HardwareIndex = 18
Version = 4478012
TargetVersion = 4478012
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\nuanceres.trt\2]
HardwareIndex = 18
Version = 4478012
TargetVersion = 4478012
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\organizer\2]
HardwareIndex = 18
Version = 4478012
TargetVersion = 4478012
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\phone\2]
HardwareIndex = 18
Version = 4478012
TargetVersion = 4478012
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\picserver\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\pos\2]
HardwareIndex = 18
Version = 4478023
TargetVersion = 4478023
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\posconfig\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\prednav\2]
HardwareIndex = 18
Version = 4478016
TargetVersion = 4478016
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\radioconfig\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\sal\2]
HardwareIndex = 18
Version = 4478021
TargetVersion = 4478021
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\salconfig\2]
HardwareIndex = 18
Version = 4478014
TargetVersion = 4478014
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\sdscommon\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\serviceapple\2]
HardwareIndex = 18
Version = 4478012
TargetVersion = 4478012
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\serviceusb\2]
HardwareIndex = 18
Version = 4478013
TargetVersion = 4478013
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\sqlite\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\stationdb\2]
HardwareIndex = 18
Version = 4478013
TargetVersion = 4478013
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\stationdbapp\2]
HardwareIndex = 18
Version = 4478013
TargetVersion = 4478013
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\swap\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\swapkeys\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\swdownload\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\testinterface\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\tnr\2]
HardwareIndex = 18
Version = 42
TargetVersion = 42
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\tts\2]
HardwareIndex = 18
Version = 4478013
TargetVersion = 4478013
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\vocon3200res.cscz\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\vocon3200res.dede\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\vocon3200res.engb\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\vocon3200res.enus\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\vocon3200res.eses\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\vocon3200res.esmx\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\vocon3200res.frfr\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\vocon3200res.itit\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\vocon3200res.nlnl\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\vocon3200res.plpl\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\vocon3200res.ptbr\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\vocon3200res.ptpt\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\vocon3200res.ruru\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\vocon3200res.svse\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\vocon3200res.trtr\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\wavefiles\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\waveplayer\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\wirelessadapter\2]
HardwareIndex = 18
Version = 4478012
TargetVersion = 4478012
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\fpkimagetransfer\2]
HardwareIndex = 18
Version = 4478011
TargetVersion = 4478011
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\i2cbridge\2]
HardwareIndex = 18
Version = 4478014
TargetVersion = 4478014
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\nuanceres.arw\2]
HardwareIndex = 18
Version = 4478012
TargetVersion = 4478012
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[cpu\misc\6]
HardwareIndex = 18
Version = 0
TargetVersion = 0
UpdateStatus = 2
UpdateResult = 2
New = true
Exclusive = false
[cpu\openssl\5]
HardwareIndex = 18
Version = 0
TargetVersion = 0
UpdateStatus = 2
UpdateResult = 2
New = false
Exclusive = false
[cpu\customerupdateinfos\5]
HardwareIndex = 18
Version = 0
TargetVersion = 1119016
UpdateStatus = 4
UpdateResult = 1
New = true
Exclusive = false
[main\mainboot\1]
HardwareIndex = 18
Version = 431
TargetVersion = 431
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[main\emergency\2]
HardwareIndex = 18
Version = 3330015
TargetVersion = 4479030
UpdateStatus = 2
UpdateResult = 2
New = false
Exclusive = false
[main\mainimage\2]
HardwareIndex = 18
Version = 4478030
TargetVersion = 4478030
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[main\carcom\2]
HardwareIndex = 18
Version = 4478029
TargetVersion = 4478029
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[main\diagnosis\2]
HardwareIndex = 18
Version = 4478029
TargetVersion = 4478029
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[main\boottable\2]
HardwareIndex = 18
Version = 4479001
TargetVersion = 4479001
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false
[mapupdate\nds\3]
HardwareIndex = 1
Version = 1
TargetVersion = 1
UpdateStatus = 4
UpdateResult = 1
New = false
Exclusive = false
[powerc\powerc\2]
HardwareIndex = 18
Version = 4010
TargetVersion = 4010
UpdateStatus = 2
UpdateResult = 1
New = false
Exclusive = false

Just add one file like that, modified to your current firmware version back into the unit. You can do this via the custom script function:

  1. Just create a script called toolbox.sh with the following content and place in in the root of your Toolbox drive
  2. Also place the swdownload3.conf file in the root of your Toolbox drive
  3. Run the custom script from within the Toolbox: Tools -> Run toolbox.sh script from the root of the Toolbox drive
  4. Run SWDL clean script from Toolbox drive: Tools -> Clean SWDL history and keep only the last FW update
#!/bin/ksh

for i in /media/mp00*; do
    if [ -f $i/swdownload3.conf ]; then
        export VOLUME=$i
        echo "swdownload3.conf found on" $VOLUME
        break
    fi
done

cp -fv $VOLUME/swdownload3.conf /tsd/var/swdownload/swdlhistory/swdownload1.conf
sync

echo "Script execution has finished."
exit 0