Xiaomi is now starting to recruit eager beta testers for its upcoming HyperOS 4 release for Global and EEA markets. If you want to give it a try, as always do keep in mind that beta software can have bugs and issues and is not recommended for your daily driver.
If you want to go through with it even so, then you need to have a Xiaomi 17 Ultra, Leica Leitzphone by Xiaomi, or Xiaomi 17. Then, head on over to the Xiaomi Community app, tap Me, then Beta testing, and then Recruiting test. There will be a questionnaire for you to fill out.
Xiaomi notes that for certain beta versions, Xiaomi Account verification may be required. If you are accepted into the beta program, you will receive the update to the HyperOS 4 beta over-the-air. Note, however, that if you ever want to go back to the stable version of HyperOS 3, you can only do so by flashing the firmware manually.
On September 17, recruitment for the HyperOS 4 beta will expand to the Xiaomi 17T, Xiaomi 17T Pro, Xiaomi 15, and Xiaomi 15 Ultra. All of the details are available at the Source link below.
Source

