yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 4C] Danny94:
Where i can enter a this command ?? oO

I tried witouth then i got error message ...

System cannor find file 0x80070002: execute flash_all_expect_storage.bat

i tried main directory and image directory...

Edit: I can´t even downgrade... Getting info.. couldn´t verify.

Where i can enter this command ?? oO

I tried witouth then i got error message ...

System cannor find file 0x80070002: execute flash_all_expect_storage.bat

i tried main directory and image directory...

error log:

000028BC]copy C:\Program Files (x86)\Xiaomi\MiPhone\Microsoft\xmllite.dll to C:\Windows\system32(0x00000000)

[000028BC]copy C:\Program Files (x86)\Xiaomi\MiPhone\Qualcomm\Driver\serial\i386\qcCoInstaller.dll to C:\Windows\system32(0x00000000)

[000028BC]register C:\Program Files (x86)\Xiaomi\MiPhone\MiFlash.exe(0x00000000)

[000028BC]CInstaller::InstallDriver(400): Das System kann die angegebene Datei nicht finden.(0x80070002) [System cannot find file]

[000028BC]CInstaller::InstallDriver(353): Unbekannter Fehler(0xe000024b) [unknown error]

[000028BC]CInstaller::InstallDriver(316): Unbekannter Fehler(0xe000024b)

[000028BC]install C:\Program Files (x86)\Xiaomi\MiPhone\Google\Driver\android_winusb.inf(0xe000024b)

[000028BC]CInstaller::InstallDriver(400): Das System kann die angegebene Datei nicht finden.(0x80070002)

[000028BC]CInstaller::InstallDriver(353): Unbekannter Fehler(0xe000022f)

[000028BC]CInstaller::InstallDriver(316): Unbekannter Fehler(0xe000022f)

[000028BC]install C:\Program Files (x86)\Xiaomi\MiPhone\Nvidia\Driver\NvidiaUsb.inf(0xe000022f)

[000028BC]CInstaller::InstallDriver(400): Das System kann die angegebene Datei nicht finden.(0x80070002)

[000028BC]install C:\Program Files (x86)\Xiaomi\MiPhone\Qualcomm\Driver\qcser.inf(0x00000000)
[Xiaomi Mi 4C] PeterMarkoff:
Hi, i am on newest China developer rom 6.5.12, tried to downgrade to 6.1.21 from original post through Updater app but failed already there. Can i proceed with other steps without downgrading or it will brick my device?
[Xiaomi Mi 4C] Danny94:
I have the same problem. Wait a moment, im trying install 7.0.15 for install 6.1.21. TRY HARDEN (my internet starts burning, downloaded now more then 6gb ...)

I think im die on my rages. Trying to install 7.2.1 for install 7.0.15 -> 6.1.21 -> Miflash 6.1.7 / or 7.2.1/7.2.4 -> V7.1.4.0 -> Miflash 6.1.7

I came to the conclusion that it isnt possible to downgrade anymore like written in first post but !

With MiFlash is it possible. Now im on 7.1.4 and now go to 6.1.7.

Use adb toolkit linked on page 7

https://xiaomi-miui.gr/community/in...mi4c-screen-problem/?postID=114810#post115304

Yep it worked - > unlocked. Ty

Now its the question how i can install twrp on it.
[Xiaomi Mi 4C] Danny94:
Well Smiui installed ;D Thank you ver much.
[Xiaomi Mi 4C] PeterMarkoff:
i have miflash installed, i have mi pc suite installed, adb installed, Qualcomm driver installed, i can see device in fastboot through fastboot devices and put it in EDL mode,i see it in Ports in device manager, but when i launch Xiaomi flash and choose folder Image absolutely nothing happens, nothing is loaded, no phone is recognized, no matter if i try Refresh or Flash

so my trivial question is what am i doing wrong that i don't see anything in miflash?

EDIT: select MAIN folder containing folder Images, DO NOT select folder Images, nothing will happen and you will waste your time

download libra 6.1.7 with your android mobile, when i downloaded it with my windows 10 pc with chrome or newest IE, I always ended up with corrupted file with error when unpacking, on mobile it went fine on first try

BTW i went directly through miflash from newest China dev 6.5.12 to 6.1.7 without downgrade through Updater, in the end everything fine, now running TS CM13.1
[Xiaomi Mi 4C] maniman303:
Thank you installed translated local rom :D thanks!
[Xiaomi Mi 4C] longo213:
That all worked like a charm from the latest China developers ROM (miui_MI4c_6.5.12_5cd8f4078a_5.1.zip).
[Xiaomi Mi 4C] farhangalan:
Work with Developer ROM v6.5.2.4
[Xiaomi Mi 4C] nevland:
i did as what in the steps in the first page, I can't install the cm13, from the TWRP, it says something as error=7

now my phone only blank, when use with mi flash, it's available and can be flash, but when trying to flash with 6.1.7, though mi flash says SUCCESS, the phone did not want to reboot.

---------- Post added at 02:43 PM ---------- Previous post was at 02:39 PM ----------

how do you discharge the battery? just let it like that for couple of days?
[Xiaomi Mi 4C] anothermonkeyonakeyboard:
Newbie here, just received Mi 4c and already i want custom rom on... too much (chinese) bloatware, and graphics can be weird sometimes....

MIUI 77.0.4.0 (LXKCNCI)
[Xiaomi Mi 4C] isscientist:
It works!

Thank you so much for this tutorial.

I didn't have to downgrade though just flashed from V7.3.2.0.LXKCNDD to 6.1.7 using MiFlash and everything worked just fine. :)
[Xiaomi Mi 4C] anothermonkeyonakeyboard:
Followed steps everything went well untill running miflash i get the error:

The system cannot find the file specified.(0x80070002: Open serial port "\\.\COM10" failed.)

Help please I really need unlock this so i can install custom ENGLISH ROM
[Xiaomi Mi 4C] MaxsoeM:
Not enough storage is available to process this command.(0x80070008: Max buffer sector is 256)

i followed all step untill i got this error message when i tried to downgrade the ROM. so wht should i do then? :confused:
[Xiaomi Mi 4C] Muznyu:
Same problem with me. I'm on official 7.3.2.0 (LXKCNDD) and I have the same problem when I try to flash 6.1.7 image. It starts the process, however after about 30 secs it gives the error message.
[Xiaomi Mi 4C] SH1M4BD3:
Someone confirmed that its already patched when you hit latest version so there's no way to downgrade
[Xiaomi Mi 4C] Muznyu:
Actually post #139 says it's possible to downgrade from v7.3.2.0 (I beleive it might be the official ROM). But if it's not the case, what's the option to change from Official ROM to an EU ROM? Unfortunately now I'm stucked with Chinese version with no Google access.
[Xiaomi Mi 4C] SH1M4BD3:
64 bit OS some said its the matter too do you??try redownloading the downgrade packages, somehow it might corrupted, last 2days ive sold the unit ,sadly don't look what was the miui versions, but this method still work for me..
[Xiaomi Mi 4C] gergaer:
I flashed 6.1.7 ROM directly from 6.5.26 (MIUI7) ROM and unlocked bootloader without any problems.
[Xiaomi Mi 4C] EraKlon:
Me too! Just did from 6.5.26 to 6.1.17 without problems :) Thank you wolkenjaeger!
[Xiaomi Mi 4C] egnchr:
xiaomiflash beta

for win 32bit i use xiamiflash beta end its work , no error
[Xiaomi Mi 4C] ThePeKo:
I bought some days ago a Mi4c from China and got it on Wednesday. It was sealed in the box.

There was official Xiaomi Chinese ROM Miui Version 7.0.4.0 on it.

Detail ROM Info:

Android Version: 5.1.1 LMY47V

MIUI version: MIUI 7.0.4.0 (LXKCNCI)

Baseband Version: BO.2.6.c1-0917_2242_1b116f0

Kernel Version: 3.10.49-perf-gd004f33-03702-g3a9396f

It just tested some fastboot stuff:

first of all edl boot mode didnt worked

sudo fastboot oem edl
...
FAILED (remote: unknown command)
finished. total time: 0.006s

then I just tried the unlock commandor fun and it worked:

sudo fastboot oem unlock
...
OKAY [ 0.010s]
finished. total time: 0.010s

sudo fastboot device info

output before unlock

sudo fastboot oem device-info
...
(bootloader)	Device tampered: false
(bootloader)	Device unlocked: false
(bootloader)	Charger screen enabled: false
(bootloader)	Display panel:

and now after unlock

sudo fastboot oem device-info
...
(bootloader)	Device tampered: false
(bootloader)	Device unlocked: true
(bootloader)	Charger screen enabled: false
(bootloader)	Display panel:

Phone Charge should be 2016.2 . Thats the date labeld on the sticker on the box.
[Xiaomi Mi 4C] w.m.d.c:
Cheers for that !
[Xiaomi Mi 4C] kickassy:
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
[Xiaomi Mi 4C] DobermanS:
Thanks,worked like a charm !!!
[Xiaomi Mi 4C] madarino:
so i'm new to the whole custom rom flashing thing, have spent halve the night reading introductions, but still didn't manage to reach my goale.

i have a mi4c that is running a fresh installed miui 7.5.3.0 stable and has a locked bootloader. i'd like to install TS CM13.1 without going through the official unlocking procedure (which has not worked for me with my last mi4c), so i tried to follow this guide to unlock. unfortunately with no success so far, maybe somebody can give me a hint what i'm doing wrong.

first i tried to downgrad to 6.1.21 via miui updater app, which doesn't work saying it couldn't verify the update package. what could be the reason? are there other ways to downgrade?

second i tried to flash 6.1.7 with miflash (after doing the fastboot edl stuff), which gives an error saying connection to COM4 failed. before putting the device into edl mode miflash recognizes the mi4c device number correctly, i didn' dare to try and flash it though, fearing that i could damage it that way. i installed the miphone suite and it could not connect to the device, windows was also giving errors about device driver installation. i thought drivers are installed by myphone suite? did i miss something there?

so i have the feeling there is some problem with drivers and my pc not being able to properly connect to the mi4c. is there a more detailed guide how to unlock the phone maybe? i'm glad for any suggestions on what to do. thanks!
[Xiaomi Mi 4C] kickassy:
If you suspect it's a driver issue, maybe try uninstalling all your current drivers and installing just the official android drivers and tools that come part of the android sdk manager and android studio? They're the only drivers I have installed on my PC and they always work great.

edit: my experience of unlocking the bootloader recently is detailed 2 posts above with similar problems of the mi updater app not verifying the package
[Xiaomi Mi 4C] Beyaz66:
Isn't this a RECOVERY flashable or updater app zip? Clearly not fastboot....

I also would like to say thank you for this guide. I just rebooted into the download mode and I receveid the unlocking authorization by sms at exactly the same time. So I'll try the official version before coming back here if I have the "not signed into the same account" "bug" AGAIN (second xiaomi account).

Edit: HAHA! Why am I not surprised? Stuck again at 50% : blalblalba different account blalblalbllba. Really, today's Xiaomi smartphones don't worth the current 'noname' devices due to this kind of appleism.

Edit2: Just to be sure. I doesn't matter if use flash_all or flash_all_except_data_storage, right? So flash_all_except_data_storage should be enough?

Edit3: Now I can offer this phone to my grandmother in time thanks to you [MENTION=6808045]wolkenjaeger[/MENTION]!
[Xiaomi Mi 4C] isaqi_veras:
mine is giving an error says so can't VERIFY update " and more below is written " couldn't VERIFY update package " please help me want mt unlock the bootloader
[Xiaomi Mi 4C] kickassy:
at which step? step 1, the downgrading step?

if so check out my post #151, i had a similar experience
[Xiaomi Mi 4C] Calebz:
A big thank you to the OP. I spent only a few minutes dealing with the failure and bull**** of the official unlock method. Then I followed the instructions here and everything worked fine.
[Xiaomi Mi 4C] m4fuba:
thx kickassy for that hint,

i think i would have stopped after i fail at 1.

worker perfect from step 2.

Big thx at wolkenjaeger for that thread.
[Xiaomi Mi 4C] nielvanrhyn:
same story here

I went through the same exercise having had the latest MIUI dev rom (8.6.6…) on my Mi4c. Just follow the instructions on the first post starting from step number 2. And use the download links provided…

Many thanks to the original poster and “kickassy”!
[Xiaomi Mi 4C] vuckiez:
worked well on me :D
[Xiaomi Mi 4C] Wohee:
Just got a Mi4c in the mail. Ordered last week and came with the latest Miui V7.3.2.0.0

Seems they no longer require that you need to apply for an unlock. I did not downgrade or use MiFlash or anything else, just regular fastboot.

All I did was type the same as [MENTION=4254955]ThePeKo[/MENTION] :

C:\adb>fastboot oem unlock
...
OKAY [ 0.006s]
finished. total time: 0.007s

C:\adb>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.009s]
finished. total time: 0.010s

C:\adb>fastboot flash recovery twrp-3.0.2-0-libra-20160405.img
target reported max download size of 536870912 bytes
sending 'recovery' (32516 KB)...
OKAY [ 0.719s]
writing 'recovery'...
OKAY [ 0.199s]
finished. total time: 0.920s

C:\adb>fastboot oem device-info
...
(bootloader) Device tampered: false
(bootloader) Device unlocked: true
(bootloader) Charger screen enabled: false
(bootloader) Display panel:
OKAY [ 0.048s]
finished. total time: 0.049s
[Xiaomi Mi 4C] ketut.kumajaya:
"fastboot oem unlock" not working for me.
[Xiaomi Mi 4C] isaqi_veras:
when I will try to downgrade says so "can not VERIFY update package" please help
[Xiaomi Mi 4C] madarino:
just reporting back... i unlocked with xiaomi tool and now am happy with cm13.
[Xiaomi Mi 4C] Calebz:
That happened to me as well. I ended up using the flash tool to downgrade. Just follow the instruction in the OP and it should work fine.
[Xiaomi Mi 4C] aoleg:
I installed the latest weekly from xiaomi.eu immediately after receiving my phone from China. Rebooted into fastboot, "fastboot oem device-info" returned "Device unlocked: false". Issued the "fastboot oem unlock" command, after which device-info returned "Device unlocked: true".
[Xiaomi Mi 4C] kdk_warhead:
Thank you for this tread. I took me a very long time to unlock the Mi4C.

One thing that really made this hard was the following line:

"- Mi4c Image: libra_images_6.1.7_20151221.0000.11_5.1_cn_b09dac7 0a0.tgz - unpack until "images" directory is visible!!"

The file name after download is "libra_images_6.1.7_20151221.0000.11_5.1_cn_b09dac70a0.tar" (.tar instead of .tgz)"

And it contains one file:

"libra_images_6.1.7_20151221.0000.11_5.1_cn_b09dac70a0".

I found Another "libra_images_6.1.7_20151221.0000.11_5.1_cn_b09dac70a0.tgz" file with MD5: B09DAC70A04BC2C0E02161E31D630F67

I do not know if the file has the right MD5 but it worked.

I´m not allowed to post links...

I now have a unlocked phone :)
[Xiaomi Mi 4C] fiziator:
Thank you so much !!! I was stuck because of the booltloader, I wait for xiaomi but with a different account (my bad) so I had to wait another 10 days less or more. I upgrade to the latest miui 8 version and the steps 2 - 8 worked like a charm !!! Finally succeed to unlock the bootloaders !!!! happy happy !!!! Also instaled twrp 3 so I'm very happy :) :) Now it's time to install a custom rom with unlocked bootloader lime miui eu or a CM rom :)
[Xiaomi Mi 4C] dorayakikun:
I've successfully install 6.1.7, but when i run fastboot oem unlock, it will always return "argc is 2".

Have anyone faced this issue before ? Any idea would be appreciated.

Thank you

Edit :

Problem solved after use another fastboot (previously i am using fastboot from MiUnlock software).
[Xiaomi Mi 4C] zengraviz:
wont work, it says here was an error "The filename, directory name or volume label syntax is incorrect"
[Xiaomi Mi 4C] PeterMarkoff:
make sure it's in real directory without special characters and when flashing choose main Images folder, not subfolder

---------- Post added at 01:08 PM ---------- Previous post was at 01:05 PM ----------

that step is completely unnecessary and should be removed from guide, official Updater won't allow you to downgrade, proceed further, worked for me
[Xiaomi Mi 4C] zengraviz:
nevermind, i already solved the problem by moving and rename it with zimple name to c:/libra
[Xiaomi Mi 4C] YiPing_Huang:
I also encountered this problem.

First make sure that you have the Qualcomm driver installed.

Then when in the oem edl mode,

if you open the device manager you will see a Qualcomm device with a yellow exclamation mark,

Right click then update driver software>browse my computer for driver software,

choose the one that eliminate the exclamation mark.
[Xiaomi Mi 4C] daks60:
After hours spent unlocking the phone regular way (granted permission by Xiaomi) I found your article.

Before starting unlocking, Qualcomm drivers need to be installed

I`m not sure if this was an issue but I enabled debugging mode on the phone.

In MiFlash advanced settings Fastboot script is wrong.

It should point to "flash_all.bat" located in folder where "libra_images_6.1.7_20151221.0000.11_5.1_cn_b09dac7 0a0.tgz" was extracted.

Something like "..\libra_images_6.1.7_20151221.0000.11_5.1_cn\flash_all.bat "
[Xiaomi Mi 4C] walhallaDE:
Hi,

does it work for the MI5 too? Did anyone try successful to unlock without the code?

Thanks Walhalla
[Xiaomi Mi 4C] anas_xrt:
Nice post and thanks for your effort and shared. I follow your instruction and it's work like charm.

Ps. Just to shared that you need 2 time extract the libra_images_6.1.7_20151221.0000.11_5.1_cn_b09dac70a0.tgz then you will get libra_images_6.1.7_20151221.0000.11_5.1_cn_b09dac70a0 then extract again will have full flash file structure
[Xiaomi Mi 4C] zeus1406:
Please Help Me!!!

Please help me!

I do to Step 3, but miflash i get the error:

Not enough storage is available to complete this operation. (0x8007000e).

PC windows 7-64bit, Mi4c using Rom Dev 6.8.11 CN :eek:
[Xiaomi Mi 4C] pulakivasilaki:
this guide has helped unlock the bootloader in my mi4c. thank you!
[P3600 ROM Development] Filgaliel:
Hi..

When attempting to update the rom of my trinity i get the 270 error. I am updating from default HTC rom.

Error 270 : update error

The image file is corrupted. Please check your update utility.

I have tried with several roms and to no avail.

Anyone have a solution?
[P3600 ROM Development] jmermel:
Just run the ROM again. It will work. Do not unplug your sync cord
[P3600 ROM Development] Filgaliel:
I have already tried that. Did nothing.. any other ideas ?
[P3600 ROM Development] jmermel:
I get the same problem. However, when I run the ROM update the second time it works perfectly. There is another link somewhere that says the same exact thing..
[P3600 ROM Development] Filgaliel:
Strange. With me the updater stops at 1% every time.. and the the phone restarts..
[P3600 ROM Development] jmermel:
Error

Get a new copy of the ROM update and try again
[P3600 ROM Development] Filgaliel:
Yup, done it with several roms.. same outcome every time..
[P3600 ROM Development] jmermel:
Try a different computer. Not Vista
[P3600 ROM Development] dta1974:
Did you use CID Unlock,hardspl?

Start it off by down that,once you unlock the phone,hardspl and restart pc and trinity,this might work.
[P3600 ROM Development] mankimanki:
I have the same problem.I tried another computer xp sp2 . but problem is not solved.

I have mda compact 3 - artemis touch 1.0 rom

1.12.00 spl

any idea ?
[P3600 ROM Development] elmatraka:
I resolv this same problem installing original WM5 HTC ROM
[P3600 ROM Development] nealed:
Try going to the Artemis forum instead of the trinity forum.

However, I happen to know that you will always get this if you do not use the USPL for the ROM each time you flash your artemis. They are difficult compared to the Trinity. Last time I updated an artemis there was no Hard SPL remover (SPL is Service Providor Lock by the way) (ie you could not run an updater that will let you update your device with any ROM in the future). you need to run USPL every time before flasing your phone.
[P3600 ROM Development] tabrez alam:
I have tried firstly. to update my rom

finally. i am successfull. to update my htc p3450 windows 6.0 to 6.1. thanks for help.
[P3600 ROM Development] Dominguez_213:
yup

the same as mine but i reach 2% and it stop and my phone resets then it show error 270 update error ,.. my phone is htc touch elf p3450 need some help in this one it is my first time to do this so plss help me,..:)
[RAZR i Q&A, Help & Troubleshooting] GuestD1058:
Hello. I am in need of the stock ICS firmware for the RAZR i XT890. If anyone could upload it/link me to were I could download it I would be very great full.

Many thanks
[XDA Assist] MushroomMan:
Hi all,

Looking for help rooting my BV5000 to allow me to instal Adaway. Got serious Adchoices problems, caning my data allowance and battery life. Firefox and Browser both getting routed to yokogama.net when starting up ( browser hijack ? ). Malwarebytes finds Trojan.Sivu.c in htmlv.apk, Trojan.Agent.PF in QuickSearchBox.apk and Trojan.Agent.QN in ad.apk, but it can't remove them. Could do with a 'one click' solution if poss, not very root-savvy :( The ones I have seen either have dubious security issues, or are not compatible with this phone. Any help / advice very much appreciated !! Many thanks.

Blackview BV5000

Android 5.1

Kernel 3.10.65+

Build BV5000_C1_Blackview_V1.5_20151110
[XDA Assist] MushroomMan:
Thanks for that, malybru, have done :)
[Nokia X] DucksDodgers:
Can someone explain me why ROMS Kitkat does not to play games?:confused:
[Nokia X] HardStyl3r:
PAC ROM allows you to play games such as piano tiles but you have to turn off wi-fi or data, because after a few moments it will crash.

on pac that I've installed all games are working! :)
[Nokia X] krissko0o:
if game crashed, just stop wifi and data , turn on game and turn on wifi and data ;)
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] lentmain:
I have a S4, I337 AT&T device and I think I bricked it by trying to install TWRP, it didn't work... I was trying Muniz_ri's "Update to i337 ok2 5.0.1 and keep root", I couldn't get the Flashfire to load, lots of stuff about rooting and no Supersu something... Any help..?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] sway8966:
If you i337 is not on mdl or mdb bootloader you can not install TWRP.

If you phone is brick how could you install the flash fire?

Flashfire works well with stock rom. Are you on custom rom?

In note section of the muniz_is post , the #4 stated that "4. If you are not already rooted (or to unbrick) you must first flash the I337UCUFNB1_Rootable_Full_Odin.tar (use Odin's PDA slot (AP in Odin v3.09+), root with Towelroot, then proceed with the above process." . Did you follow that step?