Thank you Toretto for a very clear explanation.
So for any persons wishing to do this a stock rom like the ones located here should do the trick https://community.e.foundation/t/stock-gs290-rom-anyone/33736/21
I will give the easy installer a go on my linux pc after this.
Thanks again.