MI4c unlocking hell!

feketejozsi

Member
May 30, 2014
10
1
0
Budapest
Applied for unlocking at http://en.miui.com/unlock/ and got this:
Apply for unlocking permissions
Sorry, your application has been rejected.
The more active your Mi Account is, the more likely your application will get approved.
Reapply​
>>
So no way to get unlock code!
Then tried: https://forum.xda-developers.com/mi-4c/general/guide-unlocking-mi4c-bl-verification-t3336779
And it seemed to work, could flash TWRP and CM 13.1
Had problems with radio, tried flashing radio, now I'm stuck in fastboot, can't boot to recovery or anything else, loops back to fastboot.

C:\adb>fastboot oem device-info
...
(bootloader) Device tampered: false
(bootloader) Device unlocked: false
(bootloader) Device critical unlocked: false
(bootloader) Charger screen enabled: false
(bootloader) Display panel:
OKAY [ 0.062s]
finished. total time: 0.063s​

Any attempt to flash I get: "Partition flashing is not allowed"

Any ideas or should I just enter the "How far can you toss your Xiaomi MI4c contest"?
 

Ydraulikos

Senior Member
Nov 7, 2013
153
120
0
Thessaloniki
Your bootloader is re-locked. Follow the unlock procedure again, maybe you flashed the new bootloader.


BTW you don't have to flash the whole rom to change the bootloader, you can just extract it from firmware in zip and run:

fastboot flash aboot emmc_appsboot.mbn
 

feketejozsi

Member
May 30, 2014
10
1
0
Budapest
Your bootloader is re-locked. Follow the unlock procedure again, maybe you flashed the new bootloader.


BTW you don't have to flash the whole rom to change the bootloader, you can just extract it from firmware in zip and run:

fastboot flash aboot emmc_appsboot.mbn
Thank you friend Ydraulikos, I have tried flashing boot and recovery before, but I have not tried your version.
Unfortunately this was the result:

C:\adb\images>fastboot flash aboot emmc_appsboot.mbn
target reported max download size of 536870912 bytes
sending 'aboot' (469 KB)...
OKAY [ 0.036s]
writing 'aboot'...
FAILED (remote: Critical partition flashing is not allowed)
finished. total time: 0.083s​
 

feketejozsi

Member
May 30, 2014
10
1
0
Budapest
SOLVED! :)

Things looked pretty hopeless, two days without a phone, but managed to return to MIUI 7.1.6.7 and can proceed from here. I'm not saying this is the righ method, it worked for me and perhaps can help others in a similar situation. Have read a lot of posts in the last two days so please forgive me if I can not give credit to all the people whose advice helped, so thank you xda!
Installed QDLoader HS-USB Driver_64bit_Setup recommended in one of the posts and rechecked my drivers in general.
One command that seemed to be promising was "fastboot oem edl"
However, when my phone went to edl mode it was no longer accessible for fastboot <waiting for device>
On advice of another post I downloaded MiFlash2015.10.28.0 and libra_images_6.1.7_20151221.0000.11_5.1.*.tar.gz
From the command line typed "fastboot oem edl" and with MiFlash flashed MIUI 6.1.7, had to choose the "Flash all except data and storage" option as other options gave me a memory error message. Flashing went okay!
So my phone is back in business now! :)
 

Attachments

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