linusyang92 / mipay-extract

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

Unable to extract from miui_MI8SE_8.8.31 #11

Closed DanielZhang17 closed 6 years ago

DanielZhang17 commented 6 years ago

Hi, I've downloaded the latest developer ROM for Mi 8 and tried to execute extract.sh in your repository. But it seems to quit with errors:

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,12 CPUs Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz (906EA),ASM,AES-NI)

Scanning the drive for archives:
1 file, 2178202777 bytes (2078 MiB)

Extracting archive: ../miui_MI8SE_8.8.31.zip
--
Path = ../miui_MI8SE_8.8.31.zip
Type = zip
Physical Size = 2178202777
Comment = signed by SignApk

Everything is Ok

Files: 2
Size:       1763508937
Compressed: 2178202777
extract.sh: line 260: -d: command not found
sdat2img binary - version: 1.0

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

--> abort
--> clean miui-MI8SE-8.8.31.zip-system.img`

But I don't seem to find the reason it is not working, is that because it si miui10?

linusyang92 commented 6 years ago

@DanielZhang17 Thanks for reporting. Please try again the latest scripts. The problem should be fixed.

DanielZhang17 commented 6 years ago

It now works flawlessly, thanks for fixing it.