linusyang92 / mipay-extract

Extract Mi Pay from MIUI China Rom
408 stars 143 forks source link

System ERROR: Unknown error -2147024872, Can't find file: system/app/Mipay/oat/arm64/Mipay.odex/ #42

Open SimZhou opened 5 years ago

SimZhou commented 5 years ago

Hi, I am trying to extract mipay from miui-MI8-V10.3.6.0 (MIUI 10) to miui-MI8Global-V10.3.4.0 (MIUI 10), and here is what I get:

My system is Windows 10 Professional x64, ver. 10.0.18362.

--> rom: MI8 vV10.3.6.0.PEACNXM

7-Zip [32] 15.14 : Copyright (c) 1999-2015 Igor Pavlov : 2015-12-31
p7zip Version 15.14.1 (locale=zh_CN,Utf16=on,HugeFiles=on,32 bits,8 CPUs Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (806EA),ASM,AES-NI)

Scanning the drive for archives:
1 file, 2173521542 bytes (2073 MiB)

Extracting archive: ../miui_MI8_V10.3.6.0.PEACNXM_e038f4ac7a_9.0.zip
--
Path = ../miui_MI8_V10.3.6.0.PEACNXM_e038f4ac7a_9.0.zip
Type = zip
Physical Size = 2173521542
Comment = signed by SignApk

Everything is Ok

Files: 2
Size:       1592357067
Compressed: 2173521542
sdat2img binary - version: 1.0

Android Nougat 7.x / Oreo 8.x detected!

extracting |################################| 100%
[?25hDone! Output image: miui-MI8-V10.3.6.0.PEACNXM-system.img
--> image extracted: miui-MI8-V10.3.6.0.PEACNXM-system.img
--> copying apps
----> copying Mipay...
----> copying NextPay...
----> copying TSMClient...
----> copying UPTsmService...
--> framework arch: arm64
--> vdex detected
--> deodexing Mipay...
[INFO] Processing 1 file(s) from Mipay.vdex
[INFO] 1 out of 1 Vdex files have been processed
[INFO] 1 Dex files have been extracted in total
[INFO] Extracted Dex files are available in '.'
----> prepare ./flinux.exe
----> prepare compact_dex_converter_linux
----> Opened 'classes.cdex', DEX version '001'
compact_dex_converter_linux I 09-13 04:47:34  5688     2 compact_dex_converter_main.cc:172] StandardDex file successfull
y extracted to classes.cdex.new
----> classes: classes.dex
 'classes.dex' as 'classes.dex'...
--> vdex detected
--> deodexing NextPay...
[INFO] Processing 1 file(s) from NextPay.vdex
[INFO] 1 out of 1 Vdex files have been processed
[INFO] 1 Dex files have been extracted in total
[INFO] Extracted Dex files are available in '.'
----> prepare ./flinux.exe
----> prepare compact_dex_converter_linux
----> Opened 'classes.cdex', DEX version '001'
compact_dex_converter_linux I 09-13 04:47:38  3524     2 compact_dex_converter_main.cc:172] StandardDex file successfull
y extracted to classes.cdex.new
----> classes: classes.dex
 'classes.dex' as 'classes.dex'...
----> copy native library libentryexpro.so
----> copy native library libuptsmaddonmi.so
--> vdex detected
--> deodexing TSMClient...
[INFO] Processing 1 file(s) from TSMClient.vdex
[INFO] 1 out of 1 Vdex files have been processed
[INFO] 1 Dex files have been extracted in total
[INFO] Extracted Dex files are available in '.'
----> prepare ./flinux.exe
----> prepare compact_dex_converter_linux
----> Opened 'classes.cdex', DEX version '001'
compact_dex_converter_linux I 09-13 04:47:41  2472     2 compact_dex_converter_main.cc:172] StandardDex file successfull
y extracted to classes.cdex.new
----> classes: classes.dex
 'classes.dex' as 'classes.dex'...
--> vdex detected
--> already deodexed UPTsmService
----> extract native library...
--> packaging flashable zip
--> done
--> rom: MI8Global vV10.3.4.0.PEAMIXM

7-Zip [32] 15.14 : Copyright (c) 1999-2015 Igor Pavlov : 2015-12-31
p7zip Version 15.14.1 (locale=zh_CN,Utf16=on,HugeFiles=on,32 bits,8 CPUs Intel(R) Core(TM) i7-8550U ),ASM,AES-NI) (806EA

Scanning the drive for archives:
1 file, 1901046491 bytes (1813 MiB)

Extracting archive: ../miui_MI8Global_V10.3.4.0.PEAMIXM_51a7ff309d_9.0.zip
--
Path = ../miui_MI8Global_V10.3.4.0.PEAMIXM_51a7ff309d_9.0.zip
Type = zip
Physical Size = 1901046491
Comment = signed by SignApk

Everything is Ok

Files: 2
Size:       1387561902
Compressed: 1901046491
sdat2img binary - version: 1.0

Android Nougat 7.x / Oreo 8.x detected!

extracting |################################| 100%
[?25hDone! Output image: miui-MI8Global-V10.3.4.0.PEAMIXM-system.img
--> image extracted: miui-MI8Global-V10.3.4.0.PEAMIXM-system.img
--> copying apps
----> copying Mipay...
----> copying NextPay...
----> copying TSMClient...
----> copying UPTsmService...
--> framework arch: arm64

ERROR: No more files
system/app

System ERROR:
Unknown error -2147024872
--> deodexing Mipay...
----> classes:
basename: missing operand
Try 'basename --help' for more information.
Can't find file: system/app/Mipay/oat/arm64/Mipay.odex/
--> abort
--> clean deodex
请按任意键继续. . .
zieglar commented 4 years ago

same here


--> rom: MI5SPlusGlobal vV10.2.4.0.OBGMIXM

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=utf8,Utf16=on,HugeFiles=on,64 bits,8 CPUs Intel(R) Core(TM) i7-4960HQ CPU @ 2.60GHz (40661),ASM,AES-NI)

Scanning the drive for archives:
1 file, 1618733322 bytes (1544 MiB)

Extracting archive: ../miui_MI5SPlusGlobal_V10.2.4.0.OBGMIXM_d3a51ce7d3_8.0.zip
--
Path = ../miui_MI5SPlusGlobal_V10.2.4.0.OBGMIXM_d3a51ce7d3_8.0.zip
Type = zip
Physical Size = 1618733322
Comment = signed by SignApk

Everything is Ok

Files: 2
Size:       3050180332
Compressed: 1618733322
sdat2img binary - version: 1.0

Android Nougat 7.x / Oreo 8.x detected!

extracting |################################| 100%
Done! Output image: miui-MI5SPlusGlobal-V10.2.4.0.OBGMIXM-system.img
--> image extracted: miui-MI5SPlusGlobal-V10.2.4.0.OBGMIXM-system.img
--> copying apps
----> copying Mipay...
----> copying NextPay...
----> copying TSMClient...
----> copying UPTsmService...
----> copying priv-app/PersonalAssistant...
----> copying app/MetokNLP...
--> framework arch: arm64

ERROR: No more files
system/app

System ERROR:
Unknown error: -2147024872
--> deodexing Mipay...
----> classes:
usage: basename string [suffix]
       basename [-a] [-s suffix] string [...]
Can't find file: system/app/Mipay/oat/arm64/Mipay.odex/
--> abort
--> clean deodex```
zhubian commented 4 years ago

Same in K20Pro

--> rom: DAVINCI vV11.0.6.0.QFJCNXM

7-Zip [32] 15.14 : Copyright (c) 1999-2015 Igor Pavlov : 2015-12-31
p7zip Version 15.14.1 (locale=C.UTF-8,Utf16=on,HugeFiles=on,32 bits,8 CPUs Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (906E9),ASM,AES-NI)

Scanning the drive for archives:
1 file, 2592166870 bytes (2473 MiB)

Extracting archive: ../miui_DAVINCI_V11.0.6.0.QFJCNXM_1950959fdb_10.0.zip
--
Path = ../miui_DAVINCI_V11.0.6.0.QFJCNXM_1950959fdb_10.0.zip
Type = zip
Physical Size = 2592166870
Comment = signed by SignApk

Everything is Ok

Files: 2
Size:       1770490213
Compressed: 2592166870
sdat2img binary - version: 1.0

Android Nougat 7.x / Oreo 8.x detected!

extracting |################################| 100%
[?25hDone! Output image: miui-DAVINCI-V11.0.6.0.QFJCNXM-system.img
--> image extracted: miui-DAVINCI-V11.0.6.0.QFJCNXM-system.img
--> copying apps
----> copying Mipay...
----> copying NextPay...
----> copying TSMClient...
----> copying UPTsmService...
grep: system/build.prop: No such file or directory

ERROR: No more files
system/app

System ERROR:
Unknown error -2147024872
--> deodexing Mipay...
----> classes:
basename: missing operand
Try 'basename --help' for more information.
Can't find file: system/app/Mipay/oat/arm64/Mipay.odex/
--> abort
--> clean deodex
Young-Lord commented 3 years ago

same in Redmi K30 5G

--> rom: PICASSO vV12.0.5.0.QGICNXM

7-Zip [32] 15.14 : Copyright (c) 1999-2015 Igor Pavlov : 2015-12-31
p7zip Version 15.14.1 (locale=C.UTF-8,Utf16=on,HugeFiles=on,32 bits,8 CPUs Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (806EA),ASM,AES-NI)

Scanning the drive for archives:
1 file, 3096531269 bytes (2954 MiB)

Extracting archive: ../miui_PICASSO_V12.0.5.0.QGICNXM_a6f920de6b_10.0.zip
--
Path = ../miui_PICASSO_V12.0.5.0.QGICNXM_a6f920de6b_10.0.zip
Type = zip
Physical Size = 3096531269
Comment = signed by SignApk

Everything is Ok

Files: 2
Size:       2034310109
Compressed: 3096531269
sdat2img binary - version: 1.0

Android Nougat 7.x / Oreo 8.x detected!

extracting |################################| 100%
[?25hDone! Output image: miui-PICASSO-V12.0.5.0.QGICNXM-system.img
--> image extracted: miui-PICASSO-V12.0.5.0.QGICNXM-system.img
--> copying apps
----> copying Mipay...
----> copying NextPay...
----> copying TSMClient...
----> copying UPTsmService...
----> copying MiuiSuperMarket...
----> copying VoiceAssist...
grep: system/build.prop: No such file or directory

ERROR: No more files
system/app

System ERROR:
Unknown error -2147024872
--> deodexing Mipay...
----> classes:
basename: missing operand
Try 'basename --help' for more information.
Can't find file: system/app/Mipay/oat/arm64/Mipay.odex/
--> abort
--> clean deodex