I've read too many posts about machines that were upgraded and then had problems.
HOWEVER the mystery cursor movements on laptops is legendary. Get a mouse and turn off the touchpad.
That is the only cure I've found to date.
Hoarding photos on your phone?
Those picture are hogging memory and could be slowing down your phone.