How to set up smartphones and PCs. Informational portal
  • home
  • Adviсe
  • Xiaomi mi4 has become a brick. Xiaomi Mi4c smartphone firmware

Xiaomi mi4 has become a brick. Xiaomi Mi4c smartphone firmware

The flagship smartphone Xiaomi Mi4c, released at the end of 2015, is a very attractive offer today due to its high technical characteristics. To fully unlock the potential of the device, users from our country will have to resort to installing localized MIUI firmware or a custom solution. This procedure is quite simple if you follow the instructions from the material below.

The powerful hardware platform from Qualcomm with a large margin of performance practically does not cause any complaints from Mi4c users, but the software part may disappoint many admirers of Xiaomi devices, because there is no official global version of MIUI for the model, since the flagship was intended for sale exclusively in China.

The absence of the Russian interface language, Google services and other shortcomings of the Chinese MIUI, originally installed by the manufacturer, can be solved by installing one of the localized versions of the system from domestic developers. The main goal of this article is to tell you how to do it quickly and seamlessly. Initially, we will consider installing the official firmware to return the device to the factory state and restore “bricked” smartphones.

The responsibility for the result of the implementation of the instructions below lies entirely with the user, and only he, at his own peril and risk, decides on the implementation of certain manipulations with the device!

Regardless of the initial state of Xiaomi Mi4ts in terms of software, before installing the Android version of the desired version, you should prepare the necessary tools and the device itself. The scrupulous execution of the following steps largely determines the success of the firmware.

Drivers and special modes

There are several ways to equip the operating system with components that allow you to pair Mi4c and PC in order to be able to manipulate the device's memory through special software tools. The simplest and fastest way to get drivers is to install Xiaomi's proprietary tool for flashing brand devices - which contains everything you need.

Driver installation


Operating modes

If the drivers are installed correctly, there should be no problems with the computer detecting the device. We open "Device Manager" and observe the devices displayed in its window. We connect the device in the following modes:

  1. The normal state of a phone running Android in file transfer mode. Enable the ability to share files, i.e. MTP mode, you can pull the notification curtain down on the device screen and tap on the item that opens the list of options-smartphone connection modes. In the list that opens, select Media device (MTP).

    IN "Dispatcher" we see the following:

  2. Connecting a smartphone with USB debugging enabled. To enable debugging, follow the path:

    "Device Manager" should display the following:

  3. Mode FASTBOOT . This mode of operation when installing Android in Mi4c, as in many other Xiaomi devices, is used very often. To start the device in this mode:

    The device in this state is defined as Android Bootloader Interface.

  4. Emergency mode. In a situation where the software part of Mi4c is seriously damaged and the device does not boot into Android and even into the FASTBOOT, when connected to a PC, the device is defined as .

    When the phone does not show any signs of life at all, and the PC does not respond when the device is connected, we press the buttons on the smartphone connected to the USB port "Nutrition" And "Volume-", hold them for about 30 seconds until the device is detected by the operating system.

If the device is not detected correctly in any mode, you can use the files from the driver package for manual installation, available for download at the link:

backup

During the operation of any Android device, it accumulates a lot of different information that is of value to the user. During the firmware, all data will be destroyed in most cases, therefore, to prevent their irretrievable loss, you should create a backup copy as soon as possible.

You can learn about some methods of creating a backup before a serious intervention in the software part of the smartphone from the lesson at the link:

Among other methods, we can recommend the use of very effective tools for copying important information and recovering it later, integrated into the official versions of MIUI that are installed in the Mi4c by the manufacturer. It is assumed that the Mi Account on the device is logged in.


Bootloader unlock

Before flashing Mi4c, you need to make sure that the bootloader of the device is not blocked and, if necessary, carry out the unlock procedure by following the steps of the instructions from the article:

Unlocking usually does not cause any problems, but checking the status and gaining confidence in unlocking the bootloader can be difficult. Xiaomi, when the model in question was released, did not block the bootloader of the latter, and the Mi4ts bootloader could be blocked if operating systems of higher versions were installed on the device 7.1.6.0 (stable), 6.1.7 (developer).

Among other things, it will not be possible to determine the status of the bootloader using the standard method described in the article at the link above, that is, through it, since in any state of the bootloader of the model, the same status is issued when the fastboot oem device-info command is processed.

Summarizing the above, we can say that the unlock procedure through MiUnlock should be carried out in any case.

If the bootloader is not blocked initially, the official utility will display a corresponding message:

Additionally

There is one more requirement that must be met before moving on to installing system software in Mi4ts. Disable screen lock pattern and password!

When switching to some versions of MIUI, failure to follow this recommendation may lead to the inability to log in!

Firmware

You can install the operating system in Xiaomi Mi4c, as in all devices of the manufacturer, using several official methods, as well as using universal tools from third-party developers. The choice of method depends on the state of the device in the software plan, as well as the goal, that is, the version of Android under which the smartphone will operate upon completion of all manipulations.

Method 1: Update Android App

Officially, Xiaomi offers to install system software on their devices using the built-in MIUI tool for installing updates to the proprietary shell. By following the instructions below, you can install any official firmware for Xiaomi Mi4c. You can download the latest versions of the system on the official website of the manufacturer.

The package used for installation in the example below uses the MIUI developer version 6.1.7 . You can download the package from this link:


Method 2: Flash

It is safe to say that for all Xiaomi Android devices there is the possibility of flashing using a proprietary tool created by the manufacturer. Details about working with the tool are described in the article at the link below, within the framework of this material, we will dwell on the features of using the tool as a flash driver for the Mi4c model.

For example, let's install the same official MIUI as in the method of installing the OS through the Android application "Update", but the package that can be downloaded from the link below is designed to be installed via MiFlash in phone connection mode FASTBOOT.


Additionally. Recovery

MiFlash can be used as a tool for restoring Mi4c to the factory state after installing a system that blocks the bootloader, as well as restoring smartphones after serious software failures. In such cases, you should flash the developer MIUI 6.1.7 in emergency operation "Qualcomm HS-USB Qloader 9008".

The procedure for overwriting Mi4c system partitions in emergency mode completely repeats the instructions for flashing in fastboot mode, only MiFlash determines not the serial number of the device, but the number of the COM port.

You can switch the device to the mode, among other things, using a command sent via:
fastboot oem edl

Method 3: Fastboot

Experienced users who have been flashing Xiaomi smartphones more than once know that the MIUI packages posted on the official website of the manufacturer can be installed on the device without using MiFlash, but directly via Fastboot. The advantages of the method include the speed of the procedure, as well as the absence of the need to install any utilities.


Method 4: Recovery via QFIL

In the process of manipulating the Xiaomi Mi4c software, most often due to incorrect and thoughtless user actions, as well as as a result of serious software failures, the device may enter a state where it seems that the phone has “died”. The device does not turn on, does not respond to key presses, the indicators do not light up, it is defined by the computer as "Qualcomm HS-USB Qloader 9008" or not defined at all, etc.

In such a situation, recovery is required, which is carried out through a proprietary utility from the manufacturer Qualcomm to install the system in Android devices built on the hardware platform of the same name. The tool is called QFIL and is an integral part of the QPST software package.

  1. Unpack the archive with QPST and install the application following the instructions of the installer.
  2. Unpack the fastboot firmware. It is recommended to use the developer version of MIUI 6.1.7 for recovery
  3. We start QFIL. This can be done by finding the program in the Windows Main Menu.

    or by clicking on the utility icon in the directory where QPST was installed.

  4. Switch "Select Build Type" set to position "Flat Build".
  5. We connect the "bricked" Xiaomi Mi4c to the USB port of the PC. In the ideal case, the device will be determined in the program, - the inscription No port aviable at the top of the window will change to "Qualcomm HS-USB Qloader 9008".

    If the smartphone is not detected, press "Volume Down" And "Inclusion" at the same time, hold the combination until the moment when "Device Manager" the corresponding COM port will appear.

  6. In field "Programmer Path" add file prog_emmc_firehose_8992_ddr.mbn from the catalog images, located in the folder with the unpacked firmware. The Explorer window, in which you need to specify the path to the file, opens by pressing the button "Browse...".
  7. Click "Load XML...", which will open two Explorer windows in turn, in which you need to mark the files offered by the program rawprogram0.xml,

    and then patch0.xml and press the button "Open" twice.

  8. Everything is ready to start the procedure for overwriting the device's memory sections, press the button Download.
  9. The file transfer process is logged in the field Status. In addition, the progress bar is filled.
  10. We are waiting for the end of the procedures. After the appearance in the log field of the inscription Finish download disconnect the cable from the phone and start the device.

Method 5: Localized and custom firmware

After installing the official version of the system using one of the methods described above, you can proceed to the procedure for bringing Xiaomi Mi4c to a state that fully reveals the potential of this high-level device.

As mentioned above, the full use of all the capabilities of a smartphone by users from the Russian-speaking region is possible only as a result of installing a localized MIUI. You can learn about the features of such solutions from the article at the link below. The proposed material also contains links to the resources of the development teams, where you can download the latest versions of the translated shells.

Installation of modified recovery

To equip Mi4c with a localized MIUI or a modified system from third-party developers, the capabilities of a custom recovery environment are used.

For the model in question, there are many versions of TWRP, and when downloading the recovery, you should take into account the version of Android that is installed in the device before installing the environment. For example, an image designed for Android 5 will not work if the phone is running Android 7 and vice versa.

Installing an inappropriate recovery image may make it impossible to start the device!

Install universal for Android TWRP versions for Xiaomi Mi4c. The image used in the example and available for download from the link below can be installed on any version of Android, and when using other images, pay attention to the purpose of the file!

  1. Installing a modified recovery environment in this model is easiest to do through Fastboot. Download the toolkit from the link below and unpack it into the root of the C: drive.
  2. We place the file TWRP_Mi4c.img, obtained as a result of unpacking the archive downloaded from the link above into the directory "adb_fastboot".
  3. Fastboot flash recovery TWRP_Mi4c.img

    The successful completion of the operation is confirmed by the output of the message "writing 'recovery'…OKAY" in the console.

  4. We disconnect the device from the PC and boot into recovery by pressing and holding the combination on the smartphone "Volume-" + "Nutrition" until the TWRP logo appears on the screen.
  5. Important! After each boot into the recovery environment installed as a result of the previous steps in this guide, you should wait a three-minute pause before using the recovery. During this time after launch, the touchscreen will not work - this is a feature of the proposed version of the environment.

  6. After the first launch, select the Russian language of the recovery interface by pressing the button Select language and allow changing the system partition of the device's memory by moving the corresponding switch to the right.

Installing translated firmware

After receiving the TWRP custom recovery, the user of the device has all the possibilities to change the firmware. Localized MIUIs are distributed as zip packages that can be easily installed using a modified recovery environment. The work in TWRP is described in detail in the following material, we recommend that you read it.

* Recommended to upload a 720*312 image as the cover image

Article Description

It means so. Finally, I had the opportunity to run into the "Unplugged" Redmi 4X. Of course, I didn’t get why this happened from clients, like “an update came and somehow it happened by itself” (although by the embarrassed look of a guy of about 10 years old, apparently a son, he knows the reason). It doesn't matter. In fact, we have: the phone reacts to the power button with a vibro, to charging with an indicator, it is not included in recovery, nor is it in fastboot with a foot. The computer is defined as "Qualcomm HS-USB Diagnostics 900E COM .... I read on the Internet about two recovery methods: 1) Through Testpoint, 2) Using DFC (short for Deep Flash Cable). Option 1 disappeared immediately (the body is under warranty, and it’s almost impossible to open the aluminum case without traces), by the way, the SC, like the official one, requested 3K rubles for restoration (NOT a warranty case). Well, okay, enough lyrics, for business. What we need: 1) A GOOD microUSB cable. 2) Stationery knife 3) MiFlash 4) Firmware for MiFlash / fastboot 5) A cup of coffee or tea (optional), corvalol 6) CAREFULLY read the post to the end and ask yourself "Am I ready for this?". If yes, let's get started. Take the cable and carefully remove the EXTERNAL insulation to a length of 4-5 cm. be different!!!To make it easier to determine which wires are needed, look at the picture at the end of the hundred. Next, we need to remove the insulation from the Data + (in my case, green) and GND (black) wires, quite a bit to close them together. Next, download the firmware for fastboot (I took this one) and unpack it (preferably to the root of the disk). Download and install MiFlash, I took it from the site and reboot the computer (maybe not necessary, but it's a habit). We take our cable and connect it to the phone, it is not necessary to the computer yet! We close the bare wires to each other, and only now we connect them to the computer, strictly to the USB 2.0 port, wait 5 seconds and disconnect the wires and make sure that they no longer touch. The computer should signal that a new device has been detected and begin installing drivers for it. Let him put it, after completion we go to the device manager and see what he put to us. If the driver for "Qualcom HS-USB QDLoader 9008" is installed, then everything is fine. If “Qualcomm HS-USB Diagnostics 900E”, then right-click on it to update the driver “Search for drivers on this computer”. Select "Select from a list of already installed drivers". Uncheck "Only compatible devices", select Qualcom in the left column, driver number 9008 in the right column. Perhaps, after installing the drivers, the system will require a restart in order to display the device. There's nothing you can do about it, restart. It is also possible that he will swear at the lack of a signature, then you will have to disable the verification of the digital signature of drivers in Windows, as they say: okay Google. Run MiFlash as Administrator. Click on "Select" and specify the path to the folder with the firmware. In the lower right corner, mark "clean all and lock". We press the "Refresh" button, if the drivers are installed correctly, we will see the phone (in the form of a COM port) in the central part of the program window. Click "Flash" and wait for the firmware installation to complete. After a successful firmware, the program will report this. Disconnect the phone from the computer and restart. To do this, hold down the power key for 10-15 seconds, then release and hold it again until the vibration is triggered. The first launch was about 20 minutes (this is where I needed Corvalol). As a result, we have a fully working phone with firmware version 8.2.10.0 and a locked bootloader.

First you need to find and download the file with the firmware itself. You can take it:

  1. On the official website of Xiaomi - http://en.miui.com/download-240.html , where several latest versions of official firmware based on Android are posted at once.
  2. Custom modified versions from xiaomi.eu and miui.su. You can download the version from miui.su in .

In addition, in order to reflash a smartphone, you will need root rights (we discussed how to get them in a separate article), as well as a program for automatic flashing and TWRP Recovery.

Xiaomi Mi4 firmware: procedure

Flashing Xiaomi Mi 4 is quite simple. For comparison, with smartphones from HTC, you often need to fool your head much longer. With Xiaomi Mi4, the procedure is as follows:

  1. Install custom recovery:
  • Turn off the phone and start it in fastboot mode (at the same time hold down the power key + volume down button).
  • Connect the computer to the phone via the original USB cable, run the necessary *.bat file, before unpacking the . The cwm.bat and twrp.bat files install the necessary recovery, and stock.bat will allow you to return to the phone's native recovery later. Follow the instructions written on the screen.
  • Boot into the installed custom recovery by simultaneously pressing the power and volume up buttons.

  1. Flash your smartphone after making a backup of all data: boot into custom recovery (in this case TWRP), select Install and find the firmware archive with .zip resolution you need to install. Attention! You may need to merge the two system partitions into one before this (in the case of Marshmallow firmware).

Also, in order to avoid errors during the firmware process, we recommend that you perform the following steps:

  • In Recovery, select Wipe or "Advanced Wipe".
  • Next mark Cache, Data», Dalvik/ART Cache, System, "Internal Storage"(the last action will delete all user data from the microSD memory card).
  • Select "Advanced""Fix Contexts".

Sometimes, in order to fix an error that popped up as inopportunely as possible, you can fix it by renaming the firmware to miui.zip”, however it is best to follow the steps above.

While all the system files are being flashed, the phone cannot be disconnected from the PC and in general it is advisable not to touch it. After the operation is completed, the first switching on of the phone can take a long time - you should not be afraid. The process may take 15, 20, or even 30 minutes, and there may be several reboots during phone startup - this is quite normal.

If you have easily coped with the previous points, this one will seem quite simple to you. You need to drop the archive onto the memory card, which we also flash through Recovery.

Give gifts

External battery Xiaomi Mi Power Bank 2i 10000 mAh

Silicone Case as a gift

More

External battery Xiaomi Mi Power Bank 2C 20000 mAh

Silicone Case as a gift

More

The firmware practically does not “eat” the battery - in 8 hours at night the battery can lose a maximum of 1% of the charge. The operating system works quickly, which is incredibly pleasing - it seemed that there was nowhere better, but Xiaomi was pleasantly surprised by the increase in speed.

In general, in the new MIUI firmware, more and more new interesting “chips” appear, for example, program cloning and so on. The operating system is very good, flexibly configured, and its style is consistent and pleasing to the eye.

Top Related Articles