snailwind / mipay-extract

Extract Mi Pay from MIUI China Rom

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mi Pay Extractor

Extract Mi Pay from MIUI China Rom

Build Status

Usage

Put MIUI 9 China Rom (OTA zip package) in the directory and double-click extract.bat (Windows) or run ./extract.sh (macOS and Linux) to generate the flashable zip.

Support Windows, Linux and macOS (10.10 or above). Windows version has all dependencies included. For macOS, you need Java 8 runtime. For Linux, you may need both Java 8 and Python 2.7. For example, you can install all dependencies using apt-get:

apt-get install -y openjdk-8-jre python2.7

Automatic builds for selected devices are available in releases.

Xiaomi.eu Rom Patches

Important Notes: You must have an encrypted or newly formatted data partition to use these patches. Do not flash eufix*.zip if your data partition is decrypted. Otherwise, your device will get bricked!

For xiaomi.eu rom users in China, you can also download the xiaomi.eu rom and run cleaner-fix.sh for creating a flashable zip with prefix eufix. It contains patches to

  1. Show Lunar dates in Calendar app.
  2. Fix FC of cleaner app.
  3. Show payment monitor options in setting page of Security app.
  4. Use Chinese weather sources in Weather app.
  5. Force file-based encryption of /data partition for Oreo-based roms.

Use at your own risk! Backup your data before flashing eufix package. Xiaomi.eu roms remove encryption by default. Re-enabling encryption may cause loss of your data.

Credits

  • sdat2img
  • progress (by @verigak)
  • smali/baksmali
  • SuperR's Kitchen
  • vdexExtractor
  • Google Android SDK
  • p7zip

Disclaimer

This repository is provided with no warranty. Make sure you have legal access to MIUI Roms if using this repository. If any files of this repository violate your copyright, please contact me to remove them.

License

License: GPL v3

About

Extract Mi Pay from MIUI China Rom

License:GNU General Public License v3.0


Languages

Language:Shell 60.1%Language:Python 23.5%Language:Go 14.5%Language:Batchfile 1.9%