You've already forked TrickyStore
mirror of
https://github.com/5ec1cff/TrickyStore.git
synced 2025-09-06 06:37:07 +00:00
Enable spoof_build_vars on initial install to pass by default (#24)
* Enable spoof_build_vars on initial install to pass by default * Update default spoof_build_vars fingerprint
This commit is contained in:
22
README.md
22
README.md
@@ -42,25 +42,25 @@ format:
|
|||||||
|
|
||||||
> **Zygisk (or Zygisk Next) is needed for this feature to work.**
|
> **Zygisk (or Zygisk Next) is needed for this feature to work.**
|
||||||
|
|
||||||
If you still do not pass you can try enabling Build variable spoofing by creating the file `/data/adb/tricky_store/spoof_build_vars`.
|
If you still do not pass you can try enabling/disabling Build variable spoofing by creating/deleting the file `/data/adb/tricky_store/spoof_build_vars`.
|
||||||
|
|
||||||
Tricky Store will automatically generate example config props inside `/data/adb/tricky_store/spoof_build_vars` on next reboot, then you can manually edit your spoof config.
|
Tricky Store will automatically generate example config props inside `/data/adb/tricky_store/spoof_build_vars` once created, on next reboot, then you may manually edit your spoof config.
|
||||||
|
|
||||||
Here is an example of spoof config:
|
Here is an example of a spoof config:
|
||||||
|
|
||||||
```
|
```
|
||||||
MANUFACTURER=Google
|
MANUFACTURER=Google
|
||||||
MODEL=Pixel
|
MODEL=Pixel 8 Pro
|
||||||
FINGERPRINT=google/sailfish/sailfish:8.1.0/OPM1.171019.011/4448085:user/release-keys
|
FINGERPRINT=google/husky_beta/husky:15/AP31.240617.009/12094726:user/release-keys
|
||||||
BRAND=google
|
BRAND=google
|
||||||
PRODUCT=sailfish
|
PRODUCT=husky_beta
|
||||||
DEVICE=sailfish
|
DEVICE=husky
|
||||||
RELEASE=8.1.0
|
RELEASE=15
|
||||||
ID=OPM1.171019.011
|
ID=AP31.240617.009
|
||||||
INCREMENTAL=4448085
|
INCREMENTAL=12094726
|
||||||
TYPE=user
|
TYPE=user
|
||||||
TAGS=release-keys
|
TAGS=release-keys
|
||||||
SECURITY_PATCH=2017-12-05
|
SECURITY_PATCH=2024-07-05
|
||||||
```
|
```
|
||||||
|
|
||||||
## Support TEE broken devices
|
## Support TEE broken devices
|
||||||
|
|||||||
@@ -257,16 +257,16 @@ static void companion_handler(int fd) {
|
|||||||
constexpr auto kDefaultSpoofConfig =
|
constexpr auto kDefaultSpoofConfig =
|
||||||
R"EOF(MANUFACTURER=Google
|
R"EOF(MANUFACTURER=Google
|
||||||
MODEL=Pixel
|
MODEL=Pixel
|
||||||
FINGERPRINT=google/sailfish/sailfish:8.1.0/OPM1.171019.011/4448085:user/release-keys
|
FINGERPRINT=google/sailfish/sailfish:10/QPP3.190404.015/5505587:user/release-keys
|
||||||
BRAND=google
|
BRAND=google
|
||||||
PRODUCT=sailfish
|
PRODUCT=sailfish
|
||||||
DEVICE=sailfish
|
DEVICE=sailfish
|
||||||
RELEASE=8.1.0
|
RELEASE=10
|
||||||
ID=OPM1.171019.011
|
ID=QPP3.190404.015
|
||||||
INCREMENTAL=4448085
|
INCREMENTAL=5505587
|
||||||
TYPE=user
|
TYPE=user
|
||||||
TAGS=release-keys
|
TAGS=release-keys
|
||||||
SECURITY_PATCH=2017-12-05
|
SECURITY_PATCH=2019-05-05
|
||||||
)EOF"sv;
|
)EOF"sv;
|
||||||
struct stat st{};
|
struct stat st{};
|
||||||
int enabled = stat(kSpoofConfigFile.data(), &st) == 0;
|
int enabled = stat(kSpoofConfigFile.data(), &st) == 0;
|
||||||
|
|||||||
@@ -93,6 +93,7 @@ CONFIG_DIR=/data/adb/tricky_store
|
|||||||
if [ ! -d "$CONFIG_DIR" ]; then
|
if [ ! -d "$CONFIG_DIR" ]; then
|
||||||
ui_print "- Creating configuration directory"
|
ui_print "- Creating configuration directory"
|
||||||
mkdir -p "$CONFIG_DIR"
|
mkdir -p "$CONFIG_DIR"
|
||||||
|
[ ! -f "$CONFIG_DIR/spoof_build_vars" ] && touch "$CONFIG_DIR/spoof_build_vars"
|
||||||
fi
|
fi
|
||||||
if [ ! -f "$CONFIG_DIR/keybox.xml" ]; then
|
if [ ! -f "$CONFIG_DIR/keybox.xml" ]; then
|
||||||
ui_print "- Adding default software keybox"
|
ui_print "- Adding default software keybox"
|
||||||
|
|||||||
Reference in New Issue
Block a user