For MediaTek (MTK) devices:
For users on newer Xiaomi devices running HyperOS, community developers have created bypass scripts that work around the strict community-level requirements. These scripts typically leverage PHP and ADB commands within Termux to circumvent the "Xiaomi Exam" requirements for Chinese variants.
Before unlocking, it's wise to get the device's product name. This can be a critical safety check.
An unlocked bootloader allows you to install custom Android distributions like LineageOS, Pixel Experience, or crDroid.
fastboot oem unlock-go # For Xiaomi