www.chinaphonearena.com

Full Version: [Guide] Flash Xiaomi Redmi 4 official fastboot ROM to come off of shop ROM
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Note, follow this guide for Redmi 4, but no need to flash the Zuk Z2 drivers shown in the video. Just install the MiFlash, and if any issues with rebooting to edl mode, flash the auto-install adb drivers as well.

[Only registered and activated users can see links Click here to register]

Lenovo Redmi 4 / Redmi 4A / Redmi 4 Prime Plus, Redmi 4 / Redmi 4A / Redmi 4 Prime Pro unbrick and flash guide

Flashing your Redmi 4 / Redmi 4A / Redmi 4 Prime using the Qualcomm HS-USB QDloader 9008 port is not a difficult process, but it can seem a daunting process for those who haven't flashed their Qualcomm mobile before.

NOTE: This guide is in progress. The written portion is mostly complete. Images will be coming soon.

Some users use the official Qualcomm Qfil QPST flasher, but in this guide we will use Xiaomi MiFlash, which does the same job, but saves a few steps, as all you need to do with MiFlash is to point it to the extracted ROM.

This guide will work for all Qualcomm phones, but you must have the appropriate ROM for your phone. In this guide, we will be linking to the Redmi 4 / Redmi 4A / Redmi 4 Prime.

Whether you're here for unbricking your Redmi 4 / Redmi 4A / Redmi 4 Prime / Redmi 4 Pro, or you want to come off of the shop ROM, this is the guide you need.

NOTE: This flashing method may erase all data on your phone. Backup any important pictures, documents, and files to your PC, the cloud, or another phone before flashing.

.mbn vs .elf

In the past, Qualcomm ROMs came with a "prog_emmc_firehose_8994_ddr.mbn" or "prog_emmc_firehose_8994_lite.mbn". The important thing being the ".mbn" extension, which may confuse people a bit, as the newer Snapdragon 820 ROMs often have "prog_emmc_firehose_8996_ddr.elf", or "prog_emmc_firehose_8996_lite.elf".

This could throw you off if you're using the official Qualcomm flash utility, as it won't see the ".elf" file because it's looking specifically for ".mbn". This is one of the reasons we are using the Xiaomi MiFlash, as it automatically finds and configures the flash for you.

1. HS-USB QDloader 9008 driver download and Redmi 4 / Redmi 4A / Redmi 4 Prime ROM download

  1. Redmi 4 / Redmi 4A / Redmi 4 Prime flash tool and drivers -- The first thing we need to flash or unbrick our Redmi 4 / Redmi 4A / Redmi 4 Prime with the stock factory ROM are the appropriate drivers. These drivers will auto-install. You simply extract, double-click and follow the prompts.
    Spoiler
    You have not permission to see this spoiler content !
  2. Redmi 4 / Redmi 4A / Redmi 4 Prime 2131 ROM-- This ROM is the latest ROM as of the publishing of this article. Redmi 4 / Redmi 4A / Redmi 4 Prime ROM version 2.3.042. This ROM is OTA updateable. It means that after flashing you can OTA update Redmi 4 / Redmi 4A / Redmi 4 Prime in the future without PC flashing.
    Spoiler
    You have not permission to see this spoiler content !

2. Setting your PC to test mode

Generally on 64bit Windows, installing drivers may require your PC to be in test mode. If you attempt to install a driver, and see any notifications from your PC indicating the drivers can't be installed, you need to boot your PC in test mode.
  1. Logon to Windows with an admin / administrator account
  2. Open the Windows Start menu and type "cmd"
  3. RIGHT-CLICK on 'Command Prompt'
  4. Select 'Run as administrator'
  5. In the black window that opens, type "bcdedit.exe -set TESTSIGNING ON"
  6. Reboot your PC

3. Install the drivers and tools

Note, during the install of these drivers, you may see User Account Control (UAC) permission requests or notifications alerting you that the drivers are unsigned. Make sure to allow all of these permission requests, or the drivers will not properly install.
  1. QDloader 9008 MiFlash tool and Qualcomm drivers -- This is the tool and the required drivers for the Qualcomm MiFlash utility to communicate with the mobile via USB for flashing. DOUBLE-CLICK the extracted MiFlash from the above download and follow the prompts.
  2. adb, and fastboot command sets -- These are the tools and drivers which will allow you to reboot your Redmi 4 / Redmi 4A / Redmi 4 Prime to a mode that will allow flashing from the PC. DOUBLE-CLICK the extracted adb driver auto-installer and type "Y" at all three prompts.

3. Turn on Redmi 4 / Redmi 4A / Redmi 4 Prime USB debugging

This process is what will allow your PC to communicate with your phone so that you can give it the command to boot into a mode that will allow it to be flashed.
  1. Go to Settings >> About phone >> Tap MIUI Version 7x or until it tells you you're a developer
  2. Hit the back button
  3. Go to 'Advanced'
  4. Scroll to and tap 'Developer Options'
  5. Toggle on 'USB debugging'
  6. Toggle on 'USB 2.0' if you see the option there

4. Boot your Qualcomm mobile to edl mode

In this step, we put the phone in a mode where it can communicate with MiFlash and properly flash the ROM.

In step 4.3 we installed the adb and fastboot command sets. When we did this, a folder called 'adb' was created in your system drive. Typically this is the 'c:' drive.
  1. Go to 'c:/adb'
  2. In a blank spot in the folder (not on a file line), RIGHT-CLICK and select 'Open command window here'
  3. Connect your Powered-On mobile via USB to your PC
  4. Pay very close attention to your Redmi 4 / Redmi 4A / Redmi 4 Prime and when you see a Debugging Permission Requests come up, select 'Do not ask me again', and make sure to allow
  5. If you see any driver installs begin, let them complete
  6. In the black command window that popped up from step 4.2, type "adb devices". You should at this point see a device serial #, and 'device' in the right column.
  7. If it shows nothing, type 'adb kill-server', then 'adb start-server'. Continue to pay close attention to your phone and allow any Debugging Permission Requests. Type 'adb devices' again.
  8. Type 'adb reboot edl'. Your phone display should go blank and stay blank. Don't be alarmed, you are now in 'edl' aka 'Emergency DownLoad mode'.

5. Flash Redmi 4 / Redmi 4A / Redmi 4 Prime ROM using MiFlash QDloader 9008 PC flash tool

In the previous step, we installed the MiFlash Tool. Start it up by going to Windows Start menu search and typing "MiFlash", then select it and wait for it to open. You should see a window that looks similar to one of the two below, depending on which version of MiFlash you are using.

If you can't locate MiFlash from the Windows Start menu or from the shortcut on the desktop, navigate to 'C:\Program Files\Xiaomi\MiPhone' or at 'C:\XiaoMi\XiaoMiFlash', and DOUBLE-CLICK 'MiFlash' or 'XiaoMiFlash'.
  1. In the MiFlash window, click 'Browse' and direct MiFlash to your already extracted Redmi 4 / Redmi 4A / Redmi 4 Prime ROM from step 1.2 / 1.3
  2. In the MiFlash window, click 'Refresh', or hit F5. After a couple of seconds you should see a blank progress bar and 'COM#', which designates the COM port your Redmi 4 / Redmi 4A / Redmi 4 Prime has been connected to.
  3. In the bottom of MiFlash you will see several options. Normally we select 'Flash all except storage', but you are free to use any of them. Note, that just because you select 'Flash all except storage' or 'Flash all except storage and data', does not mean this data will be saved. It will depend on the script prepared by the ROM engineers for this particular ROM.
  4. Now is the moment of truth, go ahead and click 'Flash' and the flash should begin. Typically a flash will take about 3-4 minutes.

6. Start your phone

  1. After the flash is complete, disconnect the Redmi 4 / Redmi 4A / Redmi 4 Prime from your PC
  2. Hold the Power Button for about 10 seconds and your Redmi 4 / Redmi 4A / Redmi 4 Prime should then start.
We strive to provide accurate and helpful guides and reviews. In the comments below, let us know your successes, failures, and any information you would like to add to help make this guide more useful for future users.

Source full written guide at GizBeat: [Only registered and activated users can see links Click here to register]
Worked like a charm. The phone took about 4 minutes to start up after flashing, which had me concerned for a bit, but all worked out well. Thanks for a very straightforward way of updating the ROM.
Thank you for the comment Jh1 and great it worked out no problem. Interested to hear your thoughts on the differences between shop and latest CN/EN.
I'll fill you in when once I get some time to compare. For. Some reason I wasn't able to get my contacts to sync when I signed into my Google account last night after flashing, so I am using my m2 note today until I get that straightened out.
Did you install Google Contacts Sync? Also check all permissions are allowed for all Google Services, Google Contacts Sync etc...
(2016-12-12, 21:20)cookiedough Wrote: [ -> ]Did you install Google Contacts Sync? Also check all permissions are allowed for all Google Services, Google Contacts Sync etc...

Thanks for your reply. Yes, Google contacts sync is installed. The Google installer froze halfway through installation, but seemed to load everything successfully the second time I ran it. Assume a file was corrupted somehow in the process. Just did a full reset and will install Google services again.

That worked. All contacts transferred.