I had to rebuild a curl cylinder today, took a few pictures.
I have a vise, but preferred to let the machine hold the body while I broke the gland it loose. I removed the ram pin, swung the cylinder up and broke the nut loose with the body still pinned to the boom arm. It requires two 9/16" wrenches to remove the bolt that secures the ram pin. I didn't measure the size of the end cap, but it has two flats on it to use a wrench. I used a 48" pipe wrench and needed every bit of leverage it offered. Once it broke loose I was able to turn it out by hand.
The body pivot is held by a 1/2" bolt. You'll need a pair of 3/4" sockets, one on an extension. The outer bolt is inside the boom about 4". Once you remove the bolt you'll have to knock out the pin that it's holding in.
Undo the lines and take it to your vise. With the end cap unscrewed, pull the ram out.
The ram. To remove the piston you'll need a 1 1/8" socket or wrench. Do not clamp the rod surface in the vise.
With the piston off, slide the end cap off. Clamp it in the vise by the flats, not the threads. Remove and replace the seal, wear ring, wiper and oring.
Slide the end cap back onto the ram, then reattach the piston. Note that one side of the piston is made to sit over the ram, be sure you reinstall it facing the correct direction.
With the piston securely attached, pull the seal and wear ring off. Install the new wear ring first so that the seal doesn't get stuck in that groove when you put it on.
Slide the ram back into the body, then tighten the end cap. You don't have to crank down on it with a 4' wrench, just get it tight.
When you go back to the machine, install the body pin first, then extend the cylinder by hand and install the ram pin if you can. Do that before attaching the hoses or it will air lock and you'll have to have the machine running to extend it hydraulically. Once everything is reassembled, run the machine and cycle the curl function 5-10 times to push a put any air. When you first lift the boom, don't be concerned if the bucket drops forward before you curl it. That's just the air in the cylinder being compressed and cycling it will push all that out.