Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
required: true
type: boolean
push:
branches: [ master ]
branches: [ main ]
tags: [ v* ]
pull_request:
merge_group:
Expand Down
10 changes: 6 additions & 4 deletions magisk-loader/magisk_module/action.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
DEFAULT_MANAGER_PACKAGE_NAME=org.lsposed.manager
INJECTED_PACKAGE_NAME=com.android.shell

am start -c "${DEFAULT_MANAGER_PACKAGE_NAME}.LAUNCH_MANAGER" "${INJECTED_PACKAGE_NAME}/.BugreportWarningActivity"
API=$(getprop ro.build.version.sdk)
if [ "$API" -ge 29 ]; then
am broadcast -a android.telephony.action.SECRET_CODE -d android_secret_code://5776733 android
else
am broadcast -a android.provider.Telephony.SECRET_CODE -d android_secret_code://5776733 android
fi
10 changes: 0 additions & 10 deletions magisk-loader/magisk_module/customize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,6 @@ rm -f /data/adb/lspd/manager.apk
extract "$ZIPFILE" 'manager.apk' "$MODPATH"

if [ "$FLAVOR" == "zygisk" ]; then
# extract for KernelSU and APatch
if [ "$KSU" ] || [ "$APATCH" ]; then
# webroot only for zygisk
mkdir -p "$MODPATH/webroot"
extract "$ZIPFILE" "webroot/index.html" "$MODPATH/webroot" true
# evaluate if use awk or tr -s ' ' | cut -d' ' -f5
SRCJS=$(unzip -l "$ZIPFILE" | grep "webroot/src" | grep -v sha256 | awk '{print $4}')
extract "$ZIPFILE" "$SRCJS" "$MODPATH/webroot" true
fi

mkdir -p "$MODPATH/zygisk"

if [ "$ARCH" = "arm" ] || [ "$ARCH" = "arm64" ]; then
Expand Down
9 changes: 0 additions & 9 deletions magisk-loader/src/webroot/index.html

This file was deleted.

12 changes: 0 additions & 12 deletions magisk-loader/src/webroot/index.js

This file was deleted.