The method is quite easy and just requires a third party software that will root your android device without any risk of voiding warranty of your android. You just need to follow some simple steps below to proceed.
Steps To Root Android Without Voiding Your Android Warranty:
Step 1. First of all download and install the best Android Rooting Software that is iRoot. This is the only program that will let you root your android device without voiding your warranty.
Step 2. Install the software and launch iRoot on your computer and you will see the screen like below.
Step 3. Now you need to enable USB debugging on your android device. For this Go to developer option and then enable it. If developer option is not enabled on your device then you can enable it by opening About Phone and tapping 7-10 times on build number.
Step 4. Now connect your android with PC using USB data cable and wait for iRoot to detect it.
Step 5. Now the Root button will get activated on iRoot software and just click on it to root your android device.
Step 6. Now wait for few minutes to complete the rooting process and your device might get restarted 2-3 times.
That’s it! you are done, now you have successfully rooted your android device without risking its warranty.