[Guide] Unlocking the Mi4c Bootloader without verification by Xiaomi

Search This thread

wolkenjaeger

Member
Jul 6, 2015
33
104
This evening I had the same problem like many of you and I just did not want to wait 2-3 weeks for the unlock code from Xiaomi. I went through a lot of threads and different forums to create this guide.

Requirements
- ADB up and running (I am an Android developer, so I have this installed already - unsure if you need specific ADB drivers for Xiaomi devices though)
- Xiaomi MI4c ;)
- MiFlash: http://bigota.d.miui.com/tools/MiPhone20151028.exe (via http://en.miui.com/a-234.html) - Install
- Mi4c Image: libra_images_6.1.7_20151221.0000.11_5.1_cn_b09dac70a0.tgz - unpack until "images" directory is visible!
- [Optional] Mi4c Fastboot Image: miui_MI4c_6.1.21_d1d054460d_5.1.zip
- [Optional] Latest TWRP: http://forum.xda-developers.com/mi-4c/development/libra-twrp-3-0-t3315059
- [Optional] Latest build of CM 12.1: http://forum.xda-developers.com/mi-4c/development/cm12-1-build-cyanogenmod-12-1-device-t3291631

Step-by-step

Step 1 is optional: I was not sure, if I could use the "fastboot oem edl" command in a higher version of MIUI... feedback required. Thus following is a list of known Xiaomi ROMs which support this procedure:
If you are using one of the following ROM versions, you should be able to unlock the device easily with the provided guide. However, I have messages that the versions don't work with higher MIUI ROM versions.

CONFIRMED WORKING
V8.6.9.15 MIUI Dev ROM
V8.0.16.0 MIUI Dev ROM
V7.5.4.0
V7.5.3.0.LXKCNDE
V7.1.4.0.LXKCNCK
V6.1.21 (Download link above)
V6.3.24
V6.3.17
V6.4.21
V6.4.14
V6.5.26
V6.8.25
V6.9.15 (China Dev)

Not confirmed (?)
None

Not working
None

  1. (Optional) Downgrade your Mi4c by flashing any image from the list above via the "Updater" app (use top right icon to select image).
  2. Reboot into fastboot mode (Power + Vol Down) until you see the MIUI rabbit and "FASTBOOT"
  3. Command: fastboot oem edl (this brings your device in a kind of emergency recovery state) -> the device does only show a black screen. Do the next step.
  4. Use MiFlash to flash 6.1.7 image (Browse -> select the "images" directory of the 6.1.7 package and start flashing)
  5. When completed, reboot the phone by holding the Power button long (~8s)
  6. Wait until 6.1.7 is completely loaded (this may take a while)
  7. Reboot into fastboot mode (Power + Vol Down)
  8. Command: fastboot oem unlock -> at this point you should have an unlocked bootloader
  9. Now optionally install TWRP and subsequently CM 12.1 and enjoy (see respective linkes in the requirements for a howto) - TWRP: fastboot flash recovery <twrp>.img


With this post, I want to say thank you to all the developers who take their time to port Cyanogen to exotic Android devices. You are heroes!


In case you want to donate me something: https://paypal.me/wolkenjaeger
 
Last edited:

Logic_

Senior Member
Aug 8, 2010
268
67
Antwerp
could i back to miui rom after installed CM rom
Yes you can, as you see the CM is optional, you can choose any rom of your liking.

Be warned that any of the latest official Miui roms will lock your bootloader right back and if you have TWRP in place, you will bootloop.
Xiaomi.eu or sMiui highly recommended alternatives if you want to go with miui.

Great step by step tutorial, worth a sticky imo since more and more people coming here will be locked in the future.
 

vasil_d

Member
May 17, 2008
15
3
I did unlock the bootloader using the guide and it works.
Step 1 Downgrade your Mi4c by flashing the 6.1.21 image via the "Updater" app (use top right icon to select image) is not necessary .
Also all data will be wiped.
 

Ettenmoors

New member
Nov 22, 2012
2
0
Not working for me. I'm Unable to flash 6.1.7 from update from 6.3.10. When I send command: fastboot oem edl phone reboots and then I am unable to glash with MiPhone. :crying:
 

ding-dong

New member
Feb 16, 2016
2
1
fastboot oem edl

Hi guys i need some help, when i try to use "fastboot oem edl" then flash it all it gives me black screen and cannot go back to fastboot.

no key combination is working power+vol - is dead power+vol up is also dead..

all i can see is its recognize it via device manager port com "Qualcomm hs-usb qdloader 9008"

please point me out to somewhere i can see my fastboot mode again :(

thanks in advance :)
 
Last edited:

wolkenjaeger

Member
Jul 6, 2015
33
104
Hi guys i need some help, when i try to use "fastboot oem edl" then flash it all it gives me black screen and cannot go back to fastboot.

no key combination is working power+vol - is dead power+vol up is also dead..

all i can see is its recognize it via device manager port com "Qualcomm hs-usb qdloader 9008"

please point me out to somewhere i can see my fastboot mode again :(

thanks in advance :)

Well, when you get the black screen, start MIFlash :fingers-crossed:
 

matt0101

New member
Mar 22, 2016
2
0
hi,
everything going fine for me, unlock worked, flash recovery twrp worked. But finally i still have the miui recovery...
Now when i try to unlock through MiFlashUnlock, it says "Devices already unlock". Before doing this guide i was blocked at 50% "Mi account not the same that devices information".
What can i do ??
 

tuanhung303

Senior Member
Dec 20, 2012
94
28
hi,
everything going fine for me, unlock worked, flash recovery twrp worked. But finally i still have the miui recovery...
Now when i try to unlock through MiFlashUnlock, it says "Devices already unlock". Before doing this guide i was blocked at 50% "Mi account not the same that devices information".
What can i do ??

don't let en.MIUI rom boot after you install twrp. because it will reinstall the stock recovery over the twrp recovery. In fact, you have to go directly to twrp after flashing it, and try MIUI.eu or other CM roms.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 97
    This evening I had the same problem like many of you and I just did not want to wait 2-3 weeks for the unlock code from Xiaomi. I went through a lot of threads and different forums to create this guide.

    Requirements
    - ADB up and running (I am an Android developer, so I have this installed already - unsure if you need specific ADB drivers for Xiaomi devices though)
    - Xiaomi MI4c ;)
    - MiFlash: http://bigota.d.miui.com/tools/MiPhone20151028.exe (via http://en.miui.com/a-234.html) - Install
    - Mi4c Image: libra_images_6.1.7_20151221.0000.11_5.1_cn_b09dac70a0.tgz - unpack until "images" directory is visible!
    - [Optional] Mi4c Fastboot Image: miui_MI4c_6.1.21_d1d054460d_5.1.zip
    - [Optional] Latest TWRP: http://forum.xda-developers.com/mi-4c/development/libra-twrp-3-0-t3315059
    - [Optional] Latest build of CM 12.1: http://forum.xda-developers.com/mi-4c/development/cm12-1-build-cyanogenmod-12-1-device-t3291631

    Step-by-step

    Step 1 is optional: I was not sure, if I could use the "fastboot oem edl" command in a higher version of MIUI... feedback required. Thus following is a list of known Xiaomi ROMs which support this procedure:
    If you are using one of the following ROM versions, you should be able to unlock the device easily with the provided guide. However, I have messages that the versions don't work with higher MIUI ROM versions.

    CONFIRMED WORKING
    V8.6.9.15 MIUI Dev ROM
    V8.0.16.0 MIUI Dev ROM
    V7.5.4.0
    V7.5.3.0.LXKCNDE
    V7.1.4.0.LXKCNCK
    V6.1.21 (Download link above)
    V6.3.24
    V6.3.17
    V6.4.21
    V6.4.14
    V6.5.26
    V6.8.25
    V6.9.15 (China Dev)

    Not confirmed (?)
    None

    Not working
    None

    1. (Optional) Downgrade your Mi4c by flashing any image from the list above via the "Updater" app (use top right icon to select image).
    2. Reboot into fastboot mode (Power + Vol Down) until you see the MIUI rabbit and "FASTBOOT"
    3. Command: fastboot oem edl (this brings your device in a kind of emergency recovery state) -> the device does only show a black screen. Do the next step.
    4. Use MiFlash to flash 6.1.7 image (Browse -> select the "images" directory of the 6.1.7 package and start flashing)
    5. When completed, reboot the phone by holding the Power button long (~8s)
    6. Wait until 6.1.7 is completely loaded (this may take a while)
    7. Reboot into fastboot mode (Power + Vol Down)
    8. Command: fastboot oem unlock -> at this point you should have an unlocked bootloader
    9. Now optionally install TWRP and subsequently CM 12.1 and enjoy (see respective linkes in the requirements for a howto) - TWRP: fastboot flash recovery <twrp>.img


    With this post, I want to say thank you to all the developers who take their time to port Cyanogen to exotic Android devices. You are heroes!


    In case you want to donate me something: https://paypal.me/wolkenjaeger
    5
    could i back to miui rom after installed CM rom
    Yes you can, as you see the CM is optional, you can choose any rom of your liking.

    Be warned that any of the latest official Miui roms will lock your bootloader right back and if you have TWRP in place, you will bootloop.
    Xiaomi.eu or sMiui highly recommended alternatives if you want to go with miui.

    Great step by step tutorial, worth a sticky imo since more and more people coming here will be locked in the future.
    3
    Solved my Problem from earlier (p.4)

    You can manually leave the Emergency recovery mode on the phone by pressing volume down and pwr button for an entire minute, which will put you back into fastboot mode. (feels extremely long, but works at the end)
    I then did the flashing again, using Miflash and it worked flawlessly. Don't know why it didn't work the first time.

    Maybe you should add the fact that you have to press pwr button for 8 seconds after flashing the rom with miflash, cause your tutorial makes it seem as if it would reboot itself.
    3
    So thought I'd share my experiences after my saga with unlocking the bootloader of my new mi4c tonight.

    Originally bought it a month ago, thought I'd be proactive so applied for official unlock 2 weeks ago, the confirmation sms was sent after 5 days so thought I was set for when it arrived. Received the phone in the post today so went about installing the latest china dev rom (miui_MI4c_6.6.30_5900d411cb_5.1 version: 6.6.30) from the miui website as instructed to do the unlock, but on using the windows app kept saying couldn't verify device as it thought it was on a different account to the one approved for unlock. Went on miui forums and found boatloads of others having the same issue so got a bit worried.

    To cut a long story short spent several hours unsuccessfully trying: 1. to optimise my miui account so that it would hopefully sync properly and unlock officially as per the advice of some and 2. trying to flash an older firmware (i had the latest china dev rom with the beta miui 8 at the time) so i could follow this guide but i couldnt flash anything as it wouldnt verify the package, not via the updater app or the mi suite pc app.

    so after several hours i just thought f*ck it and just just started from step 2 of this guide despite having the latest firmware and hey presto it worked a treat (nb/ if using the miflash app hit refresh and click on your device before flashing). thanks so much for finding this method
    3
    hi,
    everything going fine for me, unlock worked, flash recovery twrp worked. But finally i still have the miui recovery...
    Now when i try to unlock through MiFlashUnlock, it says "Devices already unlock". Before doing this guide i was blocked at 50% "Mi account not the same that devices information".
    What can i do ??

    don't let en.MIUI rom boot after you install twrp. because it will reinstall the stock recovery over the twrp recovery. In fact, you have to go directly to twrp after flashing it, and try MIUI.eu or other CM roms.