Easy method for those who are new to this as once you were.
ONLY FOR DEVICES WITH LOCKED BOOTLOADER.
Downloads
1) minimal adb and fastboot
2) Twrp and double click file
3) Drivers (recommended not complusory)
Step 1
-(This may void your warranty proceed with caution!!) get bootloader unlock permission.
to do the same go to your phone settings > about phone tap 7 times on build number.
now you will be able to see developer options enable it and turn on oem unlocking.
-wait for 14 days.
Step 2
-connect your device to pc.
-install the all the three drivers in your pc(recommended not complusory)
-boot your device into fastboot mode by presssing volume down+power button simultaneously for 10 secs (approx.)
Step 3
-extract the downloaded files and copy the two files available inside the folder and paste it in minimal adb folder (that you have installed in step 1)
Step 4
-Double click on abhay's double click file.
-congratulations twrp successfully flashed.
TWRP version 3.1.0-3 (credits @hendibudi )
Don't forget to press thanks if you like my work.
please note:- do this method only on locked bootloader device or else you may lose data again as the file includes
HTML:
fastboot oem unlock
Related
This is a fix for those of you who are facing problem with their VZW M8's audio distortion while screen is off after flashing some ROM/KERNEL.
Step by Step Guide :-
1. Download this file - https://drive.google.com/file/d/0B0PzOLijcR7sbkhJYUY5RjItNFk/view?usp=sharing
2. Reboot your phone into bootloader
3. Open command prompt(Note : ADB/Fastboot drivers Must be installed and properly working).
4. Connect Your phone to PC
5.Type this in command prompt
Code:
fastboot oem rebootRUU
6.
Code:
fastboot flash zip <name of the file you have downloaded with its proper location>
7.If the flashing fails repeat step 6.(It must be a success on second attempt if not try again.)
8.
Code:
fastboot reboot
9.Test if the problem still persist
10.if yes, tell below.
11. if no, enjoy the music! also inform below.
Alternate METHOD for flashing above file :
1. rename the downloaded file to 0P6BIMG.zip
2. place it in your external sd cards root directory(not in any folder)
3.Reboot to bootloader
4. Select HBOOT
5. Press Volume up after HBOOT has finished scanning The file.
6. press power button once installation is over.
7. Test if the problem still persist
8. if yes, tell below.
9. if no, enjoy the music! also inform below.
NOTE : If you update phones stock firmware unofficially you might need to follow this guide again
Maaaaaaaaaaaaaaaaan!!!!!! YOU ARE AMAZING!!! I have been dealing with this problem for over 2 weeks!!! this is the solution!!! thank you very much!!!
Here i will Explain you how to Root Sony Xperia Z3 D6653
PRE-REQUISITES AND REQUIREMENTS
1. BACKUP YOUR ANDROID DATA
Backup your Data through built in app Backup & Restore or by any other Tools available in Playstore like
a.
HTML:
https://play.google.com/store/apps/details?id=com.idea.backup.smscontacts&hl=en
(Super Backup)
b.
HTML:
https://play.google.com/store/apps/details?id=com.keramidas.TitaniumBackup&hl=en
( Titanium Backup)
2.INSTALL SONY XPERIA Z3 DRIVERS
You need these drivers to connect your device with the computer to follow this guide. Without these USB drivers you can’t connect your device to the PC, first download and install these drivers on your system.
HTML:
http://www.tothemobile.com/download-android-usb-drivers
3. ENABLE USB DEBUGGING MODE
You need to enable USB debugging mode. Without enabling USB debugging mode on your device you can’t start the root or Unlock process.
a. Go to your Phone Settings > About option.
b. From here you can see the Build number of your device. From here Tap “Build number” seven (7) times continuously and after that your Developer options
under Settings are back.
c. Go back to setting and now you can see the new “Developer Option” here. Tap on Developer Option and check USB debugging > ok
Then
a. GO to the Phone the Settings.
b. Tap on “Developer options”.
c. Check the option: “USB debugging”.
d. Check the allow mock location or select mock location app
e. check install from unknown sources
4. Battery
If your device switched off during this process, it could damage or brick the device. Make sure that your Android battery is full charge or near about 55-70% battery level.
BEFORE GOING TO ROOT YOUR MOBILE YOU HAVE TO UNLOCK THE BOOT LOADER
5. UNLOCKING BOOTLOADER
a. Download the Fastboot Drivers from below link
HTML:
http://d-h.st/ibd
( Copy Paste in browser and download )
b. Get the IMEI code for your device: By typing *#06# in phone dialer to find it out, note only the digits or you can get it from About Phone -> Status -> IMEI
c. In your device, open the dialler and enter *#*#7378423#*#* to access the service menu.
Tap Service info > Configuration > Rooting Status. If Bootloader unlock allowed says Yes, then you can continue with the next step. If it says No,
or if the status is missing, your device cannot be unlocked. then you have to backup your TA Partion and continue.
d.
HTML:
http://www.flashtool.net/downloads.php
Download this tool and install .......
1. Install Flashboot and Fastboot drivers of Flashtool (setup file will be on C:\Flashtool\drivers or similar place).
2. Turn on your phone, and connect with usb debugging on.
3. Go to Plugins-> Bootloader Unlock option, start it.
4. Now it will ask to disconnect your phone and reboot in FLASHMODE. ( By Pressing Volume Up and connect the usb cable)
5. it reboot your phone in FASTBOOT mode.
6. It will show a window with your IMEI number in system, insert your unlock key and click "unlock".
To get Your Unlock Code
a. Visit the
HTML:
http://unlockbootloader.sonymobile.com/unlock/step1
and read everything! Now Click on “Yes, I’m sure” button.
b. Now form the next page clock on the “I accept” button to confirm that you accept the legal terms mentioned on the page.
c. On the next page you will see a form in which you have to mention the details like Your Name, Your device IMEI code and the email address.
d. Fill the form and give correct email id .... because it will send you the link for getting the unlock code.
e. Create unlock boot loader key request
f. You should now receive your unique unlock key via Email. Save this key safely, you need this file in next steps.
g. Enter that key in windows which the Window showed in 6 th point in system from flash tool.
Hit enter once you’ve put your unique bootloader unlock key in place.
You’re device should now be bootloader unlocked.
INSTALL TWRP ON SONY XPERIA Z3 (D6653)
1. Once the bootloader is unlocked. Download the recovery file here and save it on your desktop
HTML:
http://d-h.st/5EA
2. Download the Fastboot file for your phone here and extract the folder on your desktop.
HTML:
http://www.mediafire.com/file/yfms6s1j85cae8t/adb-and-fastboot-files.zip
3. Now copy/paste the bootZ3monxtest01.img file to the Fastboot adb folder. (Dont Rename the Recovery)
4. Now press Shift key + Right click on any empty white space inside the folder, and select “Open command window here”. Now you will see the command prompt
window on your desktop.
5. After this Boot your Xperia Z3 into Fastboot Mode. To do this Press and hold the Volume Up button, Connect to your PC using a USB Cable while holding down the Volume Up button on your Xperia Z3.
6. Once your device is in fasboot mode. Enter the following command on command prompt window
fastboot Devices
7. If the command prompt window shows some digits and alphabets, then your device has successfully connected to Fastboot. If now then install the Android USB drivers again and restart the process
8. Now type the following command:
fastboot flash boot bootZ3monxtest01.img
9. Now the flashing process will start on your phone, wait for some time it will take little/some time.
10. Once done, issue the following command to reboot your phone
fastboot reboot
THAT's IT you have installed the TWRP Recovery in your Mobile.
ROOTING XPERIA Z3 (D6653)
1. To get started you have to install the TWRP recovery on your Z3. Check out the instructions here.
2. Download the SuperSu Zip here.
HTML:
https://download.chainfire.eu/1013/SuperSU/SR4-SuperSU-v2.78-SR4-20161115184928.zip
3. Now copy the Zip file on your phone SD card.
4. Boot your Z3 in recovery mode. To do this Switch off your Xperia Z3 first, Switch it back on and the time when you see your phone’s LED notification light turn
Pink! (or any other color) — start pressing either the Volume UP or Volume Down key a couple of times to make your phone boot into recovery mode.
5. Once your phone in recovery mode, Tap on Install » browse to the location where you saved the supersu zip files and tap on it.
6. Now at the bottom of the screen, do a swipe on the Swipe to confirm flash option to begin flashing.
7. This will start the flashing process on your phone and take some time to finish.
8. Go back to the main menu of recovery and tap on Reboot » then, tap on System to reboot your phone.
That’s ALL!. Now your Sony Xperia Z3 is rooted. Now you can Install any Custom ROM to your Model.
Please Press Thanks if You like this Post and Found Usefull. :good:
I don't understand why on this device you need to flash boot instead of recovery....and by the way this method gave me bootloop
Sent from my 6055P using XDA-Developers mobile app
Why would you unlock the bootloader when you have the option to get root and recovery without doing it. Of course this is if you wanna try stock modded roms but for custom you have to.
I have used this rooting method but when i switch my device and open recovery mode. My mobile get hanged and not get recovery mode. Any other alternative methods
can someone send me another link for twrp of that sony xperia z3 d6653?? i can't download from that site
*C.M FLARE S7 CMW/PHILZ TOUCH CUSTOM RECOVERY*
[Tutorial]
Root not necessary*
No need to: ro.secure = 0 /off
REQUIREMENTS LISTED BELOW:
*Enable Developer Options [Turn On*]
*OEM Unlock [Optional*]
*Enable USB Debugging [Turn On*]
*Download C.M Flare S7 Recovery [Complete Set*]: https://drive.google.com/open?id=1SzTbVQ_dIiWdqj7cuB_17b9P5J1la4-C
------------------
Option 1: [Through SP FLASH]
Step1: Open SP FLASH Flash_tool.exe make sure to run as Administration.
Step2: On Scatter loading file, Choose MT6739_Android Scatter.txt file.
Step3: Select Download Only.
Step4: Uncheck all and Check the recovery only
Step5: Locate and Choose custom recovery.img file
Step6: After selecting the recovery.img file, press the DOWNLOAD button
Step7: Power off your phone and then remove the battery
Step8: Connect the phone USB cable and wait for 30 seconds
Step9: if the flashing has been successful, disconnect the cable then Press VOLUME UP + POWER Button.
Option 2: [Through ADB]
Step1: You should Enable USB Debugging mode before using adb
(Located in "Settings", "System", and tap 'About Phone' 7 times)
Go back to System Settings
Turn on: DEVELOPER OPTIONS.
Turn on: OEM UNLOCK & USB DEBUGGING.
Step 2: On your Computer, install "ADB-Setup-1.4.3" then after this software has been installed
Before you can use ADB you should Unlock the BOOTLOADER before flashing (this will wipe or reset the phone)
*make sure that the "OEM UNLOCK" is turned on*
On you computer open 'CMD' command.
-----------------------
Unlocking the OEM BOOTLOADER to enable the Flash feature on Fastboot*
you can use VOLUME UP + POWER BUTTON to go to Fastboot by selecting BootLoader Or ADB.
Option 1: using adb
Type:
adb devices
(Phone id will pop up in cmd with the list of 'DEVICES' attached)
adb reboot bootloader
(*in Fastboot type*)
fastboot oem unlock
(*Message will pop-up on your phone then Press VOLUME UP*)
(*To enable Flashing Custom Recovery Type command *)
fastboot flashing unlock_critical
(*Again Press VOLUME UP to enable*)
fastboot flashing get_unlock_ability
(*Queries bootloader to see if the device is unlocked*)
-----------------------
after unlocking the fastboot and oem bootloader
you can now Flash the Custom Recovery [CWM/Philz Touch 6]
in C.M FLARE S7 Folder Locate the CWM-Philz Touch 6 Custom Recovery
and copy the recovery.img file then
Type:
fastboot flash recovery recovery.img
(after flashing succeeded*)
Type:
fastboot reboot
(it will automatically reboot your phone)
-------------------------
*[End of tutorial]*
Tutorial
I flash it via flashify and ends with successful.
But i have notice that the recovery not working on touch button, anyway thanks for making this recovery.
How to fix?
Sir please tell me on How to fix Can't mount data on this custom recovery. I try to full backup using this recovery but its ended can't mount data. Sorry for my bad english I hope you can help me sir.
ROOT (ALMOST) EVERY DEVICE WITH MAGISK + FASTBOOT
As an Android user, I understand how frustrating it will be when you desperately look for an exact rooting tutorial for your device but end up finding nothing, all one-click root tools do not work, or no custom recovery made for yours.
So, this tutorial shows you how to root a wide range of Android devices (not all, because there will be exceptions, I guess) with Magisk. First, we should take a look at the pros and cons, so that you can generally acknowledge this method.
---------------------------------------------------------------------------
PROS
- No custom recovery (TWRP, ClockworkMod,etc.) needed
- Easy to find prerequisites
- Successful root attempt CONFIRMED on my 10 devices (including popular devices, rare devices, and devices with OS based on Android)
- Support recent Android versions, including Android 10 (tested on Google Pixel XL).
CONS
- Phone brick might occur
- You might not find your device's firmware in .zip format, which will stop you from using this method.
- Not being able to unlock the bootloader (only on some device) will stop you from using this method, too.
That's about the pros and cons. I hope you guys all understand these points before going to read my tutorial and start your attempt.
---------------------------------------------------------------------------
REQUIREMENTS & STEPS
I. REQUIREMENTS
- Your device's Android version is 5.0 or up. If it's below 5.0, then you can root your device easily with any one-click tool.
- A computer & USB cable.
On your phone
- Download & install Magisk
- Download the exact firmware version (in .zip format) of your device and only extract the boot.img to any directory.
On your computer
- Download & install Fastboot, extract the folder to "Downloads" directory
- Download & install Android USB driver for Windows
(I am not sure if XDA allows inserting links in threads or not, so please search for these prerequisites on the internet, it is easy)
II. STEPS
1. Unlocking your phone's bootloader
- Open Settings > About phone > Tap on Build number about 7 times till you see a notification "You are now a developer"
- Now in the About phone tab, you can see the "Developer option". Tap on it and make sure:
+ the OEM unlocking is turned ON
+ The USB Debugging is turned On
- Plug your phone on your computer (with Fastboot & driver fully installed). Allow the USB Debugging notification on your phone
- Open Command Prompt on your computer. Enter commands below steps by steps:
cd Downloads
cd fastboot
adb reboot bootloader
(press Enter after each line to proceed)
- Your phone will reset to the bootloader menu after these commands. Next, enter this:
fastboot oem unlock
- A message asking you to make sure you want to unlock the bootloader. Use the volume and power button to choose "Yes". Your phone will reset data and reboot right after.
*Note: This method works on many Android devices, but doesn't on many devices. You might have to google a method for your own phone
2. Patching the boot.img file
After you extracted the boot.img from your device, use the Magisk app installed on your device to patch it up.
- Click the "Install" button on the first line
- Click "Select and Patch a file"
- Choose the boot.img file extracted. The patching progress will start right after.
- You will receive a file named "magisk_patched.img" after finished.
3. Flashing the "magisk_patched.img"
- Copy the "magisk_patched.img" into the Fastboot folder
- Reboot your phone to Bootloader mode by powering off and then hold Power + Volume down button simultaneously
- Open Command Prompt again, and type:
cd Downloads
cd fastboot
fastboot flash boot magisk_patched.img
- The flashing progress will begin. Wait until it finishes, and type the last command:
fastboot reboot
- Your phone will restart once again, and of course, with root access gained
---------------------------------------------------------------------------
UNROOT DEVICE
- If you want to unroot your device, you just have to flash the original boot.img file, with the same steps with flashing the magisk_patched.img!
---------------------------------------------------------------------------
This instruction is not truly detailed, so maybe you might encounter some difficulties at some point. If any, please feel free to leave your question below.
It is also the first time I create an instruction post, therefore I appreciate all of your comments. Thanks a lot <3
richarshub said:
ROOT (ALMOST) EVERY DEVICE WITH MAGISK + FASTBOOT
As an Android user, I understand how frustrating it will be when you desperately look for an exact rooting tutorial for your device but end up finding nothing, all one-click root tools do not work, or no custom recovery made for yours.
So, this tutorial shows you how to root a wide range of Android devices (not all, because there will be exceptions, I guess) with Magisk. First, we should take a look at the pros and cons, so that you can generally acknowledge this method.
---------------------------------------------------------------------------
PROS
- No custom recovery (TWRP, ClockworkMod,etc.) needed
- Easy to find prerequisites
- Successful root attempt CONFIRMED on my 10 devices (including popular devices, rare devices, and devices with OS based on Android)
- Support recent Android versions, including Android 10 (tested on Google Pixel XL).
CONS
- Phone brick might occur
- You might not find your device's firmware in .zip format, which will stop you from using this method.
- Not being able to unlock the bootloader (only on some device) will stop you from using this method, too.
That's about the pros and cons. I hope you guys all understand these points before going to read my tutorial and start your attempt.
---------------------------------------------------------------------------
REQUIREMENTS & STEPS
I. REQUIREMENTS
- Your device's Android version is 5.0 or up. If it's below 5.0, then you can root your device easily with any one-click tool.
- A computer & USB cable.
On your phone
- Download & install Magisk
- Download the exact firmware version (in .zip format) of your device and only extract the boot.img to any directory.
On your computer
- Download & install Fastboot, extract the folder to "Downloads" directory
- Download & install Android USB driver for Windows
(I am not sure if XDA allows inserting links in threads or not, so please search for these prerequisites on the internet, it is easy)
II. STEPS
1. Unlocking your phone's bootloader
- Open Settings > About phone > Tap on Build number about 7 times till you see a notification "You are now a developer"
- Now in the About phone tab, you can see the "Developer option". Tap on it and make sure:
+ the OEM unlocking is turned ON
+ The USB Debugging is turned On
- Plug your phone on your computer (with Fastboot & driver fully installed). Allow the USB Debugging notification on your phone
- Open Command Prompt on your computer. Enter commands below steps by steps:
cd Downloads
cd fastboot
adb reboot bootloader
(press Enter after each line to proceed)
- Your phone will reset to the bootloader menu after these commands. Next, enter this:
fastboot oem unlock
- A message asking you to make sure you want to unlock the bootloader. Use the volume and power button to choose "Yes". Your phone will reset data and reboot right after.
*Note: This method works on many Android devices, but doesn't on many devices. You might have to google a method for your own phone
2. Patching the boot.img file
After you extracted the boot.img from your device, use the Magisk app installed on your device to patch it up.
- Click the "Install" button on the first line
- Click "Select and Patch a file"
- Choose the boot.img file extracted. The patching progress will start right after.
- You will receive a file named "magisk_patched.img" after finished.
3. Flashing the "magisk_patched.img"
- Copy the "magisk_patched.img" into the Fastboot folder
- Reboot your phone to Bootloader mode by powering off and then hold Power + Volume down button simultaneously
- Open Command Prompt again, and type:
cd Downloads
cd fastboot
fastboot flash boot magisk_patched.img
- The flashing progress will begin. Wait until it finishes, and type the last command:
fastboot reboot
- Your phone will restart once again, and of course, with root access gained
---------------------------------------------------------------------------
UNROOT DEVICE
- If you want to unroot your device, you just have to flash the original boot.img file, with the same steps with flashing the magisk_patched.img!
---------------------------------------------------------------------------
This instruction is not truly detailed, so maybe you might encounter some difficulties at some point. If any, please feel free to leave your question below.
It is also the first time I create an instruction post, therefore I appreciate all of your comments. Thanks a lot <3
Click to expand...
Click to collapse
It's different for a/b devices where root has to be accessed by booting into the phone from recovery to boot with root
([emoji3590]09-09-18[emoji3590])
PoochyX said:
It's different for a/b devices where root has to be accessed by booting into the phone from recovery to boot with root
([emoji3590]09-09-18[emoji3590])
Click to expand...
Click to collapse
Hi PoochyX,
Thanks for your reply, could you be more specific, please? Does it mean that this method cannot work on a/b devices?
I will edit my instruction again if needed.
Thanks for your suggestions!
Instructions for Unlock bootloader, Root and Installation of LineageOs 14.1 in Lenovo Vibe B A2016b30 dual sim al732row variant by lexiyuri
Credits to: getdroidtips, EduardaMonteiro and CarlosArriaga
Necessary files are uploaded in my androidhostfile space
MTK Drivers:
https://androidfilehost.com/?fid=4349826312261627234
https://androidfilehost.com/?fid=4349826312261627236
Minimal ADB and TWRP 3.1.1.0 Recovery:
https://androidfilehost.com/?fid=4349826312261627232
Stock ROM for Lenovo Vibe B (just in case) of:
https://www.androidfilehost.com/?w=files&flid=303573
Lineage OS 14.1 ROM (Nougat 7.1.2) :
https://androidfilehost.com/?fid=4349826312261627242
SuperSU Root:
https://androidfilehost.com/?fid=4349826312261627240
Gapps (choose ARM 7.1 Stock package):
download from https://opengapps.org/
Make a entire backup of your device, syncing Google and WhatsApp accounts before doing something.
First part: Unlocking bootloader and installing TWRP 3.1.1.0 recovery.
0. Install necessary MTK Drivers from my uncompressed file.
Windows XP to 8.1: uncompress files, and follow on screen instructions
Windows 10 enforces driver signatures by default. This can be disabled to install drivers that are not digitally signed. Use the following steps to disable driver signature enforcement.
Click the Start Start menu and select Settings.
Click Update and Security.
Click on Recovery.
Click Restart now under Advanced Startup.
Click Troubleshoot.
Click Advanced options.
Click Startup Settings.
Click on Restart.
On the Startup Settings screen press 7 or F7 to disable driver signature enforcement. Your computer will restart and you will be able to install non-digitally signed drivers.
Install your mtk unsigned drivers. In this point dont restart computer again. After finishing all the following steps, you can restart your computer again, and the driver signature enforcement will be re-enabled.
Note: Windows XP/7/8 users don't need to do this.
1. Uncompress and pick the minimal adb and twrp provided from the zip file.
Alternatively, you can Download Minimal ADB tool from https://androidmtk.com/download-minimal-adb-and-fastboot-tool
or Download the full setup Android Studio from its official source https://developer.android.com/studio/?gclid=EAIaIQobChMIpdiIlpfh5QIVks13Ch2bUw8REAAYASAAEgJW9PD_BwE
Note: please dont forget do a complete backup of your data before start!
2. In your Lenovo Vibe B, enter Settings and Enable Developer Options:
Settings -> About Phone -> Tap on the Build Number around 7-8 Times until you see a message "Developer option enabled"
Now, you need to enable the OEM Unlock. Go to Settings -> Developer Option and Enable OEM Unlock. Just as simple as you hear!
3. Go to the folder you uncompressed the Adb tools.
Open a command tool right there (CMD or powershell). After that, turn off your phone.
Now press and hold power and volume up button keys at the same time and you'll see three options: Fastboot mode, Normal mode and Recovery mode.
Confirm Fastboot mode pressing Volume up until you point/reach to the fastboot option and confirm pressing volume down to enter, wait for the fastboot message in your phone. Now, connect your phone to the pc using an good usb cable.
4. Type in the cmd screen
Code:
fastboot devices
command and check if the phone is being recognized. This command list the connected devices.
If your phone serial number shows up everything is fine, but if the phone serial number doesn't appear, you must reinstall mtk drivers or choose another usb cable.
5. Check the unlock oem
typing the command
Code:
fastboot oem unlock
and press enter.
Alert: This procedure will erase your data and reset to the default configuration. Be careful! Check unlocked oem confirmation message on your phone screen.
6. Now is the moment of install the TWRP recovery.
To flash, type the following command in the cmd window:
Code:
fastboot flash boot boot.img
Press enter and wait for a confirmation message.
Code:
fastboot flash recovery recovery.img
Press enter and wait for a confirmation message.
7. Turn off the phone. Press and hold power and volume up button keys at the same time and you'll see three options.
With the volume up key, point to the Recovery mode option and confirm with the Volume down key. Wait a little and now you are into twrp 3.1.1.0 recovery. In the finishing touches, configure the twrp recovery and choose power off option.
Second part: install LineageOS 14.1, Gapps and SuperSu to the Lenovo Vibe B
8. Uncompress the LineageOs folder and copy to an external SD the Lineage Os, Gapps and SuperSU zip files.
9.Turn off your phone, pull out the battery, insert your microSD to the phone. Turn on your phone and start it in recovery mode just as stated before in step 7. Now, you are into TWRP
10. Do a wipe in order to delete the Stock rom. Tap Wipe option, then choose advanced wipe and pick the following ones:
Code:
Dalvik /ART Cache
System
Cache
Data
Confirm the wipe option swiping to the right and wait the confirmation message. Press back option and return to the main twrp window
11. In the main twrp window, tap the Install option, locate your microSD as externalSD tapping in the select storage to activate the external SD. Now search the files into the SD, pressing in the "up a level" zone and after you reach it, install the following things in the exact order:
Choose the Lineage OS 14.1 Rom zip file (swipe to confirm) and wait. Dont restart the phone.
After that, choose the Gapps zip file, swipe again to confirm and wait.
Finally, choose the SuperSu zip file included in the folder, do a swipe, wait.
If you want, its possible install all the zip files as a bunch using the "add more zip option" that twrp offers to you, but I prefer do it each one by one.
12. Do a final wipe choosing "wipe Dalvik and Cache".
13. Now choose the restart/reboot option. Wait for the phone initial setup (around a couple of minutes)
14. Configure the phone with your android account preferences. install your favorite apps, sync your info, etc.
15. Configure the SuperSU, install it, and verify the root with the Root checker app (you can found it in the Play store) and you are done!! Enjoy!!