Code Monkey home page Code Monkey logo

auto-patcher's Introduction

Auto-Patcher
	authored by pastime1971 and mateor(od)

A smali patcher that ports mods and themes across roms and devices. Extracts, decompiles/unpacks, patches, recompiles/repack, and outputs a flashable zip.

Requirements for execution
   -jdk, cpio, patch


Designed to run on Linux, OSX and Windows (using Cygwin)

The main script expects the patches and patch_tools folders to be compressed. pastime has whipped up a script that gets you ready to use the program:

$./batch.sh

For usage and patch availability, place a rom.zip into this directory and try

$./auto_patcher <ROMNAME>.zip -h

This will check our various dependancies and provide some useful information.
 
To patch a ROM, 
$./auto_patcher <ROMNAME>.zip <MODTYPE> <ROMTYPE> <PATCHDATE>

where: 
   * ROMNAME is the literal name of the Rom.
   * MODTYPE would be a list of offered mods (as seen in the -h menu), separated by 
	commas and NO SPACES.
   * ROMTYPE is cm7,cm9,cm10,aokp,aokp-jb,aosp or aosp-jb.
   * PATCHDATE is the date the patch was made, pick the one right before your build 
	date from the available patches.

example:
$./auto_patcher cm-10-OFFICIAL-20120820-grouper.zip pdroid,v6supercharger cm10 20120824

See our thread on XDA:

http://forum.xda-developers.com/showthread.php?p=27589651#27589651


If you are a developer who has a mod you would like supported, you can email me at the 
address registered here at github or pm either of us on XDA.

We can support changes to boot.img, system.jars, apks and copy over files and/or img's!

Pull requests are treasured!

auto-patcher's People

Contributors

mateor avatar caldair avatar urinophoria avatar pastime1971 avatar phillipberndt avatar empee584 avatar lightspeedbriefs avatar xlambchopsx avatar

Watchers

 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.