May I think good if I chage moduletype to 25 - kts535 it will work with esi tronic?
To obtain your registration code, please send an email to [email protected]
VCM2 Hacking
272
02-28-2022, 10:29 AM
(12-08-2015, 08:53 PM)ColtB45 Wrote: How to change VCM2 serial number, enter test mode, and get a root shell
I have figured out how to change the serial number of the VCM2 as well as enter test mode, and get a root shell on it. You'll need a microSD card for this to work.
1. Use IDS 86.
2. Recover your VCM2.
a. Describing how to recover is beyond the scope of this post. Search the forums for instructions.
b. After recovery your VCM2 should be at VCM2 FW version 2.1.1.5.
3. Wait about 90 seconds after the VCM2 beeps before proceeding. We are waiting for the SD card to be populated.
4. Unplug the VCM2 and eject the SD card.
5. Mount the SD card with a linux machine.
6. On the SD card open 'apps/vci-diags/hwtest-scripts/self-test.sh' for editing.
7. Add the following line to the file:
touch /etc/vci/config/testmode
8. Cleanly unmount the SD card and insert it back into the VCM2.
9. Plug the VCM2 into the computer and wait 90 seconds past beep before proceeding.
10. Launch IDS.
11. Go to system utilities
12. Select 'Launch Monitor Tool' and confirm on the pop up.
13. Select 'Run System Diagnostics' > 'Next' > 'Test a VCM II Module' > 'Next'
14. Once the test completes unplug, wait a couple seconds, and then re-plug the VCM2 into the computer.
15. Wait about 15 seconds past when the VCM2 beeps and point your browser to http://192.168.171.2
You are now in the test mode web server.
a. To set a new serial number select 'Set New Serial Number' and proceed with serial number setting.
The default serial number is: 1211-31605352
b. To get a root shell Telnet to 192.168.171.2 you will be dropped to a root shell without providing login credentials.
c. To stay in testmode at next reboot select 'Set Repair Test Mode'. This has to be done once per boot or you will have to go through this whole process to re-enable test mode.
Here Be Dragons:
To those who would go poking around, tread carefully. I accidentally ran cgi-bin/total-reflash and wiped my VCM2.
My bootloader was still intacted and available on pins 24 & 25 of the HDL26-PL-B connector.
i did all what you wrote here. now my serial number changed .im trying to use my device at version 118 but no success. I put it in recovery mode and flash with new v118 firmware , but after fw update when try to connect with ids v118 no relay sound and not found pcm.
What is wrong with it?
Device is working with v86 firmware
Edit: SOLVED
Hi
I have a problem
My VCM II has no working CAN-BUS
The NEC relays are ticking but no communication.
I used a breakout box to see the LED lights are flashing or not at OBD pin 14 & 6, but nothing happened.
K- Line is okay (LED flashing at OBD pin 7)
The tool is updated to v2.3.85.7
I spent 3 hours on the net to find any solution or something useful information.
But i found tons of topics about connection fault between the software and VCM. But unfortunately not between the car and the VCM via CAN-BUS...
It's a clone but high quality.
Anyone has a solution for this problem?
It is a firmware problem or hardware? (i replaced both TJA042 but not helped. NEC Relay's are working perfect)
I can meaure constant 2,55 Volts both at the CAN High and CAN Low when the relays switching to the OBD 6 &14 pins.
So i think firmware problem... but what is the solution?
Thanks
My board:
Edit: SOLVED
Hi
I have a problem
My VCM II has no working CAN-BUS
The NEC relays are ticking but no communication.
I used a breakout box to see the LED lights are flashing or not at OBD pin 14 & 6, but nothing happened.
K- Line is okay (LED flashing at OBD pin 7)
The tool is updated to v2.3.85.7
I spent 3 hours on the net to find any solution or something useful information.
But i found tons of topics about connection fault between the software and VCM. But unfortunately not between the car and the VCM via CAN-BUS...
It's a clone but high quality.
Anyone has a solution for this problem?
It is a firmware problem or hardware? (i replaced both TJA042 but not helped. NEC Relay's are working perfect)
I can meaure constant 2,55 Volts both at the CAN High and CAN Low when the relays switching to the OBD 6 &14 pins.
So i think firmware problem... but what is the solution?
Thanks
My board:
Edit: SOLVED
If my post useful please feel free to push Thanks button or Reputation! Thank You!
274
03-21-2022, 06:07 PM
(This post was last modified: 04-12-2024, 03:42 PM by Rob79.
Edit Reason: Updated links
)
Hi everyone,
Please find my improved custom recovery environment based on ColtB45's recovery.
Installation is the same except mtd4.new and mtd5.new are now renamed to mtd4.bin and mtd5.bin.
Changes/Improvements:
Serial console:
Login credentials are displayed at end of boot.
Module Type Change Tool:
Added drop-down selection box for easy module type selection.
Retained the ability to manually enter the module type.
Serial Number Change Tool:
Added a work-around for devices that couldn't previously have the
serial number changed due to /dev/mtd11 being read-only (due to it
not being on an erase block boundary in flash).
You can now change the serial number using this tool without needing
to restart and reboot the VCM-II back into recovery afterwards.
This change is necessary for those of us (like me) that have a
read-only serial number partition in flash.
MAC Address Change Tool:
New tool to change MAC address. Same work-around implented for
those devices where /dev/mtd12 is read-only.
No reboot required after changing the MAC address.
Restart Recovery Processes:
New tools to restart the main recovery applications that run on the
VCM-II when in recovery mode (recovery-main and reprog-main).
I've only exposed this functionality as it was already used by the
serial number and MAC address change tools.
Recovery Boot:
Recovery boot would not complete if the SD card inserted was not
able to be mounted, meaning that the VCM-II could not be recovered.
If an SD card is inserted but not partitioned correctly or otherwise
can't be mounted (eg. corrupt), the card will be re-partitioned and
re-formatted and boot will proceed as usual into recovery mode.
/* Please leave Thanks & rep (rate) */
Please find my improved custom recovery environment based on ColtB45's recovery.
Installation is the same except mtd4.new and mtd5.new are now renamed to mtd4.bin and mtd5.bin.
Changes/Improvements:
Serial console:
Login credentials are displayed at end of boot.
Module Type Change Tool:
Added drop-down selection box for easy module type selection.
Retained the ability to manually enter the module type.
Serial Number Change Tool:
Added a work-around for devices that couldn't previously have the
serial number changed due to /dev/mtd11 being read-only (due to it
not being on an erase block boundary in flash).
You can now change the serial number using this tool without needing
to restart and reboot the VCM-II back into recovery afterwards.
This change is necessary for those of us (like me) that have a
read-only serial number partition in flash.
MAC Address Change Tool:
New tool to change MAC address. Same work-around implented for
those devices where /dev/mtd12 is read-only.
No reboot required after changing the MAC address.
Restart Recovery Processes:
New tools to restart the main recovery applications that run on the
VCM-II when in recovery mode (recovery-main and reprog-main).
I've only exposed this functionality as it was already used by the
serial number and MAC address change tools.
Recovery Boot:
Recovery boot would not complete if the SD card inserted was not
able to be mounted, meaning that the VCM-II could not be recovered.
If an SD card is inserted but not partitioned correctly or otherwise
can't be mounted (eg. corrupt), the card will be re-partitioned and
re-formatted and boot will proceed as usual into recovery mode.
/* Please leave Thanks & rep (rate) */
I tested the recovery by Rob79 and it works well, I am attaching the complete list of Bosch Vci.
276
03-22-2022, 06:38 AM
(This post was last modified: 04-05-2024, 06:34 AM by Rob79.
Edit Reason: Updated links
)
Hi everyone,
I've prepared a new recovery with the additional module types that Dave84 provided above.
/* Please leave Thanks & rep (rate) */
I've prepared a new recovery with the additional module types that Dave84 provided above.
/* Please leave Thanks & rep (rate) */
277
03-25-2022, 08:33 PM
(This post was last modified: 04-12-2024, 03:41 PM by Rob79.
Edit Reason: Updated links
)
Another update:
Version 20220326-0138:
Significantly improved the serial and MAC address change operations when the
VCM has read-only serial number and MAC address partitions. You will require
an SD card 4GB or more in size. On those VCMs where the serial and MAC address
updates can't be written to their respective partitions easily, the settings
will be stored on partition #3 of the SD card in a file called 'hackedVCM.conf'.
This has been tested with VCI software v2.1.119.3 and v2.4.73.75.
Added new tool "Partition & Re-format SD Card". You can choose whether or not
to partition the SD card, which partitions to format, and whether or not you
want to preserve the settings in the hackedVCM.conf file.
Added new tool "Re-validate SD Card". The SD cards are paired to the serial
number of the VCM-II. When you format the SD card, you lose the file which
stores the encrypted version of the serial number of the VCM-II. You should
also use this tool after changing your serial number to re-validate the SD card.
Various other small fixes, clean-ups, additional error checking, etc.
Upgrade and installation instructions are inside the archive in the README.TXT file.
Please leave thanks & rep (Rate).
Version 20220326-0138:
Significantly improved the serial and MAC address change operations when the
VCM has read-only serial number and MAC address partitions. You will require
an SD card 4GB or more in size. On those VCMs where the serial and MAC address
updates can't be written to their respective partitions easily, the settings
will be stored on partition #3 of the SD card in a file called 'hackedVCM.conf'.
This has been tested with VCI software v2.1.119.3 and v2.4.73.75.
Added new tool "Partition & Re-format SD Card". You can choose whether or not
to partition the SD card, which partitions to format, and whether or not you
want to preserve the settings in the hackedVCM.conf file.
Added new tool "Re-validate SD Card". The SD cards are paired to the serial
number of the VCM-II. When you format the SD card, you lose the file which
stores the encrypted version of the serial number of the VCM-II. You should
also use this tool after changing your serial number to re-validate the SD card.
Various other small fixes, clean-ups, additional error checking, etc.
Upgrade and installation instructions are inside the archive in the README.TXT file.
Please leave thanks & rep (Rate).
278
03-26-2022, 07:38 PM
(This post was last modified: 04-05-2024, 06:44 AM by Rob79.
Edit Reason: Updated link.txt file
)
Custom Recovery Installer / Updater - SD Card method.
Version 20220326-0138
Version 20220330-1021
Version 20230129-2038
This makes installation of my latest custom recovery easy, as you don't need to type any Linux commands, and you don't need a serial connection, just an SD card.
I've tested this with v2.1.119.3, v2.3.85.7, v2.4.73.75 (all Ford).
Procedure:
Download and extract the ZIP archive containing the sdcard image file (.img file).
Download Rufus (free)
Ensure the SD card is not in the PC yet, just have it ready.
Install and run Rufus, then do the following:
1. Insert the SD card into the PC. Rufus should detect this and the "Device" should change to the SD card automatically. If it doesn't, select it manually.
2. Click the "SELECT" button and choose the sdcard image file you downloaded. Ensure it ends in .img and not .zip!
3. Click "START"
4. Click "CLOSE"
Put the SD card into the VCM-II and boot it normally (don't hold the recovery button down).
Wait 10-15 seconds after you hear the beep, then connect to the VCM-II with Telnet (using PuTTY or ExtraPuTTY).
Open PuTTY, then once the PuTTY window appears, do the following:
1. Type "192.168.171.2" (without quotes) into the "Host Name (or IP address)" box,
2. Under "Connection type:" choose "Telnet",
3. Click the "Open" button at the bottom right of the window.
You will then see the VCM-II Custom Recovery Installation Tool, which allows you to backup your VCM-II partitions to the SD card and install or update the recovery environment, literally at the press of a single button.
After installing the custom recovery, you can hold down the recovery button and power-cycle the VCM-II to boot into recovery, then go to http://192.168.171.2/ and start using the new tools.
Note:
1. If you made a backup of your MTD partitions, insert your SD card into a PC and copy the MTD*.bin files to some place safe (not on the SD card). You can do this in Windows, macOS or Linux.
2. If you intend to use the same SD card in the VCM-II, it will need to be re-partitioned and re-formatted. After copying your backups off the SD card, put the SD card back into the VCM-II and use the "Partition & Re-format SD card" tool in the custom recovery. Tick all boxes except for the last one and then press the button. This process may take up to 5 minutes to complete if you have a slow SD card. After this, you can set a new serial number and/or mac address and do a recovery.
In the archive you will find 4 files:
sdcard-128M-20220330-1021-Rob79.img: SD card image file. Use this as described above for easy installation/update of the custom recovery.
mtd4.bin, mtd5.bin: You can use these files to install the custom recovery through U-Boot or by using Linux commands (flash_unlock, flashcp). You don't need these files if you use the SD card method.
autoroot-x.xx.tar.gz: The tools used to make the SD card image file - only needed by those who wish to make changes to the SD card image file. Not needed to install the custom recovery.
Please leave Thanks and rep (rate) if this helps you out.
Changelog:
20230129-2038:
* Modified the recovery environment so that on VCM-II devices that have read-only serial and MAC address partitions, you no longer need to boot back into the recovery environment after performing a recovery in VCI Manager.
* Modified the SD card image as some people have noted that the backups partition is not always visible in Windows. Neither of my Win10 systems have problems seeing the drive, so I don't know if this change will help or not. The issue seems to be that the drive is visible to Windows (can be seen in Computer Management) but no drive letter is assigned.
20220330-1021:
* Added option to drop to a Linux shell from the custom recovery installer (for experts).
* The web interface will now warn you if the SD card needs to be re-partitioned/re-formatted.
* The web interface will now warn you if the SD card needs to be validated (paired with the VCM-II).
* Changing module type shouldn't require a reboot anymore but the VCM-II needs to be disconnected and re-connected to the PC.
* When the serial number is changed, the tool will also update /etc/vci/config/serialnum (if it exists), as some newer versions of the software write the serial number to that file.
* Re-arranged the web interface so that all the tools you will likely need are on the main page, all the others have been moved to the "Other functions" page and categorized.
Version 20220326-0138
Version 20220330-1021
Version 20230129-2038
This makes installation of my latest custom recovery easy, as you don't need to type any Linux commands, and you don't need a serial connection, just an SD card.
I've tested this with v2.1.119.3, v2.3.85.7, v2.4.73.75 (all Ford).
Procedure:
Download and extract the ZIP archive containing the sdcard image file (.img file).
Download Rufus (free)
Ensure the SD card is not in the PC yet, just have it ready.
Install and run Rufus, then do the following:
1. Insert the SD card into the PC. Rufus should detect this and the "Device" should change to the SD card automatically. If it doesn't, select it manually.
2. Click the "SELECT" button and choose the sdcard image file you downloaded. Ensure it ends in .img and not .zip!
3. Click "START"
4. Click "CLOSE"
Put the SD card into the VCM-II and boot it normally (don't hold the recovery button down).
Wait 10-15 seconds after you hear the beep, then connect to the VCM-II with Telnet (using PuTTY or ExtraPuTTY).
Open PuTTY, then once the PuTTY window appears, do the following:
1. Type "192.168.171.2" (without quotes) into the "Host Name (or IP address)" box,
2. Under "Connection type:" choose "Telnet",
3. Click the "Open" button at the bottom right of the window.
You will then see the VCM-II Custom Recovery Installation Tool, which allows you to backup your VCM-II partitions to the SD card and install or update the recovery environment, literally at the press of a single button.
After installing the custom recovery, you can hold down the recovery button and power-cycle the VCM-II to boot into recovery, then go to http://192.168.171.2/ and start using the new tools.
Note:
1. If you made a backup of your MTD partitions, insert your SD card into a PC and copy the MTD*.bin files to some place safe (not on the SD card). You can do this in Windows, macOS or Linux.
2. If you intend to use the same SD card in the VCM-II, it will need to be re-partitioned and re-formatted. After copying your backups off the SD card, put the SD card back into the VCM-II and use the "Partition & Re-format SD card" tool in the custom recovery. Tick all boxes except for the last one and then press the button. This process may take up to 5 minutes to complete if you have a slow SD card. After this, you can set a new serial number and/or mac address and do a recovery.
In the archive you will find 4 files:
sdcard-128M-20220330-1021-Rob79.img: SD card image file. Use this as described above for easy installation/update of the custom recovery.
mtd4.bin, mtd5.bin: You can use these files to install the custom recovery through U-Boot or by using Linux commands (flash_unlock, flashcp). You don't need these files if you use the SD card method.
autoroot-x.xx.tar.gz: The tools used to make the SD card image file - only needed by those who wish to make changes to the SD card image file. Not needed to install the custom recovery.
Please leave Thanks and rep (rate) if this helps you out.
Changelog:
20230129-2038:
* Modified the recovery environment so that on VCM-II devices that have read-only serial and MAC address partitions, you no longer need to boot back into the recovery environment after performing a recovery in VCI Manager.
* Modified the SD card image as some people have noted that the backups partition is not always visible in Windows. Neither of my Win10 systems have problems seeing the drive, so I don't know if this change will help or not. The issue seems to be that the drive is visible to Windows (can be seen in Computer Management) but no drive letter is assigned.
20220330-1021:
* Added option to drop to a Linux shell from the custom recovery installer (for experts).
* The web interface will now warn you if the SD card needs to be re-partitioned/re-formatted.
* The web interface will now warn you if the SD card needs to be validated (paired with the VCM-II).
* Changing module type shouldn't require a reboot anymore but the VCM-II needs to be disconnected and re-connected to the PC.
* When the serial number is changed, the tool will also update /etc/vci/config/serialnum (if it exists), as some newer versions of the software write the serial number to that file.
* Re-arranged the web interface so that all the tools you will likely need are on the main page, all the others have been moved to the "Other functions" page and categorized.
279
04-06-2022, 11:51 PM
Hi everyone, my Chinese vcm2 was working fine but what appears to be a bad SD card during an update prevents it from going into recovery mode. During recovery attempt, the lights blink and then the terminal light stays on but there is no beep and it is not detected by IDS or the PC. I am wondering if someone has a image of an SD card with V86 on it so I can image a new card and try to see if it will go into recovery from there. Any other ideas are welcome as well.
-Cheers
-Cheers
Possibly Related Threads…
Users browsing this thread: 1 Guest(s)
