GithubHelp home page GithubHelp logo

58773622 / magisk_patcher Goto Github PK

View Code? Open in Web Editor NEW

This project forked from affggh/magisk_patcher

0.0 0.0 0.0 39.89 MB

I've create lots of repositories ,this is the last one...

License: Apache License 2.0

Batchfile 55.48% Shell 44.52%

magisk_patcher's Introduction

Magisk_patcher

I've create lots of repositories ,this is the last one...

Usage:


  magisk_patcher.bat command
            -h    Print this help information...
  Support Command:
                 patch
                 autoconfig
                 test
  Explain:
         patch  : Patch a boot image with magisk on windows
            -i    input file
 [optional] -o    output file  default output is [new-boot.img]
            -c    read config.txt instead of -a -kv -ke -pv
   [must]   -a    arch of your device... this can be 
                               arm
                               arm64
                               x86
                               x86_64
 [optional] -kv    keep verity default is : [true]
                   If your device is system-as-root(sar)
                       make it true
 [optional] -ke    keep force encrypt default is : [true]
                   If your device is like forceencrypt=footer like [qsee] or else
                       make it true
 [optional] -pv    Patch vbmeta flag default is : [false]
                   If your device not have partition [vbmeta]
                       make it true
 [optional] -m     Choose a Magisk install apk/zip insted of 
                                 default : [prebuilt\magisk.apk]
              Notice: Shell script part will auto detect file existance
                      if is a 64bit image.

         autoconfig : This function can auto detect config from device
                      and generate a confit.txt at D:\cygwin\home\affggh\magiskboot_and_patch_win\MagiskPatcher\ 
                      without root
            --default  generate with default instead read from device
            -m     Defined custom magisk path
        patchondevice : patch on device
                     In some reason patch on windows possibally failed...
                     so we can use device environment to patch...
                     The patch config will follow device instead choose
            -m     Defined custom magisk path

  Example : 
          magisk_patcher.bat patch -i boot.img -c config.txt
          magisk_patcher.bat patch -i boot.img -a armeabi-v7a -kv true -ke true -pv false
          magisk_patcher.bat patch -i boot.img -c config.txt -m prebuilt\magisk.apk

          magisk_patcher.bat autoconfig
          magisk_patcher.bat autoconfig --default
          magisk_patcher.bat autoconfig -m prebuilt\magisk.apk

          magisk_patcher.bat patchondevice -i boot.img -m prebuilt\magisk.apk

General use


magisk_patcher.bat autoconfig --default
magisk_patcher.bat patch -i boot.img -c config.txt
magisk_patcher.bat patchondevice -i boot.img -m prebuilt\magisk.apk

magisk_patcher's People

Contributors

affggh 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.