hi,
Even if you got a working key you must read eeprom from CAS in case of cas4 and both eeprom and dme isn in case of CAS4+.
if you go to key learning option in autohex you can see if it is cas4 or 4+
CAS4(EWS 5 NOT ACTIVE) - CAS 4
CAS4(EWS 5 ACTIVE) - CAS 4+
for more reference watch the video