If you need BMW coding/diagnostic capabilities, safer alternatives exist:
Identify the correct target head unit architecture installed in the vehicle (e.g., NBT EVO ID5 or ID6). bmw hu tool v2 6 full unlimited
Safely provisions FSC certificate 0x143 to authorize OEM Apple CarPlay without a hardware activation module. If you need BMW coding/diagnostic capabilities