Xiaomi Mi4S firmware, bootloader unlocking. Installing official firmware Installing localized firmware version
"This instruction is recommended for use by experienced and knowledgeable users or specialists. This instruction will describe the process of flashing a smartphone, it is important to understand that during the flashing all data on your smartphone will be deleted, and we are not responsible for any harm that you may cause your smartphone, you do all actions at your own peril and risk."
This manual describes the installation process localized firmware of the MiuiPRO team, due to the lack of Russified global firmware
DOWNLOADING SPECIAL SOFTWARE FOR FLASHING A SMARTPHONE
1. Download the EDL mode launch files from the link
2. Use the link to download the files to unlock the bootloader
3. Download the TWRP firmware files from the link
4. Use the link to download the MiFlash program
5. Using the link, download the firmware from the MiuiPRO team
Download all these files, unzip and install the MiFlash program
INSTALLING THE FIRMWARE
EDL mode
1. Turn off the phone
2. Switch the phone to “Fastboot” mode, to do this, press the “volume down” and “lock” keys simultaneously and hold until the bunny appears
3. And now we connect the phone in this mode to the computer (from the back) or laptop (to any USB connector)
4. From the folder "fastboot_Mi 4s" run the file "edl.cmd", the phone will turn off and go into EDL mode
Installing MiFlash
Open the folder unpacked from the archive and run the file MiPhones.exe
Next, specify the folder where we want to install the program and click “next”
During installation, warning windows may appear, but we ignore them and click “Install this driver anyway”
When the installation is complete, click “finish” (end). We installed the MiFlash program
Bootloader firmware
1. Launch the MiFlash program (from the folder where you previously installed it)
2. Then click on the “Refresh” button
3. Our device COM 10 should appear (the number may be different)
4. Click “Browse...” and specify the path to the “unlock” folder (from the “unlock Mi 4s.rar” archive) where the files for unlocking the bootloader are located. Then set the marker in front of “Flash all except data and storage” and press the “Flash” button
5. Upon completion, we will see the phrase: “Operation completed successfully”
From the "twrp" folder (unpacked from the "TWRP Mi 4s.rar" archive), run the file "flash.bat"
At the end of the process of downloading the "flash.bat" file, the phone will begin to reboot into TWRP mode and disconnect the phone from the USB cable.
It happens that after loading TWRP the screen sensor stops working, it’s okay, just wait until the phone screen goes dark, then press the “lock” button and swipe to unlock the phone.
1. First, we will translate the menu into Russian and erase everything from the phone (we will do a “wipe”)
Go to the "Settings" menuClick on the language selection menu
Select English and confirm your choice with the button at the bottom left
Click "Advanced mode"
On the screen that opens, mark the following points: data, cache, dalvik cache And system
After the message “Wipe Complete Successful” appears at the top of the screen, press “back” several times until you exit to the main page of the TWRP menu.
2. Now let's install the firmware
First, you need to connect your smartphone to your computer or laptop, and upload the archive file with the firmware to your phone, in this case “miuipro_v5.1.1_aqua_6.9.29.zip”
Then go to the "Install" menu
Click on the archive with the downloaded firmware miuipro_v5.1.1_aqua_6.9.29.zip
We don’t press anything, just swipe “Swipe to confirm flash” at the bottom of the screen
After which the installation of the firmware on the smartphone will begin.
After installing the system, two buttons will appear, we press the left button "Wipe cache/dalvik"
Swipe in the specified area
At the end of the process, you should press the right "Reboot System"
The smartphone will reboot, the mi.com logo will appear and the operating system will begin loading
Xiaomi Mi4s 16Gb runs an operating system Android 6.0. Its performance is rated 5 out of 5 (in its segment). This smartphone is high-performance. Here are the characteristics of the device, instructions on how to reset the settings, flash the device and, of course, how to get root rights on Xiaomi
Root Xiaomi Mi4s 16Gb
How to get root for Xiaomi Mi4s 16Gb see instructions below.
Below are universal programs for obtaining root rights for devices on Qualcomm Snapdragon
- (need PC)
- (Root using PC)
- (popular)
- (root in one click)
If you could not obtain superuser (root) rights or the program did not appear (you can install it yourself) - ask a question in the topic. You may need to flash a custom kernel.
Characteristics
- Type: smartphone
- Operating system: Android 6.0
- Case type: classic
- Case material: metal and glass control: touch buttons
- SIM card type: micro SIM+nano SIM
- Number of SIM cards: 2
- Multi-SIM operating mode: alternating
- nWeight: 133 g
- Dimensions (WxHxD): 70.8x139.3x7.8 mm
- Screen type: color IPS, 16.78 million colors, touch
- Touch screen type: multi-touch, capacitive
- Diagonal: 5 inch.
- Image size: 1920x1080
- Pixels per inch n(PPI): 441
- Automatic screen rotation: yes
- Camera: 13 million pixels, LED flash
- Camera functions: nautofocus
- Aperture: F/2
- Video recording: yes
- Max. video resolution: 1920x1080
- Max. nvideo frame rate: 30fps
- Geo Tagging: yes
- Front camera: yes, 5 million pixels.
- Audio: MP3, AAC, WAV, WMA, FM radio
- nHeadphone Jack: 3.5mm
- Standard: GSM 900/1800/1900, 3G, 4G LTE, LTE-A
- LTE bands support: 2100, n1800, 2600, 2600, 1900, 2300, 2500 MHz
- Interfaces: Wi-Fi 802.11ac, Wi-Fi Direct, Bluetooth 4.1, USB
- Satellite navigation: GPS/GLONASS/BeiDou
- A-GPS system: yes
- Processor: Qualcomm Snapdragon 808
- Number of processor cores: 6
- Video processor: Adreno 418
- Built-in memory: 16 GB
- RAM capacity: 2 GB
- Memory card slot: yes, up to 128 GB (combined with a slot for a second SIM card)
- Battery capacity: 3260 mAh
- Battery: non-removable
- Charging connector type: USB Type-C
- Speakerphone (built-in speaker): control available: voice dialing, voice control
- Airplane mode: yes
- A2DP profile: yes
- Sensors: light, proximity, gyroscope, compass, fingerprint reading
- Flashlight: yes
- Features: processor: 2 cores 1.8 GHz ARM Cortex-A57 + 4 cores 1.44 GHz ARM Cortex-A53; battery 3260 mAh (typical) / 3210 mAh (minimum)
- Announcement date: 2016-02-24
»
Firmware for Xiaomi Mi4s 16Gb
Official Android 6.0 firmware [stock ROM file] -
Custom Xiaomi firmware -
Firmware for Xiaomi Mi4s 16Gb can be done in several ways. If the firmware file has not yet been uploaded here, then create a topic on the forum, in the section, specialists will help you and add the firmware. Don’t forget to write a 4-10 line review about your smartphone in the subject line, this is important. The official Xiaomi website, unfortunately, will not help solve this problem, but we will solve it for free. This Xiaomi model has a Qualcomm Snapdragon 808 on board, so there are the following flashing methods:
- Recovery - flashing directly on the device
- A special utility from the manufacturer, or
What custom firmware are there?
- CM - CyanogenMod
- LineageOS
- Paranoid Android
- OmniROM
- Temasek's
- AICP (Android Ice Cold Project)
- RR (Resurrection Remix)
- MK(MoKee)
- FlymeOS
- Bliss
- crDroid
- Illusion ROMS
- Pacman ROM
Problems and shortcomings of a Xiaomi smartphone and how to fix them?
- If Mi4s does not turn on, for example, you see a white screen, hangs on the splash screen, or the notification indicator only blinks (possibly after charging).
- If stuck during update / stuck when turned on (needs flashing, 100%)
- Doesn't charge (usually hardware problems)
- Does not see the SIM card (SIM card)
- The camera does not work (mostly hardware problems)
- The sensor does not work (depends on the situation)
Hard Reset for Xiaomi Mi4s 16Gb
- Settings->Backup and reset
- Reset settings (at the very bottom)
How to reset a pattern key
How to reset the pattern if you forgot it and now you can’t unlock your Xiaomi smartphone. On the Mi4s 16Gb model, the key or PIN code can be removed in several ways. You can also remove the lock by resetting the settings; the lock code will be deleted and disabled.
- Reset graph. blocking -
- Password reset -
Recently, flashing new smartphones produced by Xiaomi has become much more difficult. The manufacturer has blocked the ability to install third-party firmware without first unlocking the bootloader. At the same time, getting an unlock code is still a lottery. Only my third attempt was crowned with success, and not without certain manipulations. But there is a separate topic about this, dedicated to unlocking the bootloaders of all Xiaomi smartphones. Now let's talk specifically about Mi4s.
I have prepared a set of software tools that will allow you to do the following:
- unlocking the bootloader without submitting an application on the website unlock.mi.com;
- installing custom TWRP recovery;
- installing a localized firmware version;
- obtaining superuser rights.
Take into account! When installing a localized version of the firmware, it is recommended to first perform a factory reset. Therefore, worry about the safety of your files in advance. Before you begin any manipulations with your smartphone, make sure that the battery is charged more than 60%, in the best case it should be 100%. Everything you do is done at your own risk. I, as the author of this article, do not bear responsibility.
Before completing all tasks, download and unpack this archive to your PC, preferably to the root of drive C.
Unlocking the bootloader
On the computer, from the previously unpacked folder, run the first batch file 01_edl.bat, thereby transferring the smartphone to emergency download mode EDL (emergency download mode).
The smartphone screen will go dark, and a new Qualcomm HS-USB QDLoader 9008 (COM...) device should appear in the device manager. If this device is not there, then most likely you did not install the necessary drivers or the cable is faulty. You can find instructions for correctly installing drivers.
Launch the MiFlash application, indicate where the unlock folder is located and press the Refresh button. Also in the bottom line you need to check Flash all except data and storage so that all data on the smartphone remains intact. There should be the following picture except for the COM port number, you will have your own.
If you have an 8-digit alphanumeric expression in the Device cell, then you have not switched to EDL mode. If everything is like mine, then we move on to unlocking. To do this, click on the Flash button. After a couple of seconds, the gray stripe will turn green. This means that the bootloader has been successfully unlocked. We disconnect the smartphone from the PC and turn it on by long pressing the power button.
Installing custom TWRP recovery
Manually turn off the smartphone and put it in fastboot mode. To do this, simultaneously press the volume down and power buttons and do not release until Bunny the hare appears above the android. Connect the device to the PC.
Run the second batch file 02_twrp.bat and wait for the installation to complete.
After installation, the smartphone will automatically reboot into custom twrp recovery. We are not afraid of Chinese characters, but swipe to the right on the slider. Next, click on the third button in the right column and in the tab with the globe, find and select the language you need. Now you can flash any localized software on your smartphone.
Installing a localized firmware version
To install a localized version of the firmware, you must first download the firmware file in zip format to the smartphone memory. Personally, I give preference to the xiaomi.eu team. Their firmware is characterized by good stability and is not crammed with unnecessary software. You can download the version for developers with the Russian language from April 28 from my
Detailed instructions for installing the official firmware on Xiaomi Mi 4S (Aqua) via the MiFlash application with an unlocked bootloader.
Drivers and programs
Attention!
To install the official firmware via Fastboot, you need .
Installation instructions
Make backup copies of all necessary data and files and save them to your computer, removable media or cloud.
Create a folder named “Android” in the root of the C:\ drive.
Disable driver authentication.
Windows 7
When you turn on the computer, after loading the BIOS, you must press the F8 key. In the “Advanced boot options” menu that appears, select “Disable mandatory driver signing.” This method may not work the first time, so you should repeat the action or open a command prompt as an administrator and enter two commands:
"bcdedit.exe /set loadoptions DDISABLE_INTEGRITY_CHECKS"
"bcdedit.exe /set TESTSIGNING ON"
Windows 8
You need to press the Win+I key combination, hold down the Shift key and select “Shutdown” > “Restart”. When you turn on your computer, select Diagnostics > Advanced Options > Boot Options > Restart. When loading, select the “Disable mandatory driver signature verification” mode by pressing the F7 key.
Windows 10
You must hold down the Shift key and select the Start menu > Shutdown > Restart. After booting, select Troubleshooting > Advanced Options > Boot Options > Restart. Then select “Disable mandatory driver signature verification” by pressing F7.
Download the official firmware for installation and unpack the archive into any folder.
It is recommended to use the folder path without Cyrillic characters. For example, “C:\Android\firmware_name”.
Activate the “USB Debugging” and “Factory Unlock” items on your smartphone in the “For Developers” section (located in “Settings” → “Advanced”).
To open this section, you need to go to “Settings” → “About phone” and click on “MIUI version” several times.
Connect the phone to the computer via a USB cable and change the connection type from “Charge only” to “File transfer (MTP)”.
It is recommended to use an original or good quality cable, as well as the USB 2.0 port located on the motherboard (for PC).
Open a command line and go to the created Android folder with the command “cd c:\Android\” (commands are written without quotes).
Make sure that the computer finds the device via ADB.
To do this, you need to enter “adb devices” into the command line. When a request appears on your phone for permission to debug via ADB on this computer, you must click “Ok” and select “Always allow from this computer.” If the device is visible, the text “List of devices attached” and a list of all devices (for example, xxxxxxx device) will be displayed. If instead of “device” it says “offline” or the list is empty, then you need to update ADB, check the drivers/cord, change the USB port/computer.
Reboot your smartphone into Fastboot mode.
To do this, you need to enter “adb reboot bootloader” in the command line or turn it off, then turn it on while holding down the Volume Down key. A hare wearing a hat with earflaps should appear on the screen.
Make sure that the computer finds the device in Fastboot mode.
To do this, enter the command “fastboot devices”. If the response is “xxxxxxx fastboot”, then the phone is connected correctly. If “waiting for device” or nothing at all is displayed, you need to check the status of the USB connection or reinstall the drivers.
Launch the MiFlash utility. Then click the “Refresh” button, then “Browse...” and specify the path to the folder with the firmware. At the bottom of the screen, select “Flash all except storage” to save files in the device’s memory or “Flash all” to format the internal memory and press the “Flash” button. The firmware installation process will begin.
After the operation is completed, the phone should reboot itself.
If this does not happen, you need to enter “fastboot reboot” in the command line or hold down the Power button for 10 seconds until the Mi logo appears. The cable can now be disconnected. After a few minutes, the device will boot and be ready for further work.
Copy
Detailed instructions for flashing the Xiaomi Mi4S smartphone to the new Russified firmware, as well as unlocking the bootloader on the phone and installing custom TWRP Recovery.
For anyone interested, I bought the phone here
Before you begin any procedures for flashing the Xiaomi Mi4S smartphone, you first need to check whether the bootloader is locked on your device; we will use the fastboot program to check. To do this, install the fastboot program on your PC
- connect the phone in fastboot mode
- Launch the command line and type the command fastboot oem device-info
Device unlocked: true bootloader unlocked
Device unlocked: false bootloader is not unlocked/locked
Unlocking Xiaomi Mi4S bootloaders through the office. products webpage
Instructions for applying for permission to unlock the bootloader
We go into download mode with the commands
adb reboot edl
or fastboot oem edl
2) Reboot the phone into Recovery mode (turn it off, hold down the Volume Up + Power buttons until the Mi.com logo appears and release them)
3) If, for example, you are switching from stable firmware to weekly firmware and vice versa, or from MultiRom to MiuiPro, you need to do a FULL wipe (the phone's memory is not affected). And if you simply update the firmware to a newer version from the same author, then skip this step!
4) Return to the main screen and select “Mount”. There we uncheck “Cache”, “System” and “Data”
It might be useful to read:
- Installing official firmware Installing localized firmware version;
- What to do if the audio format (ac3) is not supported by an Android player with ac3 support;
- Alcatel Cell phones user manual and operating instructions Smartphone Alcatel 1588 instructions for use;
- Information about the make, model, and alternative names of the specific device, if available.;
- Getting Root Prestigio Grace S5 LTE;
- Apply update from ADB - what is it?;
- How to restore the Windows operating system on an Acer Aspire one laptop;
- The computer froze with the error “Windows updates could not be configured” - what should I do?;