> Attention!

We strongly recommend to readRules section "Android - firmware"

New threads need to be created only inroot partition! In the future, they will be processed by moderators.



Xiaomi Redmi 4X - MIUI firmware



Rep: (8253)
Xiaomi Redmi 4X - MIUI firmware
PictureSantoni | HM4X | Hongmi 4X | XR4X
Description | Discussion пїЅ | Purchase пїЅ | Accessories пїЅ | Marriage and Repair пїЅ | Owners Club пїЅ | Mi Account пїЅ | Bootloader unlocking пїЅ | Catalog for the MIUI v6-v11 пїЅ | Camera talk пїЅ | Power consumption (autonomy) пїЅ | Modems and communication пїЅ | Modifications and decorations пїЅ | Development and porting пїЅ | Unofficial firmware пїЅ | MIUI firmware пїЅ



Drivers and Utilities
Firmware
Official
Localized / on the basis of official
Ports
Copyright / other
Instructions
Recovery / Root
Useful
Unlinking from a Google Account (FRP)
For those who do not want to be updated from any version, and notifications (on miui 9, they are non-switchable) do not give rest
Recommendations for modding miui / miuipro 9.1.1.0
What to do if after installing TWRP the phone hangs on the MI logo

Patches

Useful

miscellanea

Polls
Poll # 1 | closed 22/08/17
Attached Image
Poll # 2 | closed 11/09/17
Attached Image
Poll # 3 | closed 03/09/18
Attached Image

Poll # 4 | closed 10/03/18
Attached Image

Poll # 5 | closed 01/03/19
Attached Image



There is no curator in the subject. For questions about filling caps, please contactmoderatorssection through a buttonPictureunder the messages to which you want to add links.

Post has been editedderak1129 - 01.01.21, 17:19
Reason for editing: MIUI 12 XPERIENCE 12.0.2.0, Port



Rep: (32)
* qwerty1990assa Writes read only. Only reading. Mount the partition system so that you can make changes.



Rep: (107)
* dns13 Yes, all decided, replace native to this one Attached fileMiuiHome.apk (1.82 MB)
with setting the respective rights of 0644

Post has been editedRuslan-dnk - 25.07.17, 09:59
Reason for editing: T9



Rep: (1)
Veisons @ 25.07.17, 09:22*
If the "Fix Premissions" - then this section I have no ...
TWRP 3.1.0-2 / 3.1.1-0
Advanced / Tools / Root Device

This installation root. This I have tried - does not help!



Rep: (4)
* nigga SA, where and how?



Rep: (370)
The author is not me, I'm only slightly redrafted, where he saw, preserved and so decided to post it, I think here it will also be important.

1.Telefony at all, despite the same model, different - they are collected in different countries, at different factories, on different lines, different robots and engineers or masters at different times. There are differences in the components suppliers.
2. Use the phone in different climatic conditions and microclimate (pressure, humidity, temperature, etc.)
3. Installed firmware often in different ways (do not use the same rekaveri, ways wipe, wipe the scripts, the transition to the new firmware is carried out with different firmware, etc.)
4. Compared firmware installed not at the same time, ie, work at the time of comparing the different time (in particular, there have already written about the need to "break-in" newly installed firmware).
5. Everyone has their own set of installed software, everyone saves and restores its applets and games in different ways.
6. In some aspects of a smart affect very minor factors such as the proximity or remoteness of the base station OpSoSa to the place of work or residence affects the stability and the quality of communication, dark and bright image on the screen is raznomuu "eating" battery charging and use different t .d.
All this, as well as many other factors eventually make our smarts quite a personality.
These aspects allow us to answer, do not answer the question, what is the best firmware, as repeatedly stated, and according to a theme.
You need to consider when it matters in the subject, and do not get upset when some little things do not work or do not work like a lucky individual.
In view of what has been said on some questions unanswered.
[right]



Rep: (3)
Lord, I still wake up the investigation continues fingerprint sensor.
At the moment I found out that:
  • Comment line in /system/usr/keylayout/Generic.kl useless
  • DVR instead put too DPAD_CENTER
  • MENU helps put in place DPAD_CENTER, but I do not need to act as a "menu" button, I do so it is!

However, that's something like this now - the only way in which the sensor does not "wake" the device (this despite the fact that I have not so much safety, I myself lock screen system is turned off, even though when the system all - the same)
- a MENU button, I Google it, but I'm such a "useful" rebind do not need :)

Do not tell the name of the "buttons" on the virtual keyboard is, well, to fit it into Generic.kl, which does not wake the screen?

Post has been editedmekkanizer - 27.07.17, 18:27
Reason for editing: path



Rep: (147)
If someone is necessary, the body can be forced in the Diagnostic Mode adb command(Via fastboot not tried it, most likely will work, too) does not work
adb shell
su
setprop sys.usb.config diag, adb


through
fastboot oem edl

what the other options, for example QPST not want it to work with the body, though it sees.

Post has been editeddimetrius91182 - 27.07.17, 20:49



Rep: (216)
Tweak scanner

Touching the screen turns off, causing retention of food menu

Do not bet on: 8.2.10.0 | 8.2.12.0
The efficiency of the rest is unknown.

Download:
Yandex
Mega.nz
For rollback:
Yandex
Mega.nz

Post has been editedCherkes001 - 01.08.17, 23:57



Rep: (164)
* dimonius747
I did not slander her. The fact that I and globalke the same garbage. And nothing helps because the gyroscope and accelerometer kakby all dead, all values ​​on zero and does not change. It happened after the firmware on 7 android and return to the 6.
But I found a solution on the forum no special people with such a problem, but on their overseas a lot and have very detailedinstruction
The fact is that full of reason beating section persist. And he has not sewn nor fastbut through script or through miflesh (although someone and just flashing through miflesh helps)
In general, I write here the manual (in English and more with the pictures, but then lost):
I suppose that all of the necessary drivers are already installed. If not, then install.
We will need the firmware for miflash and Platform-tools (adb / fastboot) of the cap. Let it be 8.2.10.
Firmware and platforms Tools unpack in fastboot folder in the root of the drive C. I this firmware (the latest took globalku) first just put all through fastbut wipe, but I think it is not necessary.

Then two options when unlocked and locked loader. (And even though I have an unlocked, for some reason I did not give overwrite the persist, helped to guide the locked)
For unlocked bootloader
1. In the folder images in our directory, it is persist.img, copy it to fastboot folder.
2.Vyklyuchaem phone and go to fastboot mode (hare) a combination of power + vol-, and connect to the computer
3. Then shift-RMB combination in the fastboot folder, open a command prompt in the folder (or just open cmd and write in it cd C: \ fastboot)
4. Writing the command fastboot devices (will have to ID our phone, if not, then no drivers installed)
fastboot erase persist
fastboot flash persist.img
fastboot reboot
5. The phone will reboot after the last command and, in principle, it should work. But I erase and flash did not work (written not allowed).
There's a manual there is a way through miflash fastboot flash only the persist, but of course I have it, too, did not work (miui nothing but mistakes is not writing, but probably the same reason, do not have access), so this method will not describe.
Helped me a way to download flash miflash through mode is intended for locked bootloaders


For locked bootloader
1.Zahodim our folder fastboot, we find there is a batch file flash_all.bat, open it with Notepad (recommend notepad ++)
2. There at the end of stitching before writing this fastboot reboot fastboot% * flash persist% ~ dp0images \ persist.img || @echo "Flash persist error" && exit / B 1
3. Remove the lines in the batch file all but the first three and the one that put in, and the last two
4.Sohranyaem, leave.
5. Go to the folder and find the file images rawprogram0.xml
6. Open its pad (notepad ++)
7. It is necessary to find a line with the words of label = "persist"
8. write it filename = "persist.img" (I have already written)
9. remove all other lines except data
10. keep, leave.
11. Turn off the phone and go to fastboot mode (hare) a combination of power + vol-, and connect to the computer
12. Then, shift-RMB combination in the fastboot folder, open a command prompt in the folder (or just open cmd and write in it cd C: \ fastboot)
13. Writing the command fastboot oem edl (the screen goes off, we went into the edl mode)
14. Go to the program miflash choose our fastboot folder (there is firmware)
15. Hit refresh should appear our device with the assigned com port (If not, then no drivers installed QDLoader HS-USB Driver)
16. Choose clean all
15. Push the flash. Everything should quickly flash and write succes
16. Reboot the phone (long hold power) and must work gyroscope.


Then you can again put rekaveri and necessary firmware.
Picture


Post has been editedCherkes001 - 05.09.17, 11:25



Rep: (1888)
* Timarino,
M
Your post has been moved to the topic:Power and autonomy of the Xiaomi Redmi 4X



Rep: (1948)
Firmware, install TWRP, lock the bootloader and install ROOT using the utilityXiaoMiTool



Rep: (216)
-------- How to flash through MiFlash --------
Instructions taken fromMultirom'a

This statement is taken from the official forum, adapted for Russian users, tested an infinite number of times on multiple devices, the majority of listed nuances.
Read carefully. (Please read the point entirely, then do, in order to see all the pitfalls). And I stole fromMultirom'a
Step 1.
1.1 Download the fresh MiFlash, hereinafter.
1.2 Turning off the digital signature verification drivers.
For Windows 10:
Hold down the "Shift" button and click "Start" ->"Shutdown" ->Reboot. After the reboot, the "Select Action" window appears. Selecting "Troubleshooting" ->"Extra options" ->“Boot Options” ->Reboot. After the reboot, we will see the “Reboot Settings” window, press “F7” and wait for the Windows to reboot.
For Windows 8:
Press the combination of buttons "Win + I". “Parameters” will come out to the right. Hold down the "Shift" and click "Off" ->Reboot. After the reboot, the "Select Action" window appears. Choose "Diagnostics" ->"Extra options" ->“Boot Options” ->Reboot. After the reboot, we will see the “Reboot Settings” window, press “F7” and wait for the Windows to reboot.
For Windows 7:
While the computer after the BIOS boot phase, often press В«F8В». You will see the menu "Advanced Boot Options". Choose "Disable mandatory driver signing." F8 does not always work the first
times, so if it fails, or may be repeated 2-3 times or to resort to an alternative method.

Alternative: Open the "Start" menu in the search bar write:
cmd.exe
right-click on it and click "run as administrator". A command prompt will open. Enter 2 commands in turn:
bcdedit.exe / set loadoptions DDISABLE_INTEGRITY_CHECKS
bcdedit.exe / set TESTSIGNING ON

Then restart the computer, if everything turned out, then in the lower corner of the desktop you will see an inscription about the test mode.
P.S: in order to return everything to the place, again open the console again and enter:
bcdedit.exe / set TESTSIGNING OFF

and reboot. The inscription will disappear.
1.3 Set Miflash from 1.1. It is strongly recommended not to change the installation directory of the program. And there are no Russian letters in the installation path! During the installation can (or even should) vylazit messages about the installation of unsigned drivers, agree to install all. They look like this (press on the button highlighted in red):
Attached Image

Step 2.
Download the archive with the firmware for the device, always the latest firmware you can findhere(Select your device and the desired type of firmware in Step 2).
Step 3.
3.1 Turn off the phone. Hold the button "Volume -" and "Power". You see on the screen:
Attached Image

3.2 Connecting to a computer smart. It is recommended to use the original cable is not to stick to the front USB ports and not to use USB 3.0.
Step 4.
4.1 Extract the downloaded file in step 2. The name does not rename! And check to
unpacked folder has images and more files folder. Some unpacking when a situation may arise that the original folder - folder with the same name, and has been in her images and more files folder. Here is the dubbing of the first folder you want to remove.
4.2. Next, the resulting folder (check that it is images and more files) is copied to the root of drive C: \ (If there is no space on it, the other root of the drive).
Step 5.
5.1 Go to the folder where you installed the program from step 1. Default:
C: \ Program Files (x86) \ Xiaomi \ MiPhone
5.2 Run MiFlash.exe (It is desirable as administrator )
5.3 Push the В«BrowseВ», select the folder from the previous point (exactly the folder which contains the images folder without images folder, and the folder which contains the images folder).
5.4 The bottom of the window, in the last line mode, select the firmware, I think everyone understands that flash all the safest mode, but it will erase everything you have on your phone. Flash all except storage devices spare memory, well, flash all except data and storage will not touch the memory and the data well, and in addition does not ensure that there is the sense in your actions.
5.5 Push the В«RefreshВ» in the device window will appear our device, select it and press the В«FlashВ»
Attached Image

5.6 and begin counting after a few minutes in the status column of the inscription appears successful operation, restarts the device itself and begins to run.
Attached Image

Step 6.
You can pull the cord and wait for the first (quite a long time) load.

Post has been editedCherkes001 - 07.10.17, 17:24



Rep: (691)
Rollback boot.img on custom to drain to install Magisk

Perhaps some of you are going to the custom clashed with the impossibility Magisk installation (swears on a modified Booth). All the fault of release of the band, which is very often vpihayut in non-system firmware SuperSU. Because of this, the system never fails SafetyNet test that can be very necessary for such applications and games like: Pokemon GO, Privat24, Android Pay, etc.

How can Magisk install and use all the amenities of a non-system root on custom bikes? It's pretty simple:

ATTENTION! All at your own risk. Break something quite difficult, if you carefully read the instructions, but the chance is always there.

0. The bootloader must be unlocked. This is so logical, but it does not hurt to remind. Also, you must have installed TWRP.
1. You must download fastboot for your operating system (Windows / Mac / Linux). For Windows, you can download an archive of autoinstaller TWRP of a cap and take it from there. I use Linux. It's all easier. Execute the command in the terminal:
(For Debian / Ubuntu-based distributions)
sudo apt install adb
sudo apt install fastboot
For other distributions:
replace in the team apt word to the name of your package manager (yum, pacman)
2. We are looking for original bottles from your firmware. It is enough to know the number of your firmware and find the original file for ota updates from rekaveri. You can take a bottle from another firmware but to be the same version of Android, which is based firmware. Open the file and pull out the file boot.img in a convenient place for you (under Windows is better to put it in the folder where you unzipped fastbut).
3. Download the firmware file for Magisk in this topic -В®Magisk - The Universal Systemless Interface. Aktutalnaya version 13.6 beta perfectly earned 9 MIUI based on Android 7.1.2. Copy the file to your phone.
4. Transfer mode fastboot. Or select fastboot reboot menu (if available) or turn off the phone and clamps the volume down and power to enable fastbut mode (see label).
5. Connect your phone to your PC.
6. Open the console and put this fastboot devices (for WIndows - go to the pre-folder fastbutom, clamps the shift key and press the right button in the folder from scratch from the menu, select -. Open a command window on enter fastboot devices.). The list should appear one device.
7. If the device is in the list, then put this command fastboot flash boot<way to boot.img from step 2>. Avoid Russian letters / spaces in the path.
8. The console must inform you of the success, if everything is OK.
9. Enter the fastboot reboot
10. Phone will reboot, but hangs on the splash screen MI. Do not panic! Clamps volume up vnig + + 30 seconds at power up vibration. Do not let go. We are waiting for the launch of TWRP.
11. Go to the menu and select the firmware file from our Magisk from step 3. sewn. Booth and rebuild your phone will be able to start normally.
12. Reboot, install Magisk Manager. Downloading from xda Universal Safety Net Fix beta 5 test 9 (not less than) over this link -https: //forum.xda-deve…safetynet-fix-t3600431. Copy the phone and sews through Magisk (MagiskManager - modules). Reboot. In 99% of cases, the phone will always pass the test even SafetyNet on custom bikes.

Also, a plus from using Magisk that it can be hidden from the application, it does not interfere in the system partition and flashing just enough flash archive from Route 3. return (installed modules like as well, but this is not accurate). Another Magisk not prevent OTA updates (if they are necessary to someone) and not overwritten during this update.

Post has been editedCrazyXacker - 17.08.17, 13:43



Rep: (10)
A process of transition from Chinese EEPROM on Global through Fastboot (unlocked loader):


1. Downloading Platform-tools (adb / fastboot) (spoiler Drivers and Utilities), and unpack the archive contents into an empty folder on your PC / laptop
2. Download archive with the firmware (firmware spoiler version MiFlash / fastboot) and unpack in a folder with the adb / fastboot files
Example:
Attached Image

3. Putting your smartphone in fastboot (turn it off, hold the button and turn the volume minus vibration after release the power button and wait for the appearance of the image with the hare) mode. Connect it to your PC / laptop
4. In the folder with the files adb / fastboot run flash_all.bat, wait until the reboot and disconnect the smartphone

The first launch of the OS after flashing lasts 5-20 minutes, as usual! If the screen below "run" the point - everything is fine.

The advantage of this method is that fastboot absolutely spits on the bitness of the OS and the amount of RAM

Post has been editedDJ UMAR - 21.08.17, 10:05



Rep: (1163)
n1ck_root,
M



Rep: (85)
Redmi 4x

MIUI: 7.8.24

ANDROID: 7.1.2
ROM: HM4X
KOD: santoni
ROZM .: 1.1G
MD5: AA76F746CE
BL: UNLOCKED
DATA: 24/8/2017

What's new in 9 MIUI ROM 7.8.24
1. The new name and a new icon for the Mi Picks (India only)
2. In the previous version of MIUI 9 after the update was only visible Mi TV and (or) Mi Box in Appendix Mi Remote. This problem has now been fixed. The Mi Remote, there were other available applications and devices.
3. In the previous version there was an error Wallpaper Carousel, the function can not download online resources (required to update Play Store). This problem has now been fixed.
4. All-new Game Speed ​​Booster. Go to the «security», and then select the "game speed booster" «accelerator game speed" to turn it on. At this time, the visuals have also improved.

Download

How to install
  1. TWRP go to the section Cleaning
  2. Selective cleaning and tick
  3. * Dalvik / ART * Cache * System * Data * Cust
  4. We make Swap according to the inscription "Swipe for cleaning"
  5. Then go to the Installation menu and click on the archive with the firmware
  6. We make Swap by the inscription "Swipe to install"


for own assembly 7.8.17 (yet)

mod to restart in recovery / bootloader


Post has been editedrezonator1986 - 26.08.17, 07:38



Rep: (1725)
Correction by undercharging!

Flashed yesterday Miui Pro 7.8.24 threw on charging for the night woke up to 95%!
He sat thinking that if you put the boot from the Global 7.8.24 !? stitched boot put the phone to charge again and there miracle 20 minutes have passed 100%

Download
Attached filemiuipro_v7.1.2_santoni_7.8.24_boot.zip(18.75 MB)

Attached fileUPDATE-SuperSU-v2.79-20161211114519.zip(5.65 MB)
Father-write the result of QMS
Important
  1. If you do not need ROOT, then go to the [Advanced] ->[Instruments] ->[Check in Boot] ->Confirm
  2. If you need ROOT, then go to the [Advanced] ->[Instruments] ->[Install ROOT] ->Confirm
  3. Reboot into the OS [Reboot] ->[System]

Picture

Post has been editedCherkes001 - 31.08.17, 15:20
Reason for editing: Raised in a hat



Rep: (62)
Many endlessly ask how to upgrade toMIUI 9If installed Global8.2.10.
1) Downloadfrom herefirmware. The firmware will be in the folder
Attached Image
Attached Image
Nothing they do not change (someone advised to change the name to UPDATA - not necessary) !!!
2) Set viaTHREE DOTS
Attached Image
Attached Image
Attached Image
Attached Image
and select the first8.2.12and install it - nothing is erased, all the programs and settings will remain in place. After installation make backups
Attached Image
Attached Image
Attached Image
Attached Image
in the configurationMI account, So the spacecraft during installation7.8.24(Now there7.8.31, Put it) .All data is erased !!! Creating a backup of about 10 - 20 minutes, tolerant).
3) Install throughTHREE DOTSand choose7.8.31and all! During installation logo appearsMIUI 9and the screen go dark - do not worry, all you have to wait to establish normal. You have on hand will be MIUI 9!
Attached Image
Radu. Making recovery from a previously created backup (it can take 15 to 30 minutes).
P.S. My phone is not unlocked and 3/32 without TWRP - all stock!
Here's a short video on the installation:MIUI 9 installation

Attached images
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image


Post has been editedchipas1972 - 08.04.20, 20:10
Reason for editing: raised in the topic header.



Rep: (93)
* nucl1d ,
Yes, I did not coincide on 8.2.12.0 with the release of meow9. A month ago, this firmware began to come some, and you could download it here. Just this version is still in the dough, just some do not read the topic.



Rep: (39)
Slavian258 @ 06/26/17, 20:17*
X-one, just checked, everything is in place, our mi about 7.8.24 to Google Drive.
,
Yes, I see, just appeared. But there was no one there for some time, checked more than once. The fact is that I downloaded the firmware in the morning, and installed. Then she needed for a second phone, she climbed to download, but no ... now I got it again, compared the hash with the morning version that was posted - and she does not match! Apparently, something really was finished, otherwise how to explain ... I'll go in a public to ask what they didn't go there.


Full version    

Help     rules

Now: 13.01.21, 04:48