• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[TOOL] Mi Toolkit V4 (Root, TWRP + Stock Recovery, IMEI Backup)

Search This thread

Kreaz

Senior Member
May 5, 2012
402
132
Jakarta
Because Manu11 didn't update his thread about the toolkit. I decided to post this to help Mi 4i users that got into trouble with TWRP unable to flash dh.harald's CM12.1

FEATURES
-Root (MIUI only, CM users can enable Root in Developer Options) Working on MIUI7 (thanks to @ss.suryakant95 for testing this out)
-TWRP Recovery
-Stock Recovery (just in case)
-EFS (IMEI) Backup and Restore

attachment.php

DOWNLOAD
(Some users had problems unzipping this ZIP with WinRAR, consider using free alternatives such as 7-zip)
MAIN URL: Click here to download (Please use this download, but if in any case you can't extract, you may use the mirror I provided.)
MIRROR: Click here to download.

HOW-TO
1. Enable Developer Options (Tap MIUI version 7 times in About Phone), and then in Developer Options, enable USB debugging.
2. Have you downloaded the ZIP? No? Download it, now.
3. Extract the downloaded ZIP wherever you like, keep in mind that all files must be kept together.
4. Connect your phone to the PC.
5. Run the Start.bat file.

ATTENTION: Please do a ROOT (I'll assume you're still in MIUI) before you flash TWRP, or you may be brought back into stock recovery. (Thanks to @omerjerk for testing this)

---

UPDATE: This toolkit's TWRP is deprecated (download the newest version here), but if you don't want to hassle with downloading another fastboot driver, you can still download dh.harald's recovery .img file, and copy your downloaded recovery to the extracted toolkit folder, then change dh.harald's recovery filename into twrp.img (UNTESTED)

I'll repack this toolkit with dh.harald's newest TWRP whenever possible.


---

This toolkit is made by magdag, all credits goes to him.
 

Attachments

  • toolkit.png
    toolkit.png
    18.5 KB · Views: 114,130
Last edited:

elot01

Senior Member
Mar 24, 2010
339
144
www.lotgerink.com
Nokia X10/X20
Amazfit
does any one know to do a nandroid backup with twrp????? mines turning out to be 35mb!

Backup everything (all partitions) except the first in the list.
You may want to use the compression.
The backup should be somewhere between 3.5GB and 5.5GB depending on the options and the data.

You could install ROM Manager (from Koushik Dutta) from the Play Store.
Choose the TWRP as recovery and Unknown Device as device.
Then you can use this to backup with TWRP and it will choose the right options for you.
 

krome_3k

Member
Oct 3, 2011
34
4
Backup everything (all partitions) except the first in the list.
You may want to use the compression.
The backup should be somewhere between 3.5GB and 5.5GB depending on the options and the data.

You could install ROM Manager (from Koushik Dutta) from the Play Store.
Choose the TWRP as recovery and Unknown Device as device.
Then you can use this to backup with TWRP and it will choose the right options for you.

bro got my device soft bricked.. i think. the phone boots directly to twrp and twrp is unable to flash the official rom zip which i downloaded from the xiaomi website [miui_MI4iGlobal_V6.6.10.0.LXIMICF_80f20c0908_5.0.zip]. i think the only option i have is to flash a rom via fastboot but the when i download the fastboot rom [http://www.technobuzz.net/flash-miui-6-stable-rom-on-brickeddead-mi-4i-with-fastboot-mode/] nothing happens. i get a 503 error. does anybody out there have the fastboot rom for this device???

EDIT : tried flashing again phones working now :D but still does anyone have the fastboot rom??
 
Last edited:

Kreaz

Senior Member
May 5, 2012
402
132
Jakarta
bro got my device soft bricked.. i think. the phone boots directly to twrp and twrp is unable to flash the official rom zip which i downloaded from the xiaomi website [miui_MI4iGlobal_V6.6.10.0.LXIMICF_80f20c0908_5.0.zip]. i think the only option i have is to flash a rom via fastboot but the when i download the fastboot rom [http://www.technobuzz.net/flash-miui-6-stable-rom-on-brickeddead-mi-4i-with-fastboot-mode/] nothing happens. i get a 503 error. does anybody out there have the fastboot rom for this device???

EDIT : tried flashing again phones working now :D but still does anyone have the fastboot rom??

Just Google it. Seriously. Or go to MIUI Forums and see the options you got there, there should be plenty of MIUI Fastboot ROM since 6.5.6
 

elot01

Senior Member
Mar 24, 2010
339
144
www.lotgerink.com
Nokia X10/X20
Amazfit
i posted after extensive googling. the only problem i faced was that the fastboot rom was undownloadable. but got the job done using twrp after it failed multiple times.

I have 6.6.5.0 as fastboot rom available.
For another person i already made a link available via Dropbox.
Here is the link (will keep it available till the end of the week): https://dl.dropboxusercontent.com/u/63898882/ferrari_global_images_V6.6.5.0.LXIMICF_20150521.0000.3_5.0_global_5ef519a03a.tgz
 

omerjerk

Senior Member
Sep 6, 2012
269
445
27
Delhi
www.omerjerk.tk
I've MiUi 6.6.10 on my device.
I used this toolkit to flash twrp but I'm not able to do so.
Whenever I select the 2 option, it flashes the recovery successfully. But, when I boot to recovery again using adb reboot recovery, I get the stock recovery and not twrp.

What I'm doing wrong ?
P.S. I haven't rooted the phone yet.

---------- Post added at 08:21 PM ---------- Previous post was at 08:14 PM ----------

I've MiUi 6.6.10 on my device.
I used this toolkit to flash twrp but I'm not able to do so.
Whenever I select the 2 option, it flashes the recovery successfully. But, when I boot to recovery again using adb reboot recovery, I get the stock recovery and not twrp.

What I'm doing wrong ?
P.S. I haven't rooted the phone yet.

It worked after root.
I think it should be added in the main post that root is required.
 
  • Like
Reactions: Kreaz

samgcw

Senior Member
Jul 24, 2005
158
8
Singapore
Hi

Not able to restore stock recovery with the toolkit. I've tried to flash stock.img manually in fastboot., but not able to get into stock recovery even fastboot show succeeded.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 19
    Because Manu11 didn't update his thread about the toolkit. I decided to post this to help Mi 4i users that got into trouble with TWRP unable to flash dh.harald's CM12.1

    FEATURES
    -Root (MIUI only, CM users can enable Root in Developer Options) Working on MIUI7 (thanks to @ss.suryakant95 for testing this out)
    -TWRP Recovery
    -Stock Recovery (just in case)
    -EFS (IMEI) Backup and Restore

    attachment.php

    DOWNLOAD
    (Some users had problems unzipping this ZIP with WinRAR, consider using free alternatives such as 7-zip)
    MAIN URL: Click here to download (Please use this download, but if in any case you can't extract, you may use the mirror I provided.)
    MIRROR: Click here to download.

    HOW-TO
    1. Enable Developer Options (Tap MIUI version 7 times in About Phone), and then in Developer Options, enable USB debugging.
    2. Have you downloaded the ZIP? No? Download it, now.
    3. Extract the downloaded ZIP wherever you like, keep in mind that all files must be kept together.
    4. Connect your phone to the PC.
    5. Run the Start.bat file.

    ATTENTION: Please do a ROOT (I'll assume you're still in MIUI) before you flash TWRP, or you may be brought back into stock recovery. (Thanks to @omerjerk for testing this)

    ---

    UPDATE: This toolkit's TWRP is deprecated (download the newest version here), but if you don't want to hassle with downloading another fastboot driver, you can still download dh.harald's recovery .img file, and copy your downloaded recovery to the extracted toolkit folder, then change dh.harald's recovery filename into twrp.img (UNTESTED)

    I'll repack this toolkit with dh.harald's newest TWRP whenever possible.


    ---

    This toolkit is made by magdag, all credits goes to him.
    2
    Thanks
    Working like charm on MIUI7
    1
    Is it the root or the twrp flashing?

    Both root and twrp
    1
    I've MiUi 6.6.10 on my device.
    I used this toolkit to flash twrp but I'm not able to do so.
    Whenever I select the 2 option, it flashes the recovery successfully. But, when I boot to recovery again using adb reboot recovery, I get the stock recovery and not twrp.

    What I'm doing wrong ?
    P.S. I haven't rooted the phone yet.

    ---------- Post added at 08:21 PM ---------- Previous post was at 08:14 PM ----------

    I've MiUi 6.6.10 on my device.
    I used this toolkit to flash twrp but I'm not able to do so.
    Whenever I select the 2 option, it flashes the recovery successfully. But, when I boot to recovery again using adb reboot recovery, I get the stock recovery and not twrp.

    What I'm doing wrong ?
    P.S. I haven't rooted the phone yet.

    It worked after root.
    I think it should be added in the main post that root is required.
    1
    thanks. updated miui to v7, and this rooted the xiaomi mi 4i
    Can confirm, rooted successfully no issues so far.