FAQ of general instructions and recommendations for Xiaomi devices



Rep: (4761)
FAQ of general instructions and recommendations for Xiaomi devices
PictureMi, Mi Max, Mi Mix, Mi Note, Mi Pad, Redmi, Redmi Note, Pocophone
Catalog of models | Bootloader unlocking � | Mi Account � | General guidelines and recommendations �

Mini F.A.Q.


Drivers and Utilities
Drivers
savagemessiahzine.com | QDLoader HS-USB Driver | 32/64-bit
savagemessiahzine.com | ADB Driver Lite | 32/64-bit
AFH | Minimal ADB and Fastboot | 1.4.2 | Setup
Utilities
MiFlash (MIUI ROM Flashing Tool) - Of site MiFlash Pro QPST (Qualcomm Product Support Tools) SP Flash Tool (for MTK devices) Adb / fastboot miscellanea
About firmware
Instructions
miscellanea
useful links


Post has been editedcherva70 - 03.03.20, 20:16
Reason for editing: Editing



Rep: (4761)
Install official firmware on the device with a locked bootloader
using XiaoMiTool or XiaomiADB
Method 1 - XMT
It is necessary:
  • XiaoMiTool program - Attached fileXMT_0.5.2.zip (87.67 MB)
  • The device in the mode:Recovery - Sonnect with MiAssistant

Instruction
  • Download and install the program
  • Go to the folder with the program and run a shortcutFastFlash
    Attached Image

  • In the flash selection is formulated as follows:
    • The first two paragraphs are putting firmware type (eg Global Stable and Global Developer)
    • The third point - None
    • The fourth item - None
    Attached Image

    Chinese firmware oftenNOTfinds!

  • PushSelect
  • Connect the device by selecting the item rekaveriMi assistant
  • Once the device is determined automatically will download process and install the selected firmware
    Attached Image

  • At the end of a successful firmware upgrade, the device will reboot.
Method 2 - XADB
The main difference from the previous method, it is possible to sew already downloaded the firmware. But still passes validation servers.

Required
  • Xiaomi ADB -Attached fileXiaomiADB.zip(1.11 MB)
  • Official firmware forRecovery \ System
  • The device in the mode:Recovery - Mi Assistant

Instruction
  • Download Xiaomi ADB and unpack on drive C;
  • In the same folder to put the firmware archive;
  • Connect the device in the modeSonnect with MiAssistant(Boot into rekaveri and select third paragraph);
  • Drag the file with the firmware on XiaomiADB.exeoropen the console (in a folder to hold Shift and click the RMB, select "Open Command Window") anddial:
    xiaomiadb sideload_miui nazvanie_arhiva.zip
    Attached Image

  • When finished, the device will reboot;

In case of any errors after installation, it is recommended to format data, the command:
xiaomiadb format-data



Rep: (4761)
Installing firmware with TWRP
(only for unlocked bootloader)

  • TWRP image from renamerecovery.img , Throw in a folder images firmware, replacing the stock rekaveri.
  • The necessarybat file make changes to the text editor, a better Notepad ++ ( Besidesflash_all_lock.bat and flash_all_lock_crc.bat Or you will get a brick):
    flash_all.bat- clean install
    flash_all_except_storage.bat- rewrite data preservation
  • Open a text editor, and in the end find a line like this:
    fastboot% * reboot

  • Replaced by:
    fastboot% * boot% ~ dp0images \ recovery.img || @echo "Boot error" && exit / B 1

  • Save changes.
  • Flash modefastboot a command line or MiFlash.
  • After closure, the apparatusautomatically reboot into TWRP , For its further use - in particular for installing the patch or kernel obtain Root.



Rep: (4761)
How to create a backup of applications and data through ADB
(Ruth works without rights)

Is required
  • Platform-Tools
  • USB debugging
  • ADB drivers
Creating a backup
  • Download Platform-Tools and unpack at the example of the path C: / adb
  • connect the device
  • Open a command prompt and type to be scanned (when a window with a request to allow connection):
    adb devices

  • It turns out about the answer
    Attached Image

  • Next, enter the command to create a backup:
    In this case, backup application, the data cache in the OBB, application data on a memory card
    adb backup -apk -all -shared -obb -f c: \ adb \ data.ab
    In this case, backup application, the data for iskyucheniem system applications, the cache in the OBB, application data on a memory card
    adb backup -apk -all -shared -obb -nosystem -f c: \ adb \ data.ab
    In this case, only the data backup
    adb backup -all -f c: \ adb \ data.ab

  • After that, the command line appears, that is required to unlock the screen of the device and confirm the backup. We allow.
    Attached Image

  • After graduating from the file's backup will be based on the specified path.
    Attached Image
Recovery
adb restore c: \ adb \ data.ab
Adb run
All this can be done utility ADB Run -https://androidp1.ru/s...roid-i-vosstanovlenie/


Post has been editedDima_Apatity - 02.05.19, 01:00



Rep: (4761)
Saving and restoring IMEI via QPST (Qualcomm)


Is required
I did everything without any Root rights.
Attached Image

  • Established QPST
  • USB debugging
  • Platform tools
Backup
  • Translating device in the diagnostic mode
    Attached ImageAttached Image
    adb devices
    # Check the connection
    adb shell
    # terminal
    Options
    setprop sys.usb.config diag, adb
    # Translation device in diagnostic mode
    setprop sys.usb.config rndis, diag, adb
    # Translation device in diagnostic mode
    *#*#717717#*#*

  • Run QPST Configuration
    Attached Image

  • If the device does not appear automatically, manually add: pressAdd New Port ... , Remove the check mark " Show Serial and USB / QC Diagnostic ports only "In two fields we register our COM-port, then click OK
    Attached Image
    Attached Image
    Attached Image

  • FurtherStart Clients -> Software Download
    Attached Image

  • In the window that opens, select the tabBackuppushBrowse, Specify a folder to save, as well as the type of stored files (xqcnorqcn)
    Attached Image

  • PushStart, Will the backup process. After which will beMemory Backup Completed
    Attached Image
    Attached Image

  • backup created
Recovery
  • Open the tabRestore, Specify the backup file
    Attached Image

  • PushStartand wait for the end of the process
    Attached Image
Recovery, if there is no backup
This will require a donor file qcn your model, though with zeroed IMEI
And a small utility to change -Attached fileQualcommIMEIRebuilder.zip(550.19 KB)
Editor xQCN files -Attached fileXQCN_Editor_1.02.zip(280.37 KB)

  • Run the utility and open the file * .qcn
    Attached Image
    Attached Image
    Attached Image

  • Instead of zero (or what there will be) their value is entered and pressRebuild
    Attached Image

  • Save the new file
  • Restoring through QPST


Post has been editedDima_Apatity - 20.09.19, 19:29
Reason for editing: Files Editor xQCN



Rep: (4761)
QCN files to restore IMEI
(IMEI zeroed)

Mi
Mi Max
Mi Mix
Mi Note
Mi A
Redmi
Redmi note
Other


Post has been editedvovcik3 - 06.04.20, 16:26
Reason for editing: Mi 9T and Redmi K20 Pro



Rep: (1760)
M
We move to subsectionXiaom i


Post has been editeddraiv88 - 09.07.19, 20:39



Rep: (4761)
The transition between the lock global firmware loader
(Example: with firmwareRuonMI)
It does not work on the new devices (from 2019)

A couple of words
Personally tested on devices Redmi Note 5 and Xiaomi Mi 9T, also works on other models.
Because three points of transition between global firmware is not possible, then there is an alternative method, without unlocking,at the time of writing the post.
During flashing, the process can "hang out" at 4.99% and 90.49%, do not worry.
Is required
Instruction
  • Download, install, run the program. Choose your region. (I chose the natural Russia).
  • Connect your phone, select an item to the operating device.
    Attached Image

  • When scanning in the case of the connection to allow the request. After that, the device appears in the list of found.
    Attached Image
    Attached Image

  • After that, the device is handled in Fatsboot mode for reading the information required.
    Attached Image

  • Next boot rekaveri, which will have to selectConnect with MiAssistant
    Attached Image

  • In the next step, select "Official firmware Xiaomi", will search for available.
    Attached Image
    Attached Image

  • Select the point with the necessary globalkoy, in this case, MI. Also there is an option to select already downloaded file.
    Attached Image

  • Warning thatdata will be deleted .
    Attached Image

  • Downloading firmware.
    Attached Image

  • By the end of the download, reboot rekaveri and connection modeConnect with MiAssistant To start the firmware installation process.
    Attached Image
    Attached Image

  • Following which, greeting appears. And the device will boot with the new firmware.
    Attached Image



Post has been editedcherva70 - 03.03.20, 20:14



Rep: (2129)
M
The curator of the topic is appointedDima_Apatity



Rep: (4761)
Fastboot "Press any key to shutdown"

Such a mistake is very common in the new "iron" PC. And work with fastboot mode becomes almost impossible due to the constant "off" device.
If you encounter this error, it will install USB 3.0 controller via the PCI-E interface. USB Hub is not always able to solve the problem.
For example
Attached Image

Thanks to the distinguishednamin78


Post has been editedDima_Apatity - 17.08.19, 12:57



Rep: (4761)
Install TWRP in the presence of root-rights

TWRP App
Themeonsavagemessiahzine.com
  • Install the application and run
  • We agree with the points
    Attached Image

  • ChooseTWRP Flash , Giving Ruth rights, etc. Select a file to flash .. and specify the desired image rekaveri
    Attached Image
    Attached Image
    Attached Image
    Attached Image

  • Stitching
    Attached Image
    Attached Image
    Attached Image
    Attached Image

  • After installation can be overloaded in rekaveri
    Attached Image
    Attached Image
    Attached Image
    Attached Image
Flashify
Themeonsavagemessiahzine.com
  • Install the app and launch, giving Ruth rights
  • ChooseRecovery Image , Further Choose a file and specify the desired image rekaveri
    Attached Image
    Attached Image

  • Stitching
    Attached Image
    Attached Image

  • After installation can be overloaded in rekaveri
    Attached Image



Rep: (4761)
Brief guide to unlocking the bootloader

Minimum requirements
  • MI account to link your phone number and and the presence of a SIM card with that same number
  • Internet connection, both the sim card and the PC.
  • Official utility to unlock
  • Driver (if there is a folder with MiUnlock)
Unlock
  • On the device, activate the Developer menu (Settings - About phone - several times Tapan MIUI Version). Go to the section.
    Attached Image
    Attached Image
    Attached Image

  • Choose "Status Mi Unlock "
    Attached Image
    Attached Image

  • WITHenabled mobile internet click "Link account with the device"
    Attached Image
    Attached Image
    Attached Image
    When you try to link via WiFi you will receive the following
    Attached Image

  • The idea from this point will the so-called "Counter" to unlock. To be sure, put the device in fastboot mode, connect to a PC and run MiUnlock.

Further
  • In the utility agree and enter your account information (phone number or e-mail, or ID). Go check the resolution, which by the way have all accounts.
    Attached Image
    Attached Image
    Attached Image

  • Check identification device. If not detected, go to put the driver, change the ports, etc .. Also, see a warning about resetting the information on the model if it is.
    Attached Image
    Then two more.
    Attached Image
    Attached Image

  • Will unlock process
    Attached Image
    Attached Image
    Attached Image
Counter
If on99%get an error, it is usually a counter after which it will be possible to unlock:
  • Binding time is too short, Less than XX hours
  • After XX hours of trying to unlock the device
  • Please unlock XX hours later. Use your device actively while you're waiting



Rep: (4761)
Run GPay on unlocked bootloader

Introduction
Actions performed on Mi 9T withglobal firmware, An unlocked bootloader, TWRP, Magisk.

  • Install the patch from MiRoom -Attached fileGooglePay_fix.zip(126.12 KB)
  • The NFC settings expose "HCE Purse"
    Attached Image
  • In Magisk hide Ruth for GPay, Google Services, and banking applications
    Attached Image

In principle, everything. GPay card adds, payment runs, the transaction is displayed.
Attached ImageAttached Image



Rep: (4761)
Assistant while working with ADB, Fastboot, TWRP

A couple of words
Written small skriptik multiple manipulations in various modes. I hope it will be updated and supplemented.
For all suggestions, questions, etc. write in the QMS.This topicNOTfor discussion .
Screen
Attached Image
Description
Adb
  • Checking the connected devices, with the ability to restart in different modes.
  • Also translated into diagnostic mode. 2 embodiment, since on the latest models has changed the team.
Fastboot
  • connected device
  • Check the code name of the device
  • Various information about the boot loader, status for unlocked or not.
  • ARB status check
  • Flashing different images, such as the nucleus, rekaveri, regions, modems, splash. The folder structure I think it is clear that for nothing. For each item, with the image available to choose from the list. Rekaveri For example: in the appropriate folder, you can throw a few images (if your model is required to sew vbmeta.img, then he, too, put in a folder), and in the proposed list, select the desired image.
TWRP
  • So far, only possible to work with sideload mode to flash different files, also with a choice from the list.
  • Saving, partition recovery Persisti EFS
  • Mounting partitions
  • Removing password lock screen
Changes
v 1.1
Fixed:
- after installing TWRP not everyone worked as a team to restart in rekaveri. Now, when an error occurs the launch image.

Posted in TWRP:
- mount partitions
- removal of the lock screen passwords
Download
Past versions


Post has been editedDima_Apatity - 08.10.19, 16:38
Reason for editing: 1.1



Rep: (3468)
M
Dima_Apatity He dismissed as Curator. Thanks for the work you've done!



Rep: (2129)
M
Dear Sirs!
Locked for discussion. If you wish to add any instructions or add to existing ones, use the buttonPicture


Full version    

Help     rules

Time is now: 01/05/20, 21:16