This repository has been archived by the owner on Jul 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow specify target application to inject
Let companion read target app list and send to apps. Default app is Key Attestation.
- Loading branch information
Showing
5 changed files
with
71 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
buildscript { | ||
val agp_version by extra("8.5.0") | ||
val agp_version by extra("8.5.1") | ||
} | ||
plugins { | ||
id("com.android.application") version "8.5.0" apply false | ||
id("com.android.application") version "8.5.1" apply false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#Thu Apr 18 12:59:17 CEST 2024 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip | ||
networkTimeout=10000 | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,17 @@ | ||
LIST="/data/adb/keystoreinjection/targetlist" | ||
|
||
# Error on < Android 14. | ||
if [ "$API" -lt 30]; then | ||
if [ "$API" -lt 30 ]; then | ||
abort "- !!! You can't use this module on Android < 11" | ||
fi | ||
|
||
mkdir -p /data/adb/keystoreinjection | ||
if [ ! -e "$LIST" ]; then | ||
echo "io.github.vvb2060.keyattestation" > "$LIST" | ||
fi | ||
|
||
ui_print "***********************************************************************" | ||
ui_print "- Please move keybox to /data/adb/keystoreinjection/keybox.xml" | ||
ui_print "- Please define target apps in /data/adb/keystoreinjection/targetlist" | ||
ui_print "- Format: one app per line" | ||
ui_print "***********************************************************************" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters