Neither requires the past perfect, since the order of past events is clear without it; 'before' makes this order clear: 1-- He had the bike before he sold it. 2-- He played tennis before he went to Japan. However, past perfect can be used in both if the writer wishes to stress the precedence of the bike ownership and the tennis-playing.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.