How to root Sony Xperia Z1

These are the instructions to root Sony Xperia Z1 smartphone (running on android 5.0.2, built id 14.5.A.0.242 or 14.5.A.0.270) using the KingRoot Application on the mobile itself (no need of computer).

Requirements: Your smartphone should have atleast 20 percent of device battery or more to begin the root process.