It probably more about cam drivers and such stuff that prevents a news OSes from being useful on older devices. Essentially they could make it possible for independent devs to create updates for they phones for quite some time.
So Sony's IP (who also will not open source it), because LG doesn't make a cellphone camera sensor that I'm aware of. A quick perusal of some of the most popular models shows almost entirely IMX (Sony) sensors.