If the default has been changed, the hash must be cracked or replaced.
When installing a used radio, navigation unit, or control module from a donor vehicle, component protection prevents it from working in a different car. Dealerships can use official tools (ODIS with online authorization) to remove protection, while independent shops may use EEPROM tools to manually transfer the necessary configuration.
import os, hashlib, struct
salt = os.urandom(8)
pwd = b'newpass123'
hash_val = hashlib.sha256(pwd + salt).digest()
with open('password.dat','wb') as f:
f.write(b'\xDE\xAD\xBE\xEF')
f.write(salt)
f.write(hash_val)