Use name instead device

On some devices, device and name use different values, which prevents the safetynet test from passing
This commit is contained in:
Василий Ковалёв 2021-10-07 20:56:42 +03:00 committed by GitHub
parent d0355b6dd5
commit f514e1c231
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -681,8 +681,8 @@ if [ -f /system/phh/secure ];then
copyprop ro.product.device ro.product.vendor.device copyprop ro.product.device ro.product.vendor.device
copyprop ro.product.system.name ro.vendor.product.name copyprop ro.product.system.name ro.vendor.product.name
copyprop ro.product.name ro.vendor.product.name copyprop ro.product.name ro.vendor.product.name
copyprop ro.product.system.name ro.product.vendor.device copyprop ro.product.system.name ro.product.vendor.name
copyprop ro.product.name ro.product.vendor.device copyprop ro.product.name ro.product.vendor.name
copyprop ro.system.product.brand ro.vendor.product.brand copyprop ro.system.product.brand ro.vendor.product.brand
copyprop ro.product.brand ro.vendor.product.brand copyprop ro.product.brand ro.vendor.product.brand
copyprop ro.product.system.model ro.vendor.product.model copyprop ro.product.system.model ro.vendor.product.model