diff --git a/app/src/main/cpp/main.cpp b/app/src/main/cpp/main.cpp index 6dccd8f..fda3602 100644 --- a/app/src/main/cpp/main.cpp +++ b/app/src/main/cpp/main.cpp @@ -300,23 +300,19 @@ private: json.erase("FIRST_API_LEVEL"); + } else if (json.contains("DEVICE_INITIAL_SDK_INT")) { + + if (json["DEVICE_INITIAL_SDK_INT"].is_number_integer()) { + + FIRST_API_LEVEL = std::to_string(json["DEVICE_INITIAL_SDK_INT"].get()); + + } else if (json["DEVICE_INITIAL_SDK_INT"].is_string()) { + + FIRST_API_LEVEL = json["DEVICE_INITIAL_SDK_INT"].get(); + } } else { - if (json.contains("DEVICE_INITIAL_SDK_INT")) { - - if (json["DEVICE_INITIAL_SDK_INT"].is_number_integer()) { - - FIRST_API_LEVEL = std::to_string(json["DEVICE_INITIAL_SDK_INT"].get()); - - } else if (json["DEVICE_INITIAL_SDK_INT"].is_string()) { - - FIRST_API_LEVEL = json["DEVICE_INITIAL_SDK_INT"].get(); - } - - } else { - - LOGD("JSON file doesn't contain FIRST_API_LEVEL or DEVICE_INITIAL_SDK_INT keys :("); - } + LOGD("JSON file doesn't contain FIRST_API_LEVEL or DEVICE_INITIAL_SDK_INT keys :("); } if (json.contains("SECURITY_PATCH")) { diff --git a/changelog.md b/changelog.md index 2673063..8321d1d 100644 --- a/changelog.md +++ b/changelog.md @@ -2,8 +2,11 @@ We have a Telegram group! If you want to share your knowledge join: https://t.me/playintegrityfix -# v15.3 +# v15.4 -- New way to spoof field values! -- Update code logic. -- Fixed few bugs. +- Spoof Kernel release name! (uname hook) +- Xiaomi.eu spoofing apps are now replaced correctly! +- Fixed BUILD_ID / ID spoof code. +- Added DEVICE_INITIAL_SDK_INT spoof support from @osm0sis fork! +- New way to spoof Java fields from Zygisk. +- Using Dobby instead ShadowHook due issues... \ No newline at end of file diff --git a/update.json b/update.json index d545798..2bb4852 100644 --- a/update.json +++ b/update.json @@ -1,6 +1,6 @@ { - "version": "v15.2", - "versionCode": 15200, - "zipUrl": "https://github.com/chiteroman/PlayIntegrityFix/releases/download/v15.2/PlayIntegrityFix_v15.2.zip", - "changelog": "https://raw.githubusercontent.com/chiteroman/PlayIntegrityFix/main/changelog.md" + "version": "v15.4", + "versionCode": 15400, + "zipUrl": "https://github.com/chiteroman/PlayIntegrityFix/releases/download/v15.4/PlayIntegrityFix_v15.4.zip", + "changelog": "https://raw.githubusercontent.com/chiteroman/PlayIntegrityFix/main/changelog.md" } \ No newline at end of file