This tutorial is Xiaomi 8ud 8 + 128G version
In fact, Xiaomi 8 is not able to run the win system. You can check the windows device support status: https://renegade-project.cn The tutorials are the same, some of the files used are different. Brush the machine at risk! Careful operation!
Brush the machine at risk! Careful operation!
Brush the machine at risk! Careful operation!
statement
The method of swiping the machine and all the documents of this project are not developed or made by myself. I have only done resource integration. All the documents are obtained from the Internet and have been uploaded to Alibaba's online disk. You can only learn and exchange, and do not do business transactions. The economic disputes and legal liabilities arising from this have nothing to do with me.
As well as the risks of unlocking the mobile phone, I hope you all know. Therefore, the way to unlock the mobile phone should be consulted by Baidu or Xiaomi community. This is a tutorial. If the software and hardware damage after unlocking and brushing is irrelevant to me, it is recommended not to use the main machine to try! The person watching the video or downloading the file on the network disk agrees with this statement by default.
1、 Hardware environment
Computer, type-C OTG cable, USB dock, keyboard, mouse, 16g + U disk, Xiaomi 8 screen fingerprint version 8 + 128
2、 Software preparation
Don't download the wrong code for the driver
Xiaomi 8 Regular Edition: dipper
Xiaomi 8 screen fingerprint version: equuleus
name | explain | Location | Download address | Extraction code |
---|
dism++ | Release mirror tool | USB drive | nothing | nothing |
SDM845 | Sdm845 latest driver | USB drive | WOA-Drivers | nothing |
win11 | Win image | USB drive | nothing | nothing |
KMS | Activation tool | USB drive | nothing | nothing |
PE instruction | 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 boot image | computer | nothing | nothing |
One click twrp | Third party rec | computer | nothing | nothing |
{dotted startColor="#ff6c6c" endColor="#1989fa"/}
3、 Brush miui12 and PE into millet 8
1. Unlock mobile phone (self Baidu and understand the risk of unlocking mobile phone
2. Brush recovery + copy partition file (parted)
① After the mobile phone is unlocked, enter rabbit mode( FastBoot mode )And connect the computer (after shutting down, press the shut down key and volume -)
② , open: in Xiaomi 8ud Android 10 one click twrp folder Recovery twrp one click brush in tool bat
( Wzsx150 production )Press the prompt, and the phone will restart several times to enter twrp
③ After entering twrp, senior
– Sign boot
Restart (prevent REC)
④ In the "parted file" folder parted
Copy the file to the internal storage root directory of the phone
3. Configure your computer with an ADB environment (skip if you have one)
① Right click the computer - properties - advanced system settings - Advanced - environment variables
② , in the system variable below, find the Path
Variable, double-click
③、 newly build
-The "File address"
Copy it here and click OK to exit
4. Partition your phone (make sure your phone is more than 80%)
① Run the command prompt as an administrator to ensure that the mobile phone is in twrp and connected to the computer
② , enter on the command line adb shell
Copy the following line by line into 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 the partition information of your mobile phone No.21 is the "user data" partition 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 on the command line adb shell
, copy the following 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 phone and restart to enter rabbit mode( FastBoot mode )And connect the computer (after shutting down, press the shut down key and volume -)
② Open the "miv12.1" folder XiaoMiFlash. exe
Software
③ Click the Drive
Install the driver and select the folder in the brush package just unzipped dipper_ images_ V12.5.1.0. QEACNXM_ 20210602.0000.00_ 10.0_ cn
④ Load the device. After the device appears, click delete all at the bottom (remember not to lock the phone again), and then click brush
⑤ Wait for the automatic start-up to complete after the line is brushed
7. Press the key again to brush Xiaomi 8 into recovery
① Press the turn off button and volume to enter rabbit mode( FastBoot mode )And connect to the computer
② , open: in Xiaomi 8ud Android 10 one click twrp folder Recovery twrp one click brush in tool bat
(wzsx150 production), according to the prompt operation, the mobile phone will restart several times to enter twrp
③ After entering twrp, senior
– Boot signature
(prevent rec from restarting)
8. Copy the PE image and UEFI file to the internal storage of the phone, and mount the PE partition to / MNT
① Restart the mobile phone to twrp
② In the "uefi1.1" folder boot-equuleus. img
File, PE image folder 20h2pe_ new
The folder is copied into the internal storage root directory of the phone
③ , enter again on the command line adb shell
Mount PE partition to /mnt
Copy the following line by line into 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
Back to Android
②、 install
– Brush in image image
– boot-equuleus. img
– Boot partition
– restart the phone
At this point, if successful, the loading interface will appear and enter PE. If you fail, jump back to step 8
{dotted startColor="#ff6c6c" endColor="#1989fa"/}
4、 Install win11
1. Connect your keyboard, mouse and USB flash disk to your mobile phone through USB dock and OTG cable (make sure your phone power is more than 80%)
2. Setting the drive letter for EFI system partition
There is no need to close the command line window after entering
① Open the PE instruction txt
File (this computer - your USB flash disk - PE command. Txt)
② , copy PE instruction TXT
The first half of the file instructions, line by line copy to the command line window and enter
We'll come back later 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 U disk, and double-click Dism++ARM64. exe
After entering the software, click accept
② Click the upper left corner file
- Release image
③ , select win11's ISO
Mirror, release position, select the largest disk, remember to tick Add Guide
④ Wait patiently. After installation, click determine
⑤ , click Open session
, select the one on the left Drive management
, and then click the blue one in the lower right corner Driver add
⑥ Open the "1. Sdm845 driver" folder in the USB flash disk and select output
, click Select Folder
, wait patiently
⑦ Click OK to close the software Dism++ARM64. exe
4. Close close drive signature
① , back to Command window
and PE instruction txt
② Copy the following 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 win11 system
① Copy the following to Command window
Turn off the phone
shutdown -s -t 0
② Turn off the screen for a few seconds. Press the power on button and wait patiently for about 5 minutes to complete the startup
③ Open the U disk and open the system HEU_ KMS_ Activator_ v23.1.0. exe
Software, click start
{dotted startColor="#ff6c6c" endColor="#1989fa"/}
5、 Touch and brightness
From the selfless dedication of group Friends: @Awe inspiring provide
① In the "touch brightness repair test version of DSDT MI8 with one key" One click for DSDT
Copy folder to computer desktop
② , in Replace the DSDT cmd
Right click on the file, run as an administrator and restart
6、 How to switch Android / win11 system
1. Backup boot
1、 Backup boot of Android system
The Android system has been backed up just now
2、 Backup win11 boot
① Press the power on key and volume up key to enter twrp in the off state
②、 backups
– partition
– boot
2. Switch Android / win11 system
① In twrp, click restore
② According to the backup time, you can know which boot is Android and which is win11. Click restart to start the corresponding system.
{dotted startColor="#6353df" endColor="#8794a1"/}
Video tutorial reference station B up: Xinxu
Video link of nanny level machine brushing: BV1pU4y1A7QV
Dual system video link: BV1dL4y187XX_ P1
No clip, one brush, 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 master Baidu network disk J2t: code extraction
This article comes from B station up: Xinxu Baidu disk tutorial document, slightly modified, simple backup. To prevent long time not toss, afraid to forget:: (funny) ]]>