1. Ua perm:
(R2′ U’) (F B’ R2) (F’ B U’ R2′) (a bar on L-face)
(R U R’ U) (R’ U’ R2 U’) (R’ U R’ U R) (a bar on F-face)
Finger tricks: F B’ and F’ B by using right index and ring fingers at the same time, pinching S-slice with right thumb and middle finger.
2. Ub perm:
(R2′ U’) (S R2 S’) (R2′ U R2) (a bar on L-face)
(R’ U R’ U’) (R3 U’) (R’ U R U R2) (a bar on F-face)
Finger tricks: S by right middle finger. S’ by right middle or left index finger. U by right ring finger.
Way to distinguish Ua from Ub: the right side face adjacent to the “bar” face has adjacent color combination -> Ua. It has opposite color combination -> Ub.
When I started learning Rubik’s cube, I was using algorithms R U’ R U R U R U’ R’ U’ R2 for Ua and R2′ U R U R’ U’ R3 U’ R’ U R’ for Ub in which a “bar” face is set to back side.
But since a bar is a key element for recognition, I prefer positioning it where I can see. And also the algorithms previously mentioned are pretty good and easy, so I substituted them.