Skip to content

odex strategy failed, classic gives 502 error #27

@Alistair1231

Description

@Alistair1231

502 indicates a server issue, doesn't it?
In the odex part it doesn't show a curl issue.
Here is my log

- Copying zip to temp directory
- Installing NFCScreenOff-v0.3.3.zip
- Device is system-as-root
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
 inflating: module.prop
****************
NFC Screen Off 
****************
*******************
Powered by Magisk 
*******************
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
 inflating: customize.sh
- Extracting module files
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  creating: bin/
 inflating: bin/zip
 inflating: bin/curl
 inflating: customize.sh
 inflating: module.prop
 inflating: service.sh
  creating: system/
 inflating: system/placeholder
-- Searching for NFC app in /system/app/ and /system/system_ext/app/ folders...
-- NfcNci.apk found!
-- Device info --
APK_NAME=NfcNci
MANUFACTURER=Xiaomi
MODEL=POCO F2 Pro
DEVICE=lmi
ROM=ro.lineage.20.0
-----------------
-- Searching for NfcNci.apk backup...
-- NfcNci_bak.apk not found. Creating backup of original NfcNci.apk.
-- Searching for NfcNci.odex backup...
-- NfcNci_bak.odex not found. Creating backup of original NfcNci.odex.
-- Searching for NfcNci.vdex backup...
-- NfcNci_bak.vdex not found. Creating backup of original NfcNci.vdex.
-- Searching for custom NfcNci.apk in extracted files...
-- NfcNci_align.apk not found.
-- Zipping NfcNci.apk and device's framework (/data/adb/modules_update/NFCScreenOff/bin/zip)
 adding: .env (deflated 1%)
 adding: NfcNci.apk (deflated 65%)
 adding: framework-res.apk (deflated 44%)
-- Uploading device's apks for modding (/system/bin/curl), it may take a while (20Mb)
 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                Dload  Upload   Total   Spent    Left  Speed

 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
24 20.2M    0     0   24 5120k      0  4217k  0:00:04  0:00:01  0:00:03 4217k
28 20.2M    0     0   28 5824k      0  2796k  0:00:07  0:00:02  0:00:05 2795k
46 20.2M    0     0   46 9728k      0  3207k  0:00:06  0:00:03  0:00:03 3207k
68 20.2M    0     0   68 13.9M      0  3543k  0:00:05  0:00:04  0:00:01 3543k
90 20.2M    0     0   90 18.3M      0  3739k  0:00:05  0:00:05 --:--:-- 3761k
100 20.2M    0     0  100 20.2M      0  3170k  0:00:06  0:00:06 --:--:-- 2932k
100 20.2M    0     0  100 20.2M      0  2773k  0:00:07  0:00:07 --:--:-- 2765k
curl: (22) The requested URL returned error: 502
-- Classic modding failed, trying odex strategy
-- Adding whole framework folder and odex/vdex files to archive
 adding: .env (deflated 1%)
 adding: NfcNci.apk (deflated 65%)
 adding: NfcNci.odex (deflated 86%)
 adding: NfcNci.vdex (deflated 55%)
 adding: arm64/ (stored 0%)
 adding: arm64/boot-ims-common.oat (deflated 92%)
 adding: arm64/boot-telephony-common.art (deflated 32%)
 adding: arm64/boot-apache-xml.vdex (deflated 49%)
 adding: arm64/boot-bouncycastle.vdex (deflated 52%)
 adding: arm64/boot-framework-graphics.oat (deflated 94%)
 adding: arm64/boot-framework.vdex (deflated 52%)
 adding: arm64/boot-core-libart.vdex (deflated 44%)
 adding: arm64/boot.art (deflated 24%)
 adding: arm64/boot-framework-graphics.vdex (deflated 31%)
 adding: arm64/boot.vdex (deflated 44%)
 adding: arm64/boot-telephony-ext.vdex (deflated 54%)
 adding: arm64/boot-telephony-common.oat (deflated 89%)
 adding: arm64/boot.oat (deflated 58%)
 adding: arm64/boot-core-libart.oat (deflated 61%)
 adding: arm64/boot-bouncycastle.art (deflated 25%)
 adding: arm64/boot-voip-common.vdex (deflated 51%)
 adding: arm64/boot-apache-xml.oat (deflated 91%)
 adding: arm64/boot-bouncycastle.oat (deflated 63%)
 adding: arm64/boot-okhttp.vdex (deflated 42%)
 adding: arm64/boot-voip-common.art (deflated 32%)
 adding: arm64/boot-telephony-common.vdex (deflated 58%)
 adding: arm64/boot-framework-graphics.art (deflated 92%)
 adding: arm64/boot-okhttp.art (deflated 31%)
 adding: arm64/boot-ext.vdex (deflated 42%)
 adding: arm64/boot-telephony-ext.oat (deflated 95%)
 adding: arm64/boot-framework.art (deflated 33%)
 adding: arm64/boot-apache-xml.art (deflated 96%)
 adding: arm64/boot-core-icu4j.vdex (deflated 44%)
 adding: arm64/boot-ims-common.art (deflated 28%)
 adding: arm64/boot-core-icu4j.oat (deflated 55%)
 adding: arm64/boot-telephony-ext.art (deflated 96%)
 adding: arm64/boot-WfdCommon.art (deflated 96%)
 adding: arm64/boot-voip-common.oat (deflated 90%)
 adding: arm64/boot-okhttp.oat (deflated 59%)
 adding: arm64/boot-framework.oat (deflated 58%)
 adding: arm64/boot-ims-common.vdex (deflated 48%)
 adding: arm64/boot-WfdCommon.vdex (deflated 36%)
 adding: arm64/boot-WfdCommon.oat (deflated 95%)
 adding: arm64/boot-core-libart.art (deflated 27%)
 adding: arm64/boot-core-icu4j.art (deflated 26%)
 adding: arm64/boot-ext.art (deflated 37%)
 adding: arm64/boot-ext.oat (deflated 64%)
/
-- Uploading archive for odex modding (/system/bin/curl), it may take a while (14Mb)
 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                Dload  Upload   Total   Spent    Left  Speed

 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 9 14.8M    0     0    9 1408k      0  3553k  0:00:04 --:--:--  0:00:04 3555k
53 14.8M    0     0   53 8064k      0  5375k  0:00:02  0:00:01  0:00:01 5376k
80 14.8M    0     0   80 12.0M      0  5174k  0:00:02  0:00:02 --:--:-- 5173k
100 14.8M    0     0  100 14.8M      0  3601k  0:00:04  0:00:04 --:--:-- 3602k
100 14.8M    0     0  100 14.8M      0  3208k  0:00:04  0:00:04 --:--:-- 3208k
curl: (22) The requested URL returned error: 502
!! Odex strategy failed.
! Installation failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions