Chosen Solution

in my sony xperia 1, how i will do the hard reset

Open the cover of the SD card slot. There should be a small red button. That is the hard reset key. Now press and hold that small red button for about 3 or 5 seconds. That should do it. :-)