Build properties
https://developer.android.com/reference/android/os/Build (opens in a new tab)
Manufacturer
sget-object ([pv]\d+), Landroid/os/Build;->MANUFACTURER:Ljava/lang/String;
Replace:
const-string $1, "Xiaomi"
Brand
sget-object ([pv]\d+), Landroid/os/Build;->BRAND:Ljava/lang/String;
Replace:
const-string $1, "Xiaomi"
Model
sget-object ([pv]\d+), Landroid/os/Build;->MODEL:Ljava/lang/String;
Replace:
const-string $1, "Redmi K20 Pro"
Product
sget-object ([pv]\d+), Landroid/os/Build;->PRODUCT:Ljava/lang/String;
Replace:
const-string $1, "raphael"
Device
sget-object ([pv]\d+), Landroid/os/Build;->DEVICE:Ljava/lang/String;
Replace:
const-string $1, "raphael"
Board
sget-object ([pv]\d+), Landroid/os/Build;->BOARD:Ljava/lang/String;
Replace:
const-string $1, "raphael"
Radio
invoke-static \{\}, Landroid/os/Build;->getRadioVersion\(\)Ljava/lang/String;\n\n move-result-object ([pv]\d+)
Or
Search:
sget-object ([pv]\d+), Landroid/os/Build;->RADIO:Ljava/lang/String;
Replace:
const-string $1, "Unknown"
Hardware
sget-object ([pv]\d+), Landroid/os/Build;->HARDWARE:Ljava/lang/String;
Replace:
const-string $1, "qcom"
Bootloader
sget-object ([pv]\d+), Landroid/os/Build;->BOOTLOADER:Ljava/lang/String;
Replace:
const-string $1, "Unknown"
Fingerprint
sget-object ([pv]\d+), Landroid/os/Build;->FINGERPRINT:Ljava/lang/String;
Replace:
const-string $1, "Xiaomi/raphael/raphael:11/RKQ1.200826.002/V12.5.4.0.RFKCNXM:user/release-keys"
ID
sget-object ([pv]\d+), Landroid/os/Build;->ID:Ljava/lang/String;
Replace:
const-string $1, "RKQ1.200826.002"
Serial
sget-object ([pv]\d+), Landroid/os/Build;->SERIAL:Ljava/lang/String;
Replace:
const-string $1, "Unknown"
Sim
Search:
(getNetworkOperatorName|getSimOperatorName).+Ljava.lang.String;\n\n\s{4}move-result-object ([v|p]\d+)
Replace:
$1\()\Ljava\/lang\/String;\n\n\ \ \ \ const-string $2, "T-Mobile"
getNetworkOperatorCode:
Search:
(getSimOperator|getNetworkOperator).+Ljava.lang.String;\n\n\s{4}move-result-object ([v|p]\d+)
Replace:
$1\()\Ljava\/lang\/String;\n\n\ \ \ \ const-string $2, "310160"
Sim region us regex:
Search:
(getSimCountryIso|getNetworkCountryIso).+Ljava.lang.String;\n\n\s{4}move-result-object ([v|p]\d+)
Replace:
$1\()\Ljava\/lang\/String;\n\n\ \ \ \ const-string $2, "us"