olli991 / mib-std2-pq-zr-toolbox

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

PLACE YOUR SUPPORT DUMPS IN THIS ISSUE! #93

Open olli991 opened 2 years ago

olli991 commented 2 years ago

Please place your support dumps in this issue.

This applies to:

How to make a support dump? You can find it in the "Tools" screen below the patch scripts. You'll find the filedump in the new .../support folder in the dump section of the SD card. Please zip the whole "support" folder and upload it to this thread. Screenshot

ghost commented 1 year ago

@to0nk ok did you applied only "cp" patch or "swap" and "swdl" as well ? ... sorry there was "typo" error in this command... this one is ok :

mount -t qnx6 -o remount, rw /dev/hd0t177 / &&rm /tsd/bin/system/startup_main

was missing "space" after: mount -t qnx6 -o remount, rw /dev/hd0t177...

put this command again please

As I wrote, installing the TOOLBOX, activating the console and ONLY CP patch. Was I supposed to do it differently? I try to do exactly what you write about the rest of the patches you did not mention (: Now the kids are eating, after dinner I will go to enter the corrected command and what to do next?

yox2019 commented 1 year ago

@to0nk ... do me a favor: sd card in the left slot and enter this command instead of the previous one, then send the file "startup_main" which will be saved on the sd card:

mount -t qnx6 -o remount, rw /dev/hd0t177 / &&mv /tsd/bin/system/startup_main /media/mp000

it would be good if you had putty with the login option attached to make sure the command worked

ghost commented 1 year ago

@to0nk ... do me a favor: sd card in the left slot and enter this command instead of the previous one, then send the file "startup_main" which will be saved on the sd card:

mount -t qnx6 -o remount, rw /dev/hd0t177 / &&mv /tsd/bin/system/startup_main /media/mp000

it would be good if you had putty with the login option attached to make sure the command worked

I will surprise you ... The code you entered did not create the file on the SD card, BUT it fixed the loop error .... The radio started normally, I attach the log + proof of repair .... What next?

putty-1.log IMG_20220723_204841

yox2019 commented 1 year ago

strange :) sd card was on left slot (sd1) ? since you have an active console, give the command: ls -l /tsd/var and send the screenshot

ghost commented 1 year ago

strange :) sd card was on left slot (sd1) ? since you have an active console, give the command: ls -l /tsd/var and send the screenshot

Yes, card in the left reader, first from navi, first from gearbox (: log with the command you gave below putty-2.log

yox2019 commented 1 year ago

ok that is "startup_main" is making a problem, it's a pity you didn't keep it, see also in / media / mp000, so give:

cd /media/mp000 ls -l

after that I'll give you a link to another patch to disable "cp"

P.S besides, I can see that the unit does not work as it should, probably a problem with emmc, e.g. "Unable to access / net / imx6 / tmp / main-core-dir"

ghost commented 1 year ago

ok that is "startup_main" is making a problem, it's a pity you didn't keep it, see also in / media / mp000, so give:

cd /media/mp000 ls -l

after that I'll give you a link to another patch to disable "cp"

Ok, but I have one technical question before that, how to make the comment line stop because the data is still overflowing and typing commands is quite tedious (:

And about your P. S. :"besides, I can see that the unit does not work as it should, probably a problem with emmc, e.g. "Unable to access / net / imx6 / tmp / main-core-dir"" can it be fixt? By me mby? (:

yox2019 commented 1 year ago

unfortunately you can't :))) just type the command and hit enter and don't worry about the logs on the screen

yox2019 commented 1 year ago

And about your P. S. :"besides, I can see that the unit does not work as it should, probably a problem with emmc, e.g. "Unable to access / net / imx6 / tmp / main-core-dir"" can it be fixt? By me mby? (:

to be honest it is an old unit, if it does not work well, the best way is to exchange it for at least sw 02 ... unless you want to have fun with emmc, but in my opinion it's not worth it :)

but when it works, make a copy of "emmc" yourself with the toolbox

ghost commented 1 year ago

ok that is "startup_main" is making a problem, it's a pity you didn't keep it, see also in / media / mp000, so give:

cd /media/mp000 ls -l

after that I'll give you a link to another patch to disable "cp"

P.S besides, I can see that the unit does not work as it should, probably a problem with emmc, e.g. "Unable to access / net / imx6 / tmp / main-core-dir"

Here is the log

putty-3.log

yox2019 commented 1 year ago

ok last try :) try to install / upgrade this "toolbox" version ... if there is a problem again, you know what command to enter :) mib-std2-pq-zr-toolbox-test222.zip

after restoring the radio to normal state (in case of failure) install this patch to remove "cp" ... you install in the same way as toolbox

https://mega.nz/file/8UsmBBYR#OSbiY2brgn7rSj2lE8hOJs6hTpvFWo9WQwLV8MHup4o

ghost commented 1 year ago

And about your P. S. :"besides, I can see that the unit does not work as it should, probably a problem with emmc, e.g. "Unable to access / net / imx6 / tmp / main-core-dir"" can it be fixt? By me mby? (:

to be honest it is an old unit, if it does not work well, the best way is to exchange it for at least sw 02 ... unless you want to have fun with emmc, but in my opinion it's not worth it :)

but when it works, make a copy of "emmc" yourself with the toolbox

Following this path, everything we do now is not worth it with this unit, but the point of view depends on the point of sitting, for me, after switching from Passat B6 to B8 a year ago, it was something great, especially since it was a gift (not quite free) from the person to whom I gave a job and a chance and took advantage of it, and because he had contacts, he pulled me such a car, so I try to make everything work, and when I can do it on my own, I change what I can (:

yox2019 commented 1 year ago

and when I can do it on my own, I change what I can (:

no problem :) you have to buy a new emmc and replace of course make new partitions for sw 01 ... and emergency will do the rest :)

ghost commented 1 year ago

and when I can do it on my own, I change what I can (:

no problem :) you have to buy a new emmc and replace of course make new partitions for sw 01 ... and emergency will do the rest :)

As I wrote before, the fact that I am an IT specialist does not mean that I am familiar with this subject, probably for you what is hidden under these words "make new partitions for sw 01 ... and emergency will do the rest :)" is simple, but for me it is like "it's one small step for man one giant leap for mankind " you know ... Landing on the moon. There is an instruction for this, or if you or someone who reads this an have unnecessary moment and wants to, write what it looks like, and I believe that I will succeed (:

P. S. I update TOOLBOX, but forgot to ask, patch only CP or can I / must I patch all 3?

yox2019 commented 1 year ago

only cp pls

P.s ... let's stick to the topic of this thread, as for your questions, check mibwiki or ask on a telegram to the group

ghost commented 1 year ago

only cp pls

P.s ... let's stick to the topic of this thread, as for your questions, check mibwiki or ask on a telegram to the group

In the loop ... Again ... Sorry about my equipment

P. S. Ok, but can you give me more specyfic of this making SW partition, about what must i ask? Name of the procedur mby? Thank YOU!

yox2019 commented 1 year ago

In the loop ... Again ... Sorry about my equipment

ok put then this command:

mount -t qnx6 -o remount, rw /dev/hd0t177 / &&mv /tsd/bin/system/startup_main /tsd/var

when the unit returns to normal, put the sd card into "sd1" and type:

mount -t qnx6 -o remount, rw /dev/hd0t177 / &&cp /tsd/var/startup_main /media/mp000/ and send the file from sd card

and the last thing: cp /tsd/var/main.conf /media/mp000/ and send the file ... ofc sd card in "sd1" slot

ghost commented 1 year ago

In the loop ... Again ... Sorry about my equipment

ok put then this command:

mount -t qnx6 -o remount, rw /dev/hd0t177 / &&mv /tsd/bin/system/startup_main /tsd/var

when the unit returns to normal, put the sd card into "sd1" and type:

mount -t qnx6 -o remount, rw /dev/hd0t177 / &&cp /tsd/var/startup_main /media/mp000/ and send the file from sd card

and the last thing: cp /tsd/var/main.conf /media/mp000/ and send the file ... ofc sd card in "sd1" slot

Unfortunately, there is another problem ... When I put an empty card in the slot, the first on the left, navi restarts three times until it stops, but it does not see any reader, when I put (after restart) the navi card into slot 1, it sees it and works, when I pull out and put in an empty one, the system restarts three times again and I can't use the command ... I pin the log putty.

putty-4.log

yox2019 commented 1 year ago

type this command without sd cad inserted:

mount -t qnx6 -o remount, rw /dev/hd0t177 / &&mv /tsd/bin/system/startup_main /tsd/var

and when the unit will back to normal put the other commands with sd card inserted

ghost commented 1 year ago

type this command without sd cad inserted:

mount -t qnx6 -o remount, rw /dev/hd0t177 / &&mv /tsd/bin/system/startup_main /tsd/var

and when the unit will back to normal put the other commands with sd card inserted

The files you ask (i packed two in one): Files_SD.zip

yox2019 commented 1 year ago

ok put the files on sd card and "sd1" then:

  1. mount -t qnx6 -o remount, rw /dev/hd0t177 /

  2. cp /media/mp000/startup_main /tsd/bin/system/ &&chmod 777 /tsd/bin/system/startup_main (Enter)

then:

  1. cp /media/mp000/main.conf /tsd/var/ (Enter)

and restart unit Files_SD-test.zip

P.S only one sd card in unit please remove the another

ghost commented 1 year ago

ok put the files on sd card and "sd1" then:

  1. mount -t qnx6 -o remount, rw /dev/hd0t177 /
  2. cp /media/mp000/startup_main /tsd/bin/system/ &&chmod 777 /tsd/bin/system/startup_main (Enter)

then:

  1. cp /media/mp000/main.conf /tsd/var/ (Enter)

and restart unit Files_SD-test.zip

P.S only one sd card in unit please remove the another

I'm not sure if it worked, but navi has reset three times ... I pin the log, but I have to fly now because my wife's eyes if they could kill, I'd be dead for half an hour, thank you for your help until now, I'm away tomorrow. if you can, we'll come back to the topic on Monday, thank you again!

putty-5.log

yox2019 commented 1 year ago

unfortunately no,,, homework not done :)))) so a new task once again:

  1. Copy the files "main.conf" and "startup_main" to the sd card

2, Take out all the sd cards from the unit ... then put only the sd card with the files into "sd1"

  1. Enter the commands:

mount -t qnx6 -o remount, rw /dev/hd0t177 / (press enter)

cp /media/mp000/startup_main /tsd/bin/system/ (press enter)

chmod 777 /tsd/bin/system/startup_main (press enter)

cp /media/mp000/main.conf /tsd/var/ (press enter)

  1. Restart unit
ghost commented 1 year ago

unfortunately no,,, homework not done :)))) so a new task once again:

  1. Copy the files "main.conf" and "startup_main" to the sd card

2, Take out all the sd cards from the unit ... then put only the sd card with the files into "sd1"

  1. Enter the commands:

mount -t qnx6 -o remount, rw /dev/hd0t177 / (press enter)

cp /media/mp000/startup_main /tsd/bin/system/ (press enter)

chmod 777 /tsd/bin/system/startup_main (press enter)

cp /media/mp000/main.conf /tsd/var/ (press enter)

  1. Restart unit

Good morning, Unfortunately I couldn't stay yesterday. I just wanted to write small info, because I see that in the last entries you repeated that there should be only one card in the readers, so if it helps, I only have the one on which I transfer files and one original with navi, so there could not be a situation that two readers were busy because navi always to the reader on the left, and there, according to your instructions, I had a card with transferred files or a TOOLBOX

P. S. I can see that I was wrong about lost sense of humor here, you sure have it .... "homework" good (: but there are important things, more important and the wife (: I hope we'll get back to the topic, thank you for your patience and best regards.

yox2019 commented 1 year ago

@to0nk don't worry back when you can :))))

yox2019 commented 1 year ago

@lprot ... I will write my theory if I will be unavailable :)))

... in my opinion (and provided logs) unit with sw01 ... does not see the file "main,conf" in the location "-file=/tsd/var..." in "startup_main" look:

  1. log without "startup_main" as you can see all services contained in "main.conf" are started:

Zrzut ekranu (1082)

  1. log with created "startup_main" no service from "main.conf" does not start and unit goes into "bootloop"

Zrzut ekranu (1080)

In my opinion this is because the "/tsd/var" location is not available during "early boot" for sw01

see "startup" J5, which is executed first for sw 02 ... or higher, unit immediately links with "/tsd /var"

Zrzut ekranu (1078)

now see "startup" J5 for sw01 ... do you understand?

Zrzut ekranu (1079)

So that's why I gave the full path "/net/imx6/tsd/var" instead of "/tsd/var" in the above-mentioned files Files_SD-test.zip

Of course you need to check it all in practice, so you have to wait for our friend ;) maybe you can change the location for "main.conf" and "audiomanager ..." eg for "/ tsd"? ... I don't know so many of my considerations, maybe you or someone else will have an idea :)))

P.S here is an example script that creates the above-mentioned files, you can check if there is any error there (as long as this change works at all)

patch_cp_test.zip

ghost commented 1 year ago

unfortunately no,,, homework not done :)))) so a new task once again:

  1. Copy the files "main.conf" and "startup_main" to the sd card

2, Take out all the sd cards from the unit ... then put only the sd card with the files into "sd1"

  1. Enter the commands:

mount -t qnx6 -o remount, rw /dev/hd0t177 / (press enter)

cp /media/mp000/startup_main /tsd/bin/system/ (press enter)

chmod 777 /tsd/bin/system/startup_main (press enter)

cp /media/mp000/main.conf /tsd/var/ (press enter)

  1. Restart unit

Hello again (: I did what you wrote, files on the SD card and the left reader + 4 commands, but I'm not sure how to see the effect, because if they worked, in the console I was not able to catch it, so I attach the log from this operation below and wait for steps what next? CP Patch?

Small info about how did I entered these 4 commands in two ways (you will see in the log):

  1. I unmounted the navi card from the left slot and inserted the card with files from you, the radio reset 3 times and stabilized then I entered the commands, but I noticed when I wanted to unmount it with "unmount SD" option, that navi can not see the card in the 1st slot because I could not unmount it, so in the second way I did so:
  2. I put the SD card from navi to the left slot, and the empty one to the second slot, after entering the navi menu, it showed both slots taken, so I unmounted the card with navi maps from the left slot, I took an empty card from the right slot (widout unmounting it), I uploaded files from you on SD card and put it in the left slot (the one from which I unmounted the sd with navi) and navi saw that the card was inserted, navi did not reset, then I entered 4 commands and restarted navi.

putty-6.log

yox2019 commented 1 year ago

@to0nk ... unfortunately ... but you enter / copy the commands incorrectly and you have not changed anything, and thus nothing can be verified, for example: imx6: / # wmount -t qnx6 -o remount, rw / dev / hd0t177 ... why "wmount" instead of "mount"?

if this command fails, the rest of the commands also will not work, unfortunately ... or: cp /media/mp000/main.conf / tsd / var / 341wqz ... instead of / tsd / var?

... you should copy all commands to a text file and check if there are any "typos"

... ok install / upgrade these toolbox versions and do "cp_off" and logs please

P.S do not execute any commands anymore, just to be sure uninstall the current version of the toolbox and install the one I gave please :)))) mib-std2-pq-zr-toolbox-test3.zip

ghost commented 1 year ago

@to0nk ... unfortunately ... but you enter / copy the commands incorrectly and you have not changed anything, and thus nothing can be verified, for example: imx6: / # wmount -t qnx6 -o remount, rw / dev / hd0t177 ... why "wmount" instead of "mount"?

if this command fails, the rest of the commands also will not work, unfortunately ... or: cp /media/mp000/main.conf / tsd / var / 341wqz ... instead of / tsd / var?

... you should copy all commands to a text file and check if there are any "typos"

... ok install / upgrade these toolbox versions and do "cp_off" and logs please

P.S do not execute any commands anymore, just to be sure uninstall the current version of the toolbox and install the one I gave please :)))) mib-std2-pq-zr-toolbox-test3.zip

Nooooo! Sorry, but it's really hard to catch in the console when you're sitting in the car, the laptop in the passenger seat, you type / paste / copy stretched over the gearbox in the garage light ... It's like jumping on the head from a block into a movable pool the size of a bathtub ... And this console line rolling all the time, you can get apoplexy (: So now without commands, for sure? maybe I will try again? I do not want that due to my lack of diligence I will not do / repair something ...

P.S. In my free time, I thought that the internet is reaching my car in my car and if there was such a need, we could set up for a specific day and time and I could provide you with a desktop via Google Remote Desktop, if there was such a need ...

yox2019 commented 1 year ago

@to0nk ... ok I know it's not easy with this console :))) you need some practice :)))

now just reinstall the last version of the toolbox and try it

... in case of "bootloop" I would like to see these 2 files "startup_main" and "main.conf" again to make sure if I did not make any "typos" in the script, the procedure is the same as before :)

Unfortunately, I cannot make an appointment for a specific time, because today I am going on holiday at night, I will be available during the day and in the evening until 10 pm

... try the new toobox version

ghost commented 1 year ago

@to0nk ... ok I know it's not easy with this console :))) you need some practice :)))

now just reinstall the last version of the toolbox and try it

... in case of "bootloop" I would like to see these 2 files "startup_main" and "main.conf" again to make sure if I did not make any "typos" in the script, the procedure is the same as before :)

Unfortunately, I cannot make an appointment for a specific time, because today I am going on holiday at night, I will be available during the day and in the evening until 10 pm

... try the new toobox version

In a loop ... But that's not the worst news ... I would like to be wrong this time, but did the TOOLBOX update change the console activation? I forgot to activ it befote CP Patch... I can't enter anything in console and even ENTER does not work on consoles in Putty ... I can't get out of the loop, I can't dump files, I only attach the Putty log ... Is there an EMERGENCY DOWNLOAD waiting for me?

putty-7.log

yox2019 commented 1 year ago

@to0nk ... did you install the last toolbox I gave? "... test3" if so, press enter after reboot and enter the command: mount -t qnx6 -o remount, rw /dev/hd0t177 / &&mv /tsd/bin/system/startup_main /tsd/var (press enter) and restatrt unit

ghost commented 1 year ago

@to0nk ... did you install the last toolbox I gave? "... test3" if so, press enter after reboot and enter the command: mount -t qnx6 -o remount, rw /dev/hd0t177 / &&mv /tsd/bin/system/startup_main /tsd/var (press enter) and restatrt unit

Yes i install "test3", but look on video whats going on....

https://user-images.githubusercontent.com/108117737/181057217-0947ca06-e999-4d2f-b270-3dfa38d4260c.mp4

yox2019 commented 1 year ago

ok, I see, maybe there is a "typo" in the patch_cp scrypt and imx6 does not start and thus "the console is unavailable" unfortunately you have to make an emergency conclusion: ... in theory everything should work but ... for some reason the unit does not read "main.conf" or "startup_main" has incorrect content

... it's hard to diagnose remotely, the only thing we can do is arrange sessions with remote access to your desktop, but that's in 2-3 weeks

... anyway thanks for your willingness and cooperation :))))

P.S to the admin ... because unfortunately I can not verify my theory, please remove unnecessary posts, because this thread has become a tapeworm :))) ... maybe in the meantime someone will have access to sw01 .. and will be able to do more tests, meanwhile I'm going on holiday :)))

ghost commented 1 year ago

ok, I see, maybe there is a "typo" in the patch_cp scrypt and imx6 does not start and thus "the console is unavailable" unfortunately you have to make an emergency conclusion: ... in theory everything should work but ... for some reason the unit does not read "main.conf" or "startup_main" has incorrect content

... it's hard to diagnose remotely, the only thing we can do is arrange sessions with remote access to your desktop, but that's in 2-3 weeks

... anyway thanks for your willingness and cooperation :))))

P.S to the admin ... because unfortunately I can not verify my theory, please remove unnecessary posts, because this thread has become a tapeworm :))) ... maybe in the meantime someone will have access to sw01 .. and will be able to do more tests, meanwhile I'm going on holiday :)))

So... The ED started, I will not ask if you are back every week, so if you will want to help me to solve it, write here when you be back, if i remember about it in 3 weeks (: Thanks for your patient.

P. S. Admin, you can delete it all i think that this is toooo big problem to be solved... more so in three weeks but maybe I'm wrong... We will see, greets (:

yox2019 commented 1 year ago

@to0nk yeap... just after ED install the toolbox from official repository and first thing for you "Active console" :))) then you can patch this unit excluding "cp_off" ... for CP I sent you another patch, download it from mega and install

We will back for this ASAP :))))

ghost commented 1 year ago

@to0nk yeap... just after ED install the toolbox from official repository and first thing for you "Active console" :))) then you can patch this unit excluding "cp_off" ... for CP I sent you another patch, download it from mega and install

We will back for this ASAP :))))

Sure, I'll do it as you wrote, I hope that we'll come back to the topic again, from clear curiosity, but for this time have a successful holiday (: and thank you again (:

rasikzloy commented 1 year ago

my dump support.zip p

lprot commented 1 year ago

my dump support.zip p

Added https://github.com/olli991/mib-std2-pq-zr-toolbox/archive/refs/heads/master.zip

rasikzloy commented 1 year ago

my dump support.zip p

Added https://github.com/olli991/mib-std2-pq-zr-toolbox/archive/refs/heads/master.zip

Thank,no errors, but cp off not work! sometimes reboot during patch application, then goes to the end image image reboot and cp active, help me please

rasikzloy commented 1 year ago

image image

psp0714 commented 1 year ago

support.zip US_VW_PQ_P0357T CP unknown file size 2187982 detected.

lprot commented 1 year ago

support.zip US_VW_PQ_P0357T CP unknown file size 2187982 detected.

Added https://github.com/olli991/mib-std2-pq-zr-toolbox/archive/refs/heads/master.zip

olli991 commented 1 year ago

Sure, I'll do it as you wrote, I hope that we'll come back to the topic again, from clear curiosity, but for this time have a successful holiday (: and thank you again (:

We will back for this ASAP :))))

@yox2019 and @to0nk did you guys managed to get it working?

ghost commented 1 year ago

Sure, I'll do it as you wrote, I hope that we'll come back to the topic again, from clear curiosity, but for this time have a successful holiday (: and thank you again (:

We will back for this ASAP :))))

@yox2019 and @to0nk did you guys managed to get it working?

No, not yet ... I did what @ yox2019 recommended in the last post

@to0nk yeap... just after ED install the toolbox from official repository and first thing for you "Active console" :))) then you can patch this unit excluding "cp_off" ... for CP I sent you another patch, download it from mega and install

We will back for this ASAP :))))

and I'm waiting for his return from holidays ... Still (:

G4mania commented 1 year ago

Hello there, Thank you for your work, it's awesome :) I have same issue "unknown file size detected" 7n5035680B H29 S240 P MST2_EU_SE_PQ_P0240T.zip

lprot commented 1 year ago

Hello there, Thank you for your work, it's awesome :) I have same issue "unknown file size detected" 7n5035680B H29 S240 P MST2_EU_SE_PQ_P0240T.zip

Added https://github.com/olli991/mib-std2-pq-zr-toolbox/archive/refs/heads/master.zip

G4mania commented 1 year ago

Hello there, Thank you for your work, it's awesome :) I have same issue "unknown file size detected" 7n5035680B H29 S240 P MST2_EU_SE_PQ_P0240T.zip

Added https://github.com/olli991/mib-std2-pq-zr-toolbox/archive/refs/heads/master.zip

It worked :) Thanks !

danthurston1 commented 1 year ago

IMG_4178

I get this and when I select "xxxxxx system swap and generate system EL" it then displays nothing. Also I've used the "dump files to sd card" command but that folder is empty when I load the sd card into my computer. Interestingly almost every folder within the custom folder is empty aswell- not sure if that's an indication of anything. Any help much appreciated I'm happy to try doing anything anyone suggests.

lprot commented 1 year ago

IMG_4178

I get this and when I select "xxxxxx system swap and generate system EL" it then displays nothing. Also I've used the "dump files to sd card" command but that folder is empty when I load the sd card into my computer. Interestingly almost every folder within the custom folder is empty aswell- not sure if that's an indication of anything. Any help much appreciated I'm happy to try doing anything anyone suggests.

GEM 3.5 does not ring a bell? Did you read Readme carefully?