Galaxy A 2017 Series comes with much more bloatware than most other phones, it has apps preinstalled that some of us probably will never use.
Some of those apps may even run at boot and consume RAM and CPU. For this purpose I made a small very effective script and that will remove huge amount of applications. This script works on de-odexed and odexed ROMs and you can use it even for Marshmallow ROMs, so this is ALL-IN-ONE solution.
I created the script when Nougat came out and I use it all the time without any problems.
* You can easily edit script and add character ' # ' to exclude certain APP from deleting *