realme – Change Phone Model on Android 10

I have Realme X2 (RMX1992) phone with Lineage OS 17.1 with root. and want to change my device model to Realme X2 Pro (RMX1931).

Have edited build.prop files in system and vendor folder with ro.product.model=RMX1931 , and also set global device name as below.

adb shell settings put global device_name RMX1931

But still my device is still recognized as RMX1992.