cedricp / ddt4all

OBD tool
GNU General Public License v3.0
1.14k stars 229 forks source link

Virgin mode #113

Closed shahram241 closed 1 year ago

shahram241 commented 5 years ago

hello I selected the virgin mode (developer mode). Please help to exit this virgin mode. Thanks

shrlnm commented 5 years ago

What is the car? Vin number? COM port name of elm? ELM type? (usb, BT or wifi)

shahram241 commented 5 years ago

XFD-Talisman 2017 elm 327 wifi.

shrlnm commented 5 years ago

The VIN was removed from your R-Link 2 after virginizing. Also I need the VIN to check the set of your car options. So the VIN could helped significantly. But if you don't want to publish it then you have two choices. Give me your email or post the VIN here and then remove the message. I'll receive the vin by mail as so I subscribed on all changes in this thread

I may try to help you without VIN at all but then I need to know at least the size of screen.

Also please note then the USB-ELM is much better for recovering your device, because of high latency of BT and WiFi adapters.

shahram241 commented 5 years ago

I do not have access to elm327 usb

shrlnm commented 5 years ago

Do not worry. I reordered commands for wifi adapter. Hope all commands would be applied ..link removed..

Good luck )

shrlnm commented 5 years ago

Let me know when you download the file. I have to remove the link as so this script was crafted only for your car.

shahram241 commented 5 years ago

ok i have downloaded

pakoto commented 5 years ago

Do not worry. I reordered commands for wifi adapter. Hope all commands would be applied https://cloud.mail.ru/***

  • Unzip to ddt4all folder
  • run cmdr_radnav_high_repair.py
  • take a while
  • please share elm_rlink_repair.txt from log folder.

Good luck )

Could you explain how to create that scripts? I´d like to create a shortcut to activate Board Computer, and HSA into dacia cars for noobs.

Thanks!

pakoto commented 5 years ago

i.e Activate HSA. Can timeout 1000ms needed

0x0740 ecu

10C0 2E4B3100 1081 (??)

Soft reset 10C0 1103 1081

shrlnm commented 5 years ago

@shahram241 If this script help. Then you need to check the value of Diagnosis/Identification/TRACEABILITY. This value influence on *.wls files and then on map updates. If it was removed then you will probably have problems with map updates and I do not know how to repair it.

@pakoto This script have very simple structure. Main logic in cmdr* file. Change only it. Two others are the part of pyren and are used by cmdr* as a library. Actually the ddt4all also contains similar library elm.py but a bit outdated.

pakoto commented 5 years ago

Could you send and example with a simple command or where could i find info / examples? virginize is complex, and can´t find info into pyren docs.

shrlnm commented 5 years ago

pyren is living here https://gitlab.com/py_ren/pyren

0x0740 ecu It is ABS. My script uses "functional" address 01 for ABS ECU. You may find it in dnat array in the code.

1081 (??) - you have no need to send it. 10C0 is much powerful )

All settings in the the script are in here `############## change me ################

ecu_functional_address = "13" #radnav functional address (01 for ABS) mod_globals.opt_port = '192.168.0.10:35000' # port name (COM3 for example) mod_globals.opt_demo = False # change to true for debugging mod_globals.opt_cfc0 = True # highly recommended option mod_globals.opt_speed = 38400 # you may change it 115200 for USB-ELM mod_globals.opt_log = 'rlink_repair.txt' # postfix for log files

######################################### `

shrlnm commented 5 years ago

One additional moment. Sometimes ECUs use CAN 250 instead of CAN 500 . In this case you need to change 'brp':'0' to 'brp':'01 '

pakoto commented 5 years ago

thanks. I´ll try to create one, but write port name into file could be a problem for noobs.

shrlnm commented 5 years ago

Yes, I agree. For simplifying, you may write a launcher as https://gitlab.com/py_ren/pyren/blob/master/_pyren_launcher.py This one may be started from android, windows, linux and macOS but you may exclude an android part from it

shahram241 commented 5 years ago

Do not worry. I reordered commands for wifi adapter. Hope all commands would be applied ..link removed..

* Unzip to ddt4all folder

* run cmdr_radnav_high_repair.py

* take a while

* please share elm_rlink_repair.txt from log folder.

Good luck )

You can help with this program (cmdr_radnav_high_repair.py)

shahram241 commented 5 years ago

This can be fix with the Renault can clip device

shrlnm commented 5 years ago

You can help with this program (cmdr_radnav_high_repair.py)

Did you try this script? What was in the result? Could you please share log files?

shahram241 commented 5 years ago

No, I can not run. Please help me

shrlnm commented 5 years ago

Ok. Why you can not run it?

shahram241 commented 5 years ago

I copied the files to the ddt4all directory. How to run now.

shrlnm commented 5 years ago

You may just double click on it. Or

shrlnm commented 5 years ago

do you have teamviewer?

shahram241 commented 5 years ago

yes

shrlnm commented 5 years ago

give me your e-mail

shahram241 commented 5 years ago

ok I run the script. The screen has been activated.

shrlnm commented 5 years ago

Ok. Glad to hear it. Send me the logs please.

shrlnm commented 5 years ago

I'll check if all commands was applied or not.

shrlnm commented 5 years ago

Does r-link reloaded himself or did you reboot it?

shahram241 commented 5 years ago

thank you

shrlnm commented 5 years ago

could you also send ecu_rlink_repair.txt?

shahram241 commented 5 years ago

ok I added the previous post

shrlnm commented 5 years ago

the VIN was not applied ((( But we may try to do it again. I need to write another script. please also check Diagnosis/Identification/TRACEABILITY

shrlnm commented 5 years ago

according to log, all configuration except the vin was applied successfully

shahram241 commented 5 years ago

What about vin?

shrlnm commented 5 years ago

screenshot 2018-12-06 at 16 40 49 I'll send you new script with vin in 10 minutes

shrlnm commented 5 years ago

.. link removed ...

shahram241 commented 5 years ago

what do i do? I wait.

shrlnm commented 5 years ago

copy this file next to cmdr_radnav_high_repair.py and run it the same way you used before

shahram241 commented 5 years ago

.. link removed ...

???

shahram241 commented 5 years ago

I did not download the new file

shrlnm commented 5 years ago

..link removed..

shahram241 commented 5 years ago

ok i have downloaded

shahram241 commented 5 years ago

ok I run the script.

shrlnm commented 5 years ago

Did you checked huid number ( 19 characters started with CAPS )? Has he alive after virginizing?

shrlnm commented 5 years ago

Show me new logs please

shahram241 commented 5 years ago

I checked.ok

shrlnm commented 5 years ago

huid is okey?

shahram241 commented 5 years ago

huid is okey?

yes

shahram241 commented 5 years ago

Vin. Okey