https://get.pixelexperience.org/haydn
教程
https://wiki.pixelexperience.org/devices/haydn/install/
1. Unlocking the bootloader
2. Flashing the vendor boot partition
-
Connect your device to your PC via USB if it isn’t already.
-
If your device isn’t already in fastboot mode, on the computer, open a command prompt (on Windows) or terminal (on Linux or macOS) window, and type:
adb reboot bootloader
-
Once the device is in fastboot mode, verify your PC finds it by typing:
fastboot devices
-
Download this vendor_boot.img file.
fastboot flash vendor_boot <vendor_boot>.img
3. Booting a custom recovery using fastboot
-
Flash recovery onto your device (replace
with the actual filename! fastboot flash recovery <recovery_filename>.img
-
Now reboot into recovery to verify the installation. Do not reboot into the existing OS, since it will overwrite the recovery you just installed!
-
With the device powered off, hold Volume Up + Power. Keep holding both buttons until the“MI”logo appears on the screen, then release.
3.Installing PixelExperience from recovery
- Download the PixelExperience installation package that you would like to install or build the package yourself.
- If you are not in recovery, reboot into recovery:
With the device powered off, hold Volume Up + Power. Keep holding both buttons until the“MI”logo appears on the screen, then release. - Now tap Wipe.
- Now tap Format Data and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage.
-
Sideload the PixelExperience .zip package:
- On the device, select“Advanced”,“ADB Sideload”, then swipe to begin sideload.
- On the host machine, sideload the package using:
adb sideload filename.zip.