Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installtion on units with GEM 3.5 doesn't seem to work #3

Closed
olli991 opened this issue Mar 15, 2021 · 72 comments
Closed

Installtion on units with GEM 3.5 doesn't seem to work #3

olli991 opened this issue Mar 15, 2021 · 72 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@olli991
Copy link
Owner

olli991 commented Mar 15, 2021

The installation script throws some errors in the gem.

photo_2021-03-15_13-11-44

Units:
photo_2021-03-15_13-35-41
photo_2021-03-15_13-35-45
photo_2021-03-15_13-39-31

Video of error:
https://filehorst.de/d/dBIDlgpd

@olli991 olli991 added the bug Something isn't working label Mar 15, 2021
@olli991 olli991 changed the title Telnet activation script throws errors Installtion on units with GEM 3.5 doesn't seemt zo work Mar 15, 2021
@olli991 olli991 added the help wanted Extra attention is needed label Mar 15, 2021
@olli991 olli991 changed the title Installtion on units with GEM 3.5 doesn't seemt zo work Installtion on units with GEM 3.5 doesn't seem to work Mar 15, 2021
@mattcabb
Copy link
Contributor

Same here. MIB2Std, EU, ZR, H24, SW: 0245, developer mode enabled.
New submenu available in GEM, but when pressing Install Toolbox I only get empty console, no logs appear. Waited few minutes, went back with .. button, pressed Install Toolbox again and got the Error in ScreenRenderer log.

IMG_2979
IMG_2978

@olli991
Copy link
Owner Author

olli991 commented Mar 16, 2021

We could try replacing the GEM.jar with the update. But I don't know what other incompatibilities it could bring then.

@mattcabb
Copy link
Contributor

Assuming that GEM is the issue... Maybe it's util_install.sh fault with insufficient privileges or something? It looks like the script is just not executed for some reason.
Just wondering. Best if someone with this SW version and enabled terminal could check if both .esd and .sh files are copied correctly.

@olli991
Copy link
Owner Author

olli991 commented Mar 16, 2021

If y file is not found or permissions are not granted the gem is showing an error for that, at least on my GEM version.
We could try to just replace the GEM.jar with the update and import a newer one.

@mattcabb
Copy link
Contributor

Replacing GEM.jar with newer one seems highly experimental. I can not volunteer for this with unit installed in my daily car... Any chance that someone with test bench will try it on 02xx SW?

@olli991
Copy link
Owner Author

olli991 commented Mar 16, 2021

@yox2019 said it will not be possible it seems because it's in an extra mount. If changed unit goes into bootloop....

than there is no way to fix it i guess... only if you update the firmware.

@mattcabb
Copy link
Contributor

So I need to perform 02xx to 04xx update, and swdl patch first. Also risky without test bench, right?

@olli991
Copy link
Owner Author

olli991 commented Mar 16, 2021

You can patch those necessary files also with a SD card method... if all files you patch are correct there shouldn't be a problem.
I have to do this myself here... not tried it myself but the descriptions aren't that complicated so should be possible. Also easy in the car as long as the files are correct.

Just to document it right, sw 03xx should also be fine because my testunit is running on it and has GEM 4.1

@olli991
Copy link
Owner Author

olli991 commented Mar 17, 2021

We've build an experimental toolbox installer which also installs GEM 4.1 to the unit. Theoretically this should work but as i have no sw 02xx hardware here I cant test it. Please get in touch if someone is willing to test it on their units with GEM 3.5. Thanks

@olli991
Copy link
Owner Author

olli991 commented Mar 18, 2021

Problem is fixed now with special installer package available in the current release. https://github.com/olli991/mib2std-toolbox/releases/tag/v0.51

This special installer will replace the GEM with a much newer one. and toolbox installation and usage is possible from there on.

@olli991 olli991 closed this as completed Mar 18, 2021
@alexspeith
Copy link

Apologies for bumping a closed ticket.

However, I tried running the GEM installer on a mib2std with nav (hardware H25, software 0245). The installer runs through just fine. However, when entering the green menu after the installation, it's still GEM 3.5, and fails in the aforementioned fashion.

Are there any install logs that I can pull? Also, what's the line in the installer that actually copies over the 4.0 version of GEM?

@alexspeith
Copy link

if [ -f /tsd/bin/system/SOP2 ] ; then mount -o remount,rw / if [ -e /dev/sd10t12 ] ; then mount -t dos /dev/sd10t12 /media/mp777 fi if [ -e /dev/sd20t12 ] ; then mount -t dos /dev/sd20t12 /media/mp777 fi cp -f /media/mp777/GEM/GEM.jar /tsd/hmi/HMI/jar/GEM.jar cp /tsd/bin/system/SOP2 /tsd/bin/system/startup mount -o remount,ro / fi

I suppose this is the correct code snippet. One potential failure mode would be more than one SD card inserted. Hence, I've retried the installer with only one SD card/no USB etc., but no luck.

Also, during the update, the following message pops up:

Start diagnostics tester. Main unit/version comparison Accepting error code causes a restart (Cancel).

Cancelling out causes a reboot, but I suspect that parts of the installer completed successfully because there's the mib2std entry in the green menu.

@mattcabb
Copy link
Contributor

Also, during the update, the following message pops up:

Start diagnostics tester. Main unit/version comparison Accepting error code causes a restart (Cancel).

Cancelling out causes a reboot, but I suspect that parts of the installer completed successfully because there's the mib2std entry in the green menu.

As far as I know that's normal during installation. It's related to the B201A fault ("Checking Software Version Management") stored in the 5F module and can be fixed afterwards with a little help of this tool: http://mib-helper.com/im-so-xory/

There will also be B2000 fault stored ("Software incompatible"), but no known fix for that yet...

@olli991 olli991 reopened this Mar 22, 2021
@olli991
Copy link
Owner Author

olli991 commented Mar 22, 2021

Yes the SVM error is completely normal and can be fixed with diagnostic software. We can't do something against it.

The code you found for changing the GEM is also the correct one. Yes there is the possibility to fail if two SD cards are inserted. But we need to be careful. If startup takes too long the watchdog will trigger.

You can see logs if you connect UART during installation.

To be honest, I am I bit confused why it isn't running for you because we tested it on nearly the same unit and it worked. What exactly did you download and how is you SD card structured?

@alexspeith
Copy link

Regarding the error, would that have any impact on the installation itself, i.e. will the unit undo the changes?

I've unpacked MIB2STD-Toolbox-v0.51-GEM-update.zip (sha1 625abc2fab6bdda74dea95efe6f3655df7206c42) to the root of an empty 8GB SD card formatted as FAT32, and then started the software update from the service mode menu. The SD card was inserted in the first slot (left one). This was on a system that has separate display and main units (Golf).

Is the serial port the one that is accessible on the quadlock connector?

@olli991
Copy link
Owner Author

olli991 commented Mar 22, 2021

The installation injects files into the system:

  • the green menu screen (install screen)
  • the install script which is triggered from the gem screen

On the GEM update build it also replaces some files:

  • replacing the startup file with the one which is replacing the GEM.JAR
  • a stock startup file which will replace the gem update startup file after the first run.

So you can't really undo things here. You will have stock startup after the update process/first run of modified startup. But if gem wasn't replaced within the process something went wrong or files are missing on you SD card.

UART is accesable via Quadlock, yes

@alexspeith
Copy link

alexspeith commented Mar 22, 2021

I just tried it with the SD card in the right slot, and with removing the B201A fault (thanks @mattcabb !) - still no luck.

The unit is currently still in the car. I also have the ethernet to USB dongle that works with it. I'm wondering whether it would be possible to modify the installer such that the system also brings up telnet and adds a pass rule to pf.conf to allow access.

Otherwise, I can rip out the unit.

I do suspect that it's some stupid bug like a different device name or something like that.

Thanks, olli991 and mattcabb!

@olli991
Copy link
Owner Author

olli991 commented Mar 22, 2021

Is your unit PQ or ZR?
Can you please add a screenshot of your trainversion from the unit and also the partnumber etc?

@alexspeith
Copy link

alexspeith commented Mar 22, 2021

It's ZR.

Installed software train version: MST2_US_VW_ZR_P0245T
Part number: 3Q0035876

@yox2019
Copy link
Contributor

yox2019 commented Mar 23, 2021

... install this update please and let us know if it helped you

MIB2STD-GEM-update.zip

... and make sure you have ONLY 1 SD Card inserted during installation (left slot)

@alexspeith
Copy link

confirmed working - thank you very much!

@olli991 olli991 closed this as completed Mar 23, 2021
@mattcabb
Copy link
Contributor

Today I tried the 0.61 installer with GEM update. Sadly it did not worked for me.
Installation took about 3-4 minutes, during which the unit was rebooted 3 times (I think). After that I long pressed the MENU button to enter GEM and install toolbox from SD card but the GEM was still in 3.5 version. Tried despite this but the same as before - installation did not went through...

Maybe there's a way to log the update/installation process to SD card to gather data for diagnosis?

VW Discover Media MIB2, MST2_EU_ZR_P0245T, 3Q0 035 846, H25.14.78_STD2Nav_EU

@yox2019
Copy link
Contributor

yox2019 commented Mar 26, 2021

... install above MIBSTD2-GEM-update.zip

@lprot
Copy link
Collaborator

lprot commented May 10, 2021

Try to install this one https://github.com/olli991/mib-std2-pq-zr-toolbox/archive/refs/heads/experimental.zip
There are two ways to install:

  1. from SD
  2. from the console via install.sh. Please read README.
    I will appreciate sysinfo.txt of your units done via Mib_info menu.

@olli991
Copy link
Owner Author

olli991 commented May 15, 2021

Upgrade of GEM should now be fixed with new version 0.7 https://github.com/olli991/mib-std2-pq-zr-toolbox/releases/tag/v0.7
closing this for now.

@olli991 olli991 closed this as completed May 15, 2021
@mattcabb
Copy link
Contributor

mattcabb commented Jun 4, 2021

At the moment I can confirm that in fact I was using macOS to format/prepare the card.
Will test new release in upcoming days and let you know if it finally worked for me.

Tried to install today on a VW ZR 0245 with 3.5 GEM. It worked! 🚀

@kevfal
Copy link

kevfal commented Mar 16, 2023

Hi, I am looking to update the firmware and install MIB2 toolbox so that i can eventually turn on Android Auto using OBD11 on a Seat Alhambra. I have put the unit into developer mode and tried to install the toolbox but the start button is greyed out. Any ideas? My unit is a single SD slot Technisat MIB2, is it possible to do it on these units? It is running MST2_EU_SE_PQ_P0245T with GEM3.5. thanks in advance

@Medmimoza
Copy link

@kevfal , is it navi unit with 2 sdcard slot?

@kevfal
Copy link

kevfal commented Mar 16, 2023

@kevfal , is it navi unit with 2 sdcard slot?

Hi Medmimoza, no it has a single SD slot and no Nav.

@Medmimoza
Copy link

@kevfal , is it navi unit with 2 sdcard slot?

Hi Medmimoza, no it has a single SD slot and no Nav.

That's why its grey, this solution work only with navi unit, try to look for emmc method, need to desassemble unit, connect to emmc, then patch, need special tools

@kevfal
Copy link

kevfal commented Mar 16, 2023

@kevfal , is it navi unit with 2 sdcard slot?

Hi Medmimoza, no it has a single SD slot and no Nav.

That's why its grey, this solution work only with navi unit, try to look for emmc method, need to desassemble unit, connect to emmc, then patch, need special tools

OK, but I was able to upgrade the firmware using the SD card. I thought it would be a similar process to install the toolbox? Is it possible to manually install through the test mode SWDL menu?

@Medmimoza
Copy link

No

@kevfal
Copy link

kevfal commented Mar 16, 2023

No

OK no problem, thanks for the info

@rufus11111
Copy link

Good morning. Where can I find the file:
MIB2STD-Toolbox-v0.51-GEM-update.zip
Because the green menu doesn't work for me either and the following message pops up: mibstd2_toolbox/tools/Console/Error in ScreenRenderer

@Riz0779
Copy link

Riz0779 commented Feb 22, 2024

I installed the toolbox on a gem3.5, I successfully patched it to enable carplay, but when I go to Full Link, only mirror link appears. Why is this happening?

@Medmimoza
Copy link

Find obdeleven or vcds then enable settings below
5F - Adaptation - Vehicle Configuration:

  • Google_GAL -> ON
  • Apple_DIO -> ON
  • Mirror_link -> ON
  • Smartphone_interface_for_rhmi -> ON

@Riz0779
Copy link

Riz0779 commented Feb 23, 2024 via email

@corecxx
Copy link

corecxx commented Mar 21, 2024

@Riz0779 how you installed on 3.5? in my GEM is not a point "mibstd2_toolbox"?

@Riz0779
Copy link

Riz0779 commented Mar 21, 2024 via email

@corecxx
Copy link

corecxx commented Mar 21, 2024

@Riz0779 yes. replace cpu with toolbox/gem/cpu ?
I did that, unfortunately it still doesn't work

@Riz0779
Copy link

Riz0779 commented Mar 21, 2024 via email

@corecxx
Copy link

corecxx commented Mar 21, 2024

@Riz0779 yes

@tselmani
Copy link

tselmani commented Apr 24, 2024

can you help me someone i have same issue i have gem 3.5 in my vw and i cant patch navi error start with these mibstd2_toolbox/tools/Console/Error in ScreenRenderer, if someone can guide me how can i update gem or what to do

@Riz0779
Copy link

Riz0779 commented Apr 24, 2024 via email

@tselmani
Copy link

can you show me an example, I have to send gem folder 0.6 to tolboox version 1.4, right? because you didn't mean it well :(

I have now installed toolbox 1.4, but should I replace the gem in the cpu folder in that sdcard folder, and should I update it again 1.4 with gem 0.6 in cpu folder?

@Riz0779
Copy link

Riz0779 commented Apr 24, 2024 via email

@tselmani
Copy link

Yes update it again, start from scratch Do the whole procedure again Open the gem folder, copy the cpu folder Then go to the main folders of the sd card Replace the cpu folder with the other cpu folder you copied

On Wed, 24 Apr 2024, 22:33 Taulant Selmani, @.> wrote: can you show me an example, I have to send gem folder 0.6 to tolboox version 1.4, right? because you didn't mean it well :( I have now installed toolbox 1.4, but should I replace the gem in the cpu folder in that sdcard folder, and should I update it again 1.4 with gem 0.6 in cpu folder? — Reply to this email directly, view it on GitHub <#3 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGK3TPLUCBRMP4V7HQII7EDY7AQL3AVCNFSM4ZGOJDEKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBXGU4DQNRUGI3A . You are receiving this because you were mentioned.Message ID: @.>

Sory if i spent your time,

I'm sorry but I still don't understand, maybe you can help me, you can see in the picture v1.4 has no gem folder at all.

Should I leave all the CPU files that are in v1.4 and add the others that are in 0.6?

Or should I just copy the CPU folder of v0.6 and then paste it in v1.4 where it is now in SDCARD and install it from the beginning?

1

@Riz0779
Copy link

Riz0779 commented Apr 24, 2024 via email

@tselmani
Copy link

yes i have can you sent ur number me with prefix

@Riz0779
Copy link

Riz0779 commented Apr 24, 2024 via email

@tselmani
Copy link

tselmani commented Apr 24, 2024

thanks dude that's working, Kudos to you :)

@Getafric
Copy link

"I’m experiencing the same issue with updating GEM to version 3.5 on my car’s screen. I’ve tried everything, but the update isn’t working. Can anyone help me with this?"
Uploading 17191454580111780025601240008955.jpg…
Uploading 17191455089141031838706444780133.jpg…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests