Skip to content

smali editor that ports mods and themes across roms and devices

Notifications You must be signed in to change notification settings

wbedard/auto-patcher

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

smali editor that ports mods and themes across roms and devices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.6%
  • Shell 1.8%
  • Perl 1.6%