For this tutorial I will be using a Samsung A5 2017, but you may need to change if you are using the Samsung A3 2017 or the Samsung A7 2017 version. Also for this tutorial, my phone is a Sprint phone and so I will be using the Sprint variant of the Samsung A5 2017.
I would like to thank Samsung for providing me with a Samsung A5 2017 to root and install the stock A8 2018 ROM. I would also like to thank my friend evilrabbituk for helping to get this to work and for providing me with a replacement phone on which to do this.
Before you start, I would recommend you unroot your device first if you did not do so in the first place. This will ensure that there is no unnecessary fuss and that your device is kept to factory settings. Follow the guide on my tutorial if you do not know how to unroot. Once unrooted, if you are installing the new ROM from scratch and installing a different type of ROM you will need to flash the new ROM and then flash the stock ROM again.
Part 1 I will cover how to root the Samsung Galaxy A5 2017 so you can start installing the ported OS and root access then I will cover how to install Android 10 on your device and a few tweaks and personal recommendations that I have found to work well for me. I will then finish off the tutorial by explaining how to install a stock ROM and recovery along with a few other configuration options.
The first thing you will need to do is unlock the bootloader on your Samsung Galaxy A5 2017 which is the process of getting Android to boot on the device, it is also the only way you can root the device, as well as install a custom recovery which I will cover in the next step.
The risk here is that by rooting and installing the OS you are doing it at your own risk and that it will void your warranty and could brick your device if you are not careful. I also want to point out that this method does not remove the boot logo or boot animation, this is just the OS and it should not be done on a stock ROM or else you will have to start over. 827ec27edc