yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 4C] Fsu0413:
Xiaomi 4c doesn't automatically restart after flashing rom in fastboot/oem edl mode until you manually hold the power key for 8 seconds
[Xiaomi Mi 4C] okidokay:
I have tried holding it much longer than that. Also tried putting it in Recovery and fastboot mode. It does not respond to any buttonpressing whatsoever.
[Xiaomi Mi 4C] Zeus1991:
i got a error :(View attachment 3698566
[Xiaomi Mi 4C] jonnie77:
Is your bootloader Locked Zeus1991???

~~mi4c ™~~
[Xiaomi Mi 4C] Zeus1991:
Yep it is

Enviado desde mi RAZR HD mediante Tapatalk
[Xiaomi Mi 4C] jonnie77:
show a screenshot of miflash advanced tab!!
[Xiaomi Mi 4C] Guml3y:
For me i got some error about storage when flashing 6.1.7 but i solve this by doing something a bit different from this tutorial and this may help for the other.

This is my workaround.

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)

****(I got error here when trying to flash 6..1.7. MiFlash show red error but i just hold power button for a while and then start to fastboot again. Then i just continue flash 6.1.7 again with Full Flash method. When i have done this step everything work fine and then continue to the next step.)****

5.Reboot until 6.1.7 is completely loaded (at this point it may take a while)

6.Reboot into fastboot mode (Power + Vol Down)

7.Command: fastboot oem unlock -> at this point you should have an unlocked bootloader

8.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
[Xiaomi Mi 4C] Zeus1991:
Which version you ran before install 6.1.7?? I'm on 6.3.17 developer but right know my phone is brick, I'm waiting for discharge the battery and I'll try what you did!!

Did you remember what was you error??

Enviado desde mi RAZR HD mediante Tapatalk
[Xiaomi Mi 4C] Guml3y:
First out of the box version is 7.0.?? something i can't remember and i downgrade to 6.1.21 by follow this thread.

This is error code that i got.
[Xiaomi Mi 4C] jonnie77:
Make a trend in miui.en someone might had happened the same!!

~~mi4c ™~~
[Xiaomi Mi 4C] SchwarzDog:
I was on 7.2.3.0.LXKCNDA and it worked flawlessly.

Thank's, mate!
[Xiaomi Mi 4C] Zeus1991:
Same error, it doesn't work what you did, I've tried with no luck :(

Enviado desde mi RAZR HD mediante Tapatalk
[Xiaomi Mi 4C] chyrol1:
Thanks for the guide! I've followed every step, and now I'm rolling on a brand new CM13 rom! I've done everything exactly as you told, except for the first step.

I was downgrading from newest miui dev rom 6.3.24, and now I have cm-13.0-20160329. Everything seems to be in order.

Thanks a lot!
[Xiaomi Mi 4C] marjunsyakir:
Any guide videos on youtube? Thanks
[Xiaomi Mi 4C] jonnie77:
It's not to Hard man!! Just go to miui forums!!!

~~mi4c ™~~
[Xiaomi Mi 4C] okidokay:
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.
[Xiaomi Mi 4C] wolkenjaeger:
Thanks for all the feedback - I just updated the first post.
[Xiaomi Mi 4C] Rivaldy:
It will be very helpful is there is a step by step video.

But Thanks anyway .......
[Xiaomi Mi 4C] rajnarasimhan:
This worked like charm

Thanks for the instructions. I was really worried when i updated to latest MIUI rom, causing my bootloader locked. I did not use my phone for 2 weeks. My phone got back its life after reading this thread. Thanks again.
[Xiaomi Mi 4C] ishure:
is it possible to downgrade from 7.2.4.0??

======================================

edit : it works with latest 7.2.4.0 w/o downgrade

thx xda
[Xiaomi Mi 4C] AgiZ10:
I also managed to get averything working with your guide, combined with some other guides. It took longer than it should because of not detailed-enough guide. I suggest you put more detail into how to do each step. I was on 7.0.16 (i think).

I did skip the "fastboot oem edl" by mistake, but it all works ok.

Thanks for this!
[Xiaomi Mi 4C] ishure:
i think this guide is more than enough for me (with my bad english btw)
[Xiaomi Mi 4C] qtotter:
if you were on 7.0.16, your bootloader was not locked from the begging...
[Xiaomi Mi 4C] AgiZ10:
Well, i didnt find info which ones are and which ones arent. As well as how to check if it is locked or not. So i just did this. No idea if it was locked or not. Worked though :)
[Xiaomi Mi 4C] NoOneLt:
Sorry, what is BL? Google not helping :(
[Xiaomi Mi 4C] TheArt.:
Bootloader ;)
[Xiaomi Mi 4C] sabbeer:
What if i root and install twrp and then custom rom without unlocking bootloader
[Xiaomi Mi 4C] LucaBB:
If you have got lock bootloader I think you can't install twrp

Inviato dal mio Mi-4c utilizzando Tapatalk
[Xiaomi Mi 4C] sabbeer:
How do i know if the bootloader is locked?
[Xiaomi Mi 4C] NoOneLt:
Hi again, what about 4c development future? Hardware seems to be pretty capable, but what stopping me a bit from getting is that i'am unsure about future support.

Would be nice to have original Marshmallow at least, why not if even original 4 has it already (or Xiaomi will support only flagships like Mi 4/5 etc), i was looking at 4S because of it, of course more storage and SD and sensor, design is ... But i'am not sure it justifies 90 EUR price difference to me. So i wonder what is development future for 4c or 4S?

The story is i need a phone, want to spend something about 200 EUR, as example 4c would cost me 220 and 4S about 310 (i could afford it if it is really really worth it) to compare A510F Galaxy A5 (2016) would cost 420 EUR here .I don't want really much from phone but don't see point in getting something more or less descent for ~150 EUR when i can spend a bit more a get pretty good phone like 4c.

What i think is most important is replaceable battery (as i know it is possible on 4c after some unscrewing) and good future support, i don't mind using phone for 3-4 years if it lasts...

Thanks for opinion.
[Xiaomi Mi 4C] TheArt.:
If your computer already has drivers, fastboot installed, then just connect your Mi4C in fastboot mode (vol down + power) to your pc, go to the folder where fastboot.exe is located, open a command prompt there (shift + right click -> open windows here) and type:

fastboot devices (see if a number with letters appears, if yes then your device is seen)

fastboot oem device-info (with this command you'll know if it's locked or not).

If you don't have fastboot on your PC, I recommend you this little package: ADB TOOLKIT.

I think that for 200€ you can buy a very decent phone. Now here in Italy I can find in for 211€ (prime version). In my opinion it will last long, Mi4S is not so impressive and doen't have much more for 100€ difference. If you already checked all the phones with that budget in your area, then I totally recommend Mi4C (with 3gb RAM). The development section will grow up hopefully, because just a month ago the sources of Mi4C were released, thus the devs are "welcomed". For sure Xiaomi will upgrade Mi4C to Marshmellow, and maybe also Android N, who knows.

Replacing the battery should not be a big issue, I just changed the back cover of my gf's Mi4C, and I saw the battery which is quite accessible.
[Xiaomi Mi 4C] RedSeb93:
Thaaaaank you wolkenjaeger !!!

You save my day !

My MI4C was dead, like a brick, with an insane bootloop.

Couldn't flash anything with that ****ing locked bootloader.

Many many thanks ! :laugh:
[Xiaomi Mi 4C] workshy:
Using fastboot oem edl seems to switch the phone off as the device no longer appears in the device list of miflash so cannot flash the 6.1.7 image.

i installed v6.1.21 prior to this.. anyone any ideas??
[Xiaomi Mi 4C] jonnie77:
Qualcomm drivers!!!

~~mi4c ™~~
[Xiaomi Mi 4C] workshy:
I've installed them but qualcomm still does not show in the COM port in device manager it just refuses to appear
[Xiaomi Mi 4C] Zeus1991:
This tutorial works https://youtu.be/ZkBLrn0Dzt4 the main thibg that you need is do it with device non brick, it should be work

Enviado desde mi Mi-4c mediante Tapatalk
[Xiaomi Mi 4C] fx3000se:
when I do "fastboot oem edl" I get:

C:\>fastboot oem edl

...

FAILED (remote: unknown command)

finished. total time: 0.008s

"device-info" says my mi4c is locked:

C:\>fastboot oem device-info

...

(bootloader) Device tampered: false

(bootloader) Device unlocked: false

(bootloader) Charger screen enabled: false

(bootloader) Display panel:

OKAY [ 0.042s]

finished. total time: 0.044s

I received my Mi4c (yesterday) with Stable 7.0.16.0.0 LXKCN CI. I noted that

a) it doesn't update to the latest stable. Is this normal?

b) only 1.8GB (of 3) free when running no app. 1.2G for MIUI is IMHO a lot!
[Xiaomi Mi 4C] jonlekyam:
[MENTION=6808045]wolkenjaeger[/MENTION] Help my phone wont boot up after flashing

"When completed, reboot the phone by holding the Power button long (~8s)" is this exactly 8s or until the mi logo appear
[Xiaomi Mi 4C] Zeus1991:
Tried the vídeo above your comment, I think b) is normal I don't know why but is the same RAM for me, jaja

You don't need to downgrade to any rom, just follow the type the commands

Enviado desde mi Mi-4c mediante Tapatalk
[Xiaomi Mi 4C] fx3000se:
I have not installed any (Qualcomm?) specific drivers. Is this a must for "fastboot oem edl" to work?
[Xiaomi Mi 4C] Zeus1991:
Yep bro, i guess, do it 5 min only next next, next and finish the installation, put your device in debugging mode and when you plug it to the PC, allow the communication with the PC, turn off, and put it in fastboot mode, then type the commands

Enviado desde mi Mi-4c mediante Tapatalk
[Xiaomi Mi 4C] workshy:
Tried the method in the video but when entering fastboot mode on phone after entering fastboot oem unlock bootloader it gives me a verification error.
[Xiaomi Mi 4C] Zeus1991:
You've already installed the drivers and active it debbugin mode? Also only works for non brick devices

Enviado desde mi Mi-4c mediante Tapatalk
[Xiaomi Mi 4C] workshy:
Drivers are installed but from other posts i've read i should see Qualcomm.. in the COM ports section in device manager but i don't.

The phone is not bricked as it works normally... and debugging mode is on in the phone settings.
[Xiaomi Mi 4C] Zeus1991:
Executed the drivers again and delete them, then install them again, and try a second time when I did I was on official developer 6.3.17 it should be work

Enviado desde mi Mi-4c mediante Tapatalk
[Xiaomi Mi 4C] workshy:
I installed v6.1.21 from the OP so that may be the problem. Do you have a link for 6.3.17?
[Xiaomi Mi 4C] Zeus1991:
No bro, you can find it on miui official forum in downloads

Enviado desde mi Mi-4c mediante Tapatalk
[Xiaomi Mi 4C] workshy:
Ok.. thanks
[Xiaomi Mi 4C] workshy:
Got the right COM port to show and flashed successfully with miflash but after switching phone on it just stays on mi.com logo.

How long should it take boot up after flashing?
[Xiaomi Mi 4C] Kawa Banana:
Hi, i have 2 questions:

does it work for mi note pro?

can i do this with a mac?

Thanks ;)
[Xiaomi Mi 4C] dp2:
This guide totally worked. Thanks OP.
[Xiaomi Mi 4C] feketejozsi:
This device is lost .... Activate this device

After rather long customs procedures I finally received my new Mi4c from China yesterday.

Nice phone but can not stand the bloatware that can not be uninstalled, especially not knowing Chinese, these really annoy me!

Checked Google on what to do and decided to flash CyanogenMod on my new phone.

Having earlier unlocked and flashed a few devices (Samsung and HTC) I tried following the directions in this post to unlock it, downloaded the exe, the process started and then error message came that there is not enough space to complete the command. Restated the exe and received the message that fatal error occurred "hello packet"?

Now if I try to boot it tells me that my device has been lost and I need to activate it. I did not adjust such a function.

I can access fastboot but the device continues to be locked as I can not flash TWRP.

Any suggestions?

Thanks in advance, any help is appreciated.

Will keep on trying.

Right now I feel kind of stupid :(
[Xiaomi Mi 4C] wolkenjaeger:
Hmm. As long as you have Fastboot available, your device is not lost. When in Fastboot mode (the one with the rabbit). You should be able to install at least a MIUI ROM. Just continue at step 3 and be sure you have the correct drivers installed.
[Xiaomi Mi 4C] feketejozsi:
reloaded an older rom

Thank you wlkenjaeger, managed to reload an older ram, unfortunately still not able to unlock the device.
[Xiaomi Mi 4C] workshy:
The error code there usually happens when a 32 bit version of windows is used.. for miflash you need to use 64 bit
[Xiaomi Mi 4C] Elaith:
after fastboot oem edl, I try to Flash with libra_images_6.1.7_20151221.0000.11_5.1_cn_b09dac70a0.tgz but it´s not working.

System cannot found the specific file. (0x80070002: Open serial port "\\.\COM3")

Can anyone helps with this?

My system is 64bits and I´ve installed QDLoader HS-USB Driver_64bit_Setup.zip
[Xiaomi Mi 4C] workshy:
In device manager under COM section do you see qualcomm hs-usb qdloader 9008 listed?
[Xiaomi Mi 4C] Elaith:
Thx for your answer!

I´ve reinstall the Qualcomm drivers and now the error is different:

Name of the file, name of directory or the syntaxis are not correct. (0x8007007b: Open programmer "C:\fastboot\MPRG*.*")

in directory c:\fastboot is where is the rom libra_images_6.1.7_20151221.0000.11_5.1_cn_b09dac70a0.tgz, I try selection directory c:\fastboot, where is the tgz, not workinig, I unrar the tgz in another directory on c:\ selecting C:\miui_rom\images, same error ... in advance settings C:\miui_rom\flash_all.bat but the problem seems to be the Flash Programmer...

any idea?
[Xiaomi Mi 4C] Micha21:
Hello,

It's perfectly work with the last dev version on en.miui.com, the 6.4.14.

I've installed TWRP and CM13 from TS team.

Thank you to your tutorial.
[Xiaomi Mi 4C] lordhow:
I have the same problem. Did you resolve it?
[Xiaomi Mi 4C] Elaith:
Not yet... I expected some help here, someone who solved this problem .. sorry :crying:
[Xiaomi Mi 4C] feketejozsi:
Worked fine with 64 bit Win7

Thank you! :)
[Xiaomi Mi 4C] lordhow:
I've already solved . You can try, perhaps work for you.

The problem was the driver. I have deactivated the Windows Update search of the driver and selected the drivers of Qualcomm. These drivers are in: C:\Program Files (x86)\Xiaomi\MiPhone\Qualcomm\Driver (or wherever you install MiFlash)

You can do this from device manager, COM Ports. To do this your phone have to be in Fastboot Mode.
[Xiaomi Mi 4C] ermacwins:
My friend bought phone from ibuygou. How do you find out if bootloader is locked?
[Xiaomi Mi 4C] jonnie77:
Google is your friend

~~mi4c ™~~
[Xiaomi Mi 4C] lordhow:
With the command fastboot oem device-info.
[Xiaomi Mi 4C] NoOneLt:
Hi,

If i can get into fastboot (Vol Down + PWR) turns on Fastboot (Rabbit image fixing phone) it means i have unlocked bootloader and can install TWRP via adb? On the other hand Vol Up + PWR shows white phone disconnected from cable.

Thanks. BR.
[Xiaomi Mi 4C] Taminon:
Great!

Working on MIUI 7.2.4.0

:)

Now running on CM 13.1
[Xiaomi Mi 4C] NoOneLt:
How would you compare to MIUI, CM is the only way to go? :) Are you using TS build?
[Xiaomi Mi 4C] jna9000:
With MIUI 77.0.4.0 (LXKCNCI) I got remote command not found error trying to issue the fastboot oem edl command. After flashing miui_MI4c_6.1.21_d1d054460d_5.1.zip (download in the start post) using the upggrade utility with the 3 dots menu, every other step went fine. Seems that the bootloader is unlocked now.

Thank you very much for the guide!
[Xiaomi Mi 4C] wolkenjaeger:
MIUI 77.0.4.0 is definately not an official MIUI ROM.... good you could get rid of it (... your phone WAS hacked, but now is free)
[Xiaomi Mi 4C] jna9000:
Sure it was hacked? Got it fresh from GearBest...
[Xiaomi Mi 4C] antimatter.web:
Gearbest installs their own (unofficial) rom - I've heard reports of malware infested miui roms from resellers, though I'm not sure if gearbest is one of them.
[Xiaomi Mi 4C] primski:
hello,

i want to unlock my bootloader and xiaomi just takes too much time if they will even send the code

currently i am running miui 7.2.4.0 (LXKCNDA), and it's offering to update to 7.3.1.0

do I upgrade first? does this matter or do i still use image in first post, Mi4c Image: libra_images_6.1.7_20151221.0000.11_5.1_cn_b09dac7 0a0.tgz - unpack until "images" directory is visible! ?

after that, i can install any rom? not just the CM12.1 as in first post?

thanks guys
[Xiaomi Mi 4C] gcsuri:
Hi,

I was on latest devel. Went everything well, but after I flashed 6.1.7 I tried to reboot, device not started... It goes to the mode like "fastboot oem edl". Nothing in the srceen but device detected by MiFlash. :(

Here is the log:

and this is the end of the log:

What to do? Please help!
[Xiaomi Mi 4C] gcsuri:
Ok, it's solved. I had to discharge the battery, then the phone started normally. So it works with the 6.4.21 also :)

regards, gcsuri
[Xiaomi Mi 4C] primski:
I managed to unlocked the bootloader, I think, the Security app shows Root Access under Permissions, but I can't get TWRP installed ... I tried flashing the recovery image and it completes successfully but it when I reboot to recovery I always get to MI Official Recovery .... I tried flashing with WinDroid and TWRP Recovery tool kit, all of the methods complete successfully and yet when i reboot to recovery i get to the MI one ... what am I doing wrong?
[Xiaomi Mi 4C] gcsuri:
Hi,

1. install recovery with fastboot then reboot into recovery (without starting miui)

2. install cm ROM from twrp then reboot

that's all. Miui always repair the recovery

regards, gcsuri
[Xiaomi Mi 4C] primski:
YES! Thank you.

I just did it, before seeing your post, but yeah after flashing TWRP you need to go directly to recovery otherwise stock ROM overwrites it ... stupid me. i dowlnloaded the rom, and gapps, and flashed everything so i am up and running now on ressurection 6.0 rom ... very cool

thanks
[Xiaomi Mi 4C] naaiil:
is it work for other xiaomi devices?
[Xiaomi Mi 4C] bondai:
it worked.. THANKS for the great tutoriol..

i was from latest global china Version: V7.3.1.0.LXKCNDD

also skipped the first step (downgrade).. went straight to flashing 6.1.7

had a glitch on the first time, but that was becos i was using 32bit windows.. :)

Thanks again...
[Xiaomi Mi 4C] asalapasa:
Ok, i followed the guide, and i have install twrp 3.0.2.0. Any time i try to flash a custom rom, i get "failed error 7". I tried cm12.1 and cm13. Am i making some mistake?
[Xiaomi Mi 4C] erioho:
I unlocked with your method, work great!

But when I update it from 6.1.7 to the latest, using the update function or use fast boot to update, it will revert to "locked" state and it removed my gapps and su.

So, the unlock only work on specify version and cannot update? If I would like to keep on update, what should I do?
[Xiaomi Mi 4C] Brunnys:
Just flash smiui or xiaomi.eu roms .

If you update using the official rom you will have always a locked BL, no matter what .
[Xiaomi Mi 4C] par2005:
After fastboot oem edl command the MiFlash no longer sees the device so I cannot flash it - what am I missing?

Found the issue. I was using virtualbox, and when in "EDL" mode, I had to add "new" usb device and install it's drivers. I had to also reboot my virtual machine for miflash to work after it complained that COM3 port was in use already.
[Xiaomi Mi 4C] Dess03:
it worked for me! Thank you very much!!
[Xiaomi Mi 4C] jts_droid:
It worked also for me! I was from latest global china Version: V7.3.1.0.LXKCNDD.

Fortunately or unfortunately there are dozens of tutorials on the internet, and they are never the same so it’s complicated to decide what to follow. This one is perfect, and the problems I had was for not reading it correctly :confused:

I flashed xiaomi.eu multi_libra_V7.2.4.0.LXKCNDA and it’s working perfect. No more Chinese apps, characters, etc.

Thanks again! :good:
[Xiaomi Mi 4C] Fads69:
Hey everyone !

Thanks for this "tuto" it worked for me from 6.5.5. Now with TS13.1 ;)
[Xiaomi Mi 4C] homer276:
No success here

Hi,

I found the reason for the mistake: the unpacking of the 6.1.7 image went wrong, probably caused by W 10. After unpacking it on my Linux box all went well.

Thanks for this Tutorial

====================================

Hi,

I did everything as per Tutorial but after step 4 it stops

1. 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)

after a few seconds of flashing an error message comes up saying something like file not found and "max buffer sector is 256"

I tried it on an Dell Laptop with W 10 / 64bit , and the qualcom usb driver

Any clue where else to check ?

Tks

Henning
[Xiaomi Mi 4C] jawad8305:
worked on mi4c miui7 6.3.31

use x64 win7

install drivers x64

install miflash

charge the phone >50%

use v6.1.7 (path without spaces)

click refesh in miflash and flash...done.
[Xiaomi Mi 4C] pas.:
Work for me! Thanks!!
[Xiaomi Mi 4C] gpodzun:
Worked for me.

Was complicate undertand the use of fastboot, but was necesary because update rom was blocked. I mixed those sw and instructions, other tutorial as MyPhone, TWRP + EU rom to apply full Spanish language.

Thanks a lot.
[Xiaomi Mi 4C] Jogoe:
Hi there, thanks for the instructions, not working for me though.

Miflash gives out following error. Any suggestions?