[ROOT][TOOL] TWRP 3.3.1-0 & ROOT FOR INFINIX S4 - X626 (MT6762)

AndroidHQ254

Senior Member
Sep 14, 2013
479
565
133
Kagumo
androidhq254.blogspot.com

The Infinix S4 alias Infinix X626 has been with us for some time now and brings some cool features for a budget phone. In brief, it features an Octa-core 2.0 GHz Cortex-A53 Helio P22 Mediatek MT6762 chipset, 4000mAH battery, 32+3/64+6 ROM and RAM combination, 13 MP + 8 MP + 2 MP triple rear camera setup, 32 MP front-facing AI camera, Fingerprint scanner, Android Pie 9.0 among others. You get all these features at a budget cost.

Usually, there is not much you can do with the stock firmware that comes with the phone unless you get a means to customize the device. The ultimate customization for the Android OS is achievable when you get root privileges for your device. However, getting rooted has not been easy especially with the advancement of Android as most of the tools that were popular in rooting are no longer viable.

This brings us to the TWRP (TeamWin Recovery Project) that is the go-to tool when you need to root your device, flash custom Roms and apply customizations on the go. Not all devices are supported by default and for such devices, porting becomes the only alternative. The Infinix S4 users are lucky since I have managed to compile a working TWRP 3.3.1-0 based on Android Pie and all features are working as expected including adb, sdcard, wiping, backup, sideload, resizing partitions, restore and more.

What's new in TWRP 3.3.1-0:

  • Fix SELinux issues during formatting - dianlujitao
  • Various fixes for toybox and toolbox builds - CaptainThrowback and bigbiff
  • Flash both A and B partitions when installing a recovery ramdisk - Dees_Troy
  • Add option to uninstall TWRP app from /system - Dees_Troy
  • Create digest for subpartitions - bigbiff

Getting Started With TWRP For Infinix S4

The main requirement before you can have this recovery on your Infinix X626 is that the bootloader MUST be unlocked. In addition, make sure you have ADB and FASTBOOT set up correctly on your PC.

NB: Am not responsible for any mishap that may happen by following this guide as you do this at your own risk. As for me, I have managed to use this guide on my device successfully by following the steps correctly.

  1. Download the TWRP_3.3.1-0_Infinix-X626_DEnnisMUrimi.img recovery
  2. Boot your device into fastboot mode (Power + Volume Down)
  3. In the directory containing the recovery you downloaded, open up a command prompt and run this command
    Code:
    [B][I]fastboot flash recovery TWRP_3.3.1-0_Infinix-X626_DEnnisMUrimi.img[/I][/B]
  4. Once that is done, boot into recovery (Power + Volume Up) to confirm that you have successfully flashed TWRP on your Infinix S4
  5. In case you are asked for the password to decrypt your device, just ignore that step, go to the Wipe Menu and Format Data. This process will wipe all your data so make a point of backing up your important data.

How To Root Infinix S4 (X626/B)

Now that you have successfully set up TWRP on your S4, it is time to get rooted in just a few steps. The best method to get root is by using the now popular Magisk tool that is capable of systemless root.

  1. Download Magisk ZIP and place in your sdcard if you are not familiar with sideloading .zip files in TWRP
  2. Boot into TWRP and navigate to the Install Menu
  3. Navigate to the directory containing the Magisk zip you downloaded and confirm to flash it
  4. Be patient as the rooting process happens and Reboot System when you are directed to

Once the device has booted you will find the Magisk Manager app in your app drawer and that will mean that you have successfully rooted your Infinix S4. Now you can do all the tweaks and customizations that you have in mind.

As usual, comment if you have a question or comment regarding TWRP for Infinix S4 or how to root. Happy rooting!

XDA:DevDB Information
TWRP FOR INFINIX S4, Tool/Utility for the Android General

Contributors
AndroidHQ254
Source Code: https://github.com/dmurimi14/android_device_Infinix_X626


Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2019-07-25

Created 2019-08-17
Last Updated 2019-08-17
 

Attachments

hpawe

Member
Apr 15, 2018
22
7
0
How their unlock the bootloader or will it unlock during the process please help
go here!

---------- Post added at 06:56 AM ---------- Previous post was at 06:49 AM ----------

never use the twrp that TS have shared above for infinix S4 6/64 version (x626b/MT6765) if u dont want to brick ur device (cannot access/boot anything, os, recovery, even fastboot)
 
Last edited:

AndroidHQ254

Senior Member
Sep 14, 2013
479
565
133
Kagumo
androidhq254.blogspot.com
go here!

---------- Post added at 06:56 AM ---------- Previous post was at 06:49 AM ----------

never use the twrp that TS have shared above for infinix S4 6/64 version (x626b/MT6765) if u dont want to brick ur device (cannot access/boot anything, os, recovery, even fastboot)
FYI MT6765 is the platform but the actual SOC is MT6762. The only difference between the models is just storage and RAM
 

Kawakigachi

Senior Member
May 18, 2018
109
185
0
Porto
www.youtube.com
Alcatel 5V - Need Root (MT6762 Helio P22)

Hi, guys! I need a Root for Alcatel 5V 5060D

I have Stock Recovery and Boot, of cause i was using Spflashtool v5.1828 and works for me "Readback".

At moment, i was test... I was using fastboot flash boot boot.img that happened "the partition is not allowed" and also fastboot flash recovery recovery.img that happened "the partition is not allowed" I didn't know why? I have unlock OEM...

My Stock Boot for Alcatel 5V: https://mega.nz/#!RlFR0Q4Q!i6lDVfEWb..._gGqvy8iPZqQv4
My Stock Recovery for Alcatel 5V: https://mega.nz/#!Ql9QxS4b!w9YWi2mDD...I1IozdB-52G7dA
My Da and Auth: https://mega.nz/#!AhE0xKra!NbaqelTST...i3WLiwro7J0Kok

If I use new recovery TWRP 3.3.1-0 for Alcatel 5V? I wil try to use "fastboot flash recovery twrp3310_alcatel5v.img" that happened "the partition is not allowed"???? I didn't know why?

My TWRP 3.3.1-0 for Alcatel 5v: https://mega.nz/#!1pEBwQ7Z!qUhpHlYHc...vWTcnzH8isXHVQ

My device: Alcatel 5V 5060D
My version Android: 8.1.0
My patch: 05-11-2018
My Kernel: 4.9.77
My compilation: 01004
My country: Portugal
My CPU: Mediatek MT6762 Helio P22
My RAM: 3GB RAM
My ROM: 32GB ROM

Can we help and resolve a problem?

Thank you for answer?
 

AndroidHQ254

Senior Member
Sep 14, 2013
479
565
133
Kagumo
androidhq254.blogspot.com
Hi, guys! I need a Root for Alcatel 5V 5060D

I have Stock Recovery and Boot, of cause i was using Spflashtool v5.1828 and works for me "Readback".

At moment, i was test... I was using fastboot flash boot boot.img that happened "the partition is not allowed" and also fastboot flash recovery recovery.img that happened "the partition is not allowed" I didn't know why? I have unlock OEM...

My Stock Boot for Alcatel 5V: https://mega.nz/#!RlFR0Q4Q!i6lDVfEWb..._gGqvy8iPZqQv4
My Stock Recovery for Alcatel 5V: https://mega.nz/#!Ql9QxS4b!w9YWi2mDD...I1IozdB-52G7dA
My Da and Auth: https://mega.nz/#!AhE0xKra!NbaqelTST...i3WLiwro7J0Kok

If I use new recovery TWRP 3.3.1-0 for Alcatel 5V? I wil try to use "fastboot flash recovery twrp3310_alcatel5v.img" that happened "the partition is not allowed"???? I didn't know why?

My TWRP 3.3.1-0 for Alcatel 5v: https://mega.nz/#!1pEBwQ7Z!qUhpHlYHc...vWTcnzH8isXHVQ

My device: Alcatel 5V 5060D
My version Android: 8.1.0
My patch: 05-11-2018
My Kernel: 4.9.77
My compilation: 01004
My country: Portugal
My CPU: Mediatek MT6762 Helio P22
My RAM: 3GB RAM
My ROM: 32GB ROM

Can we help and resolve a problem?

Thank you for answer?
Have you tried flashing the custom recovery via TWRP?
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone