Patcher confirmed working (by users) on Android 10 [like on Android 9]

merge-requests/33/head
Christopher Roy Bratusek 4 years ago
parent 81e00736f7
commit 3627819739

@ -174,7 +174,8 @@ NanoDroid officially supports the following Android versions:
* Patcher works if your ROM's services.jar already contains classes.dex
* [> Deodex Instructions](doc/DeodexServices.md)
* 10.0 / SDK 29 (Q)
* Patcher does not yet support Android 10
* Patcher works if your ROM's services.jar already contains classes.dex
* [> Deodex Instructions](doc/DeodexServices.md)
earlier versions will never officially be supported (you may still report bugs, though).

@ -317,8 +317,8 @@ detect_arch () {
detect_sdk () {
SDK_VERSION=$(grep_prop ro.build.version.sdk)
[ "${SDK_VERSION}" -gt 28 ] && \
error "Android versions beyond Pie are not yet supported"
[ "${SDK_VERSION}" -gt 29 ] && \
error "Android versions beyond Android 10 are not yet supported"
[ "${SDK_VERSION}" -lt 16 ] && \
error "Android versions before Jelly Bean are not supported"
@ -345,8 +345,8 @@ detect_sdk () {
ui_print " > Android 4.1 - 6.0 (SDK ${SDK_VERSION}) detected"
PATCH_HOOK="${BASEDIR}/hook_4.1-6.0_services.jar.dex"
else
ui_print " > Android 7.0 - 9.0 (SDK ${SDK_VERSION}) detected"
PATCH_HOOK="${BASEDIR}/hook_7.0-9.0_services.jar.dex"
ui_print " > Android 7.0 - 10.0 (SDK ${SDK_VERSION}) detected"
PATCH_HOOK="${BASEDIR}/hook_7.0-10.0_services.jar.dex"
fi
[ "${SDK_VERSION}" -gt 21 ] && DEX_OPTS="--multi-dex-threaded"
@ -587,7 +587,7 @@ install_addond () {
/system/addon.d/999-nanodroidpatcher.sh
for file in core_services.jar.dex dexpatcher_19.dex dexpatcher_26.dex \
hook_4.1-6.0_services.jar.dex hook_7.0-9.0_services.jar.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 \
magic.mgc org.spoofing.apk; do

Loading…
Cancel
Save