Default Unlock car via smartphone with out an aftermarket part.

I had this thought, since remote keyless entry fob on cars use IR could it be unlocked by a smartphone with an IR blaster? I know cars use rolling codes to prevent a thief from to hack the cars locks, and it would be hard for the phone to learn the pattern, but is it possible with an aftermarket ignition system for the car?