There is no complete solution, not by a long shot.
You could save all files you can grab from everywhere, buy Google space and enable absolutely all possible backups, use the specific data transfer (to a new phone!) tool from the manufacturer (no matter if Google or Samsung or anyone else) and you'd STILL have tons of apps with tons of data you need to move with a specific workflow (best example Whatsapp, but this is a GOOD example, in the sense that people really want their data and have a process to move it). Repeat for anything similar, login (separately, sometimes via a rather complex process) to everything else and STILL you'll be having tons of things that weren't carried over, you need to configure by hand and so on. You'll be fighting with this for weeks, if not months if you have more than 2-3 apps.