After seeing the bugs if you are willingly to install Cm13 rom in galaxy A5.Then you can follow below steps on How to install Cm13 android marshmallow 6.0 rom in Samsung galaxy A5(SM-A500FU).
#How To Install CM13 Rom in Samsung Galaxy A5
1.Download Cm13 rom for MI4I and gapps 6.0.zip file from the link given below in download section.
2.Now paste both the file in your device memory and reboot your device in too recovery.
3.After rebooting to recovery flash CM13 rom from it and then flash Gapps6.0.zip.
4.Clear cache,Data and Factory reset your device
5.Now reboot your device done!
6.Enjoys Android marshmallow 6.0 in your Samsung Galaxy A5