[Guide] Unlocking the Mi4c Bootloader without verification by Xiaomi

MaxsoeM

New member
Jun 8, 2016
2
0
0
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:
 

Muznyu

Senior Member
May 15, 2010
160
24
0
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:
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.
 

SH1M4BD3

Senior Member
Apr 10, 2014
1,879
387
113
Kuningan
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.
Someone confirmed that its already patched when you hit latest version so there's no way to downgrade
 

Muznyu

Senior Member
May 15, 2010
160
24
0
Someone confirmed that its already patched when you hit latest version so there's no way to downgrade
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.
 

SH1M4BD3

Senior Member
Apr 10, 2014
1,879
387
113
Kuningan
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..
 

ThePeKo

Member
Sep 11, 2011
36
3
0
@ Home
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

Code:
sudo fastboot oem edl
...
FAILED (remote: unknown command)
finished. total time: 0.006s
then I just tried the unlock commandor fun and it worked:
Code:
sudo fastboot oem unlock
...
OKAY [  0.010s]
finished. total time: 0.010s
Code:
sudo fastboot device info
output before unlock
Code:
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
Code:
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.
 
Last edited:
  • Like
Reactions: vuckiez

kickassy

Senior Member
Sep 7, 2010
57
16
0
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
 

madarino

New member
Jul 5, 2016
4
0
0
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!
 

kickassy

Senior Member
Sep 7, 2010
57
16
0
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!
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
 
Last edited:

Beyaz66

Senior Member
Feb 21, 2010
103
16
18
Strasbourg
- [Optional] Mi4c Fastboot Image: miui_MI4c_6.1.21_d1d054460d_5.1.zip
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 @wolkenjaeger!
 
Last edited:

isaqi_veras

Member
Oct 13, 2015
34
3
0
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
V7.1.4.0.LXKCNCK
V6.1.21 (Download link above)
V6.3.24
V6.3.17
6.4.21
V6.4.14

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!
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
 

Calebz

Senior Member
Jan 5, 2009
51
3
0
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.
 

m4fuba

New member
Jul 11, 2016
1
0
0
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.
 
Last edited:

nielvanrhyn

New member
Jul 12, 2016
2
0
0
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”!
 
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