first install magisks (through TWRP / zip (just rename the .apk to .zip) or using the APK itself, in order to get root. Reboot phone, put both attached files in your downloads folder, enable developer options and run adb shell: (or from your phone locally using a terminal app like connectbot):
adb shell
su -
remount
cp /sdcard/Download/
com.sony.device.jar /system/framework
cp /sdcard/Download/
com.sony.device.xml /system/etc/permissions
chmod 644 /system/framework/
com.sony.device.jar
chmod 644 /system/etc/permissions/
com.sony.device.xml
reboot
You can remove magisk and developer options if you want to unroot. I personally don't have my phone rooted.