MIB STD2 Toolbox
For MIB2 HIGH see the jilleb/mib2-toolbox or even better Mr-MIBonk/M.I.B._More-Incredible-Bash project
Disclaimer
WE ARE NOT RESPONSIBLE FOR ANY DAMAGE OF YOUR UNIT. YOU ARE DOING EVERYTHING AT YOUR OWN RISK! READ THIS README, USE YOUR BRAIN AND BE CAREFUL!
Requirements
- Train MST2_XX_XX_XX_X0XXXT, where X=any character (to see the train press and long hold MENU button, then press "Software Update")
- Green Engineering Menu (developer mode) enabled in adaptations of block 5F. Use any OBD2 adapter and software that can enable it.
- Empty FAT32 formatted SD card or soldering skills + USB flashdrive, with enough space to save your backups. Everything bigger than 1GB is recommended
- IMPORTANT! Read FAQ at the bottom of this file!
How to install from SD card via "Service Mode" on units with navigation (units with two SD slots)
NOTE: SD installation method is NOT possible on units with part numbers 5C0035684F (aka variant 17222) and 5F003587*/5QA035874* (aka variants 47213, 47214, 47215, 47216).
Metainfo2.txt of the Toolbox does not contain these variant numbers. Metainfo2.txt cannot be edited because has digital signature at the end of the file.
The ONLY KNOWN way to install Toolbox onto these variants of units is USB2HSD cable or soldering USB SD card reader to eMMC.
- Unzip
MIBSTD2-Toolbox-vX.X.X.zip
to the root of SD card. - IMPORTANT! If your firmware is version 01xx or 02xx having GEM (Green Engineering Menu) version 3.x, you must use special edition of Toolbox to update it. To do this, replace
cpu
folder in the root of the SD card withcpu
folder from\toolbox\gem
folder. If GEM is version 4.x+, skip this step. - Turn on ignition and insert SD card into SD1 slot of the unit
- Press and hold MENU button to open
Service Mode -> Software Update
and installMIBStd2_Online_Approval
. - Open Green Engineering Menu and have fun 🙂
How to install if you already have serial console or telnet access to your unit
IMPORTANT! By default console/telnet access on all units is disabled and you first need to install Toolbox to enable it!
- Unzip
MIBSTD2-Toolbox-vX.X.X.zip
to the root of SD card or USB drive - Delete
metainfo2.txt
, this helps to avoid endless reading spinner when connecting USB drive to the unit. - Login via console/telnet as root/root
- Insert SD card or connect USB drive to the unit
- Enter
mount
to see where inserted card/connected drive is mounted. Usually /media/mp000 is slot SD1, /media/mp001 slot SD2, /media/mp002 port USB1 and so on. - Run
ksh /media/mp000/install.sh
to install the toolbox. Old GEM will be automatically updated if found. - Open Green Engineering Menu and have fun 🙂
How to install without soldering with USB2HSD cable
How to install with USB SD card reader soldered to eMMC chip by using QNX Virtual Machine
- Unzip
MIBSTD2-Toolbox-vX.X.X.zip
to the root of any USB flash drive. Eject and physically disconnect all USB drives. - Start Neutrino 6.5 Virtual Machine, insert USB SD card reader into any USB port of the PC/laptop and allow to connect to VM
- Insert the USB flash drive with the Toolbox to any USB port of PC/laptop and allow to connect to VM
- Inside VM, open Utilities->Terminal and enter
mount
to see where USB drive with Toolbox is mounted. Normally it will be /fs/usb1. - Enter
ksh /fs/usb1/install.sh
- If you encounter VM freezes or I/O errors while copying: try to create an .iso (via
AnyToIso Lite
as example) from the contents of the toolbox and mount the iso via CD drive. You can then runksh /fs/cd0/install.sh
! - OR - use the eMMC backup method.
- If you encounter VM freezes or I/O errors while copying: try to create an .iso (via
- Turn off VM assemble back the unit, Open Green Engineering Menu and have fun 🙂
NOTE: If you do not want to use USB drive but have sshd running inside of the VM and have WinSCP access, just copy
MIBSTD2-Toolbox-vX.X.X.zip
content to into/tmp
folder inside VM. And runksh /tmp/install.sh
How to install into eMMC backup image with QNX Virtual Machine
- Unzip
MIBSTD2-Toolbox-vX.X.X.zip
to the root of any USB flash drive. Eject and physically disconnect all USB drives. - Make eMMC dump from the unit into raw format for example with USB Image Tool
- Convert backup image to VMDK format
qemu-img convert -f raw backup.img -O vmdk backup.vmdk
, add it to Neutrino 6.5 Virtual Machine and start it - Insert the Toolbox USB flash drive to any USB port of PC/laptop and allow to connect to VM
- Inside VM, open Utilities->Terminal and enter
mount
to see where USB drive with Toolbox is mounted. Normally it will be /fs/usb0 or /fs/hd10-dos-1. - Run
ksh /fs/usb0/install.sh
orksh /fs/hd10-dos-1/install.sh
- If you encounter VM freezes or I/O errors while copying: try to create an .iso (via
AnyToIso Lite
as example) from the contents of the toolbox and mount the iso via CD drive. You can then runksh /fs/cd0/install.sh
!
- If you encounter VM freezes or I/O errors while copying: try to create an .iso (via
- Turn off VM and convert VMDK back to raw
qemu-img convert -f vmdk backup.vmdk -O raw new_backup.img
- Flash new_backup.img back into eMMC chip, assemble back the unit, Open Green Engineering Menu and have fun 🙂
NOTE: If you do not want to use USB drive but have sshd running inside of the VM and have WinSCP access, just copy
MIBSTD2-Toolbox-vX.X.X.zip
content to into/tmp
folder inside VM. And runksh /tmp/install.sh
How to use the toolbox to do customizations
- Use
dump
menu to copy files from unit's filesystem into correspondingdump
subfolder on SD card or USB drive - Modify those files as you wish and copy into corresponding
custom
subfolder on SD card or USB drive - Use
customization
menu to copy modified files back to unit's filesystem
NOTE: Every time you copy files to the unit, scripts will make a backup of original files to backup
folder on SD card/USB drive. Any time later you can use restore
functions to revert changes.
Menu overview
mibstd2_toolbox
+---about
| +---disclaimer # Disclaimer and mentioning of involved people
| +---history # Version history of the toolbox
|
+---customization # Customization features
| +---adaptation # View and change adaptation of the unit
| +---car_bap_device_list
| +---car_can_device_list
| +---car_device_bus
| +---car_menu_operations
| +---advanced # Replacing of different system files HMI etc
| +---greenmenu # Import custom GreenMenus and scripts
| +---mirror-link # Unlock apps while driving
| +---navi # Unlock SD card usage from every brand and more
| +---skins # Modify skins
| +---sounds # Modify ringtones and system sounds
|
+---dump # Dumps various data to SD card
|
+---mib_info # Hardware infos about your MIB STD2
|
+---network # Telnet activation and more
|
+---tools # Tools and patches of SWDL, SWAP, CP etc
|
+---update_and_uninstall # Allows to update & uninstall the Toolbox
| +---Update Toolbox from SD card or USB drive # Updates Toolbox
+ +---Uninstall Toolbox # Completely uninstalls Toolbox
How to use Python3 scripts from the Tools folder
extract-mcf.py (by jille)
Extracts files from *.mcf skin file containers
Syntax: extract-mcf.py <INPUTFILE> <EXTRACTION-FOLDER>
Example: extract-mcf.py images.mcf .\extracted\
compress-mcf.py (by jille)
Compresses files from extracted folder back into *.mcf container
Syntax: compress-mcf.py <ORIGINAL-BASEFILE> <NEWFILE> <FOLDER-WITH-EXTRACTED-FILES>
Example: compress-mcf.py images.mcf images2.mcf .\extracted\
extract-startup_x.boot.py (by jille)
Extracts files from *.boot startup screen containers
Syntax: extract-startup_x.boot.py <INPUTFILE> <EXTRACTION-FOLDER>
Example: extract-startup_x.boot.py startup_x.boot .\extracted\
compress-startup_x.boot.py (by jille)
Compresses files from extracted folder back into *.boot container
Syntax: compress-startup_x.boot.py <ORIGINAL-BASEFILE> <NEWFILE> <FOLDER-WITH-EXTRACTED-FILES>
Example: compress-startup_x.boot.py startup_x.boot startup2_x.boot .\extracted\
generate_shadow.py (by lprot)
Converts password to shadow file
FAQ (Frequently Asked Questions)
Q: I already installed Toolbox and want to install new version. Do I need to uninstall the old one? What is a proper way to update?
A: No, you do not need to uninstall. Simply do update_and_uninstall->Update Toolbox from SD card or USB drive
Q: I got unit with part number X. How to know if that is Technisat/Preh/Delphi/Harman?
A: Google that part number in picture mode and take a look at the label or look for the letter in software version string.
For example MST2_EU_SK_ZR_P0478T. Letter T at the end means it's Technisat/Preh. If there is no letter it's Harman, correspondingly D=Delphi.
Q: Is Toolbox compatible with non Navi (single SD slot) units?
A: Yes, but to install you need to use USB2HSD cable or eMMC soldering method or console/telnet installation method.
Q: I installed Toolbox from SD but when I try to use it does nothing and prints errors!
A: Your fw is 01xx/02xx with GEM 3.5. Read installation steps carefully!
Q: Why Toolbox does not work with GEM 3.5 or lower?
A: GEM 3.5 and lower cannot run scripts
Q: Where to find GEM (Green Egineering Menu) version?
A: In the top left corner of the Green Engineering Menu screen.
Q: I already have the Toolbox installed and want to update my firmware from 02xx/03xx to 04xx/05xx/06xx etc version. Will Toolbox remain installed after the update?
A: Yes, but you need to update fw manually via Testmode->SWDL->Software Download Manual Download->Start Download
.
Tap on "Select all", open cpu
or cpuplus
folder there and untick esd_sec
module and start the update.
If you forget to untick esd_sec
, the update will clean /tsd/etc/persistence/esd folder and delete the toolbox.
Q: How to make screenshots?
A: Press and hold MEDIA key until you hear confirmation sound
Q: Where to find screenshots?
A: In the root folder of SD card. Use tools->Move screenshots from root of all drives to the Toolbox drive
to collect them in screenshots
folder on the Toolbox drive.
Q: After Toolbox installation I got OBD error 1556. How to fix it?
A: Usually just running Tools->Clean SWDL history and keep only non-duplicated FW updates
helps. Then reboot the unit and clear OBD2 error.
If the error is still there, long press MENU and enter Testmode->Green Engineering Menu->debugging->additional debug destination
.
Select where to save the log onto SD or USB. Open the log from SD/USB and look for strings like SW incompatible
. They will contain the reason of the error.
Q: Can I make eMMC backup of my unit?
A: Yes, use dump->eMMC content (exFAT/NTFS SD card/USB drive + ~7.3 GB free space required)
menu.
As most of the units have 7.3 GB eMMC chips, FAT32 formatted media cannot be used because of 4 GB max filesize limitation.
Also it is strongly recommended to use exFAT/NTFS formatted SD card because USB port on MIB STD2 is capped to 5 MB/s.
Class 10 SD card allows to achieve the dump speed upto 10 GB/s so the process finishes in just ~15 minutes :)
Q: Which firmware trains are currently supported for direct SWDL/SWAP/CP patching?
A: Look lists for SWDL here
SWAP here
, and CP here
Q: I got "Unknown file size detected" error
A: Run mibstd2_toolbox>tools>Dump support files to SD folder /dump/.../support
.
Zip /dump/support
folder from SD and attach here