Just in case you were worried about the Sony Xperia Z2 and the lack of a root method, you can put those fears to bed. Thanks to XDA member DooMLoRD and his crafty ways, the Sony Xperia Z2, although still absent from US soil, has now gotten root access and Clockworkmod recovery. Some might see this as pointless since we don't have official access to the phone yet but we say that it never hurts to be prepared. Thinking about picking up an Xperia Z2 upon it's launch in your local area? If you like to mod and tweak your devices, now you'll be all set upon picking up one of these new phones from Sony.
There are a few things that you will need in place for root and recovery to be an achievable task. First off you will need to have the phones bootloader unlocked. You of course won't be able to do this until the phone is physically in your hands but, you get the idea. With the bootloader unlocked, you can move on to the root method and get your device enabled with root access which is based off of Clockworkmod version 22.214.171.124, and proceed with empowering your device. Never rooted a device before? No problem, as long as you follow all the steps and instructions properly that walk you through the process you should be OK, but it always goes without saying that users assume any risk and take responsibility for whatever happens.
This is quick work from the developer community on a phone that is yet to be available to regions far outside Sony's home market, but all the better because those of us that would like to root immediately will be able to do it the moment we open the box and power on the device. With root access you can use tons of useful apps that non-rooted devices can't take advantage of, like Titanium Backup. You can run over to the original XDA thread to follow the entire process once you get your device, or if you already have it by other means, and proceed to get your phone the root it deserves.