change device

This commit is contained in:
Administrator 2025-07-04 18:41:44 +08:00
parent 3c50b9b90c
commit a8a8dd9040
1 changed files with 7 additions and 6 deletions

View File

@ -115,12 +115,13 @@ object ChangeDeviceInfoUtil {
ShellUtils.execRootCmd("setprop ro.product.device ${device.device}")
ShellUtils.execRootCmd("setprop ro.product.name ${device.expand.roProductName}")
ShellUtils.execRootCmd("setprop ro.build.version.incremental ${device.expand.incremental}")
ShellUtils.execRootCmd("setprop ro.build.fingerprint ${device.expand.roBootimageBuildFingerprint}")
ShellUtils.execRootCmd("setprop ro.odm.build.fingerprint ${device.expand.roBootimageBuildFingerprint}")
ShellUtils.execRootCmd("setprop ro.product.build.fingerprint ${device.expand.roBootimageBuildFingerprint}")
ShellUtils.execRootCmd("setprop ro.system.build.fingerprint ${device.expand.roBootimageBuildFingerprint}")
ShellUtils.execRootCmd("setprop ro.system_ext.build.fingerprint ${device.expand.roBootimageBuildFingerprint}")
ShellUtils.execRootCmd("setprop ro.vendor.build.fingerprint ${device.expand.roBootimageBuildFingerprint}")
ShellUtils.execRootCmd("setprop ro.build.fingerprint ${device.expand.fingerprint}")
ShellUtils.execRootCmd("setprop ro.bootimage.build.fingerprint ${device.expand.roBootimageBuildFingerprint}")
ShellUtils.execRootCmd("setprop ro.odm.build.fingerprint ${device.expand.fingerprint}")
ShellUtils.execRootCmd("setprop ro.product.build.fingerprint ${device.expand.fingerprint}")
ShellUtils.execRootCmd("setprop ro.system.build.fingerprint ${device.expand.fingerprint}")
ShellUtils.execRootCmd("setprop ro.system_ext.build.fingerprint ${device.expand.fingerprint}")
ShellUtils.execRootCmd("setprop ro.vendor.build.fingerprint ${device.expand.fingerprint}")
ShellUtils.execRootCmd("setprop ro.board.platform ${device.expand.roBoardPlatform}")
// 修改drm id