the sx500 and sx510 are almost the same.it dosnt help?
No. There are somerare cases where two Canon models have identical firmware (like sx240/sx260), but that cannot be the case for sx500 and sx510 because they have different sensors (among other things)
just develop aperture and raw file part.
Unfortunately, that's not how it works. Most of the effort is making it work at all, you can't just do one or two features.