These top 5 characters your need to get to affinity level 4, 75% for the perfect ending.
These just get to level 4 and then switch them out.
These characters and not needed to get this achievement.
The best way, is killing enemies and doing quests, finding a good spot to farm stronger enemies is always better. Make sure to interact with them all so no green bubbles are on the map.