EDIT: I had a far-too-complex solution here, but it turns out that for the two and three-layered versions, things are quite simple. I solved the four-layered and haven’t tried the five yet. For now, a quick refresher – which works just like a 3x3x2. (Tutorial help if you need it) Also, here’s the link to the Four-layered tutorial
- Get White corners
- Insert centers (3x3x3 alg: R, U, R, U’, R)
- Swap centers or corners
- R, U, R, U’, R (rotate cube CCW), R, U’, R, U, R
- Depending on what you start with (corner or edge), it’ll cycle accordingly.