forked from j-hc/zygisk-detach
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
11 changed files
with
99 additions
and
61 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,5 +17,6 @@ local.properties | |
b.sh | ||
test* | ||
magisk/system/bin/* | ||
fast-memmem | ||
*.log | ||
*.log | ||
zygisk-rust | ||
aidl/*.aidl* |
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
BRANCHES=(android10-release android11-release android12-release android13-release android14-release) | ||
for B in "${BRANCHES[@]}"; do | ||
N=IPackageManager.aidl_$B | ||
if [ -f "$N" ]; then continue; fi | ||
U="https://android.googlesource.com/platform/frameworks/base/+/refs/heads/$B/core/java/android/content/pm/IPackageManager.aidl?format=TEXT" | ||
curl "$U" | base64 --decode >"$N" | ||
done | ||
|
||
BRANCHES+=(android9) # android9 does not have a seperate branch, only a tag, dl manually | ||
for B in "${BRANCHES[@]}"; do | ||
N=IPackageManager.aidl_$B | ||
CODE=$(cat "$N" | sed '0,/^interface /d' | sed '/PackageInfo getPackageInfo/Q' | grep -c ';') | ||
CODE=$((CODE + 1)) | ||
D=$(cut -d- -f1 <<<"$B") | ||
echo "#define getPackageInfo_${D}_code $CODE" | ||
done | ||
|
||
# generates java with "aidl" binary. but parsing the files with with sed is easier tbh | ||
# AIDL_SRC=$(pwd)/aidl-src | ||
# OUT_DIR=$(pwd)/aidl-out | ||
# function pull_aidl() { | ||
# for B in "${BRANCHES[@]}"; do | ||
# echo "clone $B" | ||
# CLOUT=$AIDL_SRC/$B | ||
# if [ -d $CLOUT ]; then continue; fi | ||
# git clone --depth 1 -b $B https://android.googlesource.com/platform/frameworks/base $CLOUT | ||
# git clone --depth 1 -b $B https://android.googlesource.com/platform/frameworks/native $CLOUT | ||
# done | ||
# } | ||
# ( | ||
# cd $AIDL_SRC/base | ||
# ~/Android/Sdk/build-tools/34.0.0/aidl --lang=java ./core/java/android/content/pm/IPackageManager.aidl --out $OUT_DIR -I. -I./core/java -I./graphics/java/ -I../native/aidl/binder/ | ||
# ) |
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
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,7 +1,7 @@ | ||
id=zygisk-detach | ||
name=zygisk-detach | ||
version=v1.11.0 | ||
versionCode=14 | ||
version=v1.16.0 | ||
versionCode=19 | ||
author=j-hc | ||
description=Detaches installed apps from Play Store | ||
updateJson=https://raw.githubusercontent.com/kazimmt/zygisk-detach/master/update.json |
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 @@ | ||
{ | ||
"version": "v1.11.0", | ||
"versionCode": 14, | ||
"zipUrl": "https://github.com/kazimmt/zygisk-detach/releases/latest/download/zygisk-detach-v1.11.0.zip", | ||
"version": "v1.16.0", | ||
"versionCode": 19, | ||
"zipUrl": "https://github.com/kazimmt/zygisk-detach/releases/latest/download/zygisk-detach-v1.16.0.zip", | ||
"changelog": "https://raw.githubusercontent.com/kazimmt/zygisk-detach/master/README.md" | ||
} |
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
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