Sony added a lot of its own
apps to the Sony
Xperia Zand, frankly, never really asked us if we wanted them there. If you'd like to free up some space or run apps that require admin-level access, the first step is rooting, the process of getting full permissions on the phone. The procedure for the Sony Xperia Z is very easy and involves using a quick rooting script.
This procedure requires a Windows computer.
3. Enable USB Debugging by going to Settings > Developer Options and turning on USB Debugging.
4. Go to Settings > Security and Turn Unknown Sources on.
5. Go to Settings > Display > Sleep > and change the timeout to 10 minutes
6. Download the rooting script and save it to your Desktop.
7. Extract the script to your desktop.
8. Plug in the phone via USB.
9. Open the newly extracted folder and double click the .bat file inside.
10. Hit enter while in the command prompt for it to begin.
11. After the device reboots, open the app drawer and look for SuperSU. If it's there it worked and you are rooted.