This tutorial is Xiaomi 8UD 8+128G version
In fact, Xiaomi 8 is not able to use the Windows system. You can check the Windows device support status: https://renegade-project.cn The tutorials are similar to each other, but some of the files used are different. Risk of machine brushing! Be careful!
Risk of machine brushing! Be careful!
Risk of machine brushing! Be careful!
statement
The method of machine brushing and all documents of this project are not developed or produced by myself. I have only done resource integration, and the documents are all obtained through the network, and have been uploaded to Alibaba's online disk. You can only learn and communicate, and do not do business transactions. I have nothing to do with the economic disputes and legal liabilities arising therefrom.
As well as the risks brought by unlocking the mobile phone, we hope you all know. Therefore, the way to unlock the mobile phone is to consult Baidu or Xiaomi Community. This is a tutorial. If the software and hardware damage and other consequences after unlocking and brushing the phone have nothing to do with me, we recommend that you do not try using the main machine! Those who watch videos or download online files agree to this statement by default.
1、 Hardware environment
Computer Type-c OTG cable USB docking station, keyboard, mouse, 16G+U disk, Xiaomi 8 screen fingerprint version 8+128
2、 Software preparation
About the description of the driver's mobile phone code, don't download it incorrectly
Xiaomi 8 ordinary version: dipper
Xiaomi 8 screen fingerprint version: equuleus
name | explain | Placement position | Download address | Extract code |
---|
dism++ | Release Mirror Tool | USB drive | nothing | nothing |
SDM845 | SDM845 latest drive | USB drive | WOA-Drivers | nothing |
win11 | Win Image | USB drive | nothing | nothing |
KMS | Activate tool | USB drive | nothing | nothing |
PE directive | Pe instruction | USB drive | nothing | nothing |
PE | Pe image | computer | Dial | one thousand two hundred and thirty-four |
ADB | adb | computer | nothing | nothing |
MIUI system | MIUI system | computer | nothing | nothing |
parted | Parted mobile phone partition file | computer | nothing | nothing |
UEFI1.1 | Win starts the boot image | computer | nothing | nothing |
One button TWRP | Third party rec | computer | nothing | nothing |
{dotted startColor="#ff6c6c" endColor="#1989fa"/}
3、 Brush MIUI12 and PE into Xiaomi 8
1. Unlock your mobile phone (Baidu and understand the risks of unlocking your mobile phone!!!)
2. Brush recovery+copy partition file (parted)
① Enter rabbit mode after unlocking the phone( Fastboot mode )And connect to the computer (press the power off key and volume -)
② Open: Xiaomi 8UD Android 10 One button TWRP folder Recovery twrp One click Brush Tool. bat
( Wzsx150 production ), press the prompt, and the phone will restart several times to enter TWRP
③ After entering TWRP, senior
– Signature boot
(prevent restarting rec)
④ . Put the parted
Copy the file to the internal storage root directory of the phone
3. Configure the adb environment for the computer (skip if any)
① Right click this computer - Properties - Advanced System Settings - Advanced - Environment Variables
② At the system variable below, find the Path
Variables, double clicking
③、 newly build
-The unzipped File Address
(It is recommended to unzip it to a place without Chinese) Copy it here, and then click three to exit
4. Partition your phone (make sure your phone's power is more than 80% at this time)
① Run the command prompt as an administrator to ensure that the phone is in TWRP and connected to the computer
② , enter at the command line adb shell
Copy the following content line by line to the command line window and press Enter
cp /sdcard/parted /sbin/ && chmod 755 /sbin/parted umount /data && umount /sdcard parted /dev/block/sda P # Enter a p to display your phone partition information Rm 21 # 21 is the userdata partition number mkpart esp fat32 1611MB 2100MB mkpart pe fat32 2100MB 5100MB mkpart win ntfs 5100MB 68GB mkpart userdata ext4 68GB 123GB set 21 esp on
③ Restart rec
5. Format partition
① Enter again at the command line adb shell
, copy the following content line by line to the command line window and press Enter.
mkfs.fat -F32 -s1 /dev/block/by-name/pe mkfs.fat -F32 -s1 /dev/block/by-name/esp mkfs.ntfs -f /dev/block/by-name/win mke2fs -t ext4 /dev/block/by-name/userdata
6. Wire brush MIUI12
① Turn off the mobile phone and restart it to enter rabbit mode( Fastboot mode )And connect to the computer (press the power off key and volume -)
② Open the "MIUI V12.5.1 Wire Brush Package" folder XiaoMiFlash.exe
Software
③ . Click the Drive
Install the driver and select the folder in the wire brush package you just unzipped dipper_images_V12.5.1.0.QEACNXM_20210602.0000.00_10.0_cn
④ . Load the device, click Delete All at the bottom after the device appears (remember not to lock the phone again), then click Refresh
⑤ Wait for the completion of automatic startup after wire brushing
7. Once again, press one key to brush Xiaomi 8 into recovery
① . Press the power off key and volume after power off - enter rabbit mode( Fastboot mode )And connect the computer
② Open: Xiaomi 8UD Android 10 One button TWRP folder Recovery twrp One click Brush Tool. bat
(Produced by wzsx150), follow the prompts, and the phone will restart several times to enter TWRP
③ After entering TWRP, senior
– Signature boot
(prevent restarting rec)
8. Mirror PE Copy the UEFI file to the internal storage of the phone, and mount the PE partition to/mnt
① Restart the phone to TWRP
② . Set the boot-equuleus.img
File, PE Image folder 20h2pe_new
Copy the folder into the internal storage root directory of the phone
③ Enter again at the command line adb shell
Mount the PE partition to /mnt
Copy the following content line by line to the command line window and press Enter.
mount /dev/block/by-name/pe /mnt cp -r /sdcard/20h2pe_new/* /mnt
9. Install image image
① Restart to enter TWRP, backups
– partition
– boot
(To prevent the Android system from failing to return)
②、 install
– Brush image image
– boot-equuleus.img
– Boot partition
– Restart the phone
If successful, the loading interface will appear and enter pe. If you fail (run a lot of English), jump back to step 8 ③ and start again
{dotted startColor="#ff6c6c" endColor="#1989fa"/}
4、 Install win11
1. Set your keyboard, mouse USB stick through USB docking station The OTG cable is connected to your mobile phone (make sure that the power of your mobile phone is more than 80% at this time)
2. Set the drive letter for efi system partition
It is unnecessary to close the command line window after entering
① Open the PE Direction.txt
File (this computer - your USB stick - PE command. txt)
② , Copy PE instruction txt
Copy the upper half of the command in the file line by line to the command line window and press Enter
Diskpart # Wait a minute after entering select disk 0 list part Select part 21 # 21 is your esp partition number assign letter=Y exit
3. Release Win11 image and install driver
① Open the "2. Dism++Release Image Tool" folder in the USB flash drive, and double-click Dism++ARM64.exe
, enter the software and click Accept
② Click the upper left corner file
- Release Mirror
③ . Select the win11 ISO
Image, release the location, select the largest disk, and remember to check Add Boot
④ . Wait patiently. After installation, click determine
⑤ , click Open Session
, select the left Drive management
, and then click the blue Add Drive
⑥ Open the "1. SDM845 Drive" folder in the USB flash drive and select output
, click Select Folder
, wait patiently
⑦ . Click OK to close the software Dism++ARM64.exe
4. Close Close Driver Signature
① , Back Command window
and PE Direction.txt
② . Copy the following content line by line to Command window
enter
bcdedit /store Y:\efi\microsoft\boot\bcd /set {Default} testsigning on bcdedit /store Y:\efi\microsoft\boot\bcd /set {Default} nointegritychecks on
5. Restart and enter the win11 system
① . Copy the following content to Command window
Turn off the phone
shutdown -s -t 0
② . The power off screen goes out for a few seconds, press the power on button, and wait patiently for about 5 minutes before the startup is completed
③ . Enter the Windows system and open the activation tool in the USB flash drive HEU_KMS_Activator_v23.1.0.exe
Software, click Start
{dotted startColor="#ff6c6c" endColor="#1989fa"/}
5、 Touch and brightness
Friends from selfless dedication: @Proud and haunting provide
① . Change the "one button change DSDT mi8 touch brightness repair test version" One button DSDT change
Folders copied to PC desktop
② , on Replace DSDT.cmd
Right click the file, run it as administrator, and restart it
6、 How to switch Android system/Win11 system
1. Backup boot
1、 Backup Android boot
The Android system has been backed up after just finishing the line brushing
2、 Backup Win11 boot
① Press the power on key+volume increase key to enter TWRP when the machine is off
②、 backups
– partition
– boot
2. Switch Android system/Win11 system
① In TWRP, click Restore
② According to the backup time, you can know which is Android and which is Win11. Click Restart to start the corresponding system.
{dotted startColor="#6353df" endColor="#8794a1"/}
Video tutorial reference station B up: Heart brag
Nurse level machine brushing video link: BV1pU4y1A7QV
Dual system video link: BV1dL4y187XX_P1
No clip, double system video link: BV1dL4y187XX_P2
Up main QQ communication group: nine hundred and seventy-eight million two hundred and fifty-nine thousand two hundred and eighty-one
Up Main Baidu online disk Extraction code: 1j2t
This article is from the tutorial document of the up: Xinxu Baidu online disk on the B station, slightly modified, and simply backed up. In case of no trouble for a long time, I'm afraid to forget: (funny) ]]>