Ive gone through the whole process of unlocking and rooting my F8132 and made instructions as I went along. Why did I make these instructions when you can do a search and see someone else also made instructions? Well, because their instructions suck and I had to look all over the internet to fill in the holes where their instructions had huge important parts missing. Its a rather complex procedure especially for most people who have no clue what they are doing.. So basically I wanted my own personal instruction manual for quick reference and alos felt compelled to share my instructions so here with you.
These are my instructions, Some others will do it a different way but this way is what I did and my phone is working 100% and rooted.
Before you Root and install TWRP you need to go back to my link and unlock bootloader..
1) turn your phone off. After its turned off, hold the volume up button while plugging the phone into your pc. Your computer should already have installed drivers that will enable Flashmode when you did the bootunlock procedure.
2)download Boot img TWRP img Kernel Exposed SuperSu
Save the 2 img files to the Android Platform folder in your PC here C:\Users\PC-User\AppData\Local\Android\sdk\platform-tools. Save the Kernel zip, exposed zip and SUperSU zip file to an SD card and put the card inside your phone to access it through TWRP later in the process. Keep in mind that the Kernel may be updated by its developer. So you should check out that persons thread here and check for any updates of his kernel here. Do a "date last modified" list of the files on that page by clicking on the grid view box on the upper right portion of the screen just under the "sign in" button. This helps you see what files have been updated in most recent order.
3) you will open a cmd prompt in this folder by holding down your right mouse button and clock on the shift key then release the mouse button. This will open a pop up window where you can choose to " open command window here" when the cmd window opens, copy and paste this "fastboot devices" press enter button, your computer should respond with this ......CB512A697c fastboot.......This lets you know that your phone is in the correct mode and ready to be programmed.
4)now you will install the boot img by copy and pasting this in cmd line "fastboot flash boot boot.img" The PC should tell you OKAY with some other irrelevant info.
5)now you will install the twrp img by copy and pasting this in cmd line "fastboot flash recovery TWRP-3.0.2-8-F8132.img" The PC should tell you OKAY with some other irrelevant info.
6) Now you will install Kernel, exposed zip and SuperSU. Reboot, as phone boots, wait for the Sony logo to appear, look for Orange LED to come on inside the top speaker, then immediately press the up or down volume key to initiate TWRP. Swipe to allow modifications then choose "Install" to install the zip files. Navigate to the SD card that has the kernel zip file. Swipe to install, then choose the Exposed zip and swipe to install then choose the SUperSU zip, swipe to install. Reboot. Phone will go throw optimization process which takes some time. You will notice the counting of optimized files. Be patient.
7) Reboot, then in your device, turn on USB debugging and turn on OEM Unlocking by going to Settings, then about phone. Go all the way down to build version and tap on it about 7 times. This will unlock Developer Options menu. To go into Developer Options once it is unlocked goto Settings, then Developer options . This menu is where you must turn on usb debugging and OEM Unlocking to proceed with the procedure. Your phone is rooted and can be backed up and restores with TWRP.
When doing a backup with Twrp, backup everything you can check as a precaution but you only need to back up 3 things. System, Data and OEM
Do not wipe everything!
If you do that, you will get stuck in a boot loop and have to restore your phone with the flashtool.
Even if you have backed up everything and wanted to wipe the entire phone for a fresh restore. DONT!
You will end up in a boot loop
Wipe only "data" and "internal memory"
Then, restore "system," "data" and "oem" with your twrp backup.