Welcome to Tesla Motors Club
Discuss Tesla's Model S, Model 3, Model X, Model Y, Cybertruck, Roadster and More.
Register

CID Replacement on firmware 2020.48 and up

This site may earn commission on affiliate links.
How do I replace my CID with a donor CID when the VIN in the internal.dat is stored in the gateway of the CID and overwrites the tegra board’s gateway.cfg? The gateway on firmware 2020.48 and up seems to be locked from uploading/replacing the correct internal.dat for the target vehicle.
 
I can download/upload the internal.dat just fine.
Code:
root@cid-5YJXCBE25GF021398# gwxfer gw:internal.dat /tmp/foo
Receiving internal.dat...done. 239 bytes/sec
root@cid-5YJXCBE25GF021398# gwxfer /tmp/foo gw:internal.dat        
Sending...done. 239 bytes/sec
root@cid-5YJXCBE25GF021398#

But I'm unable to change the vin.
Code:
root@cid-5YJXCBE25GF021398# sed -i 's/5YJXCBE25GF021398/5YJXCBE25GF021399/g' /tmp/foo
root@cid-5YJXCBE25GF021398# gwxfer /tmp/foo gw:internal.dat
Sending...failed. 239 bytes/sec
root@cid-5YJXCBE25GF021398#

Or any of these values.... I've removed all the values it would let me remove but if I change any of these values, it fails to upload to the gateway

Code:
vin 5YJXCBE25GF021399
birthday 1474487857
softpackconfig 0
euvehicle 0
fastcharge 2
nopushtounlock 0
simulatedS1 0
navigationallowed 1
country us
otherfastchargeallowed 0
autopilot 1
performanceAddOn 0
efficiencypackage 0
deliveryStatus 1

Are donor CIDs impossible to re-use once the CID firmware has been updated to 2020.48.x or greater? or is there a way to update the information on the CID to match the target vehicle?
 
It’s in /usr/local/bin/gwxfer on the CID and can only be run from the CID so it won’t do you much good if you don’t have the ability to login to the CID.
Just learning.... Very intresting theme for me. I have MS 2015.
my first step - downgrade firmware (done)
root access - ?

login into cid? I knew ip adress fot it. But how to login?
 
The process you used to get to 2022.8.5 won’t work to get that far back.

You’d need reflash your emmc and spansion flash (involves soldering)