[Xiaomi Redmi 4 Prime/Pro] How to flash China developer ROM from general ROM

kinycx

Senior Member
Oct 25, 2016
67
26
0
Bari
YOU WILL NEED

1-ADB drivers http://click.xda-developers.com/api...elopment and Hacking | XDA Forums&txt=Dropbox

Here is a Tutorial Video to install it correctly
https://youtu.be/LbAq6d2Du0U

2-China developer ROM (choose Redmi 4 Prime Latest China Developer Version Fastboot File Download)http://en.miui.com/a-234.html
3-MiFlash http://xiaomitips.com/download-in-progress/?dlm-dp-dl=1474
4-Redmi 4 Mi Flash Setup.msi.

FLASHING CHINA DEVELOPER ROM ON YOUR XIAOMI

1-First of all you must enable USB debug and OEM unlock on your device.

2-Then unzip Global ROM (the file .tgz) and keep the folder on the desktop.

3-If you did install the adb drivers there should be a folder in this path C:\adb open it and press SHIFT+right mouse click in an empty space then select the option to open with command line.
After that, windows CMD should open.

4- Plug the mobile (do not turn it off) with the usb cable and on CMD write:

adb devices
Doing this you will check if the device has been recognized (probably it would be "offline" on the first attempt, don't worry). Once the command is given it should appear on your mobile a message, press "always allow".
Then insert the instruction again.

5-Then write on CMD:

adb reboot edl
The mobile should now restart in a black screen, keep it plugged in.

6-Drag the MiFlashSetup.msi to the Mi Phone (2) file

https://mega.nz/#!vYQ1BYSJ!PG7Q-vxPKftcS2UX7YnDnrIyD-yGCuguvq8j6HHdLoI

check "Flash All" and then go to "browser".
Now select the unpacked folder from the .tgz file. Once everything is done, click on "refresh" and you should see the number (COM) in which the device is connected.
Click on "Flash". Flashing should take a few minutes.

Once Flashing is done, unplagged the device and reboot it.
The first boot should take more than normal.

Now with this ROM you can unlock your device following this Guide: https://forum.xda-developers.com/general/rooting-roms/xiaomi-redmi-4-prime-pro-unlock-t3519811l


If this was helpful, hit the THANKS button.
 
Last edited:

Flynhx

Senior Member
Jun 16, 2015
288
80
0
26
/system/lost+found
I tried to use MiUnlocker using China Developer Rom, but sadly still stuck at 50%, i don't have any idea what's the problem. :(
Currently i'm on Global China Rom 8.1.3.0, i can't revert back to Global Rom since it requires Unlock Bootloader to use MiFlash. Maybe i'll try to wait 1 week, it seems the problem is on my mi account.

Sent from my Redmi 4 using XDA-Developers Legacy app
 

dyingbread

Senior Member
Apr 7, 2012
333
73
0
Semarang
Currently i'm on Global China Rom 8.1.3.0, i can't revert back to Global Rom since it requires Unlock Bootloader to use MiFlash. Maybe i'll try to wait 1 week, it seems the problem is on my mi account.
I dont think you need to unlock if you want to flash official miui with miflash. You can use EDL mode.
 

Flynhx

Senior Member
Jun 16, 2015
288
80
0
26
/system/lost+found
I dont think you need to unlock if you want to flash official miui with miflash. You can use EDL mode.
I tried to put the following command "adb reboot edl" but it doesn't show a black screen. After a restart it just boots up straight to home screen. I also tried "fastboot oem edl" on fastboot, after i put the command, it only shows Failed Oem Lock. Note that my OEM unlock is tick on under Developer Options. The only way i could think of is to Unlock the Bootloader.

Sent from my Redmi 4 using XDA-Developers Legacy app
 

kinycx

Senior Member
Oct 25, 2016
67
26
0
Bari
I tried to put the following command "adb reboot edl" but it doesn't show a black screen. After a restart it just boots up straight to home screen. I also tried "fastboot oem edl" on fastboot, after i put the command, it only shows Failed Oem Lock. Note that my OEM unlock is tick on under Developer Options. The only way i could think of is to Unlock the Bootloader.

Sent from my Redmi 4 using XDA-Developers Legacy app
Have you opened the CMD in the adb folder?
If you did install the adb drivers there should be a folder in this path C:\adb
 
Last edited:

kinycx

Senior Member
Oct 25, 2016
67
26
0
Bari
I tried to put the following command "adb reboot edl" but it doesn't show a black screen. After a restart it just boots up straight to home screen. I also tried "fastboot oem edl" on fastboot, after i put the command, it only shows Failed Oem Lock. Note that my OEM unlock is tick on under Developer Options. The only way i could think of is to Unlock the Bootloader.

Sent from my Redmi 4 using XDA-Developers Legacy app
I'll leave the link of the Mi Flash Setup.msi here, because i found it in ad fly and it is not permitted to link that in a Thread
http://ad f.ly/1iL1s1 (delete the blank space).
 
Last edited:

Flynhx

Senior Member
Jun 16, 2015
288
80
0
26
/system/lost+found
Have you opened the CMD in the adb folder?
If you did install the adb drivers there should be a folder in this path C:\adb
Yes, i already did it before when i flashed China Developer Rom going from Global Rom, no any issues at all.
But once i try to get back from China Developer to Global, i now face these issues. it seems China Developer requires Unlocked Bootloader to be able to flash back into Global, but as i've said my Bootloader is still locked(MiUnlocker still stuck at 50% verifying). :rolleyes:
 

kinycx

Senior Member
Oct 25, 2016
67
26
0
Bari
Yes, i already did it before when i flashed China Developer Rom going from Global Rom, no any issues at all.
But once i try to get back from China Developer to Global, i now face these issues. it seems China Developer requires Unlocked Bootloader to be able to flash back into Global, but as i've said my Bootloader is still locked(MiUnlocker still stuck at 50% verifying). :rolleyes:
So nothing went wrong and you actually have the china developer ROM.
Have you tried using MiFlashUnlock_1.1.0118.1? it's the older version in chinese (I unlocked the bootloader with that)
 

kinycx

Senior Member
Oct 25, 2016
67
26
0
Bari
Yes, both "MiFlashUnlock_1.1.0118.1" and "MiFlashUnlock_1.1.0317.1_en" latest. Both stuck at 50% verifying.. :(
But, did you say that adb reboot edl didn't work for you and no black screen appeard on your device.
If that's so, can you follow again my tutorial of this thread, it has been updated with some part that missed, let me know
 

Flynhx

Senior Member
Jun 16, 2015
288
80
0
26
/system/lost+found
But, did you say that adb reboot edl didn't work for you and no black screen appeard on your device.
If that's so, can you follow again my tutorial of this thread, it has been updated with some part that missed, let me know
It works normally before when i'm running Global Rom, i only had this issues now that i'm running China Developer or China Global. My OEM Unlocking and USB Debugging is "tick on" under Developer Options. I pressed Shift+Right Click on blank field under Minimal ADB Fastboot. Tried it like 10 times already but it just goes straight to home screen, no black screen(but before it shows black screen when i'm running Global Rom).
 

kinycx

Senior Member
Oct 25, 2016
67
26
0
Bari
It works normally before when i'm running Global Rom, i only had this issues now that i'm running China Developer or China Global. My OEM Unlocking and USB Debugging is "tick on" under Developer Options. I pressed Shift+Right Click on blank field under Minimal ADB Fastboot. Tried it like 10 times already but it just goes straight to home screen, no black screen(but before it shows black screen when i'm running Global Rom).
I think I've got your problem, you used minimal adb fastboot, the one that I have posted at the beginning of the thread is a different one, download it and follow the video tutorial just under the first point :fingers-crossed:
 

Flynhx

Senior Member
Jun 16, 2015
288
80
0
26
/system/lost+found
I think I've got your problem, you used minimal adb fastboot, the one that I have posted at the beginning of the thread is a different one, download it and follow the video tutorial just under the first point :fingers-crossed:
Errr.. still the same, straight to home screen. I used "C:\adb" this time, not Minimal ADB. :rolleyes:
 

Flynhx

Senior Member
Jun 16, 2015
288
80
0
26
/system/lost+found
that's quite strange... i cannot explain why you was able to flash the china dev rom and not to reverse the process
I've found some post on MIUI Forum that once you flashed China Rom then your OEM will lock to prevent changing into Global unless your Bootloader is Unlock, i guess that's why i can't flash back to Global.
 

kinycx

Senior Member
Oct 25, 2016
67
26
0
Bari
I've found some post on MIUI Forum that once you flashed China Rom then your OEM will lock to prevent changing into Global unless your Bootloader is Unlock, i guess that's why i can't flash back to Global.
hmm... the point is that you managed to install the chinese dev rom, that means that you did well everything of the steps that i know, after doing that, i've just followed this guide https://forum.xda-developers.com/general/rooting-roms/xiaomi-redmi-4-prime-pro-unlock-t3519811l

it seems you did something wrong in some of those steps