GithubHelp home page GithubHelp logo

mu7220 / emra Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hosizoraru/emra

3.0 0.0 2.0 1.85 MB

Extract Miui/HyperOS Rom Apk and Rename and New Update

License: Do What The F*ck You Want To Public License

Python 100.00%

emra's Introduction

EMRA - Extract, MIUI, Rename APKs

EMRA 是一个用于提取、修改和重命名 Android ROM 中的 APK 文件的 Python 脚本。它可以帮助开发者和用户轻松地获取 APK 文件,并根据需要对其进行定制。

功能

  • 从 ROM 下载链接下载 ROM
  • 从 ZIP 文件中提取 payload.bin
  • 从 payload.bin 文件中提取 product.img
  • 提取 erofs 镜像
  • 删除指定的 APK
  • 重命名 APK 文件
  • 更新 APK 版本
  • 更新 APK 文件名
  • 删除多余文件

如何使用

  1. 确保已安装 Python 3.x,并安装以下依赖库和 Android 的 aapt

    pip install apkfile
    
  2. 克隆此仓库或下载脚本文件:

    git clone https://github.com/mu7220/emra.git
    
  3. 从以下仓库中下载并解压得到 extract.erofspayload-dumper-go 文件,并将文件移动到 emra 脚本目录下

  4. 授予文件权限并初始化运行脚本:

    chmod +X extract.erofs
    
    chmod +X payload-dumper-go
    
    python main.py
    
  5. 按照 python main.py -h 的提示选择相应的操作。

贡献

欢迎向该项目提出改进建议或提交错误报告。请通过 GitHub Issues 提交。

许可证

本项目基于 WTFPL License 许可。

emra's People

Contributors

horatioshaw avatar hosizoraru avatar lingqiqi5211 avatar

Stargazers

 avatar  avatar  avatar

Forkers

mmetma nmmmea

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.