I have a 2007 CX-9 with all options available except four wheel drive. It currently has 88k+ miles and the only problems I've had is a bad brake power booster@about 80k miles--replaced for $150 deductible against my extended service warranty AND it currently has a faulty key (I can't start it with the remote key all the time). I've replaced the battery in the remote and checked all fuses and fusible links I amare of without a motor manual and it still operates intermittently at best. The dealer wants $100 just to check to see what's wrong AND the environmental fans (for A/C & Heating) go on without warning when the car is turned off (this turning on of fan problem has occurred since the car has had about 10k miles and the dealer has never been able to fix it or figure out it's cause) I suppose they've just been waiting for it to be out of warranty.. Also the upholstery has cracked on the panel nearest the driver when entering the vehicle on the seat--the upholstery place says it will cost $125 to be fixed/replaced. NEVERTHELESS, I still love the car!!!
A/C blasting after ignition off is an easything to fix. Two relays need to be replaced. Dealers know what to do.
If not, your dealer is an idiot. Go to another one.
Let us get to the SmartKey. If you calm down and describe all the problems you encountered.
We might be able to pin point it faster than your dealer.
Before that, please take a breath first.
Cell phone is known to interfere with SmartKey. This applies to all brands, not just Mazda.
If you live near radio station or a TV station, or an airport, strange things could also happen
due to interferences. When something strange happens, do not keep trying. Give it some time,
it usually go back to normal. It is like (my guess) the chip "thinks" it is being hacked, and goes
into a safe mode to avoid attack. I am not sure about this, but I have two vehicles with SmartKey
(one Toyota, one Mazda) I have run into strange things, but they usually disappear after I came
back to the vehicles.