[Android Software/Hacking General [Developers Only]] Savçı:
This method can root any Infinix device, I don't know if Infinix released phones with Qualcomm processor or no but this method for MediaTek phones only.

It can also work with non-Infinix MediaTek phones (Not All).

WARNING!!!! ROOT WILL VOID PHONE WARRANTY.

PLEASE FOLLOW INSTRUCTIONS CORRECTLY, I'M NOT RESPONSIBLE FOR ANY FAULT OR HARD BRICK OR BOOTLOOP.

Okay first thing you need is to install all required files on your pc before beginning.

(I recommend downloading Stock ROM before beginning to be able to restore phone if something went wrong).

Spoiler content hidden.

Then the preferred method is to install Custom Recovery (In this case TWRP).

if you don't know what custom recovery is

Spoiler content hidden.

You can download Official TWRP from official site on Device List and download your phone's recovery and you will see too instructions on how to install it to the chosen device (if it for pro version from a phone it has big probability to damage other versions of the same phone).

BUT UNFORTUNATELY, Official TWRP doesn't support most devices.

so, the best alternative is unOfficial TWRP you can open search bar and type your device name and most devices will be found on it with basic root guides.

you can directly download TWRP for all hot5 alternatives (X559/X559C/X559F) from here.

(if you upgraded your Hot5 into android 8.1 (with custom ROM) you will need another TWRP version, and you can get it from here.

IF YOU STILL CAN'T FIND TWRP FOR YOUR DEVICE YOU CAN GOOGLE IT WITH YOUR PROCESSOR VERSION.

(ex.: my phone's processor is MediaTek MT6580 so in google search I typed "Custom Recovery for MT6580")

TWRP Installation

​

so, first thing you need is a MediaTek Driver installed on your pc, and you can get it from here.

and google android USB driver from here.

and to do flashing process we have two methods; GUI Method, and Command-Line Method (Advanced).

GUI Method

​

Most users prefer GUI Method, and it needs SP Flash Tool, this app needs scatter file which found in the zip file with the TWRP Image (If not you have three ways to get it)

Spoiler content hidden.

if you found already scatter file so just extract the whole archive to a folder (empty folder is better)

Spoiler content hidden.

then in SP Flash Tool select the scatter file and select the recovery partition TWRP img file (if didn't automatically selected after scatter selection).

and before doing anything don't forget to unlock phone OEM bootloader.

Spoiler content hidden.

And then turn off your phone and wait a few seconds until the phone vibrates to make sure that it's completely shut down.

after that press download button in flash tool, then connect your phone with supported USB cable to the PC (I tested Infinix and Oppo Cables and they worked but Xiaomi cable didn't work for me)

Please make sure that the cable is data transfer cable not charging only.

IMPORTANT!! Hold Both Volume Buttons while connecting to pc until you see red loading in flash tool with "Downloading DA" then release the buttons.

after that you will see yellow loading with "Flashing" wait until it ends and you will see a window opened with green tick then disconnect your phone from your PC

Spoiler content hidden.

after this to make sure the Custom Recovery is installed properly boot your phone into recovery mode using key combo (in this case and most android devices is by holding Power + Volume Up Buttons until you see your brand logo (Infinix) and then release the buttons to prevent phone from auto restart.

after this the TWRP Recovery must work properly (You can navigate in it to reboot to reboot your system normally)

Spoiler content hidden.

Command-Line Method​

It's not recommended, it needs ADB Platform-Tools downloaded and extracted.

then copy the TWRP img file inside the Platform-tools folder and rename it to recovery.img

then do the following steps:

Connect your device (opened) to the PC.

Browse in the PC to the Platform-Tools Folder.

in address bar type CMD and press enter.

or hold shift and right click in blank area and select Open in Terminal (Windows PowerShell).

type adb devices to check that your device is active.

if didn't work type .\adb devices

after seeing an active device type adb shell or .\adb shell if the second one worked

you may see a popup in your phone check always allow this pc and press allow.

then type exit

now type adb reboot bootloader

after your device successfully rebooted to bootloader (fastboot mode)

type fastboot devices also if didn't work replace it with .\fastboot devices

then fastboot oem unlock

fastboot flashing unlock

then type fastboot flash recovery recovery.img

after that type fastboot reboot recovery

and know your device will boot into TWRP (if you have problems with normal boot after that like a BootLoop you may need to format your phone with factory reset or normal wipe in TWRP)

after you checked TWRP, and it worked properly let's go to root installing process.

Root Installation

​

Download Magisk latest version APK (if you want to root with SuperSU skip to next step) and rename it to magisk.zip (if you can't do it with PC, you can restart your phone and download and rename it from your phone and reboot your phone to recovery again)

WARNING!!! MAGISK IS FOR ANDROID 6.0+ PHONES ONLY IF YOUR PHONE IS OLDER, PLEASE USE SUPERSU.

you can transfer files in TWRP Mode so just connect your phone to the PC while TWRP is open and copy magisk.zip file to your SD Card (if you don't have one internal storage is OK) and click install in TWRP and browse to magisk.zip and click it then disable any checked checkbox and swipe the arrow to proceed.

Spoiler content hidden.

Then Reboot your System and your device is rooted.

Root Without Custom Recovery

​

Download Magisk latest version APK (this method is done with Magisk only) and install the APK file.​

Extract boot.img file from Stock ROM you downloaded.​

Copy it to your phone's internal storage.​

Open Magisk Manager.​

In the first Section "Magisk" Click Install.​

In "Options" Click Next.​

In "Method" Select and Patch a File.​

Then select your boot.img file.​

Then Click "Let's Go".​

After ending you will find (In Downloads Folder) a patched img file.​

copy it to your computer in an empty folder.​

and rename it to boot.img​

and extract scatter file from Stock ROM zip and put it with the img in the same folder.​

and open SP Flash Tool and select scatter file.​

and select boot.img (if not selected automatically)​

and flash it with the method that flashed TWRP in the up of the page​

or with the Command Line Method but change fastboot flash recovery recovery.img with fastboot flash boot boot.img​

and fastboot reboot recovery with fastboot reboot​

and then restart your phone or it will restart automatically​

and open Magisk and you can see that Magisk is installed into system​

if you have Root Checker app you can check root with it​

or with doing root operations​

and that's everything, and my full root experience and the best of all guides I read or videos I watched.