linusyang92 / mipay-extract

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

Cleaner-fix.sh doesn't support Android P image #16

Closed EraserKing closed 6 years ago

EraserKing commented 6 years ago

Cleaner-fix.sh looks not supporting the new br format of system image For example, for this image (http://miui.dedyk.gq/8.9.20/xiaomi.eu_multi_MIMix2S_8.9.20_v10-9.zip), which is for MIX 2S / MIUI 10 / Android P, cleaner-fix.sh fails immediately after only extracting the zip file. In the extracted folder, there's only one file, "system.transfer.list", and no other files. I searched the file and found there's no call to brotli, like extract.sh, so I think this bash shell is not updated yet.

image

linusyang92 commented 6 years ago

@EraserKing Fixed the brotli issue in the latest script. The string search performance under Windows/Cygwin is also greatly improved. Find+Grep was painfully slow due to the slow fork implementation of Cygwin. I switched to Windows native findstr command instead.

EraserKing commented 6 years ago

Thanks. This time it's working well. I can see lunar calendar in the app.