hiberfil.sys reduce
launch "cmd" as administrator
powercfg -h off # remove hibernation capability and file
powercfg -h -size 50 # reduce size
pagefile.sys reduce
Right click on Computer & Select Properties
Click on Advanced system settings on the left
Click on the Settings button under the Performance group
Select the Advanced tab of the Performance Options window
Click on the Change button
Uncheck Automatically manage paging file size for all drives
Select the C: drive in the list
Check the Custom size radio button
Enter the Initial and Maximum sizes you want to use. I would recommend 4096 MB for the Initial and 6144 MB for the Maximum
Click OK on the Virtual Memory dialog
Click OK on the Performance Options dialog
Click OK on the System Properties dialog
genuine
run as administrator in 'cmd'
SLMGR /REARM
root
boot unlock
developer mode
tap 8 times on "Build Number" in "about" settings
in "additional settings", select "developer options" & enable: "OEM unlocking" & "USB debugging"
MI account
create MI account & add device to account
install Drivers
install ADB & Fastboot Drivers on PC with file : "adb-setup-1.4.3.exe" & "Windows6.1-KB2999226-x64.msu"
Add driver manually with:
- Select device in "device manager"
- Select "update driver"
- Select "Install the hardware that I manually select from a list (Advanced)"
- Select "android device"
- Click on "Have Disk..."
- Locate the extracted driver manually on your computer (file "adb-setup-1.4.3.exe" extracted manualy)
Download & unzip software "mi unlock tools" from https://en.miui.com/unlock/
Unlock xiaomi device with launching "mi unlock tools" with administrator rights
connect xiaomi device in fastboot mode with USB cable (fastboot mode: turn off & pull on "touch down" & "power" buttons)
Unlock device & wait 7 days to do it definitively
After 7 days unlock device
Launch "mi unlock tools" with administrator rights
loggin "mi unlock tools" & unlock device with confirmations...
install TWRP
adb devices -l # Get list of connected devices
adb reboot bootloader # reboot in fastboot
fastboot devices -l # Get list of connected devices
fastboot flash recovery /pathto/recovery.img # flash boot with TWRP
fastboot reboot
pull volume- during reboot until TWRP are displayed
TWRP/advanced/Disable replace TWRP
Fews commands with fastboot
fastboot reboot-bootloader # reboot in bootloader mode
fastboot erase cache # erase data cache in device
fastboot boot /pathto/recovery.img # ?
fastboot flash recovery recovery.img
fastboot flash vbmeta vbmeta.img
fastboot boot recovery.img