mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-10-31 09:20:23 +00:00
Revert "use dexpatcher 1.8.0-beta1 for all SDKs"
This reverts commit fc0a34a3a4
.
This commit is contained in:
parent
8966bf81fd
commit
10329b1c53
@ -385,7 +385,11 @@ detect_sdk () {
|
||||
SMALI="${BASEDIR}/smali_23.dex"
|
||||
fi
|
||||
|
||||
DEXPATCHER="${BASEDIR}/dexpatcher.dex"
|
||||
if [ "${SDK_VERSION}" -gt 25 ]; then
|
||||
DEXPATCHER="${BASEDIR}/dexpatcher_26.dex"
|
||||
else DEXPATCHER="${BASEDIR}/dexpatcher_19.dex"
|
||||
fi
|
||||
|
||||
PATCH_CORE="${BASEDIR}/core_services.jar.dex"
|
||||
|
||||
if [ "${SDK_VERSION}" -lt 24 ]; then
|
||||
@ -626,18 +630,13 @@ install_addond () {
|
||||
rm -rf ${PATCHER_ADDOND_DATA}
|
||||
mkdir -p ${PATCHER_ADDOND_DATA}
|
||||
|
||||
# remove old NanoMod stuff
|
||||
[ -d /data/nanomod.patcher ] && rm -rf /data/nanomod.patcher
|
||||
[ -d /data/adb/nanomod_patcher ] && rm -rf /data/nanomod_patcher
|
||||
rm -f /system/addon.d/75-nanomodpatcher.sh \
|
||||
/system/addon.d/75-nanodroidpatcher.sh \
|
||||
/system/addon.d/999-nanodroidpatcher.sh
|
||||
|
||||
# remove old, unused dexpatcher instances
|
||||
rm -f ${PATCHER_ADDOND_DATA}/dexpatcher_19.dex \
|
||||
${PATCHER_ADDOND_DATA}/dexpatcher_26.dex
|
||||
|
||||
for file in core_services.jar.dex dexpatcher.dex \
|
||||
for file in core_services.jar.dex dexpatcher_19.dex dexpatcher_26.dex \
|
||||
hook_4.1-6.0_services.jar.dex hook_7.0-10.0_services.jar.dex \
|
||||
baksmali_23.dex baksmali_25.dex baksmali_26.dex \
|
||||
smali_23.dex smali_25.dex smali_26.dex \
|
||||
|
Binary file not shown.
BIN
patcher/dexpatcher/dexpatcher_19.dex
Normal file
BIN
patcher/dexpatcher/dexpatcher_19.dex
Normal file
Binary file not shown.
BIN
patcher/dexpatcher/dexpatcher_26.dex
Normal file
BIN
patcher/dexpatcher/dexpatcher_26.dex
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user