Rooting will affect to your Sony H4311 (2018) data. Before root, you need to create a backup and save all data such as images, videos, and files in a safe location. We will not be responsible for any bricking/damage to your phone while installing this ROM.