Add pif.json file

This commit is contained in:
chiteroman
2024-08-15 15:23:47 +02:00
parent 9894352e57
commit 5bf97e32f7
2 changed files with 15 additions and 0 deletions

View File

@@ -104,3 +104,8 @@ if [ ! -f "$CONFIG_DIR/target.txt" ]; then
extract "$ZIPFILE" 'target.txt' "$TMPDIR"
mv "$TMPDIR/target.txt" "$CONFIG_DIR/target.txt"
fi
if [ ! -f "$CONFIG_DIR/pif.json" ]; then
ui_print "- Adding pif json"
extract "$ZIPFILE" 'pif.json' "$TMPDIR"
mv "$TMPDIR/pif.json" "$CONFIG_DIR/pif.json"
fi

10
module/template/pif.json Normal file
View File

@@ -0,0 +1,10 @@
{
"ID": "AP31.240617.015",
"BRAND": "google",
"DEVICE": "husky",
"FINGERPRINT": "google/husky_beta/husky:15/AP31.240617.015/12207491:user/release-keys",
"MANUFACTURER": "Google",
"MODEL": "Pixel 8 Pro",
"PRODUCT": "husky_beta",
"SECURITY_PATCH": "2024-08-05"
}