Code Monkey home page Code Monkey logo

actions_android_bootimg_payload_dumper's Introduction

actions_android_images_payload_dumper

利用Github Actions云端解包payload.bin中的boot.img及其它分区镜像

简介

这是一个利用github actions云端自动化提取刷机包payload.bin中的boot.img及其它分区镜像的脚本。

使用

我测试的是Redmi K40的,其他相同情况的同理。

首先点击fork这个仓库到你自己的账号下。

接着,编辑.github/workflows文件夹下的.yml文件,将workflow_dispatch下ROM_URL的default值改成你要提取的刷机包直链地址(最好是官方直链,如miui的官方下载地址),支持zip刷机包(zip里面是payload.bin)。

最后,仅仅需要在Actions-get_images_from_payload.bin中"Run workflow",就可以提取刷机包payload.bin中的镜像

Run workflow中可以临时更换ROM链接,还可以设定需要提取的分区,请用英文逗号,将各分区隔开,如boot,vendor_boot,vendor_dlkm

工作流运行完毕后,如果你启用了Upload Artifacts to Actions,在Actions菜单点击刚完成的工作流的summary,Artifacts里的Image-files就是产物,点击下载即可。否则请在make-Upload Images to WeTransfer中寻找Download link:xxx即下载地址。

本项目原依赖来自:https://github.com/vm03/payload_dumper 现依赖自:https://github.com/ssut/payload-dumper-go 感谢。

actions_android_bootimg_payload_dumper's People

Contributors

natsumerinchan avatar yyzq2 avatar

Stargazers

 avatar

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.