The HP Envy X360 15-bq102ng was released in 2017. It has a Ryzen Mobile 5 2500u with an integrated Vega 8 GPU and 8GB of DDR4 RAM.
This laptop has Secure Boot enabled by default. To start the installer you need to disable it in the UEFI. Then you can just boot the installer in UEFI mode and just install like a normal UEFI system.
Battery and Power Management
On Linux 4.17 I get about 5 hours on light load, like watching youtube. Installingis a good idea. Suspend and Hibernate works.
You currently need to install  written in C.and reboot to make the orientation sensor work. This will disable the keyboard and touchpad, and invert the side volume buttons when the screen is held at the right orientation or is folded. The Gnome desktop environment does support the rotation natively. Other desktop enviroments may need extra software. You could compile and use this daemon
Built-in NVMe drive works with advertised speed. Blockdevices are loacated at
/dev/nvme0n1p*. There is an empty bay for an additional SATA 2.5 inch drive, but you have to buy a proprietary cable.
On some devices the laptop freezes randomly (e.g. when surfing on Youtube). A workaround is to set these kernel parameters: